/* ========================================
   ZATATEP — Indian Ocean Design System
   Shared CSS for all pages
   ======================================== */

:root {
    --deep-teal: #0A3D3D;
    --ocean-green: #1A6B5A;
    --teal-mid: #2A8575;
    --teal-light: #5DB8A9;
    --teal-pale: #D0EDE7;
    --midnight: #071E1E;

    --copper: #C47A3F;
    --copper-light: #D4945E;
    --copper-dark: #A0612E;
    --bronze-gold: #D4A45A;
    --bronze-light: #E4C07A;

    --ivory: #FAF5EC;
    --warm-white: #FFF9F2;
    --sand: #E8DED0;
    --stone: #C4B8A8;
    --drift: #8A7E6E;
    --earth: #6B5E4F;
    --charcoal: #2C2520;
    --ink: #1A1512;

    --success: #2A8A5A;
    --warning: #D4A45A;
    --error: #C45A3F;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    --shadow-subtle: 0 1px 3px rgba(7, 30, 30, 0.06);
    --shadow-card: 0 4px 20px rgba(7, 30, 30, 0.08), 0 1px 3px rgba(7, 30, 30, 0.04);
    --shadow-elevated: 0 8px 40px rgba(7, 30, 30, 0.12), 0 2px 8px rgba(7, 30, 30, 0.06);
    --shadow-floating: 0 20px 60px rgba(7, 30, 30, 0.18), 0 4px 16px rgba(7, 30, 30, 0.08);
    --shadow-3d: 0 30px 80px rgba(7, 30, 30, 0.2), 0 8px 24px rgba(7, 30, 30, 0.1);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--charcoal);
    background: var(--ivory);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
}

.container { max-width: 1340px; margin: 0 auto; padding: 0 40px; }

/* ===== HEADER ===== */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250, 245, 236, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 61, 61, 0.06);
    transition: all 0.4s var(--ease-out);
}
header.scrolled {
    background: rgba(250, 245, 236, 0.95);
    box-shadow: 0 4px 30px rgba(7, 30, 30, 0.08);
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center; padding: 18px 40px;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 36px; width: auto; }
.logo-text {
    font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700;
    color: var(--deep-teal); letter-spacing: 2px;
}
.logo-text span { color: var(--copper); }

nav ul { display: flex; list-style: none; gap: 36px; }
nav a {
    color: var(--earth); text-decoration: none; font-size: 13px; font-weight: 500;
    letter-spacing: 0.8px; text-transform: uppercase; position: relative; transition: color 0.3s ease;
}
nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--copper); border-radius: 1px; transition: width 0.3s var(--ease-out);
}
nav a:hover { color: var(--deep-teal); }
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: var(--deep-teal); }

.mobile-menu-btn {
    display: none; font-size: 26px; cursor: pointer; color: var(--deep-teal);
    background: none; border: none; padding: 4px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 40px; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.4s var(--ease-out); position: relative;
    font-family: 'DM Sans', sans-serif;
}
.btn-primary {
    background: var(--copper); color: var(--warm-white);
    box-shadow: 0 4px 20px rgba(196, 122, 63, 0.35);
}
.btn-primary:hover {
    background: var(--copper-light); transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 122, 63, 0.4);
}
.btn-dark {
    background: var(--deep-teal); color: var(--bronze-gold);
    box-shadow: 0 4px 20px rgba(10, 61, 61, 0.3);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(10, 61, 61, 0.35); }
.btn-ghost {
    background: transparent; color: var(--deep-teal); border: 1.5px solid var(--deep-teal);
}
.btn-ghost:hover {
    background: var(--deep-teal); color: var(--bronze-gold);
    transform: translateY(-3px); box-shadow: var(--shadow-elevated);
}
.btn-copper-outline {
    background: transparent; color: var(--copper); border: 1.5px solid var(--copper);
}
.btn-copper-outline:hover {
    background: var(--copper); color: var(--warm-white); transform: translateY(-3px);
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
    background: linear-gradient(160deg, rgba(7,30,30,0.85) 0%, rgba(10,61,61,0.7) 40%, rgba(26,107,90,0.5) 100%);
    background-size: cover; background-position: center;
    padding: 160px 0 100px; color: var(--ivory); text-align: center;
    position: relative; overflow: hidden;
}
.page-hero h1 {
    font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px;
    font-weight: 700; color: var(--ivory); letter-spacing: 1px;
}
.page-hero p {
    font-size: clamp(16px, 2vw, 20px); max-width: 660px;
    margin: 0 auto; opacity: 0.9; font-weight: 300; line-height: 1.7;
}
.breadcrumb {
    display: flex; justify-content: center; gap: 10px;
    margin-top: 24px; font-size: 14px; color: rgba(250,245,236,0.6);
}
.breadcrumb a { color: var(--ivory); text-decoration: none; }
.breadcrumb a:hover { color: var(--bronze-gold); }

/* ===== TOUR DETAIL PAGES ===== */
.tour-hero {
    background-size: cover; background-position: center;
    padding: 120px 0; color: var(--ivory); text-align: center;
    position: relative;
}
.tour-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(7,30,30,0.85) 0%, rgba(10,61,61,0.65) 100%);
}
.tour-hero > * { position: relative; z-index: 1; }
.tour-hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 20px; color: var(--ivory); }
.tour-meta { display: flex; justify-content: center; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.tour-meta-item { display: flex; align-items: center; gap: 10px; font-size: 17px; }

.tour-content { max-width: 1340px; margin: 80px auto; padding: 0 40px; }

.tour-overview {
    background: var(--warm-white); padding: 48px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); margin-bottom: 60px;
}
.tour-overview h2 { font-size: 34px; color: var(--deep-teal); margin-bottom: 24px; }
.tour-overview p { font-size: 16px; line-height: 1.9; color: var(--earth); margin-bottom: 14px; }

