/* CSS Variables for easy theming */
:root {
    --primary: #0e1e40;
    --secondary: #f7b731;
    --accent: #1abc9c;
    --background: #f4f6fb;
    --text: #222b45;
    --white: #fff;
    --shadow: 0 4px 24px rgba(14,30,64,0.08);
}

/* GLOBAL: Use border-box for all elements */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'nunito', sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
    transition: background 0.3s;
    padding: 0 1vw;
}

header {
    /* background: var(--primary); */
    background: none;
    border-bottom: 1px solid var(--secondary);
    box-shadow: none;
    padding: 1.2rem 2vw 0.5rem 2vw;
    text-align: center;
    position: relative;
    z-index: 2;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1.2rem;
}

.header-logo {
    height: 44px;
    max-width: 30vw;
    width: auto;
    margin-right: 0.3rem;
}
h3{
    font-size: 1.2rem;
    color: var(--primary);
    text-shadow: 1px 1px 8px rgba(14,30,64,0.08);
    text-align: center;
    font-weight: 700;
}
.header-title {
    font-size: 1.5rem;
    margin-right: 0.7rem;
    color: var(--secondary);
    letter-spacing: 2px;
    text-shadow: 2px 2px 12px rgba(14,30,64,0.08);
    font-weight: 900;
}
.header-title .libs-bold {
    color: var(--primary);
    font-weight: 900;
    letter-spacing: 1.5px;
    font-size: 1.6em;
}

/* Hamburger styles */
.hamburger {
    display: none;
    /* background: var(--secondary); */
    color: var(--primary);
    border: none;
    font-size: 2rem;
    border-radius: 30%;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 2vw;
    top: 10px;
    /* Moved from left: 50%; transform: translateX(-50%); to right: 2vw; */
    z-index: 20;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(247,183,49,0.12);
    transition: background 0.2s, color 0.2s;
}
.hamburger:active, .hamburger:focus {
    background: var(--primary);
    color: var(--secondary);
    outline: none;
    border: 2px solid var(--secondary);
}
.hamburger:hover {
    background: var(--primary);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

/* Overlay nav styles */
.overlay-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(14,30,64,0.97);
    z-index: 100;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.overlay-nav.active {
    display: flex;
}
.overlay-nav nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.overlay-nav nav a {
    font-size: 1.5rem;
    color: var(--secondary);
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0.7rem 2rem;
    font-weight: 700;
    text-align: center;
}
.overlay-nav nav a:hover {
    color: var(--accent);
    background: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}
nav a {
    color: var(--white);
    background: var(--secondary);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(247,183,49,0.12);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}
nav a:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,188,156,0.15);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.5rem 0 3rem 0;
    position: relative;
    z-index: 1;
}

.hero-text {
    font-size: 2.2rem;
    color: var(--primary);
    text-shadow: 1px 1px 8px rgba(14,30,64,0.08);
    margin-top: 1.2rem;
    text-align: center;
    font-weight: 700;
}
.hero-text span {
    font-weight: bold;
    color: var(--secondary);
    text-shadow: 2px 2px 12px rgba(14,30,64,0.08);
}

/* Light animation background */
.animated-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.animated-bg span {
    position: absolute;
    display: block;
    width: 60px; height: 60px;
    background: var(--secondary);
    opacity: 0.12;
    border-radius: 50%;
    animation: float 8s linear infinite;
}
.animated-bg span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.animated-bg span:nth-child(2) { left: 70%; top: 10%; animation-delay: 2s; }
.animated-bg span:nth-child(3) { left: 50%; top: 60%; animation-delay: 4s; }
.animated-bg span:nth-child(4) { left: 80%; top: 80%; animation-delay: 1s; }
.animated-bg span:nth-child(5) { left: 20%; top: 75%; animation-delay: 3s; }
@keyframes float {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.1); }
    100% { transform: translateY(0) scale(1); }
}

/* Gallery with CDN placeholders */
.fade-gallery {
    position: relative;
    width: 55vw;
    max-width: 700px;
    height: 320px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}
.fade-gallery img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s, transform 1.2s cubic-bezier(0.4,0,0.2,1);
    filter: brightness(0.95) saturate(1.1);
    transform: scale(1.08);
}
.fade-gallery img.active {
    opacity: 1;
    transform: scale(1);
}
.fade-gallery img:hover {
    filter: brightness(1.05) saturate(1.15);
    transform: scale(1.04) translateY(-8px);
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.5s;
}

/* Gallery overlay styles */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    /* font-family: "Poppins", sans-serif;
    text-align: center; */
    background: rgba(0,0,0,0.10); /* subtle overlay, optional */
}

.gallery-label {
    color: #fff;
    font-size: 2.7rem;
    font-family: 'Orbitron', 'Nunito', sans-serif;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 16px #000, 0 1px 2px #222;
    margin-bottom: 1.2rem;
    pointer-events: none;
    text-transform: uppercase;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), color 0.3s, background 0.3s;
}
.gallery-label:hover {
    transform: scale(1.07) translateY(-8px);
}

