/* ------------------------------
   Global Styles
--------------------------------*/
:root {
    --bg-color: #fefdf9;
    --text-color: #956a32;
    --paper: #fbf6f1;
    --accent: #7b5426;
    --radius: 8px;
    --border-color: #d0b895;
    --font-family: "Poppins", sans-serif;
    --muted: #bfa889;
    --card-bg: rgba(255, 255, 255, 0.55);
    --radius: 8px;
    --font-serif: "Lora", serif;
    --card: #fff;
    --shadow: 0 10px 30px rgba(16, 12, 8, 0.06);
    --badge-bg: rgba(149, 106, 50, 0.12);
    --badge-color: #2f1f12;
    --glass: rgba(149, 106, 50, 0.06);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    overflow-x: hidden;
    /* Prevent horizontal scrollbar */
}

/* ------------------------------
   Header Wrapper
--------------------------------*/
.site-header {
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-color);
}

/* ------------------------------
   Top Header
--------------------------------*/
.top-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 3rem;
}

/* Logo */
.logo img {
    max-height: 100px;
    width: auto;
    display: block;
}

/* Tagline */
.tagline {
    font-family: "Playfair Display", serif;
    /* More elegant font */
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 auto;
    padding: 0.5rem;
    position: relative;
    display: inline-block;
}

/* Add subtle decorative lines on each side */
.tagline::before,
.tagline::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: var(--border-color);
}

.tagline::before {
    left: -60px;
}

.tagline::after {
    right: -60px;
}

/* Highlight Raj & Babu */
.tagline strong {
    color: #7b5426;
    font-style: italic;
}

/* Social Icons */
.social-icons {
    justify-self: end;
}

.social-icons ul {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

/* ------------------------------
   Bottom Header (Navigation)
--------------------------------*/
.bottom-header {
    border-top: 1px solid rgba(208, 184, 149, 0.3);
    padding: 0.6rem 1rem;
}

.main-nav {
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 1.55rem;
    list-style: none;
    justify-content: center;
    max-width: 1200px;
}

.main-nav li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 4px;
    position: relative;
    transition: color 0.3s ease;
}

/* underline animation */
.main-nav li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: var(--text-color);
    transition: width 0.3s ease-in-out;
}

.main-nav li a:hover {
    color: var(--accent);
}

.main-nav li a:hover::after {
    width: 100%;
}

/* Active link style */
nav ul li a.active {
    color: #7b5426;
    font-weight: 700;
    border-bottom: 2px solid #7b5426;
    /* underline effect */
}

nav ul li a.active:hover,
nav ul li a.active:hover::after {
    color: #7b5426;
    width: 0%;
    cursor: default;
}

.mobile-bottom-nav,
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {

    /* ---- Hide tagline + socials on mobile header ---- */
    .top-header {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0.8rem 1rem;
    }

    .mobile-bottom-nav {
        display: grid;
        /* becomes visible only on mobile */
    }

    .mobile-menu {
        display: flex;
        /* becomes visible only on mobile when active */
    }

    .mobile-menu nav ul li {
        border-bottom: 1px solid var(--border-color);
    }

    .tagline,
    .social-icons,
    .bottom-header {
        display: none;
    }

    /* ---- Bottom Sticky Grid (MOBILE ONLY) ---- */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: var(--bg-color);
        border-top: 1px solid var(--border-color);
        z-index: 999;
        text-align: center;
    }

    .mobile-bottom-nav button {
        background: none;
        border: none;
        padding: 0.9rem 0;
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        color: var(--text-color);
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .mobile-bottom-nav button:hover {
        background: var(--border-color);
        color: var(--accent);
    }

    /* ---- Mobile Full-Screen Menu ---- */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        padding: 1rem 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu.active {
        left: 0;
    }

    /* Add overlay effect */
    .mobile-menu::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
    }

    /* Scrollable nav */
    .mobile-menu nav {
        flex: 1;
        overflow-y: auto;
        margin-top: 3rem;
        padding-right: 0.5rem;
    }

    .mobile-menu nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu nav ul li a {
        font-size: 1.4rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-decoration: none;
        color: var(--text-color);
        transition: color 0.3s ease;
    }

    .mobile-menu nav ul li a:hover {
        color: var(--accent);
    }

    /* ---- Close button ---- */
    .mobile-menu .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        font-weight: bold;
        color: var(--text-color);
        background: none;
        border: none;
        cursor: pointer;
    }

    /* ---- Social links inside mobile menu ---- */
    .mobile-menu .social-icons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
}

