/* Cumberland County Exhibition - Country Fair Theme */
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Roboto+Slab:wght@400;500;600;700&family=Lato:wght@400;600;700&display=swap');

:root {
    /* Wood & Earth Tones */
    --wood-dark: #3d2914;
    --wood-medium: #5c3d1e;
    --wood-light: #8b5a2b;
    --wood-grain: #6b4423;

    /* Straw & Hay */
    --straw: #d4a84b;
    --straw-light: #e8c87a;
    --hay: #c9a227;
    --wheat: #deb887;

    /* Earth & Barn */
    --barn-red: #8b2500;
    --barn-red-light: #a63d1f;
    --earth-brown: #5c4033;
    --soil: #3e2723;

    /* Sky & Grass */
    --sky-blue: #87ceeb;
    --grass-green: #4a7c23;
    --pasture: #6b8e23;

    /* Cream & White */
    --cream: #faf0dc;
    --cream-dark: #f5e6c8;
    --parchment: #f4e4bc;
    --white: #ffffff;

    /* Rope */
    --rope-tan: #c4a35a;
    --rope-dark: #a08040;

    /* Text */
    --text-dark: #2c1810;
    --text-medium: #4a3728;
    --text-light: #5a4336;

    /* Shadows - EXTRA HARD (Dirty/Dusty) */
    --shadow-soft: rgba(0, 0, 0, 0.45);
    --shadow-medium: rgba(0, 0, 0, 0.65);
    --shadow-dark: rgba(0, 0, 0, 0.85);
    --shadow-warm: rgba(61, 41, 20, 0.6);
    --shadow-dust: rgba(92, 64, 51, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    background:
        linear-gradient(180deg,
            rgba(180, 140, 100, 0.85) 0%,
            rgba(160, 120, 80, 0.88) 30%,
            rgba(140, 100, 60, 0.85) 70%,
            rgba(120, 80, 50, 0.88) 100%
        ),
        url('../images/art/best floor.png');
    background-size: auto, 400px;
    background-attachment: fixed;
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

/* Subtle lighting overlay for wood background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top center, rgba(255, 240, 200, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at bottom center, rgba(0, 0, 0, 0.2) 0%, transparent 40%);
    z-index: -2;
    pointer-events: none;
}

/* Subtle texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='hay'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23hay)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* ============================================
   HEADER - Wooden Barn Style
   ============================================ */
header {
    background: var(--wood-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-dark);
    overflow: visible;
}

header .container {
    padding: 0.5rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--cream);
    padding-bottom: 0;
    flex-shrink: 0;
}

/* Logo image - no box, stands alone, BIGGER */
.logo-img {
    height: 100px;
    width: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    filter:
        drop-shadow(0 0 1px rgba(232, 200, 122, 0.8))
        drop-shadow(0 0 2px rgba(232, 200, 122, 0.7))
        drop-shadow(0 0 3px rgba(232, 200, 122, 0.5));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Alfa Slab One', serif;
    font-size: 1.8rem;
    color: var(--straw-light);
    text-shadow:
        3px 3px 0 var(--wood-dark),
        -1px -1px 0 var(--wood-dark);
    letter-spacing: 1px;
}

.logo-tagline {
    font-family: 'Alfa Slab One', serif;
    font-size: 2.8rem;
    color: var(--straw-light);
    display: block;
    text-shadow:
        3px 3px 0 var(--wood-dark),
        -1px -1px 0 var(--wood-dark);
    letter-spacing: 1px;
}

/* Navigation - Clean Simple Tabs */
nav {
    align-self: flex-end;
    margin-left: auto;
    position: relative;
    bottom: -2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
    align-items: flex-end;
}

nav li {
    position: relative;
}

/* Dropdown container */
nav li.has-dropdown {
    position: relative;
}

nav li.has-dropdown > a::after {
    content: ' ▾';
    font-size: 0.6rem;
    margin-left: 0.25rem;
    opacity: 0.7;
}

/* Dropdown menu */
nav .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 170px;
    background: var(--wood-dark);
    border: 2px solid var(--rope-tan);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px var(--shadow-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
    padding: 0.4rem 0;
}

nav li.has-dropdown:hover .dropdown,
nav li.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav .dropdown li {
    margin: 0;
}

nav .dropdown a {
    display: block;
    padding: 0.55rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.85rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: var(--cream);
    text-shadow: none;
    box-shadow: none;
    transition: background 0.2s ease;
}

nav .dropdown a:hover {
    background: rgba(255,255,255,0.1);
}

nav .dropdown a.active {
    background: var(--straw);
    color: var(--wood-dark);
}

/* Main nav tabs */
nav a {
    display: block;
    padding: 0.6rem 1rem;
    font-family: 'Alfa Slab One', serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--cream);
    text-decoration: none;
    background: var(--wood-medium);
    border: 2px solid var(--rope-tan);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

nav a:hover {
    background: var(--wood-light);
    color: var(--cream);
}

nav a.active {
    background: var(--straw);
    color: var(--wood-dark);
    border-color: var(--straw);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: var(--wood-medium);
    border: 2px solid var(--rope-tan);
    border-radius: 6px;
    margin-bottom: 0;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--cream);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: var(--straw);
}

