:root {
    --color-primary: #ff385c;
    --color-primary-dark: #d90b3e;
    --color-primary-light: #fff0f2;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f7f7;
    --color-text: #222222;
    --color-heading: #222222;
    --color-border: #dddddd;
    
    --shadow-sm: rgba(0,0,0,0.08) 0px 4px 12px;
    --shadow-md: rgba(0,0,0,0.12) 0px 8px 24px;
    --shadow-lg: rgba(0,0,0,0.16) 0px 12px 32px;
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito Sans', -apple-system, system-ui, sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em; /* Negative tracking for Airbnb style */
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.highlights h2, .packages h2, .gallery h2, .testimonials h2 {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 16px 50px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 24px 0;
    gap: 24px;
    list-style: none;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border-top: 1px solid var(--color-border);
}

.nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto; /* Push to the right edge */
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-heading);
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.btn-book {
    background-color: var(--color-primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-book:hover {
    background-color: var(--color-primary-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255, 0.9) 0%, rgba(255,255,255, 0.5) 50%, rgba(255,255,255, 0) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 24px;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 2.75rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: var(--color-text);
}

.cta-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* Highlights */
.highlights {
    padding: 96px 0;
    background-color: var(--color-bg);
}

.glass {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Desktop Highlight Card (Responsive) */
.highlight-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.highlight-card h3 {
    padding: 20px;
    font-size: 1.25rem;
    text-align: center;
    color: var(--color-heading);
}

/* Packages */
.packages {
    padding: 96px 0;
    background-color: var(--color-bg-alt);
}

.subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 56px;
    margin-top: -32px;
}

.price-card {
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    position: relative;
    text-align: left;
    border: none;
    box-shadow: var(--shadow-sm);
    background: var(--color-bg);
}
.price-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    transition: var(--transition);
}
.price-card .package-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}
.price-card .package-content {
    padding: 16px;
}
.price-card h3 {
    font-size: 1.15rem;
    margin: 0 0 5px 0;
}
.price-card .rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.price-card .rating {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
}
.price-card .rating svg {
    margin-right: 4px;
    width: 14px;
    height: 14px;
}
.price-card .price {
    font-size: 1rem;
    color: var(--color-heading);
    font-weight: 700;
    text-align: left;
    margin: 10px 0 0 0;
}
.price-card .price span {
    font-weight: 400;
    color: #717171;
}
.price-options {
    margin-bottom: 16px;
    margin-top: 10px;
}
.option {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.875rem;
}
.price-card .package-snippet {
    display: block;
    color: #717171;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.price-card .btn {
    display: none; /* Hide primary button on card for cleaner look */
}
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2;
}
.favorite-btn svg {
    fill: rgba(0,0,0,0.3);
    stroke: white;
}
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--color-heading);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}


/* Gallery & Testimonials */
.gallery {
    padding: 64px 0;
    background-color: var(--color-bg);
}
.gallery h2 {
    margin-bottom: 24px;
}

/* Carousel Styles */
.carousel-section-wrapper {
    position: relative;
    padding: 0 16px;
}

.carousel-container-outer {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 10px; /* space for shadows */
    width: 100%;
    -webkit-overflow-scrolling: touch; /* for smooth scrolling on iOS */
}

/* Hide scrollbar */
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel > * {
    scroll-snap-align: center;
    flex: 0 0 calc(100% - 20px); /* 1 card per view on mobile */
    min-width: 280px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
    color: var(--color-text);
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.carousel-btn.prev-btn {
    left: -20px;
}

.carousel-btn.next-btn {
    right: -20px;
}

/* Specific adjustments for gallery/testimonials in carousel */
.carousel img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 14px;
    transition: var(--transition);
}

.carousel img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonials {
    padding: 64px 0;
    background-color: var(--color-bg-alt);
}
.testimonials h2 {
    margin-bottom: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-card h4 {
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--color-heading);
    color: white;
    text-align: center;
    padding: 80px 24px 40px;
}

