/* Variables globales */
:root {
    --primary-color: #00C853;
    --secondary-color: rgb(77, 124, 79);
    --text-color: #333;
    --white: #FFFFFF;
    --red: #FF0000;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    height: 80px;
}

.navbar.visible {
    transform: translateY(0);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding-left: 100px;
}

.logo {
    position: absolute;
    left: 0;
    bottom: -30px;
    z-index: 1001;
}

.logo img {
    width: 100px;
    height: 100px;
    border: 3px solid var(--white);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: auto;
    margin-left: 20px;
}

.nav-links.active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 999;
    animation: slideIn 0.3s ease;
}

.close-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 20px;
    align-self: flex-end;
}

.nav-links.active .close-menu {
    display: block;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.menu-overlay.active {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #cc0000;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    height: 90%;
    padding: 0;
    width: 40px;
}

.menu-toggle img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.menu-toggle.active {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
}

.menu-toggle.active img {
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/background1-2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
}

.subtitle {
    font-size: 22px;
    margin-bottom: 1rem;
}

.title {
    font-size: 34px;
    margin-bottom: 2rem;
}

/* Video Section */
.video-section {
    padding: 4rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.video-container {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.video-container video {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
}


.video-container img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
}
.video-description {
    flex: 1;
    min-width: 300px;
    text-align: left;
    width: 400px;
}

/* Offers Section */
.offers {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.offers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.offer-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.offer-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.offer-card ul {
    list-style: none;
}

.offer-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.offer-card li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* FAQ Section */
.faq {
    padding: 4rem 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    width: 80px;
    height: 80px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero::before {
        background-image: url('../assets/background2-2.png');
    }

    .video-container {
        flex-direction: column;
        width: 80%;
    }

    .video-description {
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Animaciones */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

.back-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #cc0000;
} 