@import 'variables.css';
@import 'reset.css';
/* @import 'layout.css'; */
@import 'components.css';

body {
    font-family: var(--font-family-sans);
    background-color: var(--fvl-cream);
    color: var(--color-text);
}

/* Brand Header */
.brand-header {
    background-color: white;
    position: relative;
    z-index: 1001;
}

/* Navigation */
#mainNav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

/* Iframe Container - Responsive */
.iframe-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 600px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .iframe-container {
        min-height: 450px;
        height: 500px;
    }
}

/* Desktop Sticky Nav */
@media (min-width: 992px) {
    #mainNav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Mobile Nav */
@media (max-width: 991.98px) {
    #mainNav {
        position: relative;
    }

    .navbar-toggler {
        border-color: var(--fvl-dark-green);
    }
}

/* Hero Section */
.hero-banner {
    background: url('../assets/images/piezas-finales_imagen_bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 500px;
    height: 60vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    border-bottom: 8px solid var(--fvl-lime);
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 400px;
        height: 50vh;
        background-position: left center;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 350px;
        height: 45vh;
        background-position: left center;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Sections */
section {
    padding: 80px 0;
}

/* Section: Qué es FVL Premium - Background 
#que-es {
    
}*/

/* Section: Beneficios - Background */
#beneficios {
    background: url('../assets/images/Tarjeta-FVL-Premium-verde.png') no-repeat;
    background-size: contain;
    background-position: right bottom;
    position: relative;
}

/* Responsive background for que-es */
@media (max-width: 991.98px) {
    #que-es {
        background-size: 50%;
        background-position: right top;
    }

    #beneficios {
        background-size: 50%;
        background-position: right bottom;
    }
}

@media (max-width: 768px) {
    #que-es {
        background-image: none;
    }

    #beneficios {
        background-image: none;
    }
}

.section-title {
    display: inline-block;
    color: var(--fvl-dark-green);
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--fvl-green);
    margin-top: 10px;
}

.icon-box {
    color: var(--fvl-lime);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 90px;
    left: 14.5%;
    right: 14.5%;
    height: 3px;
    background: linear-gradient(to right, var(--fvl-dark-green) 0%, var(--fvl-dark-green) 100%);
    z-index: 0;
}

.timeline-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.timeline-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--fvl-lime);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: var(--fvl-dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 75, 62, 0.3);
    transition: transform 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
}

.timeline-step h5 {
    color: var(--fvl-dark-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* CTA and Info Boxes */
.cta-box {
    background: var(--fvl-dark-green);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 16px rgba(0, 75, 62, 0.2);
    height: 100%;
}

.info-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px dashed #e5e5e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.icon-location {
    color: var(--fvl-lime);
    min-width: 40px;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }

    .timeline-badge {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 0 auto 1rem;
    }

    .timeline-step {
        margin-bottom: 3rem;
    }
}

/* Utilities */
.text-success {
    color: var(--fvl-dark-green) !important;
}

/* Testimonials Section */
#testimonios {
    background-color: white !important;
    /* Override previous dark background */
    color: var(--color-text) !important;
}

.badge-custom {
    background-color: #fdf3d8;
    color: #8c6b1f;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    height: 100%;
    border: none;
    transition: transform 0.3s ease;
}

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

.star-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.quote-icon-bg {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: #e9ecef;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background-color: #c5d8d1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h6 {
    margin: 0;
    font-weight: 700;
    color: var(--fvl-dark-green);
    font-size: 0.95rem;
}

.user-info span {
    font-size: 0.85rem;
    color: #e0a800;
    /* Gold/Yellow color for plan name */
    font-weight: 500;
}