.footer-content h2 {
    color: white;
    margin-bottom: 24px;
}

.footer-content p {
    color: #94a3b8;
    margin-bottom: 40px;
}

.copyright {
    margin-top: 64px;
    font-size: 0.875rem;
    color: #64748b;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- DESKTOP (Min-Width: 768px) --- */
@media (min-width: 768px) {
    .navbar {
        padding: 20px 50px;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        gap: 32px;
        border-top: none;
    }
    .menu-toggle {
        display: none;
    }
    .hero::after {
        background: linear-gradient(to right, rgba(255,255,255, 0.95) 0%, rgba(255,255,255, 0.8) 40%, rgba(255,255,255, 0.2) 100%);
    }
    .hero-content h1 {
        font-size: 4rem;
        line-height: 1.1;
    }
    .hero-content p {
        font-size: 1.25rem;
    }
    .price-card.popular {
        transform: scale(1.05);
    }
    .price-card.popular:hover {
        transform: scale(1.05) translateY(-4px);
    }
    .carousel > * {
        flex: 0 0 calc(33.333% - 16px);
    }
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255, 0.9) 0%, rgba(255,255,255, 0.5) 50%, rgba(255,255,255, 0) 100%);
    z-index: 0;
}
/* ---------------------------------------------------
   APP-LIKE MOBILE OVERHAUL 
--------------------------------------------------- */
/* Desktop Hides */
@media (min-width: 769px) {
    .mobile-search-bar, .mobile-categories, .bottom-nav {
        display: none !important;
    }
}

