/*
 * style.css - Core stylesheet and design system for Café Langebro
 */

/* -------------------------------------------------------------
   1. Design Tokens & Variables
   ------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #0a2d23;        /* Deep Forest Green */
    --color-primary-rgb: 10, 45, 35;
    --color-primary-light: #164639;  /* Medium Forest Green */
    --color-accent: #f7a81b;         /* Warm Beer Gold / Amber */
    --color-accent-hover: #e0940d;
    --color-bg-base: #fdfbf8;        /* Soft Cream Base */
    --color-bg-surface: #ffffff;     /* Pure White cards */
    --color-bg-alt: #f4efe6;         /* Light Creamy Sand */
    --color-text-main: #1e2522;      /* Off-black Charcoal */
    --color-text-muted: #53615b;     /* Slate Muted Green */
    --color-border: #e2dacd;         /* Soft Border sand */
    --color-open: #28a745;           /* Bright Green for open badge */
    --color-closed: #e0940d;         /* Warm Amber for closed badge */
    
    /* Typography */
    --font-headings: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout & Shadows */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout offsets */
    --navbar-height: 80px;
}

/* -------------------------------------------------------------
   2. Reset & Global Styles
   ------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base size */
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem; /* ~17px for superior readability */
    line-height: 1.65;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem; /* Ensured margin on left/right for mobile/tablets */
}

/* Button Spacing & Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    margin: 0.5rem; /* Avoid buttons overlapping or sticking together */
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-bg-base);
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Page Section padding */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

/* -------------------------------------------------------------
   3. Navigation (Header)
   ------------------------------------------------------------- */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: rgba(10, 45, 35, 0.9); /* Forest green with transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 218, 205, 0.1);
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    border-radius: 4px;
}

.brand-text {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

/* Navigation Menu Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(253, 251, 248, 0.85); /* Off-white text */
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-accent);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(253, 251, 248, 0.4);
}

.lang-btn {
    color: rgba(253, 251, 248, 0.65);
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--color-accent);
}

.lang-divider {
    font-weight: 300;
}

/* Pulsating Real-Time Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.status-badge.open {
    background-color: rgba(40, 167, 69, 0.15);
    color: #4cd16d;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-badge.closed {
    background-color: rgba(247, 168, 27, 0.15);
    color: var(--color-accent);
    border: 1px solid rgba(247, 168, 27, 0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-badge.open .badge-dot {
    background-color: var(--color-open);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: pulsate-open 1.8s infinite;
}

.status-badge.closed .badge-dot {
    background-color: var(--color-closed);
}

@keyframes pulsate-open {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Hamburger mobile button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-bg-base);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Hamburger active transformation */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-item {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-bg-base);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--color-accent);
}

/* Header Spacer to push layout below fixed navbar */
.main-content-wrapper {
    margin-top: var(--navbar-height);
    min-height: calc(100vh - var(--navbar-height) - 150px); /* Fill space */
}

/* -------------------------------------------------------------
   4. Hero / Banner Component
   ------------------------------------------------------------- */
.hero-wrapper {
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-bg-base);
    padding: 6rem 0;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 45, 35, 0.85), rgba(10, 45, 35, 0.95)), url('../images/cropped-Lange-scaled-1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(247, 168, 27, 0.15);
    color: var(--color-accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(247, 168, 27, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-bg-base);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-bg-alt);
    margin-bottom: 2.5rem;
}

/* Page Intro Block */
.page-intro-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.page-intro-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-intro-header .lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* -------------------------------------------------------------
   5. Home Section Components
   ------------------------------------------------------------- */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.intro-text p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.intro-image-container {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-bg-surface);
}

.highlights-wrapper {
    background-color: var(--color-bg-alt);
    padding: 5rem 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background-color: var(--color-bg-surface);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(10, 45, 35, 0.05);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 168, 27, 0.2);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.highlight-card h3 {
    margin-bottom: 0.75rem;
}

.highlight-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* -------------------------------------------------------------
   6. Beers Section Components
   ------------------------------------------------------------- */
.beers-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* -------------------------------------------------------------
   Custom Beer Menu Styles (Premium Visual Upgrade)
   ------------------------------------------------------------- */
