/* Global styles */
:root {
    --primary-bg: #F7F0F5;
    --accent-purple: #6C63FF;
    --accent-yellow: #FFD93D;
    --button-color: #FF6F91;
    --text-color: #1A1A1A;
    --block-bg-1: #FFF0F5;
    --block-bg-2: #E0FFF3;
    --block-bg-3: #FFF9E0;
    --border-radius: 24px;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    --header-height: 90px; /* Added header height variable */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Raleway', sans-serif;
    color: var(--text-color);
    scroll-behavior: smooth; /* Add smooth scrolling */
}

/* Anchor offset for section targets */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 20px); /* Add offset for fixed header plus some space */
}

body {
    background-color: var(--primary-bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--accent-purple);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--button-color);
}

.btn {
    display: inline-block;
    background-color: var(--button-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: #ff5a81;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Header styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-purple);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--button-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner section */
.banner {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/BVjZA1.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 90px;
}

.banner-content {
    text-align: center;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About section */
.about {
    background-color: var(--block-bg-1);
    border-radius: var(--border-radius);
}

/* Services section */
.services {
    background-color: var(--block-bg-2);
    border-radius: var(--border-radius);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--accent-purple);
}

.service-image {
    margin: -30px -30px 20px -30px;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Why choose us section */
.why-us {
    background-color: var(--block-bg-3);
    border-radius: var(--border-radius);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

/* Contact form section */
.contact {
    background: linear-gradient(135deg, var(--accent-purple), var(--button-color));
    border-radius: var(--border-radius);
    padding: 50px 0;
}

.contact-form {
    background-color: white;
    border-radius: 30px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--accent-purple);
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--accent-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    width: auto;
    padding: 0;
}

/* Testimonials section */
.testimonials {
    background-color: var(--block-bg-1);
    border-radius: var(--border-radius);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    text-align: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: var(--accent-purple);
}

/* FAQ section */
.faq {
    background-color: var(--block-bg-2);
    border-radius: var(--border-radius);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-top: 2px;
}

/* Footer styles */
footer {
    background-color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-company-info {
    grid-column: span 3;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-purple);
    margin-bottom: 15px;
    display: block;
}

.footer-links h4 {
    margin-bottom: 15px;
    color: var(--accent-purple);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 400px;
    z-index: 9999;
    display: none;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup button {
    width: 100%;
}

/* Policy pages */
.policy-page {
    background-color: white;
    border: 3px solid var(--accent-purple);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 120px auto 50px;
    max-width: 900px;
    box-shadow: var(--shadow);
}

.policy-page h1 {
    color: var(--accent-purple);
    margin-bottom: 30px;
}

.policy-page h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Thank you page */
.thanks-page {
    background-color: white;
    text-align: center;
    padding: 100px 20px;
    border-radius: var(--border-radius);
    margin: 120px auto 50px;
    max-width: 700px;
    box-shadow: var(--shadow);
}

.thanks-page h1 {
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.thanks-page .icon {
    font-size: 5rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .services-container,
    .features-container,
    .testimonials-container,
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        background-color: white;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: all 0.5s ease;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 20px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .services-container,
    .features-container,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-company-info {
        grid-column: span 1;
    }

    /* Hide "Solicitar Servicio" button in mobile view */
    .header-container .btn {
        display: none;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .banner {
        min-height: 60vh;
    }
} 