/* Mobile Overrides */
@media (max-width: 768px) {
    /* Hide old navbar */
    .navbar {
        display: none !important;
    }

    /* Hero section */
    .hero {
        height: 30vh; min-height: 30vh;
        margin-bottom: 20px;
        position: relative;
        overflow: visible;
        background: none !important; /* Remove inline background from container */
    }
    
    .hero-bg {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
        overflow: hidden;
        z-index: 0;
        background: none center bottom/cover;
    }

    .hero::before, .hero::after {
        display: none !important;
    }

    .hero-content {
        display: none !important;
    }

    .hero h1 {
        font-size: 2.2rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        line-height: 1.1;
    }
    
    .hero p {
        display: none;
    }

    /* Search Bar */
    .mobile-search-bar {
        position: absolute;
        bottom: -28px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background: white;
        border-radius: 30px;
        display: flex;
        align-items: center;
        padding: 12px 20px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 10;
        cursor: pointer;
    }
    
    .mobile-search-bar svg {
        color: var(--color-heading);
        margin-right: 15px;
    }

    .mobile-search-bar .search-text {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .mobile-search-bar .search-title {
        font-weight: 600;
        color: var(--color-heading);
        font-size: 0.95rem;
    }

    .mobile-search-bar .search-subtitle {
        font-size: 0.8rem;
        color: #717171;
    }

    .mobile-search-bar .filter-btn {
        background: #f7f7f7;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
    }

    /* Categories Menu */
    .mobile-categories {
        display: flex;
        overflow-x: auto;
        padding: 40px 20px 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        gap: 10px;
    }
    .mobile-categories::-webkit-scrollbar {
        display: none;
    }

    .category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #717171;
        scroll-snap-align: start;
        flex: 0 0 auto;
    }

    .category-item .icon-wrapper {
        background: #f7f7f7;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 8px;
        color: var(--color-heading);
        transition: var(--transition);
    }
    
    .category-item:active .icon-wrapper {
        background: #ebebeb;
    }

    .category-item span {
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* Circular Popular Destinations */
    .highlights {
        padding: 20px 0;
    }
    .highlights .container {
        padding: 0 10px;
    }
    .highlights h2 {
        text-align: left;
        margin-left: 10px;
        margin-bottom: 15px;
        font-size: 1.85rem;
    }
    
    /* Packages */
    .packages {
        padding-top: 10px;
        padding-bottom: 40px;
    }
    .packages h2 {
        text-align: left;
        margin-left: 0;
        margin-bottom: 15px;
        font-size: 1.85rem;
    }
    .packages .subtitle {
        display: none;
    }
    .packages .container {
        padding: 0 20px;
    }
    .packages .grid {
        gap: 10px;
    }

    /* Gallery */
    .gallery {
        padding: 20px 0;
    }
    .gallery h2 {
        text-align: left;
        margin-left: 0;
        margin-bottom: 10px;
        font-size: 1.85rem;
    }
    
    .testimonials {
        padding: 20px 0;
    }
    .testimonials h2 {
        text-align: left;
        margin-left: 0;
        margin-bottom: 10px;
        font-size: 1.85rem;
    }
    .highlights .grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 8px;
        padding-bottom: 10px;
    }
    
    .highlights .grid::-webkit-scrollbar {
        display: none;
    }

    .highlight-card {
        flex: 0 0 auto;
        width: 85px;
        background: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
        text-align: center;
        scroll-snap-align: start;
        overflow: visible;
        -webkit-tap-highlight-color: transparent;
    }

    .highlight-card:active,
    .highlight-card:hover {
        transform: none;
        box-shadow: none;
    }

    .highlight-card img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .highlight-card h3 {
        font-size: 0.8rem;
        margin: 0;
        padding: 0;
    }

    .highlight-card p {
        font-size: 0.8rem;
        color: #717171;
        display: block !important;
    }

    /* Featured Stays Cards (Packages) */
    .price-card {
        border-radius: 16px;
        padding: 0;
        overflow: hidden;
        position: relative;
        text-align: left;
        border: none;
        box-shadow: var(--shadow-sm);
    }
    
    .price-card .package-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 16px;
    }
    
    .price-card .package-content {
        padding: 16px;
    }
    
    .price-card h3 {
        font-size: 1.15rem;
        margin: 0 0 5px 0;
    }
    
    .price-card .rating-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
    }

    .price-card .rating {
        display: flex;
        align-items: center;
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .price-card .rating svg {
        margin-right: 4px;
        width: 14px;
        height: 14px;
    }
    
    .price-card .price {
        font-size: 1rem;
        color: var(--color-heading);
        font-weight: 700;
        text-align: left;
        margin: 10px 0 0 0;
    }

    .price-card .price span {
        font-weight: 400;
        color: #717171;
    }
    
    .price-card .facilities {
        display: block;
        color: #717171;
        font-size: 0.8rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .price-card .facilities li {
        display: inline;
    }
    
    .price-card .facilities li::after {
        content: ' � ';
    }
    .price-card .facilities li:last-child::after {
        content: '';
    }
    
    .price-card .btn {
        display: none; /* Hide primary button on card for cleaner look */
    }

    .favorite-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        z-index: 2;
    }
    .favorite-btn svg {
        fill: rgba(0,0,0,0.3);
        stroke: white;
    }

    .badge {
        position: absolute;
        top: auto;
        bottom: 120px;
        left: 15px;
        right: auto;
        background: white;
        color: var(--color-heading);
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        font-size: 0.85rem;
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 600;
        transform: none;
    }

    /* Bottom Navigation */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 12px 0 20px;
        border-top: 1px solid var(--color-border);
        z-index: 100;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
    
    .bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #717171;
        font-size: 0.7rem;
        font-weight: 500;
        gap: 4px;
    }

    .bottom-nav .nav-item.active {
        color: var(--color-primary);
    }

    .bottom-nav .nav-item svg {
        width: 24px;
        height: 24px;
    }

    body {
        padding-bottom: 80px; /* Space for bottom nav */
    }

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255, 0.9) 0%, rgba(255,255,255, 0.5) 50%, rgba(255,255,255, 0) 100%);
    z-index: 0;
}
.hero-slide.active {
    opacity: 1;
}
}



















/* Accessibility Focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--clr-primary, #0ea5e9);
    outline-offset: 2px;
}