.custom-beer-menu-section {
    width: 100%;
}

/* Cohesive Filter Panel block */
.beer-menu-filters {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-sm);
}

.beer-search-box {
    position: relative;
    flex: 1.2;
    min-width: 280px;
    max-width: 480px;
}

.beer-search-box .search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent-hover);
    pointer-events: none;
}

.beer-search-box input {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 3rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-full);
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.beer-search-box input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(247, 168, 27, 0.12);
}

.beer-tabs-wrapper {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.beer-tab-btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--color-primary);
    background-color: var(--color-bg-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.beer-tab-btn:hover {
    border-color: var(--color-accent);
    background-color: var(--color-bg-base);
    transform: translateY(-1px);
}

.beer-tab-btn.active {
    color: var(--color-bg-base);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(10, 45, 35, 0.15);
}

/* Tab content row lists */
.beer-menu-grid {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

.beer-menu-grid.active-tab {
    display: flex;
}

/* Premium Beer List Row Styling */
.beer-card {
    display: flex;
    flex-direction: row;
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary); /* Accent border on the left */
    border-radius: var(--border-radius-md);
    padding: 1.5rem 2rem;
    gap: 2.5rem;
    box-shadow: var(--shadow-sm);
    align-items: flex-start; /* Vertically align columns to the top */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.beer-card:hover {
    transform: translateX(6px); /* Premium horizontal slide effect on hover */
    box-shadow: 0 6px 20px rgba(10, 45, 35, 0.05);
    border-left-color: var(--color-accent);
    border-color: var(--color-border-hover);
}

/* Column 1: Info & Description Column */
.beer-col-info {
    flex: 1; /* Stretch to fill space, containing title, stats and description */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}

.beer-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.beer-avatar-container {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-full);
    border: 2px solid rgba(247, 168, 27, 0.25);
    overflow: hidden;
    background-color: var(--color-bg-base);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.beer-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.beer-avatar-fallback {
    font-size: 1.5rem;
}

.beer-info-text {
    overflow: hidden;
}

.beer-card-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.beer-card-brewery {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-accent-hover);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.beer-card-location {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
    opacity: 0.8;
}

/* Metadata badges in Column 1 */
.beer-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.beer-style-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    background-color: rgba(10, 45, 35, 0.05);
    border-radius: var(--border-radius-full);
    border: 1px solid rgba(10, 45, 35, 0.08);
}

.beer-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.beer-stat-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    line-height: 1.3;
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.beer-stat-badge strong {
    color: var(--color-primary);
}

/* Description below stats styling */
.beer-card-description {
    margin-top: 0.75rem;
    width: 100%;
}

.beer-card-description p {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    margin: 0;
    padding: 0.75rem 1.25rem;
    background-color: var(--color-bg-base);
    border-left: 3px solid var(--color-accent);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    width: 100%;
}

/* Column 3: Pricing Column */
.beer-col-prices {
    flex: 0 0 180px; /* Fixed width for pricing alignment */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0.45rem; /* Aligns horizontally with the first line of the beer name */
}

.beer-prices-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.beer-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
}

.beer-price-size {
    color: var(--color-text-main);
    font-weight: 600;
}

.beer-price-dots {
    flex: 1;
    border-bottom: 2px dotted var(--color-border);
    margin: 0 0.5rem;
    position: relative;
    top: -4px;
    opacity: 0.6;
}

