/* ============================================================
   For the Love of the Land — Festival Website
   ============================================================ */

/* --- Fonts & Base ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

:root {
    --green-dark:   #3b4a1e;
    --green-mid:    #6a7c3a;
    --green-light:  #d8ddb8;
    --cream:        #f7f2e8;
    --parchment:    #ede5d0;
    --brown-dark:   #7a5535;
    --brown-mid:    #9a6840;
    --gold:         #9a7a2a;
    --gold-light:   #c9a84c;
    --white:        #ffffff;
    --text-dark:    #2c2416;
    --text-mid:     #5a4a35;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
}

.placeholder-text {
    color: #b0a090;
    font-style: italic;
    font-size: 0.88rem;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }


/* --- Navbar ----------------------------------------------- */
#mainNav {
    background: rgba(175, 158, 88, 0.97);
    backdrop-filter: blur(4px);
    padding: 0.75rem 0;
    transition: background 0.3s;
}

#mainNav .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.navbar-logo {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(201,168,76,0.45);
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
}

#mainNav .navbar-brand span {
    display: block;
    font-size: 0.7rem;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--text-dark) !important;
    text-transform: uppercase;
}

#mainNav .nav-link {
    color: var(--text-dark) !important;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem !important;
    transition: color 0.2s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--brown-dark) !important; }

#mainNav .btn-tickets {
    background: var(--gold);
    color: var(--white) !important;
    border-radius: 2px;
    padding: 0.4rem 1.1rem !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: background 0.2s;
}

#mainNav .btn-tickets:hover { background: var(--gold-light); color: var(--brown-dark) !important; }

.navbar-toggler { border-color: var(--gold-light); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28201,168,76,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* --- Hero -------------------------------------------------- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--green-dark) url('../images/hero.jpg') center center / cover no-repeat;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20,25,10,0.6) 0%, rgba(20,25,10,0.72) 100%);
}

#hero .hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 120px 20px 100px;
}

@media (max-width: 576px) {
    #hero .hero-inner { padding: 120px 20px 120px; }
}

#hero .hero-tag {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

#hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

#hero .hero-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold-light);
    margin-bottom: 1.8rem;
}

#hero .hero-dates {
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: var(--green-light);
    margin-bottom: 2.2rem;
    text-transform: uppercase;
}

#hero .hero-location {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
}

.btn-primary-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 2.5rem;
    border-radius: 2px;
    border: 2px solid var(--gold);
    transition: background 0.2s, color 0.2s;
}

.btn-primary-gold:hover {
    background: transparent;
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-outline-gold {
    display: inline-block;
    background: transparent;
    color: var(--gold-light);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.8rem 2.2rem;
    border-radius: 2px;
    border: 2px solid var(--gold-light);
    transition: background 0.2s, color 0.2s;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.35);
    margin: 8px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}


/* --- Section Headers -------------------------------------- */
.section-header { text-align: center; margin-bottom: 3rem; }

.section-header .eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--green-dark);
}

.section-header p {
    max-width: 580px;
    margin: 0.8rem auto 0;
    color: var(--text-mid);
    font-size: 1.05rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
    border: none;
}


/* --- Programme / Bill ------------------------------------- */
#programme { background: #d4ae88; color: var(--text-dark); }

#programme .section-header h2 { color: var(--text-dark); }
#programme .section-header .eyebrow { color: var(--brown-dark); }
#programme .divider { background: var(--gold); }
#programme .section-header p { color: var(--text-dark); opacity: 0.85; }

.bill-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: var(--brown-dark);
    border: 2px solid var(--gold);
    border-radius: 4px;
    overflow: hidden;
}

.bill-header {
    background: var(--gold);
    text-align: center;
    padding: 1.4rem 1rem;
}

.bill-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--brown-dark);
    letter-spacing: 0.06em;
}

.bill-header p {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brown-dark);
    margin-top: 0.3rem;
    opacity: 0.85;
}

.bill-body { padding: 0; }

.bill-event {
    display: grid;
    grid-template-columns: 120px 1fr;
    border-bottom: 1px solid rgba(201,168,76,0.25);
}

.bill-event:last-child { border-bottom: none; }

.bill-date {
    background: rgba(201,168,76,0.12);
    border-right: 1px solid rgba(201,168,76,0.25);
    padding: 1.4rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bill-date .day-name {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.bill-date .day-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.bill-date .month {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--parchment);
    opacity: 0.7;
}

.bill-event-detail {
    padding: 1.4rem 1.5rem;
}

.bill-event-detail h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-bottom: 0.35rem;
}

.bill-event-detail .bill-type {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 0.5rem;
    display: block;
}

.bill-event-detail p {
    font-size: 0.9rem;
    color: var(--parchment);
    opacity: 0.85;
    margin: 0;
}

.bill-ticket-btn {
    display: inline-block;
    margin-top: 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    border: 1px solid var(--gold);
    padding: 0.35rem 0.9rem;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}

.bill-ticket-btn:hover {
    background: var(--gold);
    color: var(--brown-dark);
}

.bill-footer {
    background: rgba(201,168,76,0.1);
    border-top: 1px solid rgba(201,168,76,0.25);
    text-align: center;
    padding: 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
}

@media (max-width: 576px) {
    .bill-event { grid-template-columns: 90px 1fr; }
    .bill-date .day-num { font-size: 1.5rem; }
    .bill-event-detail { padding: 1rem; }
}

.bill-meta {
    font-size: 0.8rem;
    color: var(--gold-light);
    opacity: 0.85;
    letter-spacing: 0.04em;
    margin-bottom: 0.55rem !important;
}

.bill-food {
    font-style: italic;
    color: var(--green-light) !important;
    margin-top: 0.5rem !important;
    font-size: 0.88rem;
}