/* ===============================
   TABLET (768px - 1024px)
=================================*/
@media (min-width: 769px) and (max-width: 1024px) {

    /* Reduce nav spacing slightly for tablet */
    .main-nav ul {
        column-gap: 1.5rem;
    }

    .main-nav li a {
        font-size: 0.95rem;
    }

    .logo img {
        max-height: 80px;
    }
}

main {
    display: block;
    padding: 2rem 1rem;
    max-width: var(--maxw);
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* minimal helpers for cards when CSS file not loaded yet */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.post-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.post-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 0.85rem;
}

.post-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.single-hero img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.single-head {
    margin: 1rem 0;
}

.post-tags a {
    margin-right: 0.5rem;
    text-decoration: none;
    color: var(--accent);
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
}

.hero-section {
    background-color: var(--paper);
    padding: 48px 80px;
    color: var(--text-color);
    overflow-x: hidden;
    /* ensure no horizontal scroll */
}

/* hero layout */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto 48px auto;
}

/* visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}


/* hero text block */
.hero-copy {
    padding: 8px 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 36px;
    line-height: 1.08;
    margin-bottom: 12px;
    color: var(--text-color);
    letter-spacing: -0.2px;
}

.hero-lead {
    font-family: var(--font-family);
    color: #5e4732;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
}

/* CTAs */
.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

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

/* meta text */
.hero-meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

/* section titles */
.section-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 36px;
    margin-bottom: 18px;
    color: var(--text-color);
}

/* EXPERIENCES GRID */
.experiences {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.exp-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

.exp-ico {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-card h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.exp-card p {
    font-size: 13px;
    color: #72543a;
    line-height: 1.5;
}

/* see all */
.more-experiences {
    text-align: center;
    margin-top: 24px;
}

/* FEATURED STORIES */
.featured-stories {
    margin-top: 36px;
    padding-top: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.story-card {
    display: flex;
    gap: 18px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 8px;
    align-items: center;
}

.story-image {
    width: 36%;
    border-radius: 6px;
    overflow: hidden;
}

.story-body {
    width: 64%;
}

.story-body h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.story-body p {
    color: #6a5040;
    font-size: 14px;
    margin-bottom: 8px;
}

.link-inline {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

/* small helpers */
.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}


.hero-visual img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Experience icon images */
.exp-ico img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin: 0 auto 12px;
}

/* Story card images */
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.more-stories {
    text-align: center;
    margin-top: 24px;
}

.festivals-section {
    background: var(--bg);
    color: var(--muted);
    padding: 64px 20px 0 20px;
    font-family: var(--font-family);
}

/* center container */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/* header */
.festivals-header .title {
    color: var(--accent);
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    margin: 0 0 10px 0;
}

.festivals-header .lede {
    margin: 0 0 22px;
    max-width: 72ch;
    line-height: 1.6;
    color: var(--accent);
}

/* grid */
.festivals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ----- Card (keeps left-image layout you asked for) ----- */
.festival-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    /* larger image column */
    gap: 18px;
    align-items: stretch;
    /* make both columns match height */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.97));
    padding: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: transform .18s ease, box-shadow .18s ease;
    overflow: hidden;
}

.festival-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(16, 12, 8, 0.10);
}

/* media column - larger, squarer image */
.card-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--card);
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 6px 18px rgba(16, 12, 8, 0.04) inset;
}

/* ensure the image covers and is responsive */
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1);
}

/* gentle image zoom on hover for interaction */
.festival-card:hover .card-media img {
    transform: scale(1.05);
}

/* month badge moved to bottom-left, high contrast */
.month-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-weight: 700;
    font-size: 0.62rem;
    padding: 7px 12px;
    border-radius: 20px;
    backdrop-filter: blur(3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.05em;
}