.gallery-more {
    background: var(--secondary, #f7b731);
    color: var(--primary, #0e1e40);
    border: none;
    border-radius: 30px;
    padding: 0.7em 2.2em;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(14,30,64,0.18);
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, color 0.2s, transform 0.5s cubic-bezier(0.4,0,0.2,1);
    /* font-family: 'Orbitron', 'Nunito', sans-serif; */
}
.gallery-more:hover {
    background: var(--accent, #1abc9c);
    color: #fff;
    transform: scale(1.07) translateY(-8px);
}

/* Section cards */
.section {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
    transition: box-shadow 0.2s;
}
.section:hover {
    box-shadow: 0 8px 32px rgba(14,30,64,0.13);
}

/* Card container for flex layout */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 1.5rem 1.2rem;
    margin: 0.5rem;
    max-width: 270px;
    min-width: 220px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(14,30,64,0.13);
}
.card img {
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.5s;
}
.card img:hover {
    filter: brightness(1.08) saturate(1.13);
    transform: scale(1.04) translateY(-8px);
}

/* Header link styles */
.header-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

/* Itinerary form styles */
.itinerary-form {
    margin-top: 2rem;
}

/* Contact info styles */
.contact-info p {
    margin: 0.5em 0;
}

/* Margin top utility class */
.margin-top-1-5rem {
    margin-top: 1.5rem;
}

/* Like button styles */
.like-btn {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}
.like-count {
    margin-left: 10px;
    font-weight: bold;
}

/* Food and hotel image styles */
.food-hotel-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Margin top auto utility class */
.mt-auto {
    margin-top: auto;
}

/* Header link flex styles */
.header-link-flex {
    display: flex;
    align-items: center;
    text-decoration: none;
}

@media (max-width: 900px) {
    .fade-gallery {
        width: 98vw;
        height: 38vw;
        min-height: 160px;
    }
    
    

    .section {
        padding: 1rem 2vw;
    }
    .card-container {
        gap: 0.7rem;
    }
    .card {
        max-width: 100%;
        min-width: 140px;
        padding: 0.8rem 2vw;
    }
    .header-title {
        font-size: 1.5rem;
    }
    .header-title .libs-bold {
        font-size: 1.5em;

    }
    .header-logo {
        height: 36px;
        max-width: 40vw;
        margin-right: 0vw;
        margin-left: 0vw;

    }
}

@media (max-width: 600px) {
    header {
        padding: 0.2rem 0.5rem 0.2rem 0.5rem;
        border: none;
    }
    .header-flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .header-link {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-shrink: 1;
        min-width: 0;
    }
    .header-logo {
        height: 28px;
        max-width: 32vw;
        margin: 0 0.1rem 0 0;
        padding: 0;
    }
    .header-title {
        font-size: 1rem;
        margin: 0;
        padding: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hamburger {
        display: flex;
        position: static;
        margin-left: 0.5rem;
        align-items: center;
        justify-content: center;
    }
    header > .header-flex > nav {
        display: none !important;
    }
    nav {
        gap: 0.15rem;
        margin: 0.3rem 0;
        padding: 0;
    }
    nav a {
        width: 85vw;
        max-width: 220px;
        font-size: 0.85rem;
        padding: 0.35rem 0.1rem;
        font-weight: 500;
        background: rgba(247,183,49,0.55);
        color: var(--white);
        margin: 0.08rem 0;
        border-radius: 12px;
        box-shadow: none;
        letter-spacing: 0.2px;
    }
    nav a:first-child {
        font-weight: 700;
    }
    .fade-gallery {
        width: 90vw;
        height: 58vw;
        min-height: 90px;
        border-radius: 6px;
        margin-bottom: 0.7rem;
    }
    .hero-text {
        font-size: 0.92rem;
        padding: 0 1vw;
        margin-top: 0.5rem;
    }
    .section {
        padding: 0.4rem 1vw;
        max-width: 98vw;
        margin: 0.5rem auto;
        font-size: 0.92rem;
    }
    .card-container {
        gap: 0.2rem;
        margin-top: 0.5rem;
    }
    .card {
        width: 88vw;
        max-width: 88vw;
        padding: 2vw;
        font-size: 0.9rem;
        margin: 0.1rem 0;
        align-items: center;
    }
    main, .main-content, .body-content {
        margin: 0.5rem 0;
    }
    p, h1, h2, h3, h4, h5, h6, li {
        font-size: 0.92rem !important;
        margin: 0.2em 0 !important;
    }
    .hamburger {
        display: flex;
        right: 2vw;
        left: auto;
        /* Ensures hamburger is at top right on mobile */
    }
    .overlay-nav {
        display: none;
    }
    .overlay-nav.active {
        display: flex;
    }
    /* Main content containers fit 88vw and are centered */
    .section,
    .card,
    .card-container,
    main > *,
    .body-content {
        width: 88vw !important;
        max-width: 90vw;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* Add a little vertical margin for separation */
    .section,
    .card {
        margin-top: 1.2rem !important;
        margin-bottom: 1.2rem !important;
    }
    footer {
        font-size: 0.72em !important;
    }
    .food-hotel-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        max-height: none !important;
        min-height: 0;
        background: #f4f6fb;
        display: block;
    }
}