﻿/* CSS Reset & Variables */
:root {
    /* Premium Ocean Palette */
    --primary: #0A2540;
    /* Deep Navy - Professional & Trust */
    --primary-light: #0077B6;
    /* Ocean Blue - Clear & Friendly */
    --primary-dark: #021226;
    /* Darker Navy for Contrast */

    --accent: #FFB703;
    /* Sunset Gold - Warmth & Attention */
    --accent-hover: #FB8500;
    /* Deep Orange for Hover */

    --secondary: #90E0EF;
    /* Light Water Cyan */
    --surface: #FFFFFF;
    --white: #FFFFFF;
    --surface-alt: #F8FAFC;
    /* Slight cool grey for alternation */

    --text: #1E293B;
    /* Slate 800 - Good reading contrast */
    --text-light: #64748B;
    /* Slate 500 */
    --text-inv: #FFFFFF;

    /* Modern Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(10, 37, 64, 0.08), 0 4px 6px -2px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(10, 37, 64, 0.1), 0 10px 10px -5px rgba(10, 37, 64, 0.04);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --blur: blur(16px);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    /* Base size */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.1;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utilities */
/* Logo Colors */
/* Logo Colors */
.logo a {
    color: var(--primary);
    /* Navy Blue */
}

.logo span {
    color: #38bdf8 !important;
    /* Celeste / Sky Blue */
}

/* Updated Buttons - Orange Theme */
.btn-primary {
    background: linear-gradient(135deg, #fb8500, #e67e22);
    /* Orange Gradient */
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(251, 133, 0, 0.4);
    /* Orange shadow */
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 133, 0, 0.5);
}

.btn-secondary {
    background-color: #fb8500;
    /* More intense orange */
    color: #ffffff;
    border: 2px solid #fb8500;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(251, 133, 0, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.btn-secondary:hover {
    background: #fb8500;
    color: var(--white);
    transform: translateY(-3px);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for readability */
    backdrop-filter: var(--blur);
    border-bottom: var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-header.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
}

.desktop-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.desktop-nav a:not(.btn-primary):hover::after {
    width: 100%;
}

.desktop-nav .btn-primary.small {
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: saturate(1.4) contrast(1.1) brightness(1.1);
    /* Provide brighter colors */
    animation: zoomSlow 20s infinite alternate;
}

@keyframes zoomSlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from top (light) to bottom (ocean depth) */
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.3) 0%, rgba(10, 37, 64, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    /* Responsive typography */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 3rem 0;
    /* Increased distance from title */
    color: #ffffff !important;
    /* Force pure white */
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff !important;
    /* Force white on items */
}

.hero-features li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: 800;
}

.hero-rating {
    margin-top: 1rem;
    /* Reduced from 3rem */
    background: rgba(10, 37, 64, 0.85) !important;
    /* Force background */
    /* Visible dark background */
    backdrop-filter: blur(8px);
    display: inline-block;
    padding: 0.6rem 1.5rem;
    /* Smaller padding */
    border-radius: 50px;
    color: #ffffff !important;
    /* Force white text */
    font-weight: 600;
    font-size: 0.95rem;
    /* Smaller font */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}



/* Sections General */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* Decorative underline for headings */
.section-header.center h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header.center {
    text-align: center;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tour-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tour-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.02);
}

.tour-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--text);
    /* Dark text on yellow for legibility */
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.tour-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.tour-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.08);
}