/* body column - stretch so buttons sit at bottom */
.card-body {
    padding: 6px 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* keeps layout tidy and equal-height cards */
    gap: 10px;
}

/* title / subtitle */
.card-title {
    margin: 0 0 6px 0;
    color: var(--accent);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.card-sub {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--muted);
}

/* meta and emphasis */
.card-meta {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    opacity: 0.95;
    font-style: italic;
}

/* action area aligned to bottom for equal-height effect */
.card-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* KNOW MORE button - more prominent */
.btn-know {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 22px rgba(149, 106, 50, 0.18);
    transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* subtle hover/focus */
.btn-know:hover,
.btn-know:focus {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(149, 106, 50, 0.22);
    opacity: 0.98;
    outline: none;
}

/* keyboard focus visible */
.btn-know:focus-visible {
    outline: 3px solid rgba(149, 106, 50, 0.16);
    outline-offset: 3px;
}

/* footer section below festivals */
.festivals-foot {
    margin-top: 28px;
    padding: 18px 20px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 8px 18px rgba(16, 12, 8, 0.04) inset;
}

/* note text */
.festivals-foot .note {
    margin: 0;
    max-width: 70%;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--accent);
    font-style: italic;
}

/* outline button */
.btn-outline {
    display: inline-block;
    color: var(--accent);
    border: 1.6px solid var(--accent);
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.18s ease;
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 106, 50, 0.16);
}

.btn-outline:focus-visible {
    outline: 3px solid rgba(149, 106, 50, 0.16);
    outline-offset: 3px;
}

.join-section {
    background: var(--bg-color);
    padding: 44px 18px;
    color: var(--muted);
    font-family: var(--font-family), system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

.join-wrap {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
    padding: 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

/* header */
.join-header h2 {
    margin: 0 0 6px;
    color: var(--text-color);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.join-lede {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 1rem;
}

/* form grid */
.join-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: 1 / -1;
}

.label-text {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 600;
}

/* inputs */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea {
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #222;
    background: var(--card);
    transition: box-shadow .12s ease, transform .08s ease, border-color .12s ease;
    box-shadow: inset 0 4px 12px rgba(149, 106, 50, 0.03);
}

textarea {
    resize: vertical;
    min-height: 72px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--text-color);
    box-shadow: 0 8px 26px rgba(149, 106, 50, 0.08);
    transform: translateY(-1px);
}

/* consent */
.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 8px 0 12px;
    font-size: 0.9rem;
    color: var(--muted);
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

/* actions */
.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 6px;
    flex-wrap: wrap;
}

/* primary CTA */
.join-cta {
    background: var(--text-color);
    /* #956a32 */
    border: none;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(149, 106, 50, 0.18);
    transition: transform .12s ease, box-shadow .12s ease;
}

.join-cta:hover,
.join-cta:focus {
    transform: translateY(-3px);
}

/* clear secondary */
.join-clear {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--muted);
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* container */
.site-footer {
    background: var(--bg-color);
    color: var(--badge-color);
    border-top: 1px solid var(--border-color);
    padding: 36px 20px 18px;
    font-family: var(--font-family), system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* inner wrapper */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* grid area - 4 columns on desktop */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    /* left-brand, quick, explore, right */
    gap: 28px;
    align-items: start;
    padding: 18px 10px 24px;
}

/* BRAND column */
.footer-brand .brand-wrap {
    display: flex;
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo img {
    width: 300px;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
    display: block;
}

/* Title uses serif */
.brand-title {
    margin: 6px 0 6px 0;
    font-family: var(--font-serif);
    color: var(--badge-color);
    font-size: 1.55rem;
    line-height: 1.05;
    font-weight: 400;
}

.brand-sub {
    display: block;
    font-size: 1rem;
    margin-top: 6px;
    font-family: var(--font-serif);
    color: var(--badge-color);
}

.brand-small {
    margin: 12px 0 0 0;
    color: var(--accent);
    font-size: 0.92rem;
}

/* column titles */
.col-title {
    margin: 0 0 12px 0;
    font-size: 1.02rem;
    color: var(--text-color);
    font-weight: 600;
    font-family: var(--font-family);
}

/* link lists */
.footer-links ul,
.footer-explore ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li,
.footer-explore li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-explore a {
    color: var(--badge-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color .12s;
}

.footer-links a:hover,
.footer-explore a:hover {
    color: var(--text-color);
}

/* RIGHT column social row */
.footer-right .social-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.social {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(149, 106, 50, 0.08);
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: background .12s, transform .12s;
}

.social:hover {
    background: var(--text-color);
    color: #fff;
    transform: translateY(-3px);
}

/* separators */
.footer-sep {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
    border-radius: 2px;
}

/* join inline */
.join-compact .join-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent);
}

