* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #006ce4;
    --primary-rgb: 0,108,228;
    --dark: #003580;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--light-bg);
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
/* Header (site header used across pages) */
.site-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    backdrop-filter: blur(4px);
    /* keep header visible at top when scrolling */
    position: sticky;
    top: 0;
    z-index: 9999; /* ensure it sits above other components */
    box-shadow: 0 6px 18px rgba(6,30,61,0.06);
}

.site-header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Make the brand text clickable while preserving layout */
.brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
}

.brand-link:focus {
    outline: 3px solid rgba(11,116,222,0.12);
    border-radius: 8px;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,108,228,0.95), rgba(0,60,128,0.95));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 18px rgba(6,55,135,0.12);
}

.brand-text .brand-title {
    font-weight: 700;
    color: #0b2546;
    font-size: 1rem;
}

.brand-text .brand-tagline {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 2px;
}

nav { position: relative; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a {
    color: #0b2546;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-links a.active {
    background: rgba(0,108,228,0.10);
    color: rgba(0,60,128,1);
}

.nav-cta {
    background: rgba(0,108,228,0.95);
    color: #fff !important;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Book now CTA — more prominent, gradient primary button */


.translator{
    display: inline-block;
    position: relative;
    margin-left: 12px;
}
.translator button{
    background: #fff;
    border: 1px solid rgba(11,116,222,0.06);
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(11,116,222,0.06);
    transition: box-shadow .15s ease, transform .12s ease;
}
.translator button:hover{ box-shadow: 0 10px 30px rgba(11,116,222,0.08); transform: translateY(-1px); }
.translator button:focus{ outline: 3px solid rgba(11,116,222,0.12); outline-offset: 2px; }
.translator #translatorLabel{ font-weight:800; color:#07203a; }
.translator .caret{ color: rgba(7,32,58,0.6); transition: transform .15s ease; }
.translator.open .caret{ transform: rotate(180deg); }
.translator ul{
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    list-style: none;
    margin: 0;
    padding: 8px 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(11,116,222,0.12);
    min-width: 160px;
    z-index: 40;
    border: 1px solid rgba(11,116,222,0.06);
}
.translator ul li{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    font-weight:600;
}
.translator ul li:hover{ background: rgba(11,116,222,0.04); }
.translator ul li::before{
    content: attr(data-lang);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.75rem;
    background: #eef8ff;
    color: var(--primary);
    padding: 4px 6px;
    border-radius: 6px;
    margin-right: 6px;
}
.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: rgba(11,37,70,0.9);
}

/* Mobile behavior */
@media (max-width: 860px) {
    .nav-links { display: none; }
    .hamburger { display: inline-flex; align-items: center; gap: 8px; }
}

@media (min-width: 861px) {
    .nav-links { display: flex; }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 53, 128, 0.8), rgba(0, 53, 128, 0.8)), url('../img/New York.jpg') center/cover no-repeat;
    background-size: cover;
    color: var(--white);
    /* Use flex to center content vertically and horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 0;
    min-height: 56vh; /* tall enough to feel like a hero but not full-screen */
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Hero content wrapper: keep the content stacked and centered */
.hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 18px;
}

/* Search Card */
.search-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    color: #333;
}

/* Constrain the search card so it sits centered in the hero */
.hero .search-card,
.search-card {
    width: 100%;
    max-width: 980px; /* keeps the inputs readable on wide screens */
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.input-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-search {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Features */
.features {
    display: flex;
    gap: 20px;
    margin-top: -40px;
    padding-bottom: 50px;
}

.feature-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex: 1;
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .features {
        flex-direction: column;
        margin-top: 40px;
    }
}

/* ----- New sections: deals, destinations, testimonials ----- */
.deals {
    margin: 56px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* center heading + grid */
    gap: 18px;
}

.deals h2,
.destinations h2,
.testimonials h2 {
    color: var(--dark);
    margin-bottom: 6px;
}

.deals .muted {
    color: var(--muted);
    margin-bottom: 8px;
}

.deals-grid {
    width: 100%;
    max-width: 980px; /* constrain and center the grid */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: start;
}

.deal-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(11,30,60,0.06);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(11,30,60,0.08);
}

.deal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.deal-body {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center; /* center text inside cards */
    text-align: center;
}

.deal-body .meta {
    font-size: 0.9rem;
    color: var(--muted);
}

.deal-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center; /* center price + CTA */
    margin-top: 10px;
}

.price {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}

.btn-ghost {
    background-color: #006ce4;
    border: 1px solid rgba(0,108,228,0.14);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
}

/* .btn-ghost:hover{
    background: rgba(0,108,228,0.06);
    transform: translateY(-3px);
} */
.btn-ghost:focus{ outline:3px solid rgba(0,108,228,0.12); outline-offset:2px }

/* Primary filled button variant (use where appropriate) */
.btn-primary{
    background: linear-gradient(90deg,var(--primary),#3aa0ff);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0,108,228,0.12);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,108,228,0.16); }

/* Destinations grid */
.destinations {
    margin: 40px auto;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.destination-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 260ms ease;
    display: block;
}

.dest-caption {
    position: absolute;
    left: 12px;
    bottom: 10px;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.destination-card:hover img {
    transform: scale(1.06);
}

/* Testimonials */
.testimonials {
    margin: 50px auto 80px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    background: var(--white);
    padding: 18px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    color: #374151;
}

.testimonial-card cite {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Simple animations */
.fade-up {
    animation: fadeUp 420ms ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

/* responsive tweaks */
@media (max-width: 980px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .test-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .dest-grid {
        grid-template-columns: 1fr;
    }

    /* Reduce hero height and padding on small screens */
    .hero {
        padding: 36px 0;
        min-height: 40vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Mobile menu panel + overlay (class-driven) */
.nav-links.mobile-open {
    display: flex !important;
    position: absolute;
    top: 64px; /* below header */
    right: 12px;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(2,10,30,0.12);
    min-width: 200px;
    z-index: 120;
    border: 1px solid rgba(11,116,222,0.06);
}
.nav-links.mobile-open a{ padding: 12px 14px; display:block }
.nav-links.mobile-open .translator{ margin-left:0 }

.nav-overlay{ display:none }
.nav-overlay.active{
    display:block; position:fixed; inset:0; background:rgba(2,10,30,0.35); z-index:110;
}

.hamburger[aria-expanded="true"]{ transform: scale(.98) }

/* Tighter responsive breakpoints and layout adjustments */
@media (max-width: 980px){
    .hero { padding:48px 0 }
    .deal-img { height:160px }
}

@media (max-width: 860px){
    .nav-links{ display:none }
    .hamburger{ display:inline-flex; align-items:center; gap:8px; padding:6px; border-radius:8px }
    .hero { min-height:40vh }
    .search-card { padding:18px }
}

@media (max-width: 640px){
    .dest-grid { grid-template-columns: 1fr }
    .deals-grid { grid-template-columns: 1fr }
    .btn-search { width:100% }
    .btn { font-size: 0.95rem }
}

/* Ensure footer/grid collapse matches other pages */
@media (max-width:980px){
    .footer-grid{ grid-template-columns: 1fr 1fr }
}
@media (max-width:520px){
    .footer-grid{ grid-template-columns: 1fr !important; padding:16px }
}