.beer-price-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.beer-price-fallback {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Empty State Card */
.beer-empty-state-card {
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 4.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.beer-empty-state-card svg {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.beer-empty-state-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--color-primary);
    margin: 0;
}

.beer-tasting-banner {
    background-color: var(--color-primary);
    color: var(--color-bg-base);
    border-radius: var(--border-radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.beer-tasting-info h2 {
    color: var(--color-bg-base);
}

.beer-tasting-pricing {
    margin-top: 1.5rem;
    list-style: none;
}

.beer-tasting-pricing li {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.beer-tasting-pricing li::before {
    content: '🍺';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}

.beer-tasting-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-bg-alt);
    margin-top: 1.5rem;
}

.beer-tasting-img-container {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid rgba(253, 251, 248, 0.1);
}

/* -------------------------------------------------------------
   7. History Section Components
   ------------------------------------------------------------- */
.history-intro {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.15rem;
    color: var(--color-text-muted);
    text-align: center;
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--color-border);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    margin-bottom: 2rem;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-badge {
    position: absolute;
    top: 2.25rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 3px solid var(--color-bg-base);
    z-index: 2;
}

.timeline-item.left .timeline-badge {
    right: -8px;
}

.timeline-item.right .timeline-badge {
    left: -8px;
}

.timeline-card {
    background-color: var(--color-bg-surface);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.timeline-year {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.timeline-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.timeline-card-image {
    margin-top: 1rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

/* -------------------------------------------------------------
   8. Spurs Section Components
   ------------------------------------------------------------- */
.spurs-card {
    background-color: var(--color-bg-surface);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.spurs-content {
    padding: 4rem;
}

.spurs-accent-bar {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin-bottom: 2rem;
}

.spurs-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.spurs-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

.spurs-media {
    background: #111a2e; /* Deep Tottenham Navy */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
}

.spurs-media-content {
    text-align: center;
}

.spurs-logo-badge {
    width: 120px;
    height: 120px;
    background-color: var(--color-bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-md);
}

.spurs-media h3 {
    color: var(--color-bg-base);
    font-size: 1.5rem;
}

/* -------------------------------------------------------------
   9. Gallery Section Components
   ------------------------------------------------------------- */
.gallery-categories {
    margin-bottom: 4rem;
}

.gallery-category-section {
    margin-bottom: 5rem;
}

.gallery-category-section h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--color-bg-surface);
    transition: var(--transition-smooth);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* -------------------------------------------------------------
   10. Contact Section Components
   ------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-card {
    background-color: var(--color-primary);
    color: var(--color-bg-base);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.contact-card h2 {
    color: var(--color-bg-base);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.contact-item h3 {
    color: var(--color-bg-base);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--color-bg-alt);
    font-size: 1rem;
}

.contact-hours-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-hours-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(253, 251, 248, 0.1);
    font-size: 0.95rem;
}

.contact-hours-table tr:last-child td {
    border-bottom: none;
}

.contact-hours-table td.day-label {
    font-weight: 700;
}

.contact-hours-table td.hours-label {
    text-align: right;
    color: var(--color-accent);
}

.contact-form-card {
    background-color: var(--color-bg-surface);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg-base);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-bg-surface);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* -------------------------------------------------------------
   11. Footer Component
   ------------------------------------------------------------- */
.footer-wrapper {
    background-color: var(--color-primary);
    color: var(--color-bg-base);
    padding: 3rem 0;
    border-top: 1px solid rgba(226, 218, 205, 0.1);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright-text {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-bg-alt);
}

.tripadvisor-footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.designer-text {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-bg-alt);
}

.designer-text a {
    color: var(--color-accent);
    font-weight: 700;
}

.designer-text a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------------
   12. Responsive Breakpoints
   ------------------------------------------------------------- */
@media (max-width: 992px) {
    html {
        font-size: 15px; /* Downscale elements slightly */
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .beer-tasting-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .spurs-card {
        grid-template-columns: 1fr;
    }
    
    .spurs-content {
        padding: 3rem;
    }
    
    .spurs-media {
        padding: 3rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Navbar Hamburger Trigger */
    .nav-menu {
        display: none; /* Hide desktop menu */
    }
    
    .mobile-menu-toggle {
        display: flex; /* Show hamburger */
    }
    
    .navbar-actions .lang-selector {
        margin-right: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .timeline-wrapper::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 40px !important;
        padding-right: 0 !important;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-badge {
        left: 12px !important;
        right: auto !important;
    }
    
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .beer-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.5rem;
    }
    
    .beer-col-info, 
    .beer-col-desc, 
    .beer-col-prices {
        flex: none;
        width: 100%;
    }
    
    .beer-col-prices {
        margin-top: 0;
    }
    
    .beer-card:hover {
        transform: translateY(-2px); /* Vertical lift hover fallback on mobile */
    }
}
