/* ================================================
   BAMUU SAFARI KENYA — Custom Stylesheet
   Safari & Beach Vibrant Theme
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Nunito:wght@300;400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

:root {
    /* Safari Sunset Palette */
    --sunset-orange: #E8611A;
    --sunset-deep: #C94410;
    --golden-savanna: #D4A847;
    --golden-light: #F5D77A;
    --earth-brown: #5D4037;
    --earth-dark: #3E2723;
    
    /* Ocean & Beach Palette */
    --ocean-teal: #00897B;
    --ocean-deep: #00695C;
    --ocean-light: #4DB6AC;
    --sand-warm: #FFF8E1;
    --sand-mid: #F5E6C8;
    --sand-deep: #E8D5A3;
    
    /* Accent & Savanna Green */
    --savanna-green: #2E7D32;
    --savanna-light: #4CAF50;
    --leaf-green: #81C784;
    
    /* Neutrals */
    --charcoal: #263238;
    --slate: #37474F;
    --mist: #F0F4F3;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
    --font-script: 'Dancing Script', cursive;
    
    /* Spacing */
    --section-pad: 100px;
    --container-max: 1280px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- PRELOADER ---- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--earth-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
#preloader img { width: 120px; animation: pulse-logo 1.5s ease-in-out infinite; }
#preloader .loader-bar {
    width: 200px; height: 3px; background: rgba(255,255,255,0.15);
    margin-top: 30px; border-radius: 3px; overflow: hidden;
}
#preloader .loader-bar::after {
    content: ''; display: block; width: 60%; height: 100%;
    background: linear-gradient(90deg, var(--sunset-orange), var(--golden-savanna));
    border-radius: 3px;
    animation: loader-slide 1.2s ease-in-out infinite;
}
@keyframes pulse-logo { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.05);opacity:0.8} }
@keyframes loader-slide { 0%{transform:translateX(-100%)} 100%{transform:translateX(230%)} }

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--earth-dark);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--golden-savanna); }
.top-bar .top-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}
.top-bar .top-contacts i { margin-right: 6px; color: var(--sunset-orange); }
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang-switch a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}
.lang-switch a:hover,
.lang-switch a.active {
    background: var(--sunset-orange);
    color: var(--white);
}
.lang-switch .flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

/* ---- HEADER / NAVBAR ---- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}
.main-header .top-bar { transition: all 0.4s ease; }
.main-header.scrolled .top-bar { margin-top: -40px; }

.navbar {
    background: rgba(62, 39, 35, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    transition: all 0.4s ease;
}
.main-header.scrolled .navbar {
    background: rgba(62, 39, 35, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    padding: 6px 0;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand img {
    height: 65px;
    transition: height 0.4s;
}
.main-header.scrolled .navbar-brand img { height: 50px; }

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: rgba(255,255,255,0.9);
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--golden-savanna);
    background: rgba(255,255,255,0.05);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--sunset-orange);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }

.nav-cta {
    background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-deep)) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(232, 97, 26, 0.4);
    transition: all 0.3s !important;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 97, 26, 0.5) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(62,39,35,0.85) 0%,
        rgba(62,39,35,0.5) 40%,
        rgba(0,137,123,0.3) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 140px 0 80px;
    max-width: 750px;
}
.hero-tag {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--golden-savanna);
    margin-bottom: 12px;
    display: block;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title .accent {
    color: var(--sunset-orange);
    font-style: italic;
}
.hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.92;
    margin-bottom: 35px;
    max-width: 580px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-deep));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(232,97,26,0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232,97,26,0.5);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--earth-dark);
    border-color: var(--white);
}
.btn-teal {
    background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-deep));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,137,123,0.4);
}
.btn-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,137,123,0.5);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
}
.hero-scroll .mouse {
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 14px;
    margin: 0 auto 8px;
    position: relative;
}
.hero-scroll .mouse::after {
    content: '';
    width: 4px; height: 8px;
    background: var(--golden-savanna);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-mouse 1.8s ease-in-out infinite;
}
@keyframes scroll-mouse { 0%{top:6px;opacity:1} 100%{top:24px;opacity:0} }

/* ---- SECTION COMMON ---- */
.section { padding: var(--section-pad) 0; overflow-x: hidden; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: var(--sunset-orange);
    margin-bottom: 8px;
    display: block;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--earth-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sunset-orange), var(--golden-savanna));
    margin: 16px auto;
    border-radius: 3px;
}

