/* === VARIABLES CSS === */
:root {
    --primary-color: #213448;
    --secondary-color: #547792;
    --accent-color: #94B4C1;
    --light-bg: #ECEFCA;
    --white: #ffffff;
    --dark: #1a1a1a;
    --shadow: 0 10px 30px rgba(33, 52, 72, 0.1);
    --shadow-hover: 0 20px 40px rgba(33, 52, 72, 0.15);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

/* === TIPOGRAFÍAS === */
.brand-text, .hero-title, .section-title, .cta-title {
    font-family: 'Fugaz One', cursive;
}

body, p, .btn, .nav-link, .form-control {
    font-family: 'Work Sans', sans-serif;
}

/* === ESTILOS GENERALES === */
* {
    box-sizing: border-box;
}


.navbar-brand img{
    max-width: 200px;
}
html{
    overflow-x: hidden;
}
body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    overflow-x: hidden;
}

.text-accent {
    color: var(--accent-color);
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* === NAVEGACIÓN === */
.navbar {
    background: rgba(33, 52, 72, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

.navbar-brand .brand-text {
    font-size: 2rem;
    color: var(--light-bg);
    text-decoration: none;
    font-weight: 700;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 52, 72, 0.8), rgba(84, 119, 146, 0.6));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 100%;
}

.legal-header{
    padding-top: 100px!important;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hero-decorative {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-decorative svg {
    width: 100%;
    height: auto;
}

/* === BOTONES === */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* === SECCIONES === */
.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* === EXPERIENCIAS SECTION === */
.experiences {
    position: relative;
    background: var(--white);
}

.experience-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.experience-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
}

.experience-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.experience-card p {
    color: var(--secondary-color);
    line-height: 1.7;
}

/* === RUTAS SECTION === */
.routes {
    position: relative;
}

.route-info h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Fugaz One', cursive;
}

.route-info p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.route-features {
    list-style: none;
    padding: 0;
}

.route-features li {
    padding: 0.5rem 0;
    color: var(--primary-color);
    font-weight: 500;
}

.route-features i {
    color: var(--accent-color);
    margin-right: 1rem;
    width: 20px;
}

.route-map img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.route-map:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* === TESTIMONIALES === */
.testimonials {
    background: var(--white);
    position: relative;
}

.testimonials-swiper {
    padding: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: auto;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--accent-color);
    font-weight: 500;
}

.swiper-pagination-bullet {
    background: var(--accent-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* === FAQ SECTION === */
.faq {
    position: relative;
}

.accordion-item {
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    padding: 1.5rem;
    border-radius: var(--border-radius) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: var(--white);
    color: var(--secondary-color);
    line-height: 1.7;
    padding: 1.5rem;
}

/* === GALERÍA === */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 52, 72, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* === CTA SECTION === */
.cta {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23547792' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: -1;
}

.cta-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* === NEWSLETTER === */
.newsletter {
    background: var(--light-bg);
}

.newsletter-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'Fugaz One', cursive;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-form .form-control {
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    padding: 15px 20px;
    font-size: 1.1rem;
    border-right: none;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 15px 25px;
    font-size: 1.1rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* === FOOTER === */
.footer {
    background: var(--primary-color) !important;
    color: var(--white);
}

.footer h5 {
    color: var(--light-bg);
    font-family: 'Fugaz One', cursive;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-links {
    margin-top: 1.5rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .experience-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .route-info h3 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        margin: 0.5rem 0;
        display: block;
        width: 100%;
    }
    
    .cta-buttons .btn {
        margin: 0.5rem 0;
        display: block;
        width: 100%;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: var(--border-radius);
        border-right: 2px solid var(--accent-color);
        margin-bottom: 1rem;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
        width: 100%;
    }

    .form-control, .newsletter-form .btn{
        width: 100%!important;
        border-radius: var(--border-radius)!important;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .experience-card {
        margin-bottom: 2rem;
    }
}

/* === ANIMACIONES ADICIONALES === */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    animation: float 3s ease-in-out infinite;
}

.experience-card:nth-child(2) .card-icon {
    animation-delay: 0.5s;
}

.experience-card:nth-child(3) .card-icon {
    animation-delay: 1s;
}

/* === FORMULARIOS === */
.form-control {
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 52, 72, 0.1);
}

.form-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* === UTILIDADES === */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--secondary-color), var(--accent-color)) border-box;
}