.join-inline {
    display: flex;
    gap: 8px;
    align-items: center;
}

.join-inline input[type="email"] {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.92rem;
    min-width: 0;
    width: 160px;
}

.join-btn {
    background: var(--text-color);
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.join-btn:hover {
    transform: translateY(-2px);
}

/* QR */
.qr-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.qr-img img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: var(--card);
}

.qr-note {
    margin: 0;
    color: var(--accent);
    font-size: 0.9rem;
}

/* bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 10px 0 10px;
    border-top: 1px solid var(--border-color);
    margin-top: 18px;
}

.credit {
    margin: 0;
    color: var(--accent);
    font-size: 0.95rem;
}

.credit .heart {
    color: var(--text-color);
    margin: 0 6px;
}

/* bottom links */
.bottom-links {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--accent);
    font-size: 0.95rem;
}

.bottom-links a {
    color: var(--accent);
    text-decoration: none;
}

.bottom-links a:hover {
    color: var(--text-color);
}

.map-section {
    width: 100%;
    background: var(--bg-color);
    color: var(--badge-color);
    padding: 0;
    margin: 0;
}

/* wrapper keeps the map full-bleed but centers overlay content */
.map-wrap {
    position: relative;
    width: 100%;
    height: 95vh;
    /* requirement: 80vh */
    max-height: 1100px;
    overflow: hidden;
}

/* iframe map: fill container */
.map-frame {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: none;
    display: block;
    /* slight desaturation for visual mood (optional) */
    /* filter: contrast(0.98) saturate(0.9) grayscale(0.02); */
}

/* overlay block: sits above the map */
.map-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    width: min(1200px, calc(100% - 40px));
    /* centered, leaves margin left/right */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.86));
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 12px 30px rgba(16, 12, 8, 0.09);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(4px);
}

/* title */
.map-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.map-title h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.05rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.map-sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    opacity: 0.95;
}

/* places list: pills layout */
.places-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 6px;
}

/* each place pill */
.place {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: white;
    color: var(--badge-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid rgba(149, 106, 50, 0.06);
    box-shadow: 0 6px 18px rgba(16, 12, 8, 0.04);
    transition: transform .14s ease, box-shadow .14s ease, background .12s ease;
}

.place i {
    color: var(--text-color);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

/* hover */
.place:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 12, 8, 0.08);
    background: linear-gradient(180deg, #fff, rgba(254, 253, 249, 0.96));
}

/* responsive: on very wide screens align items across */
@media (min-width: 1100px) {
    .map-overlay {
        padding: 18px 20px;
    }

    .places-list {
        gap: 12px;
    }
}

.place:focus {
    outline: 3px solid rgba(149, 106, 50, 0.16);
    outline-offset: 3px;
    transform: translateY(-2px);
}

/* section shell */
.photo-gallery {
    background: var(--bg-color);
    color: var(--badge-color);
    padding: 40px 18px;
    font-family: var(--font-family), system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* wrap */
.gallery-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/* header */
.gallery-title {
    margin: 0 0 6px;
    color: var(--text-color);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
}

.gallery-lede {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.98rem;
}

/* grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* gallery item */
.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 22px rgba(16, 12, 8, 0.04);
}

.gallery-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.gallery-btn img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform .35s cubic-bezier(.2, .9, .2, 1);
}

