/* ==========================================================================
   Olasyrutas - Custom Styles
   ========================================================================== */

/* Variables CSS */
:root {
    --primary-color: #3D74B6;
    --bg-light: #FBF5DE;
    --accent-soft: #EAC8A6;
    --accent-strong: #DC3C22;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* Fuentes */
body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Unicase', serif;
    font-weight: 500;
    line-height: 1.3;
}

.brand-text {
    font-family: 'Asar', serif;
    font-weight: 400;
    font-size: 1.5rem;
}

/* Utilidades */
.text-accent {
    color: var(--accent-strong);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    border-top: 3px solid var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    text-decoration: none;
}

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

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 116, 182, 0.7), rgba(220, 60, 34, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Routes Section */
.routes-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.route-highlights {
    margin-top: 2rem;
}

.route-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.route-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.route-item i {
    font-size: 2rem;
    margin-right: 1rem;
    width: 60px;
    text-align: center;
}

.route-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.route-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.interactive-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.interactive-map iframe {
    border-radius: var(--border-radius);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-soft));
    color: var(--white);
}

.testimonials-swiper {
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 1rem;
    box-shadow: var(--shadow-medium);
    color: var(--text-dark);
    height: 100%;
}

.testimonial-content .stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.lightbox-close{
    top: -60px!important;
}
.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

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

/* Blog Section */
.blog-section {
    background-color: var(--bg-light);
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Booking Steps Section */
.booking-steps-section {
    background: linear-gradient(135deg, var(--accent-soft), var(--white));
}

.step-card {
    padding: 2rem;
    text-align: center;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

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

.step-card:hover .step-icon {
    transform: scale(1.1);
    background: var(--accent-strong);
}

.step-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-color);
    color: var(--white);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 2rem;
    font-weight: 600;
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.newsletter-form .btn:hover {
    background: var(--white);
    color: var(--accent-strong);
}

.newsletter-form a {
    color: var(--accent-soft);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
}

.footer-brand h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-strong);
    transform: translateY(-2px);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

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

.footer-contact li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-divider {
    border-color: #495057;
    margin: 2rem 0 1rem;
}

.copyright {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-strong);
    border-color: var(--accent-strong);
    transform: translateY(-2px);
}

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

/* Decorative Elements */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-strong);
    margin: 1rem auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .route-item {
        flex-direction: column;
        text-align: center;
    }
    
    .route-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 50px;
        margin-bottom: 0.5rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-strong);
}

footer .text-end a{
    color: #fff!important;
    text-decoration: none;
    transition: 0.3s linear;

}

footer .text-end a:hover{
    color: var(--accent-soft)!important;
    text-decoration: none;
    transition: 0.3s linear;
}

html{
    overflow-x: hidden;
}

.hero-content{
    width: 100%;
}

.notification-close{
    background: none;
    outline: none;
    border: none;
    color: #fff;
    font-weight: bold;
}

.yacht-overlay{
    display: none!important;
}





        /* Legal pages styles */
        .legal-page {
            margin-top: 80px;
            min-height: calc(100vh - 80px);
            background-color: var(--bg-light);
        }

        .legal-content {
            background: var(--white);
            padding: 3rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-light);
        }

        .page-title {
            color: var(--text-dark);
            font-family: 'Cormorant Unicase', serif;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-align: center;
        }

        .last-updated {
            text-align: center;
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid var(--accent-soft);
        }

        .legal-section {
            margin-bottom: 2.5rem;
        }

        .legal-section h2 {
            color: var(--primary-color);
            font-family: 'Cormorant Unicase', serif;
            font-size: 1.8rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--accent-soft);
        }

        .legal-section h3 {
            color: var(--text-dark);
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem 0;
            font-weight: 600;
        }

        .legal-section p {
            line-height: 1.7;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .legal-section ul {
            margin-bottom: 1rem;
            padding-left: 1.5rem;
        }

        .legal-section li {
            margin-bottom: 0.5rem;
            line-height: 1.6;
            color: var(--text-dark);
        }

        .contact-list {
            list-style: none;
            padding-left: 0;
        }

        .contact-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
        }

        .legal-footer {
            background: var(--bg-light);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin-top: 2rem;
            text-align: center;
        }

        .legal-footer p {
            margin-bottom: 0.5rem;
            color: var(--text-muted);
        }

        @media (max-width: 768px) {
            .legal-content {
                padding: 2rem 1.5rem;
            }
            
            .page-title {
                font-size: 2rem;
            }
            
            .legal-section h2 {
                font-size: 1.5rem;
            }
            .newsletter-form .form-control, .newsletter-form .btn{
                width: 100%!important;
                border-radius: 12px!important;
            }
        }