/* ---- ABOUT SECTION ---- */
.about-section { background: var(--sand-warm); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-images {
    position: relative;
    height: 520px;
}
.about-img-main {
    width: 75%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}
.about-img-float {
    width: 55%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 5px solid var(--sand-warm);
}
.about-badge {
    position: absolute;
    top: 30px;
    right: 60px;
    z-index: 4;
    background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-deep));
    color: var(--white);
    padding: 20px;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 30px rgba(232,97,26,0.4);
}
.about-badge .number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}
.about-badge .label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 2px;
}
.about-text .about-tag {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: var(--sunset-orange);
    margin-bottom: 8px;
}
.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--earth-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-text p {
    margin-bottom: 20px;
    color: var(--slate);
    font-size: 1.02rem;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.about-feature i {
    color: var(--sunset-orange);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.about-feature span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--earth-dark);
}

/* ---- SERVICES / SAFARI TYPES ---- */
.services-section { background: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    cursor: pointer;
    group: true;
}
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.1); }
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(38,50,56,0.95) 0%,
        rgba(38,50,56,0.4) 40%,
        rgba(38,50,56,0.1) 100%
    );
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s;
}
.service-card:hover .service-card-overlay {
    background: linear-gradient(
        0deg,
        rgba(232,97,26,0.9) 0%,
        rgba(232,97,26,0.5) 50%,
        rgba(232,97,26,0.2) 100%
    );
}
.service-card-icon {
    width: 50px;
    height: 50px;
    background: var(--sunset-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: var(--white);
    transition: all 0.4s;
}
.service-card:hover .service-card-icon {
    background: var(--white);
    color: var(--sunset-orange);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.service-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    line-height: 1.6;
}
.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--golden-savanna);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 14px;
    transition: all 0.3s;
}
.service-card:hover .card-link {
    color: var(--white);
    gap: 10px;
}

/* ---- DESTINATIONS / SAFARI TOURS ---- */
.destinations-section {
    background: linear-gradient(135deg, var(--earth-dark) 0%, var(--charcoal) 100%);
    color: var(--white);
}
.dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.dest-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    transition: transform 0.4s;
}
.dest-card:hover { transform: translateY(-8px); }
.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}
.dest-card-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.dest-card-info .dest-meta {
    font-size: 0.82rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* dest-card-price removed */

/* ---- GALLERY ---- */
.gallery-section { background: var(--sand-warm); }
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.gallery-tab {
    padding: 10px 24px;
    border: 2px solid var(--sand-deep);
    background: transparent;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--earth-dark);
    cursor: pointer;
    transition: all 0.3s;
}
.gallery-tab:hover,
.gallery-tab.active {
    background: var(--sunset-orange);
    border-color: var(--sunset-orange);
    color: var(--white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: rgba(232,97,26,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.span-2 { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-item.span-row { grid-row: span 2; aspect-ratio: auto; }

/* ---- BEACH EXPERIENCES ---- */
.beach-section {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-teal) 50%, var(--ocean-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.beach-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--sand-warm);
    clip-path: ellipse(55% 100% at 50% 0%);
}
.beach-section .section-tag { color: var(--golden-light); }
.beach-section .section-title { color: var(--white); }
.beach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.beach-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}
.beach-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.2);
}
.beach-card-img {
    height: 220px;
    overflow: hidden;
}
.beach-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.beach-card:hover .beach-card-img img { transform: scale(1.08); }
.beach-card-body { padding: 24px; }
.beach-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.beach-card p {
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--white); }
.testimonial-slider-wrap {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.testimonial-card {
    background: var(--sand-warm);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    display: none;
}
.testimonial-card.active { display: block; }
.testimonial-card .stars {
    color: var(--golden-savanna);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.testimonial-card blockquote {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--earth-dark);
    line-height: 1.8;
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sunset-orange);
}
.testimonial-author-info .name {
    font-weight: 700;
    color: var(--earth-dark);
}
.testimonial-author-info .location {
    font-size: 0.85rem;
    color: var(--slate);
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sand-deep);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.testimonial-dot.active {
    background: var(--sunset-orange);
    width: 28px;
    border-radius: 5px;
}