/* hover zoom */
.gallery-item:hover img,
.gallery-btn:focus img {
    transform: scale(1.06);
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    /* toggled via JS */
    align-items: center;
    justify-content: center;
    z-index: 1300;
    pointer-events: none;
}

.lightbox[aria-hidden="false"] {
    display: flex;
    pointer-events: auto;
}

/* backdrop */
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.6);
    backdrop-filter: blur(2px);
}

/* panel */
.lightbox-panel {
    position: relative;
    width: min(1100px, 96%);
    max-height: 88vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    z-index: 1310;
    display: flex;
    flex-direction: column;
}

/* close */
.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1320;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(16, 12, 8, 0.08);
}

/* media area */
.lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 18px 6px;
    flex: 1 1 auto;
}

.lightbox-image {
    max-width: calc(100% - 160px);
    /* leave room for nav */
    max-height: 72vh;
    width: auto;
    height: auto;
    display: block;
    box-shadow: 0 12px 36px rgba(16, 12, 8, 0.12);
    border-radius: 6px;
    object-fit: contain;
}

/* nav buttons */
.lightbox-nav {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(16, 12, 8, 0.08);
    font-size: 30px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.lightbox-nav:hover {
    transform: translateY(-4px);
}

/* footer */
.lightbox-footer {
    padding: 10px 18px 18px;
    background: linear-gradient(180deg, rgba(250, 250, 250, 0.98), rgba(255, 255, 255, 0.98));
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.lightbox-counter {
    margin: 0 0 6px 0;
    font-weight: 700;
    color: var(--text-color);
}

.lightbox-caption {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* keyboard / focus visible */
.gallery-btn:focus,
.lightbox-nav:focus,
.lightbox-close:focus {
    outline: 3px solid rgba(149, 106, 50, 0.14);
    outline-offset: 4px;
}

/* ------------------------------
   RESPONSIVENESS
------------------------------*/

@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-image {
        max-width: calc(100% - 120px);
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }

    .footer-brand {
        order: 1;
        grid-column: 1 / -1;
    }

    .footer-links {
        order: 2;
    }

    .footer-explore {
        order: 3;
    }

    .footer-right {
        order: 4;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 32px 40px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy {
        padding: 16px 8px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    /* Experiences grid: 2 columns */
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stories: vertical layout */
    .story-card {
        flex-direction: column;
    }

    .story-image,
    .story-body {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .map-overlay {
        left: 12px;
        right: 12px;
        transform: none;
        bottom: 16px;
        padding: 10px;
        border-radius: 10px;
    }

    .map-title h3 {
        font-size: 0.98rem;
    }

    .places-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }

    .place {
        flex: 0 0 auto;
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .festivals-grid {
        grid-template-columns: 1fr;
    }

    .festival-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .card-media {
        min-height: 220px;
        max-height: 340px;
        border-radius: 12px;
    }

    .card-actions {
        width: 100%;
    }

    .map-wrap {
        height: 100vh;
    }

    .btn-know {
        width: 100%;
        text-align: center;
    }

    .festivals-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .festivals-foot .note {
        max-width: 100%;
    }

    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .consent {
        align-items: center;
    }

    .join-cta {
        width: 100%;
    }

    .brand-logo {
        display: none;
    }
}

@media (max-width: 680px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-inner {
        padding: 0 8px;
    }

    .join-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .join-inline input[type="email"] {
        width: 100%;
        max-width: 320px;
    }

    .qr-img img {
        width: 64px;
        height: 64px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 12px;
        margin-bottom: 2.4rem;
    }

    .bottom-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-btn img {
        aspect-ratio: 3/2;
    }

    .lightbox-media {
        padding: 18px 10px;
    }

    .lightbox-image {
        max-width: 100%;
        max-height: 62vh;
    }

    .lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 24px 16px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-cta {
        flex-direction: column;
        gap: 8px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
        font-size: 13px;
        padding: 10px;
    }

    /* Experiences grid: 1 column */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .exp-card {
        padding: 16px;
    }

    /* Section titles smaller */
    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    /* Stories */
    .story-card {
        padding: 12px;
    }

    .story-body h3 {
        font-size: 16px;
    }

    .story-body p {
        font-size: 13px;
    }
}