@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-champagne: #EBE5DB; 
    --bg-light: #F2EFE8;
    
    --text-primary: #1A1A1A;
    --text-muted: #565656;
    
    --accent-terracotta: #C85A32;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-champagne);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    letter-spacing: -0.04em;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* Apple Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(235, 229, 219, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.brand { display: flex; align-items: center; }
.brand img { height: 85px; }

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.nav-links a { color: var(--text-primary); }
.nav-links a:hover { color: var(--text-muted); }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--text-primary);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--text-muted);
    color: #fff;
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}
.btn-outline:hover {
    background-color: var(--text-primary);
    color: #fff;
}

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

.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.6) contrast(1.1) saturate(1.2); 
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    color: #fff;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.06em;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
    opacity: 0.9;
}

/* Base Sections */
section {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 5rem;
}

.section-head h2 {
    font-size: 4rem;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Why Us Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.why-col {
    position: relative;
    padding: 5rem 3rem;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: transform 0.4s ease;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.why-col:hover {
    transform: translateY(-5px);
}

.why-col::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

.why-col h3, .why-col p {
    position: relative;
    z-index: 2;
}

.why-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.why-col p {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
}

/* Itinerary Grid - Slideshow Cards */
.itinerary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.itinerary-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Prevents the card hover scaling so navigation arrows don't jump */
.itinerary-card:hover { } 

.itinerary-card .slide-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: scale(1.02); /* Slight scale to prevent any subpixel borders/gaps */
}

.itinerary-card .slide-item.active {
    opacity: 1;
}

/* Nav Buttons inside the cards */
.slide-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.itinerary-card:hover .slide-controls {
    opacity: 1;
}

.slide-controls button {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-controls button:hover {
    background: rgba(255,255,255,0.8);
    color: var(--text-primary);
}


/* Dark gradient overlay on top of slideshow */
.itinerary-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.itinerary-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    color: #fff;
    width: 100%;
    pointer-events: none; /* allows clicking through to slider buttons if placed over text */
}

.itinerary-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.itinerary-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.itinerary-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    font-weight: 400;
}

.itinerary-card.full-width {
    grid-column: 1 / -1;
    height: 550px;
}

.itinerary-card.full-width h3 {
    font-size: 3rem;
}

/* Highlight Video Block - 3 pane split screen behind text */
.highlight-block {
    height: 600px;
    position: relative;
    margin: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-split-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    z-index: 1;
}

.video-split-bg video {
    flex: 1;
    height: 100%;
    object-fit: cover;
}

.highlight-block::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* overlay to make text visible */
    z-index: 2;
}

.highlight-content {
    position: relative;
    z-index: 3;
    color: #fff;
    width: 100%;
    height: 100%;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr; /* Two equal rows for alignment */
    width: 100%;
    height: 100%;
}

.h-col {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.h-top {
    align-items: flex-end; /* Headlines sit at the bottom of the top half */
    padding-bottom: 0.5rem;
}

.h-bottom {
    align-items: flex-start; /* Subtext sits at the top of the bottom half */
    padding-top: 0.5rem;
}

.h-col h2 { 
    font-size: 3.8rem; 
    margin: 0; 
    letter-spacing: -0.05em; 
    font-weight: 800;
}

.h-col p { 
    font-size: 1.2rem; 
    font-weight: 400;
    max-width: 350px;
    margin: 0;
}

/* About Us & Forms etc */
.about-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-hero img {
    width: 100%;
    max-width: 1000px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: 3rem;
    object-fit: cover;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.about-split.reverse {
    direction: rtl; /* simple way to reverse on desktop */
}
.about-split.reverse > * {
    direction: ltr; /* fix text */
}

.about-split img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.about-content h3 { font-size: 2.8rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.about-content h4 { font-size: 1.2rem; color: var(--accent-terracotta); margin-bottom: 1.5rem; font-weight: 600; }
.about-content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Contact Form */
.form-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.form-group { margin-bottom: 1.8rem; }
.form-group label { display: block; margin-bottom: 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group textarea {
    width: 100%; padding: 1.2rem; background: #fff; border: none; border-radius: 12px; color: var(--text-primary); font-family: var(--font-primary); font-size: 1rem; transition: box-shadow 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.form-group input:focus, .form-group textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,0.1); }

/* Footer */
footer { background-color: var(--text-primary); color: #fff; text-align: center; padding: 5rem 5%; }
footer .brand img { height: 60px; filter: brightness(0) invert(1); margin: 0 auto 1.5rem; opacity: 0.5; }
footer p { color: rgba(255,255,255,0.4); font-size: 0.9rem; font-weight: 400; }

/* Responsive */
@media screen and (max-width: 900px) {
    .itinerary-grid { grid-template-columns: 1fr; }
    .itinerary-card.full-width { grid-column: 1; height: 450px; }
    .itinerary-card.full-width h3 { font-size: 2.2rem; }
    .hero h1 { font-size: 4rem; }
    .about-split { grid-template-columns: 1fr; direction: ltr; }
}

@media screen and (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3.2rem; }
    .highlight-content h2 { font-size: 3.2rem; }
    .why-grid { grid-template-columns: 1fr; }
    .form-container { padding: 2rem; }
}

/* Urgency Counter Pulse */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Refined Urgency Badge */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(200, 90, 50, 0.1);
    backdrop-filter: blur(10px);
    border: 1.5px solid #C85A32;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(200, 90, 50, 0.2);
    transition: transform 0.3s ease;
}

.urgency-badge:hover {
    transform: scale(1.05);
}

.urgency-badge .dot {
    width: 10px;
    height: 10px;
    background: #C85A32;
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

.urgency-badge .text {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Light version for dark backgrounds (Hero) */
.urgency-hero .text { color: #fff; }

/* Dark version for light backgrounds (Itinerary) */
.urgency-light .text { color: var(--text-primary); }

@keyframes pulse-glow {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(200, 90, 50, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(200, 90, 50, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(200, 90, 50, 0); }
}