/* ---- FOOD SECTION ---- */
.food-section { background: var(--sand-warm); }
.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.food-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s;
}
.food-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.food-card-img { height: 260px; overflow: hidden; }
.food-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.food-card:hover .food-card-img img { transform: scale(1.06); }
.food-card-body { padding: 24px; }
.food-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--earth-dark);
    margin-bottom: 8px;
}
.food-card p { color: var(--slate); font-size: 0.92rem; line-height: 1.7; }

/* ---- CONTACT / CTA ---- */
.cta-section {
    background: linear-gradient(135deg, var(--earth-dark), var(--sunset-deep));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,192L48,186.7C96,181,192,171,288,186.7C384,203,480,245,576,240C672,235,768,181,864,165.3C960,149,1056,171,1152,176C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}
.cta-content { position: relative; z-index: 2; }
.cta-content .section-tag { color: var(--golden-light); }
.cta-content .section-title { color: var(--white); margin-bottom: 20px; }
.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ---- CONTACT FORM SECTION ---- */
.contact-section { background: var(--white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-info-card {
    background: linear-gradient(135deg, var(--earth-dark), var(--charcoal));
    color: var(--white);
    border-radius: 20px;
    padding: 40px;
}
.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 24px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(232,97,26,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sunset-orange);
    font-size: 1.1rem;
}
.contact-info-item .info h4 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.contact-info-item .info p {
    opacity: 0.8;
    font-size: 0.9rem;
}
.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
}
.contact-social a:hover {
    background: var(--sunset-orange);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--sand-warm);
    border-radius: 20px;
    padding: 40px;
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--earth-dark);
    margin-bottom: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--earth-dark);
    margin-bottom: 6px;
    display: block;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--sand-deep);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    transition: border-color 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sunset-orange);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- FOOTER ---- */
.footer {
    background: var(--earth-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand img {
    height: 70px;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.footer h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--sunset-orange);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a:hover { color: var(--sunset-orange); padding-left: 6px; }
.footer-links a i { font-size: 0.7rem; color: var(--sunset-orange); }
.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.newsletter-form {
    display: flex;
    gap: 8px;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}
.newsletter-form button {
    background: var(--sunset-orange);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.newsletter-form button:hover { background: var(--sunset-deep); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}
.footer-bottom a { color: var(--sunset-orange); }
.footer-bottom a:hover { color: var(--golden-savanna); }

/* ---- WHATSAPP FLOATING BUTTON ---- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9000;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
    animation: wa-bounce 2s ease-in-out infinite;
    transition: all 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37,211,102,0.6);
    animation: none;
}
.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--charcoal);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.whatsapp-float:hover .tooltip { opacity: 1; }
@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    15% { transform: translateY(-12px); }
    30% { transform: translateY(0); }
    45% { transform: translateY(-8px); }
    60% { transform: translateY(0); }
}

/* ---- LIGHTBOX ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.lightbox.show { display: flex; opacity: 1; }
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--sunset-orange); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.lightbox-nav:hover { background: var(--sunset-orange); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .dest-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-pad: 60px; }
    
    /* Prevent any horizontal overflow on mobile */
    .main-header,
    .hero,
    .section,
    .footer,
    .cta-section { overflow-x: hidden; max-width: 100vw; }
    
    .top-bar .top-contacts { display: none; }
    .top-bar .container { justify-content: center; }
    
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--earth-dark);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    }
    .nav-links.open { right: 0; }
    .nav-links a { width: 100%; }
    
    .navbar-brand img { height: 55px; }
    
    .hero-content { padding: 120px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-images { height: 380px; overflow: hidden; }
    .about-badge { right: 10px; top: 10px; width: 90px; height: 90px; padding: 14px; }
    .about-badge .number { font-size: 1.4rem; }
    .about-badge .label { font-size: 0.58rem; }
    
    .services-grid,
    .beach-grid,
    .food-grid { grid-template-columns: 1fr; }
    
    .dest-grid { grid-template-columns: 1fr; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.span-2 { grid-column: span 1; aspect-ratio: 1; }
    .gallery-item.span-row { grid-row: span 1; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    
    /* Disable horizontal reveal animations on mobile */
    .reveal-left,
    .reveal-right {
        transform: translateY(20px);
    }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .btn { justify-content: center; }
    .about-features { grid-template-columns: 1fr; }
}