/* Mobile menu open state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION - Wooden Sign Style
   ============================================ */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--wood-dark);
    border-bottom: 10px solid var(--rope-tan);
    position: relative;
    overflow: hidden;
}

/* Subtle monochrome background image */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(
            rgba(61, 41, 20, 0.85),
            rgba(92, 61, 30, 0.88)
        ),
        url('../images/photos/541803018_1240062224816178_6600364531752553213_n.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) sepia(30%);
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 4px dashed var(--rope-tan);
    border-radius: 8px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.hero h1 {
    font-family: 'Alfa Slab One', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: var(--straw-light);
    text-shadow:
        4px 4px 0 var(--wood-dark),
        -2px -2px 0 var(--wood-dark),
        2px -2px 0 var(--wood-dark),
        -2px 2px 0 var(--wood-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.hero .tagline {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    color: var(--cream);
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    position: relative;
    z-index: 2;
}

.hero .date-badge {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    background: var(--barn-red);
    color: var(--cream);
    font-family: 'Alfa Slab One', serif;
    font-size: 1.3rem;
    border-radius: 8px;
    border: 4px solid var(--straw);
    box-shadow: 0 8px 25px var(--shadow-dark);
    transform: rotate(-2deg);
    position: relative;
    z-index: 2;
    max-width: calc(100% - 2rem);
    overflow-wrap: break-word;
}

/* Hero logo - large featured logo on home page - TWICE AS BIG */
.hero-logo {
    width: 400px;
    max-width: 90vw;
    height: auto;
    margin-bottom: 1.5rem;
    filter:
        drop-shadow(0 0 1px rgba(232, 200, 122, 1))
        drop-shadow(0 0 2px rgba(232, 200, 122, 1))
        drop-shadow(0 0 3px rgba(232, 200, 122, 0.9));
    animation: heroLogoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   WOODEN SIGN PANELS
   ============================================ */
.panel {
    background: linear-gradient(180deg,
        var(--cream) 0%,
        var(--cream-dark) 50%,
        var(--parchment) 100%
    );
    border: 2px solid #333;
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Ribbon decoration on panels */
.panel::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 100px;
    height: 140px;
    background-image: url('../images/art/1st ribbon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(3px 4px 6px rgba(0, 0, 0, 0.5));
    z-index: 5;
    pointer-events: none;
}

/* Deep shadow for all headings */
h1, h2 {
    text-shadow:
        3px 3px 0 rgba(0, 0, 0, 0.3),
        5px 5px 10px rgba(0, 0, 0, 0.4);
}

.panel h2 {
    font-family: 'Alfa Slab One', serif;
    color: var(--wood-dark);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 4px solid var(--straw);
    position: relative;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.panel h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    color: var(--wood-medium);
    margin: 1.5rem 0 0.75rem;
}

.panel p {
    color: var(--text-dark);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

/* Wooden Sign Style Panel - rich wood look */
.panel-wooden {
    background:
        linear-gradient(180deg,
            rgba(60, 50, 45, 0.97) 0%,
            rgba(45, 38, 35, 0.98) 30%,
            rgba(35, 30, 28, 0.97) 70%,
            rgba(25, 22, 20, 0.98) 100%
        ),
        url('../images/art/best floor.png');
    background-size: cover, cover;
    background-position: center, center;
    background-blend-mode: overlay;
    border: 2px solid #222;
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 8px 30px var(--shadow-medium);
    filter: saturate(0.4);
}

/* Green ribbon on wooden panels */
.panel-wooden::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 100px;
    height: 140px;
    background-image: url('../images/art/green ribbon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(3px 4px 6px rgba(0, 0, 0, 0.6)) saturate(2);
    z-index: 5;
    pointer-events: none;
}

.panel-wooden h2 {
    font-family: 'Alfa Slab One', serif;
    color: var(--straw-light);
    font-size: 2.4rem;
    text-shadow: 3px 3px 0 var(--wood-dark);
    border-bottom: 4px solid var(--straw);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.panel-wooden h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    color: var(--straw);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 1rem 0 0.5rem;
}

.panel-wooden p {
    color: var(--cream);
    font-size: 1.2rem;
}

/* Info cards inside wooden panels need light text */
.panel-wooden .info-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--rope-tan);
}

.panel-wooden .info-card h3 {
    color: var(--straw-light);
}

.panel-wooden .info-card p {
    color: var(--cream);
}

/* Rope Border Panel - cream background for readability */
.panel-rope {
    background: linear-gradient(180deg,
        #faf8f5 0%,
        #f5f0e8 50%,
        #faf8f5 100%
    );
    border: 2px solid #333;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Purple ribbon on rope panels */
.panel-rope::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 100px;
    height: 140px;
    background-image: url('../images/art/purple ribbon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(3px 4px 6px rgba(0, 0, 0, 0.5));
    z-index: 5;
    pointer-events: none;
}

.panel-rope h2 {
    font-family: 'Alfa Slab One', serif;
    color: var(--wood-dark);
    font-size: 2.2rem;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.panel-rope p {
    color: var(--text-dark);
}

/* ============================================
   INFO CARDS - Barn Style
   ============================================ */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--cream);
    border: 2px solid #333;
    border-radius: 8px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-medium);
    position: relative;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-dark);
}

.info-card h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    color: var(--wood-dark);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text-medium);
    font-size: 1.15rem;
    line-height: 1.6;
}

