/* ========================================
   Pop-Up Art Cafe - Custom Styles
   ======================================== */

:root {
    --olive: #4a5a3a;
    --olive-dark: #3a4a2a;
    --olive-light: #6b7d58;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --warm-white: #faf8f4;
    --charcoal: #2c2c2c;
    --gold: #c4a35a;
    --sage: #a3b18a;
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--warm-white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
    background-color: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.6rem;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--olive);
}

.navbar.scrolled .brand-text {
    color: var(--olive-dark);
}

.navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--charcoal);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: var(--gold);
}

.navbar-toggler {
    border: none;
    color: var(--charcoal);
    font-size: 1.5rem;
}

.btn-cta {
    background-color: var(--olive);
    color: var(--cream) !important;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: var(--olive-dark);
    color: var(--cream) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 90, 58, 0.3);
}

/* ========================================
   Hero
   ======================================== */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 2rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 52, 32, 0.75);
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(245, 240, 232, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--cream-dark);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-outline-light {
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Page Hero (inner pages)
   ======================================== */

.page-hero {
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
    padding: 5rem 0;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--sage);
}

/* ========================================
   Sections
   ======================================== */

.section-what,
.section-events,
.section-about,
.section-partners,
.section-calendar {
    padding: 6rem 0;
}

.section-what {
    background-color: var(--warm-white);
}

.section-events {
    background-color: var(--cream);
}

.section-calendar {
    background-color: var(--warm-white);
    padding-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--olive-dark);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    font-weight: 300;
    color: #666;
    line-height: 1.7;
}

/* ========================================
   Feature Cards
   ======================================== */

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--cream-dark);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 90, 58, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    color: var(--olive);
}

.feature-card h5,
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--olive-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Event Cards
   ======================================== */

.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.event-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--cream-dark);
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 90, 58, 0.1);
}

.event-date-badge {
    background-color: var(--olive);
    color: var(--cream);
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-title,
h3.event-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--olive-dark);
    margin-bottom: 0.75rem;
}

.event-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.3rem;
}

.event-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.event-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--olive);
    transition: color 0.2s ease;
}

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

/* Wide event card (calendar page) */
.event-card-wide {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.event-card-left {
    flex-shrink: 0;
}

.event-date-badge-lg {
    background-color: var(--olive);
    color: var(--cream);
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.event-day {
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1;
}

.event-month-sm {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.event-card-right {
    flex: 1;
}

/* ========================================
   Partner Cards
   ======================================== */

.partner-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--cream-dark);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 90, 58, 0.1);
}

.partner-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    color: var(--olive);
}

.partner-card h5,
.partner-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--olive-dark);
    margin-bottom: 0.75rem;
}

.partner-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.partner-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.partner-location {
    font-size: 0.85rem;
    color: #999;
    display: block;
}

.partner-map-link {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--olive);
    transition: color 0.2s ease;
}

.partner-card:hover .partner-map-link {
    color: var(--gold);
}

/* ========================================
   About Values
   ======================================== */

.about-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--cream-dark);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--olive);
}

.value-item h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--olive-dark);
    margin-bottom: 0.3rem;
}

.value-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   CTA Banner
   ======================================== */

.section-cta-banner {
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
    padding: 5rem 0;
}

.section-cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.section-cta-banner p {
    color: var(--sage);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ========================================
   Marquee
   ======================================== */

.section-marquee {
    background-color: var(--olive);
    padding: 1.2rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--cream);
    letter-spacing: 2px;
    text-transform: lowercase;
    flex-shrink: 0;
}

.marquee-track.animated {
    animation: marquee var(--marquee-duration, 25s) linear infinite;
}

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

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background-color: var(--charcoal);
    padding: 5rem 0 2rem;
    color: var(--cream-dark);
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(245, 240, 232, 0.2);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 0.3rem;
}

.footer-tagline {
    color: var(--sage);
    font-size: 0.95rem;
    font-style: italic;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-dark);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.footer-text {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--cream);
    border-radius: 50px 0 0 50px;
    padding: 0.6rem 1.2rem;
}

.newsletter-form .form-control::placeholder {
    color: #888;
}

.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--olive-light);
    box-shadow: none;
    color: var(--cream);
}

.newsletter-form .btn-cta {
    border-radius: 0 50px 50px 0;
}

.newsletter-msg {
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 1.5rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .navbar-collapse .nav-link {
        color: var(--charcoal) !important;
        padding: 0.5rem 1rem;
    }

    .event-card-wide {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-cta .btn {
        width: 100%;
    }
}
