/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding-top: 70px; /* Espacio para la navbar fija */
    box-sizing: border-box;
    background-color: #000000; /* Negro profundo */
    color: #FFFFFF; /* Blanco puro */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Overlay para el menú móvil */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
}

h1 span, h2 span, h3 span {
    font-size: 0.8em; /* Adjust as needed for emoji size */
    margin-left: 5px;
}

.btn-primary {
    display: inline-block;
    background-color: #E60000; /* Rojo intenso */
    color: #FFFFFF;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #CC0000;
}

.btn-secondary {
    display: inline-block;
    background-color: #333333;
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #555555;
}

.header-logo {
    text-align: center;
    padding: 20px 0;
    background-color: #000000;
}

.header-logo img {
    max-width: 200px;
    height: auto;
}

/* Navbar */
.navbar {
    background-color: #000000;
    padding: 15px 0;
    border-bottom: 1px solid #333333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-header {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-width: 150px;
    height: auto;
}

.navbar-toggler {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.8em;
    cursor: pointer;
    display: none; /* Ocultar por defecto en escritorio */
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-nav li {
    margin-left: 30px;
}

.navbar-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: #E60000;
}

/* Hero Section */
.hero {
    background-color: #000000;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-item {
    background-color: #000000;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.grid-item h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item h3 i {
    margin-right: 10px;
    color: #E60000;
    font-size: 1.2em;
}

.grid-item p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background-color: #000000;
}

.portfolio-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.portfolio-item h3 {
    margin: 20px 0 10px;
    font-size: 1.5em;
}

.portfolio-item .btn-secondary {
    margin-bottom: 20px;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.process-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.step-item {
    text-align: center;
    max-width: 300px;
}

.step-number {
    background-color: #E60000;
    color: #FFFFFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: #000000;
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
}

.pricing-plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.plan-card {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    flex: 1;
    border: 1px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.plan-card h3 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #E60000;
}

.plan-card .price {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.plan-card ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    text-align: left;
    display: flex;
    align-items: center;
}

.plan-card ul li i {
    color: #00FF00; /* Verde para los checkmarks */
    margin-right: 10px;
    font-size: 1.2em;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5em;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #000000;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-size: 1.4em;
    font-weight: bold;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    font-size: 1.1em;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #000000;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #333333;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #FFFFFF;
    font-size: 1.1em;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #aaaaaa;
}

.contact-form button {
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
}

.whatsapp-contact {
    margin-top: 30px;
    font-size: 1.2em;
}

.whatsapp-contact a {
    color: #E60000;
    text-decoration: none;
    font-weight: bold;
}

.whatsapp-contact a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1em;
    color: #aaaaaa;
}

#footer-logo-img {
    width: 150px; /* Ajusta el tamaño según sea necesario */
    height: auto;
    margin-bottom: 10px;
}

.footer-contact h4, .footer-links h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-contact p, .footer-links ul li a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 1em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-country img {
    width: 40px;
    height: auto;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9em;
    color: #aaaaaa;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .container {
        padding: 15px;
    }

    .section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .grid-container, .portfolio-grid, .process-steps, .pricing-plans, .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .plan-card {
        max-width: 100%;
    }

    .footer-content > div {
        margin-bottom: 30px;
    }

    /* Mobile Navbar */
    .navbar .container {
        flex-direction: row; /* Mantener el logo y el toggler en la misma fila */
        justify-content: space-between;
        align-items: center;
    }

    .navbar-toggler {
        display: block; /* Mostrar en móvil */
        z-index: 1001; /* Asegurar que esté por encima del overlay */
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -250px; /* Ocultar fuera de la pantalla */
        width: 250px;
        height: 100%;
        background-color: #1a1a1a; /* Fondo del menú lateral */
        flex-direction: column;
        padding-top: 80px; /* Espacio para el logo en el menú lateral */
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .navbar-nav.active {
        right: 0; /* Mostrar cuando esté activo */
    }

    .navbar-nav li {
        margin: 15px 0;
    }

    .navbar-nav a {
        padding: 10px 20px;
        display: block;
    }

    .navbar-brand img {
        max-width: 120px;
    }

    /* Animación del icono de hamburguesa */
    .navbar-toggler .fas.fa-bars {
        display: block;
    }

    .navbar-toggler .fas.fa-times {
        display: none;
    }

    .navbar-toggler.active .fas.fa-bars {
        display: none;
    }

    .navbar-toggler.active .fas.fa-times {
        display: block;
    }

    .grid-item h3, .step-item h3 {
        font-size: 1.5em;
    }

    .plan-card h3 {
        font-size: 1.8em;
    }

    .plan-card .price {
        font-size: 2em;
    }

    .faq-question {
        font-size: 1.2em;
    }

    .contact-form input, .contact-form textarea, .contact-form button {
        font-size: 1em;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 50px;
        height: 50px;
    }
}