.bill-event-detail > p + p {
    margin-top: 0.45rem;
}


.bill-talk {
    border-top: 1px solid rgba(201,168,76,0.2);
    padding-top: 1.2rem;
    margin-top: 1.2rem;
}

.bill-talk:first-of-type {
    border-top: none;
    padding-top: 0.4rem;
    margin-top: 0.5rem;
}

.bill-talk-meta {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.35rem !important;
    display: block;
    opacity: 0.85;
}

.bill-talk p + p {
    margin-top: 0.45rem;
}

.accordion-body p + p {
    margin-top: 0.55rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.faq-links {
    padding-left: 1.1rem;
    margin-top: 0.4rem;
}

.faq-links li {
    margin-bottom: 0.3rem;
    font-size: 0.88rem;
    overflow-wrap: break-word;
}

.accordion-body a {
    color: var(--green-mid);
    overflow-wrap: break-word;
}

.accordion-body a:hover {
    color: var(--gold);
}


/* --- Photo Strip ------------------------------------------ */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.photo-strip-item {
    position: relative;
    overflow: hidden;
}

.photo-strip-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-strip-item:hover img { transform: scale(1.04); }

.photo-strip-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 1rem;
    background: linear-gradient(transparent, rgba(213,197,138,0.85));
    color: var(--text-dark);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .photo-strip { grid-template-columns: 1fr; }
    .photo-strip-item img { height: 200px; }
}


/* --- Artists ---------------------------------------------- */
#artists { background: var(--cream); }

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.artist-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--parchment);
    transition: transform 0.2s, box-shadow 0.2s;
}

.artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(44,24,16,0.12);
}

.artist-card .artist-photo {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.artist-photo-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--green-light) 0%, var(--parchment) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-mid);
}

.artist-card-body {
    padding: 1.2rem 1.3rem 1.4rem;
}

.artist-card-body .artist-role {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
    display: block;
}

.artist-card-body h3 {
    font-size: 1.15rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.artist-card-body .artist-book {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.88rem;
    color: var(--text-mid);
    margin-bottom: 0.6rem;
}

.artist-card-body p {
    font-size: 0.88rem;
    color: var(--text-mid);
    margin-bottom: 0.8rem;
}

.artist-card-body .artist-link {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--green-mid);
    font-weight: 700;
    text-transform: uppercase;
}

.artist-card-body .artist-link:hover { color: var(--gold); }

.artist-tbc {
    border: 2px dashed var(--parchment);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 260px;
    padding: 2rem;
    color: var(--text-mid);
    opacity: 0.6;
}

.artist-tbc .tbc-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.artist-tbc p { font-size: 0.85rem; margin: 0; }


/* --- About ------------------------------------------------ */
#about {
    background: var(--parchment);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-photo-wrap {
    position: relative;
}

.about-photo-wrap img,
.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 3px;
}

.about-photo-placeholder {
    background: linear-gradient(160deg, var(--green-mid) 0%, var(--green-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
}

.about-img-caption {
    font-size: 0.8rem;
    color: var(--text-mid);
    font-style: italic;
    margin-top: 0.6rem;
    text-align: center;
    opacity: 0.75;
}

.about-content .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.6rem;
}

.about-content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--green-dark);
    margin-bottom: 1.2rem;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-content .vision-block {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--gold);
    background: rgba(154,122,42,0.07);
    border-radius: 0 3px 3px 0;
}

.about-content .vision-block h3 {
    font-size: 1.1rem;
    color: var(--green-dark);
    margin-bottom: 0.7rem;
}

.about-content .vision-block p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.97rem;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-photo-wrap .photo-caption { right: 0; }
}


/* --- FAQ -------------------------------------------------- */
#faq { background: var(--cream); }

.faq-wrap { max-width: 720px; margin: 0 auto; }

.accordion-item {
    background: var(--white);
    border: 1px solid var(--parchment) !important;
    border-radius: 3px !important;
    margin-bottom: 0.6rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white) !important;
    color: var(--green-dark) !important;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.2rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--gold) !important;
    background: var(--cream) !important;
}

.accordion-button::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D5C58A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    color: var(--text-mid);
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem 1.2rem;
    border-top: 1px solid var(--parchment);
}


/* --- Location --------------------------------------------- */
#location { background: #D5C58A; color: var(--text-dark); }

#location .section-header h2 { color: var(--text-dark); }
#location .section-header .eyebrow { color: var(--gold); }
#location .divider { background: var(--gold); }
#location .section-header p { color: var(--text-dark); opacity: 0.85; }

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-map iframe {
    width: 100%;
    height: 380px;
    border: none;
    border-radius: 3px;
    filter: grayscale(20%) saturate(0.85);
}

.location-details h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.location-details p { color: var(--text-dark); opacity: 0.9; margin-bottom: 0.8rem; font-size: 0.97rem; }

.location-details address {
    font-style: normal;
    background: rgba(0,0,0,0.06);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    border-radius: 0 3px 3px 0;
    font-size: 0.97rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.location-details .tel-link {
    color: var(--brown-dark);
    font-weight: 700;
}

.location-details .tel-link:hover { color: var(--text-dark); }

@media (max-width: 768px) {
    .location-grid { grid-template-columns: 1fr; }
    .location-map iframe { height: 280px; }
}


/* --- Footer ----------------------------------------------- */
footer {
    background: #252a18;
    color: var(--parchment);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

footer .footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
}

footer .footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--green-light);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: var(--parchment);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

footer .footer-links a:hover { opacity: 1; color: var(--gold-light); }

footer .footer-motto {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.88rem;
    color: var(--gold);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-copy {
    font-size: 0.75rem;
    color: var(--parchment);
    opacity: 0.4;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.2rem;
}