.tour-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.tour-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tour-details {
    margin-bottom: 1.5rem;
    background: var(--surface-alt);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.tour-details li {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.tour-details li:last-child {
    margin-bottom: 0;
}

.tour-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.tour-price .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.tour-price .per-person {
    color: var(--text-light);
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* About Section */
.bg-light {
    background: var(--surface-alt);
}

.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    /* Align to top */
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.about-image {
    /* Height removed to allow content to flow naturally */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: auto;
    /* Allow natural height */
    width: 100%;
}

/* Adding a playful decorative element */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0C60 20 80 40 100 50C80 60 60 80 50 100C40 80 20 60 0 50C20 40 40 20 50 0Z' fill='%23FFB703' fill-opacity='0.2'/%3E%3C/svg%3E") no-repeat;
    z-index: -1;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-img-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--surface);
    box-shadow: 0 0 0 3px var(--accent), var(--shadow-md);
    transition: transform 0.4s ease;
}

/* Adjust image centering for specific photos */
.team-card:nth-child(2) img {
    object-position: 50% 0% !important;
    /* Dmytro: Force Top */
}

.team-card:nth-child(3) img {
    object-position: 50% 15% !important;
    /* Andrea: Slightly down from top */
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.team-card .role {
    display: block;
    color: var(--accent-hover);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: left;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Slightly more visible border */
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card:nth-child(3n+1) {
    background-color: #E0F2FE;
    /* Soft Ocean Blue */
}

.review-card:nth-child(3n+2) {
    background-color: #FEF9C3;
    /* Soft Sand Yellow */
}

.review-card:nth-child(3n+3) {
    background-color: #F0FDF4;
    /* Soft Mint Green */
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    margin-bottom: 1rem;
    color: #FFC107;
    /* Standard star yellow */
}

.review-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    padding: 0;
    /* Reset for better control inside */
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.toggle {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--surface-alt);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Increased to fit content */
}

.faq-item.active .toggle {
    transform: rotate(45deg);
    color: var(--accent);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(0, 119, 182, 0.1), transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    /* Above overlay */
    z-index: 1;
}

.footer-col h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 0.8rem;
    color: #e2e8f0;
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.contact-form input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1500;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu ul li a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 2rem;
}

.mobile-menu ul li a:hover {
    color: var(--primary-light);
}

/* Responsive */


/* Blog / Sub-page specific styles */

.blog-post-content {
    max-width: 800px;
    margin: 8rem auto 4rem auto;
    padding: 0 1.5rem;
}

.blog-post-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--primary);
    line-height: 1.2;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.blog-post-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.blog-post-content ul {
    margin-bottom: 2rem;
}

.blog-post-content li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.blog-post-content .featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
    padding-top: 6rem;
    /* Space for fixed nav */
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.read-more {
    margin-top: auto;
    /* Push to bottom of flex container */
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Active Link Styling */
.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav a.active::after {
    width: 100% !important;
}

/* Horizontal Scroll / Grid for Homepage Blog */
.scrolling-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.scrolling-wrapper::-webkit-scrollbar {
    height: 8px;
}

.scrolling-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.scrolling-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.scrolling-wrapper .tour-card {
    flex: 0 0 auto;
    width: 100%;
    /* Full width of grid cell */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .scrolling-wrapper {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }

    .scrolling-wrapper .tour-card {
        width: 85vw;
        max-width: 320px;
    }
}

/* Blog Section Dark Theme */
#blog {
    background-color: var(--primary-dark);
    color: var(--white);
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
    margin-top: 2rem;
}

#blog .section-header h2 {
    color: var(--white) !important;
}

#blog .section-header p {
    color: var(--secondary) !important;
    opacity: 0.9;
}

#blog .btn-secondary {
    border-color: var(--secondary) !important;
    color: var(--secondary) !important;
    background: transparent;
}

#blog .btn-secondary:hover {
    background: var(--secondary) !important;
    color: var(--primary-dark) !important;
}

/* About Section Enhancement - "Color Suave" */
#about {
    background-color: #f0f9ff !important;
    /* Soft, refreshing light blue */
}

#about h2 {
    color: var(--primary);
}

#about p {
    color: #334155 !important;
    /* Deep slate for high contrast and readability */
    font-size: 1.1rem;
}

#about .stat-number {
    color: var(--primary-light);
}

#about .stat-label {
    color: var(--primary);
    font-weight: 700;
}

/* Reviews Marquee */
.reviews-marquee-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.reviews-marquee {
    display: flex;
    /* gap: 2rem; Removed to fix loop math */
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
}

.reviews-marquee:hover {
    animation-play-state: paused;
}

.reviews-marquee .review-card {
    width: 350px;
    flex-shrink: 0;
    margin-right: 2rem;
    /* Replaces gap for seamless looping */
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move by half the total width (since it's duplicated) */
        transform: translateX(-50%);
    }
}