.info-card a {
    color: var(--barn-red);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

/* ============================================
   FEATURE GRID - Farm Icons
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: var(--cream);
    border: 3px solid var(--rope-tan);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-soft);
}

.feature-item:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 12px 35px var(--shadow-medium);
    border-color: var(--straw);
}

.feature-item h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.3rem;
    color: var(--wood-dark);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ============================================
   PHOTO CAROUSEL - Endless Scroll
   ============================================ */
.carousel-section {
    background:
        linear-gradient(145deg, var(--wood-medium), var(--wood-dark));
    border: 2px solid #333;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.carousel-section h2 {
    font-family: 'Alfa Slab One', serif;
    color: var(--straw-light);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 0 var(--wood-dark);
}

.carousel-wrapper {
    position: relative;
    border-radius: 6px;
}

/* New carousel structure */
.carousel-container {
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 6px;
}

.carousel-track {
    display: flex;
    gap: 1rem;
}

/* Carousel navigation arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.carousel-nav.left {
    left: -25px;
}

.carousel-nav.right {
    right: -25px;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-item {
    flex-shrink: 0;
    width: 300px;
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
    border: 4px solid var(--rope-tan);
    box-shadow: 0 8px 30px var(--shadow-dark);
    background: var(--cream);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 45px var(--shadow-dark);
    z-index: 5;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fade edges for carousel */
.carousel-fade-left,
.carousel-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 10;
    pointer-events: none;
}

.carousel-fade-left {
    left: 0;
    background: linear-gradient(90deg, var(--wood-dark) 0%, rgba(61, 41, 20, 0.9) 30%, transparent 100%);
}

.carousel-fade-right {
    right: 0;
    background: linear-gradient(-90deg, var(--wood-dark) 0%, rgba(61, 41, 20, 0.9) 30%, transparent 100%);
}

/* Speed zones for interactive scroll (optional) */
/* Hover zones for carousel direction control */
.carousel-hover-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%;
    z-index: 15;
    cursor: pointer;
}

