/*
Theme Name: Beer Me Nola
Theme URI: https://beermenola.com
Author: Your Name
Author URI: https://beermemarketing.com
Description: A curated brewery guide theme for New Orleans craft beer culture
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: beer-me-nola
*/

/* --- 1. Variables & Reset --- */
:root {
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-text-main: #334155;
    --color-text-light: #64748b;
    --color-text-lighter: #94a3b8;
    --color-accent: #be123c;
    --color-accent-dark: #881337;
    --color-accent-light: #fda4af;
    --color-gold: #fbbf24;
    --color-gold-light: #fde68a;
    --color-cream: #fdfbf7;
    --color-white: #ffffff;
    --color-bg-light: #f8fafc;
    --font-sans: 'Lato', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --container-width: 1200px;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); background-color: var(--color-cream); color: var(--color-text-main); line-height: 1.5; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: all 0.2s; }

/* --- 2. Typography & Buttons --- */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--color-primary); font-weight: 700; }
.section-title { font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--color-gold); display: inline-block; padding-bottom: 0.25rem; }
.section-text { font-size: 1.1rem; line-height: 1.7; color: var(--color-text-main); margin-bottom: 2rem; }

.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-weight: 700; text-transform: uppercase; cursor: pointer; border: none; font-size: 0.875rem; }
.btn-primary { background-color: var(--color-accent); color: var(--color-white); }
.btn-primary:hover { background-color: var(--color-accent-dark); }

/* --- 12. Brewery & Neighborhood Template Styles --- */

/* Identity Bar / Header */
.brewery-identity-bar {
    position: relative;
    padding: 4rem 0;
    color: white;
    border-bottom: 5px solid var(--color-gold);
}

.identity-flex {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.square-logo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid white;
    background: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.title-area { flex-grow: 1; text-align: left; }
.category-label {
    display: inline-block;
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Attributes / Pill Styling */
.attr-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.attr-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.attr-pill i { color: var(--color-gold); font-size: 0.8rem; }

/* Grid Layout */
.listing-grid {
    display: grid;
    gap: 3rem;
    padding: 4rem 0;
    /* Mobile flow */
    grid-template-areas: 
        "story"
        "contact"
        "notable"
        "events"
        "news"
        "faq"
        "seal";
}

@media (min-width: 900px) {
    .listing-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-areas: 
            "story   contact"
            "notable contact"
            "events  contact"
            "news    seal"
            "faq     seal";
    }
}

.section-story   { grid-area: story; }
.sidebar-contact { grid-area: contact; }
.section-notable { grid-area: notable; }
.section-events  { grid-area: events; }
.section-news    { grid-area: news; }
.section-faq     { grid-area: faq; }
.sidebar-seal    { grid-area: seal; }

/* Sidebar Components */
.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    position: sticky;
    top: 2rem;
}

.hours-list { margin-top: 1.5rem; }
.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-trigger {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    color: var(--color-primary);
}
.faq-trigger::after { content: '\f0fe'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--color-gold); transition: transform 0.3s; }
details[open] .faq-trigger::after { transform: rotate(45deg); }
.faq-content { padding-bottom: 1.5rem; color: var(--color-text-main); line-height: 1.6; }

/* Footer Seal */
.sidebar-seal { text-align: center; padding: 2rem 0; }
.integrated-seal {
    display: block;
    max-width: 140px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Mobile Responsive Adjustments */
@media (max-width: 899px) {
    .identity-flex { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
    .title-area { text-align: center; }
    .attr-pill-group { justify-content: center; }
    .brewery-identity-bar h1 { font-size: 2rem; }
    .sidebar-card { position: static; }
}