.included-box {
    background: var(--ivory); padding: 28px; border-radius: var(--radius-md);
    margin-top: 28px; border-left: 4px solid var(--copper);
}
.included-box h4 { font-size: 20px; color: var(--deep-teal); margin-bottom: 16px; }
.included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.included-item { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--charcoal); }

.day-item {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
    margin-bottom: 56px; align-items: center;
}
.day-item:nth-child(even) { direction: rtl; }
.day-item:nth-child(even) > * { direction: ltr; }

.day-content {
    background: var(--warm-white); padding: 36px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.day-number {
    font-size: 12px; color: var(--copper); font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.day-content h3 { font-size: 28px; color: var(--deep-teal); margin-bottom: 16px; }
.day-content p { font-size: 15px; line-height: 1.9; color: var(--charcoal); margin-bottom: 12px; }

.day-image {
    height: 380px; border-radius: var(--radius-lg);
    background-size: cover; background-position: center;
    box-shadow: var(--shadow-floating);
}

.pricing-table { width: 100%; border-radius: var(--radius-md); overflow: hidden; margin-top: 28px; }
.pricing-row {
    display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 14px 20px; border-bottom: 1px solid rgba(10,61,61,0.05);
    background: var(--ivory); font-size: 14px;
}
.pricing-header {
    background: var(--deep-teal); color: var(--ivory); font-weight: 600;
}
.pricing-total { background: var(--copper); color: var(--warm-white); font-weight: 700; }

.altitude-box {
    background: rgba(196,122,63,0.08); padding: 20px; border-radius: var(--radius-sm);
    margin-top: 20px; border: 1px solid rgba(196,122,63,0.2);
}
.altitude-item {
    display: flex; justify-content: space-between; padding: 6px 0;
    border-bottom: 1px dashed rgba(10,61,61,0.12); font-size: 14px;
}
.altitude-item:last-child { border-bottom: none; }

.feature-box {
    background: var(--ivory); padding: 28px; border-radius: var(--radius-md);
    border-left: 4px solid var(--bronze-gold); margin-top: 24px;
}
.feature-box h4 { font-size: 20px; color: var(--deep-teal); margin-bottom: 12px; }
.feature-box p { font-size: 15px; color: var(--earth); line-height: 1.8; margin: 0; }

.note-box {
    background: rgba(212,164,90,0.08); padding: 14px 18px; border-radius: var(--radius-sm);
    margin-top: 20px; border-left: 4px solid var(--bronze-gold);
    font-size: 14px; color: var(--earth);
}

.highlight-badge {
    display: inline-block; background: var(--copper); color: var(--warm-white);
    padding: 6px 18px; border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 600; margin-bottom: 16px;
}

.certificate-badge {
    display: inline-block; background: var(--bronze-gold); color: var(--warm-white);
    padding: 6px 18px; border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 600; margin-right: 8px; margin-bottom: 8px;
}

/* ===== BOOK NOW CTA ===== */
.book-now-section {
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--midnight) 100%);
    padding: 80px 0; text-align: center; color: var(--ivory);
    position: relative; overflow: hidden;
}
.book-now-section::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212,164,90,0.08) 0%, transparent 60%);
    border-radius: 50%;
}
.book-now-section h2 { font-size: clamp(28px, 4vw, 46px); color: var(--ivory); margin-bottom: 16px; }
.book-now-section p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; }
.book-btn {
    display: inline-block; background: var(--copper); color: var(--warm-white);
    padding: 18px 48px; border-radius: var(--radius-pill);
    text-decoration: none; font-size: 15px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 4px 24px rgba(196,122,63,0.35);
}
.book-btn:hover {
    background: var(--warm-white); color: var(--deep-teal);
    transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,255,255,0.2);
}

/* ===== FOOTER ===== */
footer {
    background: var(--midnight); color: var(--ivory); padding: 80px 0 30px;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 60px; margin-bottom: 60px;
}
.footer-col h3 { font-size: 22px; margin-bottom: 20px; color: var(--bronze-gold); }
.footer-col p { margin-bottom: 10px; color: rgba(250,245,236,0.7); font-size: 15px; line-height: 1.7; }
.footer-col a { color: rgba(250,245,236,0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--copper); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
    text-align: center; padding-top: 30px;
    border-top: 1px solid rgba(250,245,236,0.08);
    color: rgba(250,245,236,0.4); font-size: 14px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .day-item { grid-template-columns: 1fr; gap: 28px; }
    .day-item:nth-child(even) { direction: ltr; }
    .included-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header-inner { padding: 14px 20px; }
    nav {
        position: fixed; top: 62px; left: -100%; width: 100%;
        background: var(--ivory); transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 999;
    }
    nav.active { left: 0; }
    nav ul { flex-direction: column; padding: 24px; gap: 16px; }
    .mobile-menu-btn { display: block; }
    .page-hero { padding: 130px 0 80px; }
    .tour-hero { padding: 100px 0 60px; }
    .tour-meta { flex-direction: column; align-items: center; gap: 12px; }
    .tour-content { padding: 0 20px; margin: 48px auto; }
    .tour-overview { padding: 28px; }
    .day-content { padding: 28px; }
    .day-image { height: 280px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .pricing-row { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 480px) {
    .tour-hero h1 { font-size: 28px; }
    .day-content h3 { font-size: 24px; }
}