/* Google Review Button */
.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary);
    /* Navy Blue */
    color: var(--white);
    /* White Text */
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
    /* Light navy shadow */
    border: none;
    transition: var(--transition);
    text-decoration: none;
    margin-bottom: 2rem;
}

.btn-google:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.3);
    background: var(--primary-dark);
}

.btn-google img {
    flex-shrink: 0;
    background: white;
    padding: 2px;
    border-radius: 50%;
}

.center {
    text-align: center;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 100px;
    /* moved up to avoid overlap */
    right: 20px;
    /* align with AI button horizontally */
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 900;
    transition: var(--transition);
    animation: pulseWhatsApp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Social Icon Improvements */
.socials a svg {
    transition: var(--transition);
}

.socials a:hover svg {
    stroke: var(--accent);
}

/* Language Selector */
.lang-selector-item {
    position: relative;
    list-style: none;
}

.lang-selector {
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.3rem;
    /* Bigger flags */
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.lang-selector:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.lang-selector .chevron {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.lang-selector-item:hover .chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 60px;
    /* Narrower for flags */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.lang-selector-item:hover .lang-dropdown,
.lang-selector-item.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



.lang-selector-item:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    list-style: none;
    margin: 0 !important;
}

.lang-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.4rem;
    /* Even bigger flags in dropdown */
    transition: all 0.2s;
    border-radius: var(--radius-sm);
}

.lang-link:hover {
    background: var(--surface-alt);
    transform: scale(1.1);
}

.active-lang {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
}

/* Mobile Language Selector */
.mobile-lang-selector {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}

.mobile-lang-link {
    font-size: 1.8rem;
    text-decoration: none;
}

/* Web Discount Label */
.web-discount {
    text-align: center;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -1rem;
    /* Pull it closer to price */
    margin-bottom: 1rem;
    background: rgba(251, 133, 0, 0.1);
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    align-self: center;
    /* Center in flex column */
}

/* ---------- Video Section (Shorts) ---------- */
.video-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    text-align: center;
}

.video-section h2 {
    margin-bottom: 3rem;
    color: var(--primary);
}

.video-wrapper-short {
    position: relative;
    width: 100%;
    max-width: 340px;
    /* Mobile phone width equivalent */
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.video-wrapper-short iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ================= MOBILE RESPONSIVENESS ================= */

/* Initial State: Mobile Menu & Toggle */
.mobile-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    z-index: 2000;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1500;
    padding-top: 6rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu a {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* Tablet & Mobile Styles */
@media (max-width: 992px) {

    /* Header & Nav */
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        padding: 0 1rem;
    }

    .hero-features {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Grids & Universal Layouts */
    .tours-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
    }

    .split-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .about-image {
        width: 100%;
        height: auto;
        order: -1;
        /* Image first on mobile */
    }

    /* Video Section */
    .video-wrapper-short {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Mobile Optimizations (< 768px) */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero {
        height: auto;
        min-height: 85vh;
        /* Ensure full screen feel */
        padding-top: 6rem;
    }

    .hero-content {
        margin-top: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .btn-primary.full-width {
        width: 100%;
    }

    /* About Section */
    .about-text h2::after {
        margin: 1rem auto 0;
        /* Center underline */
    }

    .about-text {
        text-align: center;
    }

    /* Footer - Full Stack */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        min-width: 100%;
        padding: 0 1rem;
    }

    .socials {
        justify-content: center;
    }

    /* Contact Form on Mobile */
    .contact-form input {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Hide Chatbot Text, keep Icon */
    .ai-name,
    .ai-status {
        display: none;
        /* If needed in future, keeping for reference */
    }

    /* Prevent WhatsApp button overlap */
    footer {
        padding-bottom: 100px !important;
    }
}

/* WhatsApp Floating Icon */
.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 900;
    transition: var(--transition);
    animation: pulseWhatsApp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.floating-whatsapp svg,
.floating-whatsapp img {
    display: block;
    width: 35px;
    height: 35px;
    object-fit: contain;
}