.carousel-hover-zone.left {
    left: 0;
    background: linear-gradient(90deg, rgba(61, 41, 20, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-hover-zone.right {
    right: 0;
    background: linear-gradient(-90deg, rgba(61, 41, 20, 0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-hover-zone:hover {
    opacity: 1;
}

/* Legacy speed zones */
.carousel-speed-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 15;
    cursor: pointer;
    opacity: 0;
}

.carousel-speed-zone.left {
    left: 0;
}

.carousel-speed-zone.right {
    right: 0;
}

/* ============================================
   EVENTS - Timeline Style
   ============================================ */
.event-card {
    background: var(--cream);
    border: 4px solid var(--wood-medium);
    border-left: 8px solid var(--barn-red);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--barn-red);
    border: 4px solid var(--straw);
    border-radius: 50%;
    box-shadow: 0 4px 10px var(--shadow-medium);
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px var(--shadow-dark);
}

.event-date {
    font-family: 'Alfa Slab One', serif;
    font-size: 1.1rem;
    color: var(--barn-red);
    margin-bottom: 0.25rem;
}

.event-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    color: var(--wood-dark);
    margin-bottom: 0.5rem;
}

.event-desc {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.6;
}

.event-time {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    background: var(--straw-light);
    color: var(--wood-dark);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ============================================
   MEMBER CARDS - Expandable
   ============================================ */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.member-card {
    background: var(--cream);
    border: 4px solid var(--wood-medium);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
    border-color: var(--straw);
}

.member-photo {
    width: 100%;
    height: 200px;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 4px solid var(--rope-tan);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo-placeholder {
    width: 120px;
    height: 120px;
    background:
        linear-gradient(145deg, var(--wood-light), var(--wood-medium));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--cream);
    border: 4px solid var(--rope-tan);
}

.member-info {
    padding: 1.25rem;
    text-align: center;
}

.member-name {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    color: var(--wood-dark);
    margin-bottom: 0.25rem;
}

.member-title {
    font-size: 1.05rem;
    color: var(--barn-red);
    font-weight: 600;
}

.member-bio {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.25rem;
    background: var(--parchment);
    border-top: 0 solid var(--rope-tan);
}

.member-card.expanded .member-bio {
    max-height: 500px;
    padding: 1.25rem;
    border-top-width: 3px;
}

.member-bio p {
    color: var(--text-medium);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.member-contact a {
    color: var(--barn-red);
    text-decoration: none;
    font-weight: 600;
}

.member-contact a:hover {
    text-decoration: underline;
}

/* Expand indicator */
.member-expand {
    padding: 0.5rem;
    background: var(--straw-light);
    text-align: center;
    font-size: 0.9rem;
    color: var(--wood-dark);
    font-weight: 600;
    transition: background 0.3s ease;
}

.member-card:hover .member-expand {
    background: var(--straw);
}

.member-card.expanded .member-expand {
    background: var(--barn-red);
    color: var(--cream);
}

/* ============================================
   MODAL - Full Screen Member View
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--cream);
    border: 6px solid var(--wood-medium);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px var(--shadow-dark);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--barn-red);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--wood-dark);
    transform: scale(1.1);
}

.modal-photo {
    width: 100%;
    height: 300px;
    background: var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--rope-tan);
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    font-family: 'Alfa Slab One', serif;
    color: var(--wood-dark);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.modal-body .member-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.modal-body p {
    color: var(--text-medium);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    color: var(--wood-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 3px solid var(--rope-tan);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    background: var(--cream);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--barn-red);
    box-shadow: 0 0 0 4px rgba(139, 37, 0, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    background:
        linear-gradient(180deg, var(--barn-red-light), var(--barn-red));
    color: var(--cream);
    padding: 0.9rem 2.5rem;
    border: 4px solid var(--straw);
    border-radius: 8px;
    font-family: 'Roboto Slab', serif;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn:hover {
    background:
        linear-gradient(180deg, var(--wood-light), var(--wood-medium));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.btn-outline {
    background: transparent;
    color: var(--barn-red);
    border: 4px solid var(--barn-red);
}

.btn-outline:hover {
    background: var(--barn-red);
    color: var(--cream);
}

/* Light outline button for dark backgrounds */
.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border: 4px solid var(--cream);
}

.btn-outline-light:hover {
    background: var(--cream);
    color: var(--wood-dark);
}

/* Fix buttons inside wooden panels */
.panel-wooden .btn-outline,
.panel-wooden .btn:not(:first-of-type) {
    background: transparent;
    color: var(--straw-light);
    border: 4px solid var(--straw-light);
}

.panel-wooden .btn-outline:hover,
.panel-wooden .btn:not(:first-of-type):hover {
    background: var(--straw-light);
    color: var(--wood-dark);
}

/* ============================================
   DIVIDERS - Using Rope PNG
   ============================================ */
.divider-rope {
    margin: 3rem 0;
    height: 2px;
    background: #333;
    position: relative;
}


/* ============================================
   FOOTER
   ============================================ */
footer {
    background:
        linear-gradient(180deg,
            var(--wood-medium) 0%,
            var(--wood-dark) 100%
        );
    border-top: 2px solid #333;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

/* Add padding to main content so footer doesn't cover it */
main {
    padding-bottom: 120px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Footer logo - no box */
.footer-logo {
    height: 60px;
    border: none;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 0 1px rgba(232, 200, 122, 0.8));
}

.footer-title {
    font-family: 'Alfa Slab One', serif;
    font-size: 1.3rem;
    color: var(--straw-light);
    display: block;
}

.footer-address {
    font-size: 1rem;
    color: var(--cream);
}

.footer-address a {
    color: var(--straw-light);
    text-decoration: none;
}

.footer-address a:hover {
    text-decoration: underline;
}

.footer-center {
    text-align: center;
}

.footer-dates {
    font-family: 'Roboto Slab', serif;
    font-size: 1.1rem;
    color: var(--straw);
    font-weight: 600;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 1rem;
    color: var(--cream);
}

.footer-credit {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-credit a {
    color: var(--straw-light);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-secret {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
}

.footer-secret a {
    display: block;
    width: 24px;
    height: 24px;
    background: var(--wood-dark);
    color: var(--straw);
    text-align: center;
    line-height: 24px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.footer-secret a:hover {
    opacity: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes swing {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.swing {
    animation: swing 3s ease-in-out infinite;
    transform-origin: top center;
}

/* Scroll-triggered fade animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================
   GLASS SHINE EFFECT ON IMAGES
   ============================================ */
.glass-shine {
    position: relative;
    overflow: hidden;
}

.glass-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    z-index: 5;
    pointer-events: none;
}

.glass-shine:hover::before {
    left: 150%;
}

/* Glass frame effect */
.glass-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.1),
        0 10px 40px var(--shadow-dark);
}

.glass-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Apply glass shine to carousel items and member photos */
.carousel-item,
.member-photo,
.info-card img,
.feature-item img {
    position: relative;
    overflow: hidden;
}

.carousel-item::before,
.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 5;
    pointer-events: none;
}

.carousel-item:hover::before,
.member-photo:hover::before {
    left: 150%;
}

/* Subtle glass reflection overlay on images */
.carousel-item::after,
.member-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 40%,
        transparent 60%,
        rgba(0, 0, 0, 0.08) 100%
    );
    pointer-events: none;
    z-index: 3;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

/* Tablet and below - show hamburger */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: relative;
    }

    nav ul {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--wood-dark);
        border: 2px solid var(--rope-tan);
        border-radius: 8px;
        padding: 0.5rem;
        gap: 2px;
        min-width: 200px;
        box-shadow: 0 10px 30px var(--shadow-dark);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        z-index: 1000;
    }

    nav ul.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav li {
        margin-bottom: 0;
    }

    nav a {
        border-radius: 6px;
        border: none;
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        text-align: left;
        background: transparent;
    }

    nav a:hover {
        background: rgba(255,255,255,0.1);
    }

    nav a.active {
        background: var(--straw);
        color: var(--wood-dark);
    }

    /* Dropdown becomes expanded in mobile */
    nav li.has-dropdown > a::after {
        content: ' +';
        float: right;
    }

    nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
    }

    nav li.has-dropdown.open .dropdown {
        max-height: 500px;
    }

    nav li.has-dropdown.open > a::after {
        content: ' −';
    }

    nav .dropdown a {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        background: transparent;
        border-radius: 4px;
    }
}

@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        text-align: left;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-tagline {
        font-size: clamp(1.2rem, 4vw, 2.2rem);
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .hero-logo {
        width: 280px;
    }

    footer {
        padding: 0.5rem 0;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
        text-align: center;
    }

    .footer-left {
        flex-direction: row;
        gap: 0.5rem;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-title {
        font-size: 0.9rem;
    }

    .footer-address {
        font-size: 0.75rem;
    }

    .footer-dates {
        font-size: 0.8rem;
    }

    .footer-right p {
        font-size: 0.75rem;
    }

    .footer-credit {
        font-size: 0.7rem;
    }

    .countdown-timer {
        gap: 0.5rem;
    }

    .countdown-number {
        font-size: 1.1rem;
    }

    .panel {
        padding: 1.5rem;
    }

    .search-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-bar input {
        border-radius: 25px;
        border-right: 3px solid var(--rope-tan);
    }

    .search-bar button {
        border-radius: 25px;
        width: 100%;
    }

    main {
        padding-bottom: 150px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 60px;
    }

    .logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .logo-tagline {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-logo {
        width: 200px;
    }

    .hero .date-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .panel {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .panel h2 {
        font-size: 1.6rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

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

    .countdown-timer {
        flex-wrap: wrap;
    }

    footer {
        padding: 0.3rem 0;
    }

    .footer-content {
        gap: 0.3rem;
    }

    .footer-left {
        display: none;
    }

    .footer-title {
        font-size: 0.75rem;
    }

    .footer-dates {
        font-size: 0.7rem;
    }

    .footer-right p {
        font-size: 0.65rem;
    }

    .footer-credit {
        font-size: 0.6rem;
    }

    .countdown-number {
        font-size: 0.9rem;
    }

    main {
        padding-bottom: 150px;
    }
}

/* ============================================
   ANIMAL HEAD DECORATIONS
   ============================================ */
.section-decorated {
    position: relative;
    overflow: visible;
}

.animal-head {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 10;
    filter: drop-shadow(4px 6px 10px rgba(0, 0, 0, 0.5));
}

.animal-head img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* LEFT side animals - hidden */
.animal-head.left {
    display: none;
}

/* RIGHT side animals - top right corner */
.animal-head.right {
    right: -50px;
    top: -40px;
}

/* Smaller animal heads for cards */
.animal-head.small {
    width: 45px;
    height: 45px;
}

.animal-head.small.left {
    left: -15px;
    top: 10px;
}

.animal-head.small.right {
    right: -15px;
    top: 10px;
}

/* ============================================
   HORSESHOE DECORATION (Bottom Left)
   ============================================ */
.horseshoe {
    position: absolute;
    bottom: -25px;
    left: -20px;
    width: 80px;
    height: 80px;
    z-index: 10;
    filter: drop-shadow(3px 4px 6px rgba(0, 0, 0, 0.6));
    transform-origin: center top;
    cursor: pointer;
}

.horseshoe img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Smaller horseshoe variant */
.horseshoe.small {
    width: 50px;
    height: 50px;
    bottom: -15px;
    left: -10px;
}

/* Extra dusty/dirty texture overlay for panels */
.panel-dusty::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='dust'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23dust)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    border-radius: inherit;
}

/* Coming Soon / TBD Badge */
.badge-coming-soon {
    display: inline-block;
    background: linear-gradient(135deg, var(--barn-red), #6b1a00);
    color: var(--cream);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px var(--shadow-medium);
    margin-left: 0.5rem;
}

.badge-tbd {
    display: inline-block;
    background: var(--wood-medium);
    color: var(--straw-light);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive animal heads */
@media (max-width: 768px) {
    .animal-head {
        width: 90px;
        height: 90px;
    }

    .animal-head.left {
        left: -40px;
        top: -30px;
    }

    .animal-head.right {
        right: -40px;
        top: -30px;
    }

    .animal-head.small {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .animal-head {
        width: 60px;
        height: 60px;
    }

    .animal-head.left {
        left: -25px;
        top: -20px;
    }

    .animal-head.right {
        right: -25px;
        top: -20px;
    }
}

/* ============================================
   RIBBON DECORATIONS
   ============================================ */
.section-ribbon {
    position: relative;
}

.ribbon-decoration {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 45px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.ribbon-decoration:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Alternate ribbon colors */
.ribbon-green {
    background-image: url('../images/art/green ribbon.png');
}

.ribbon-purple {
    background-image: url('../images/art/purple ribbon.png');
}

/* Double ribbon for special sections */
.ribbon-double {
    display: flex;
    gap: 5px;
}

.ribbon-double img {
    width: 35px;
    height: auto;
}

@media (max-width: 768px) {
    .ribbon-decoration {
        width: 35px;
        bottom: 10px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .ribbon-decoration {
        display: none;
    }
}

/* ============================================
   SEARCH BAR - Full width below header
   ============================================ */
.search-bar-container {
    background: var(--straw);
    padding: 0.6rem 1rem;
    border-bottom: 3px solid var(--rope-tan);
}

.search-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
}

.search-bar input {
    flex: 1;
    padding: 0.6rem 1.2rem;
    border: 3px solid var(--rope-tan);
    border-right: none;
    border-radius: 25px 0 0 25px;
    background: var(--cream);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    outline: none;
    color: var(--text-dark);
}

.search-bar input:focus {
    border-color: var(--straw);
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.3);
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.search-bar button {
    padding: 0.6rem 2rem;
    border: 3px solid var(--rope-tan);
    border-radius: 0 25px 25px 0;
    background: linear-gradient(180deg, var(--barn-red-light), var(--barn-red));
    color: var(--cream);
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: linear-gradient(180deg, var(--straw), var(--hay));
    color: var(--wood-dark);
}

/* ============================================
   SEARCH DROPDOWN RESULTS
   ============================================ */
.search-bar-container {
    position: relative;
}

.search-bar {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--cream);
    border: 3px solid var(--rope-tan);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-dropdown.active {
    display: block;
}

.search-category {
    border-bottom: 2px solid var(--rope-tan);
}

.search-category:last-child {
    border-bottom: none;
}

.search-category-title {
    background: var(--wood-medium);
    color: var(--straw-light);
    padding: 0.5rem 1rem;
    font-family: 'Roboto Slab', serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--cream-dark);
    text-decoration: none;
    color: inherit;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: var(--straw-light);
}

.search-result-icon {
    width: 36px;
    height: 36px;
    background: var(--wood-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 600;
    color: var(--wood-dark);
    margin-bottom: 0.15rem;
}

.search-result-title mark {
    background: var(--straw);
    color: var(--wood-dark);
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-page {
    font-size: 0.75rem;
    color: var(--barn-red);
    background: var(--cream-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.search-no-results strong {
    display: block;
    color: var(--wood-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown-container {
    text-align: center;
    color: var(--cream);
}

.countdown-label {
    font-family: 'Roboto Slab', serif;
    font-size: 0.85rem;
    color: var(--straw-light);
    margin-bottom: 0.25rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Alfa Slab One', serif;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 1.4rem;
    color: var(--straw-light);
    text-shadow: 2px 2px 0 var(--wood-dark);
}

.countdown-unit {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    color: var(--cream);
    text-transform: uppercase;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Sticky footer variant */
.footer-sticky {
    position: sticky;
    bottom: 0;
    z-index: 50;
}

/* ============================================
   BECOME A SPONSOR CTA
   ============================================ */
.sponsor-cta {
    background: linear-gradient(135deg, var(--barn-red) 0%, #6b1a00 100%);
    color: var(--cream);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    border: 4px solid var(--straw);
    box-shadow: 0 8px 30px var(--shadow-dark);
}

.sponsor-cta h3 {
    font-family: 'Alfa Slab One', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--straw-light);
}

.sponsor-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.sponsor-cta .btn {
    background: var(--straw);
    color: var(--wood-dark);
    border-color: var(--cream);
}

.sponsor-cta .btn:hover {
    background: var(--cream);
    color: var(--barn-red);
}

/* ============================================
   CAROUSEL ARROWS
   ============================================ */
/* Carousel arrows - overlay on sides */
/* Carousel navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(51, 51, 51, 0.6);
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 20;
}

.carousel-btn.left {
    left: 15px;
}

.carousel-btn.right {
    right: 15px;
}

.carousel-btn:hover {
    opacity: 1;
    background: rgba(51, 51, 51, 0.9);
    transform: translateY(-50%) scale(1.15);
}

.carousel-btn::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    margin: auto;
}

.carousel-btn.left::before {
    transform: rotate(-135deg);
    margin-left: 18px;
}

.carousel-btn.right::before {
    transform: rotate(45deg);
    margin-right: 18px;
}

/* Legacy arrow styles for backwards compatibility */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 20;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    background: rgba(61, 41, 20, 0.5);
    border: 2px solid var(--rope-tan);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cream);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-dark);
    pointer-events: all;
    opacity: 0.8;
}

.carousel-arrow:hover {
    background: linear-gradient(180deg, var(--barn-red-light), var(--barn-red));
    transform: scale(1.15);
    box-shadow: 0 6px 20px var(--shadow-dark);
    opacity: 1;
}

.carousel-arrow.left::before {
    content: '<';
}

.carousel-arrow.right::before {
    content: '>';
}

/* ============================================
   LIGHTBOX - Photo Enlargement
   ============================================ */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.lightbox-overlay.active {
    opacity: 1;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

/* ============================================
   ROPE DIVIDER - Using rope breaker image
   ============================================ */
.divider-rope {
    margin: -1rem -100vw;
    padding: 0 100vw;
    height: 60px;
    width: calc(100% + 200vw);
    background: transparent;
    background-image: url('../images/art/rope breaker.png');
    background-size: auto 100%;
    background-repeat: repeat-x;
    background-position: center;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
    border: none;
    box-shadow: none;
}

/* ============================================
   MOBILE FOOTER FIX
   ============================================ */
@media (max-width: 768px) {
    footer {
        padding: 0.5rem 0;
        position: relative;
    }

    main {
        padding-bottom: 0;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-address {
        font-size: 0.75rem;
    }

    .countdown-container {
        padding: 0.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .countdown-number {
        font-size: 1rem;
    }

    .countdown-unit {
        font-size: 0.6rem;
    }

    .footer-right p {
        font-size: 0.75rem;
    }

    .footer-center {
        order: -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 0.4rem 0;
    }

    .footer-left {
        display: none;
    }

    .countdown-timer {
        gap: 0.3rem;
    }

    .countdown-item {
        padding: 0.2rem 0.4rem;
    }

    .countdown-number {
        font-size: 0.9rem;
    }
}

/* ============================================
   CAROUSEL ITEM CLICK CURSOR
   ============================================ */
.carousel-item {
    cursor: pointer;
}

.carousel-item:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.carousel-item img {
    transition: transform 0.3s ease;
}

/* ============================================
   KEN BURNS EFFECT - Hero Background
   ============================================ */
@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.1) translate(-2%, -1%);
    }
    50% {
        transform: scale(1.15) translate(-1%, 2%);
    }
    75% {
        transform: scale(1.1) translate(2%, -1%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero::after {
    animation: kenBurns 30s ease-in-out infinite;
}

/* ============================================
   DUST GRAIN OVERLAY - Subtle atmospheric effect
   ============================================ */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
    animation: grainShift 0.5s steps(3) infinite;
}

@keyframes grainShift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-1px, 1px); }
    66% { transform: translate(1px, -1px); }
}


/* ============================================
   FLIP CLOCK COUNTDOWN
   ============================================ */
.flip-clock {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.flip-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flip-card {
    position: relative;
    width: 60px;
    height: 70px;
    perspective: 300px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.flip-card .top,
.flip-card .bottom {
    position: absolute;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #2a2520 0%, #1a1815 100%);
    color: var(--straw-light);
    font-family: 'Alfa Slab One', serif;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #444;
}

.flip-card .top {
    top: 0;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #000;
    align-items: flex-end;
    padding-bottom: 2px;
}

.flip-card .bottom {
    bottom: 0;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #555;
    align-items: flex-start;
    padding-top: 2px;
}

.flip-card .top-back {
    position: absolute;
    top: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #2a2520 0%, #1a1815 100%);
    color: var(--straw-light);
    font-family: 'Alfa Slab One', serif;
    font-size: 2.2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2px;
    border-radius: 8px 8px 0 0;
    border: 2px solid #444;
    border-bottom: 1px solid #000;
    transform-origin: bottom;
    transform: rotateX(0deg);
    backface-visibility: hidden;
}

.flip-card.flip .top-back {
    animation: flipTop 0.6s ease-in-out;
}

@keyframes flipTop {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-90deg);
    }
}

.flip-unit-label {
    font-size: 0.7rem;
    color: var(--straw-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    font-weight: 600;
}

.flip-separator {
    font-size: 2rem;
    color: var(--straw-light);
    font-weight: bold;
    margin: 0 0.2rem;
    align-self: flex-start;
    margin-top: 1rem;
}

/* ============================================
   TIMELINE VIEW - Schedule
   ============================================ */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--straw), var(--wood-medium), var(--straw));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 45%;
    padding: 1.5rem;
    background: var(--cream);
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.timeline-item:nth-child(odd) {
    margin-left: 5%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    background: var(--barn-red);
    border: 4px solid var(--straw);
    border-radius: 50%;
    box-shadow: 0 3px 10px var(--shadow-medium);
}

.timeline-item:nth-child(odd)::before {
    right: -12%;
}

.timeline-item:nth-child(even)::before {
    left: -12%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 1.8rem;
    width: 30px;
    height: 3px;
    background: var(--straw);
}

.timeline-item:nth-child(odd)::after {
    right: -10%;
}

.timeline-item:nth-child(even)::after {
    left: -10%;
}

.timeline-time {
    font-family: 'Alfa Slab One', serif;
    font-size: 1.1rem;
    color: var(--barn-red);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.3rem;
    color: var(--wood-dark);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }

    .timeline-item::before {
        left: -40px !important;
        right: auto !important;
    }

    .timeline-item::after {
        left: -30px !important;
        right: auto !important;
        width: 20px;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--cream);
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-family: 'Roboto Slab', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wood-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--barn-red);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

/* Flip clock responsive */
@media (max-width: 480px) {
    .flip-card {
        width: 45px;
        height: 55px;
    }

    .flip-card .top,
    .flip-card .bottom,
    .flip-card .top-back {
        font-size: 1.6rem;
    }

    .flip-separator {
        font-size: 1.5rem;
    }

    .flip-unit-label {
        font-size: 0.6rem;
    }
}

/* ============================================
   UTILITY CLASSES - Extracted inline styles
   ============================================ */
.category-subtitle {
    margin-top: 1.5rem;
    color: var(--wood-dark);
}

.inline-note {
    margin-top: 1rem;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 4px solid var(--rope-tan);
}

.footer-social-link {
    color: var(--straw-light);
    text-decoration: none;
}

.petting-zoo-heading {
    text-align: center;
    font-family: 'Alfa Slab One', serif;
    color: var(--wood-dark);
    margin-bottom: 1rem;
}

.petting-zoo-desc {
    text-align: center;
    font-size: 1.1rem;
    color: var(--wood-dark);
}

.clear-search-btn {
    margin-left: 1rem;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
}

.site-notice {
    background: linear-gradient(135deg, var(--barn-red), #6b1a00);
    color: var(--cream);
    text-align: center;
    padding: 0.75rem 1rem;
    font-family: 'Roboto Slab', serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 3px solid var(--straw);
}

.site-notice strong {
    color: var(--straw-light);
}

/* ============================================
   FORM SUBMISSION - Success & Error States
   ============================================ */
.form-success-panel {
    background: linear-gradient(135deg, #1a6b1a, #0e4a0e);
    border: 4px solid var(--straw);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--cream);
    box-shadow: 0 8px 30px var(--shadow-dark);
    margin-top: 1.5rem;
}

.form-success-panel .success-check {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.form-success-panel h2 {
    font-family: 'Alfa Slab One', serif;
    font-size: 2rem;
    color: var(--straw-light);
    margin-bottom: 1rem;
}

.form-success-panel p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.form-success-panel .btn {
    background: var(--straw);
    color: var(--wood-dark);
}

.form-error-banner {
    background: linear-gradient(135deg, var(--barn-red), #6b1a00);
    color: var(--cream);
    border: 3px solid var(--straw);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.form-error-banner a {
    color: var(--straw-light);
    font-weight: 600;
}

.btn-submit-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   REDUCED MOTION - Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero::after {
        animation: none;
    }

    .particles-container {
        display: none;
    }
}
