/* ===== AMERICAN TYPEWRITER FONT ===== */
@font-face {
    font-family: 'american-typewriter';
    src: url('../fonts/american-typewriter.woff2') format('woff2'),
         url('../fonts/american-typewriter.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a1a;
    --secondary: #2c2c2c;
    --accent: #c5ab6b;
    --accent-hover: #d9c07e;
    --text: #ffffff;
    --text-muted: #b0b0b0;
    --bg-dark: #0d0d0d;
    --bg-section: #1a1a1a;
    --bg-card: #242424;
    --border: #3a3a3a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

h2 {
    font-family: 'american-typewriter', Georgia, serif;
    font-weight: 400;
    color: var(--accent);
}

h1, h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-weight: 400;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION — 3-LAYER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
}

/* ── Layer 1: Top contact bar ── */
.header-topbar {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 9px 30px;
}

.topbar-contact {
    display: flex;
    gap: 25px;
    align-items: center;
}

.topbar-contact a {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.topbar-contact a i {
    color: var(--accent);
    font-size: 0.72rem;
}

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

.topbar-social {
    display: flex;
    gap: 14px;
}

.topbar-social a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

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

/* ── Layer 2: Logo bar ── */
.header-logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 30px;
    background: #000;
    border-bottom: none;
}

.logo img {
    height: 90px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover img { opacity: 0.85; }

/* ── Layer 3: Navigation bar ── */
.header-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    font-family: 'american-typewriter', Georgia, serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 17px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    background: transparent;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 65%;
}

/* Legacy .social-links not used in new header but kept for safety */
.site-header .social-links { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes dividerExpand {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 14vh;
    background-image: url('../images/homepage.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
}

/* Keep slide markup harmless if still present */
.hero-slide { display: none; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0 20px;
}

/* "Welcome to" */
.hero-welcome {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 2.7rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: none;
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* "THOMAS TRIPP" image */
.hero-title-img {
    max-width: min(700px, 85vw);
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 14px;
    opacity: 0;
    animation: heroFadeUp 0.9s ease forwards;
    animation-delay: 0.65s;
}

.hero-initial {
    font-size: 115%;
    line-height: 1;
}

/* "SINCE 1750" */
.hero-since {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 1s;
}

/* Cutlery divider */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: 28px;
    opacity: 0;
    animation: heroFadeIn 0.8s ease forwards;
    animation-delay: 1.3s;
}

.hero-divider .divider-line {
    display: block;
    width: 160px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent));
    transform-origin: left center;
    animation: dividerExpand 0.7s ease forwards;
    animation-delay: 1.4s;
}

.hero-divider .divider-line:last-child {
    background: linear-gradient(to left, transparent, var(--accent));
    transform-origin: right center;
}

.hero-divider .divider-icon {
    color: var(--accent);
    font-size: 2.2rem;
}

/* "Proud to be a Freehouse" */
.hero-freehouse {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.68rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    color: var(--accent);
    margin-bottom: 35px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 1.6s;
}

/* "WE ARE OPEN..." */
.hero-hours {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 1.75s;
}

/* Buttons row */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 1.9s;
}

/* Legacy selectors kept for other pages that reuse .hero-content */
.hero-content h1 {
    font-family: 'american-typewriter', Georgia, serif;
    font-weight: 400;
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-content p {
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 169, 81, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

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

/* ===== PAGE HERO (Interior pages) ===== */
.page-hero {
    position: relative;
    min-height: 520px;
    padding-top: 252px; /* clears 3-layer header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.page-hero h1 {
    position: relative;
    z-index: 2;
    font-family: 'american-typewriter', Georgia, serif;
    font-weight: 400;
    font-size: 3.5rem;
    color: var(--text);
}

.page-hero .breadcrumb {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.page-hero .breadcrumb a {
    color: var(--accent);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION (HOME) ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Dual-image welcome block */
.welcome-images {
    position: relative;
    width: 100%;
    height: 420px;
    flex-shrink: 0;
}

.welcome-img {
    position: absolute;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0s;
}

.welcome-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-img--back {
    width: 78%;
    height: 260px;
    top: 0;
    right: 0;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.2s;
}

.welcome-img--front {
    width: 74%;
    height: 260px;
    bottom: 0;
    left: 0;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.55s;
    z-index: 1;
}

.welcome-img:hover {
    transform: scale(1.04);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    z-index: 2;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.about-preview-content h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.about-preview-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    border: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .stars {
    color: #00aa6c;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.testimonial-card p {
    color: #444444;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.7;
    flex: 1;
}

.testimonial-card .author {
    color: #1a1a1a;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.testimonial-card .tripadvisor-badge {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.ta-logo {
    height: 56px;
    width: auto;
    display: block;
}

/* ===== EVENTS PREVIEW (HOME) ===== */
.events-list {
    display: grid;
    gap: 20px;
}

.event-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.event-item:hover {
    border-color: var(--accent);
}

.event-date {
    text-align: center;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.event-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.event-info .time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-tag {
    padding: 5px 12px;
    background: rgba(200, 169, 81, 0.15);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== EVENTS PAGE ===== */

/* --- Tab bar --- */
.events-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 40px;
    gap: 0;
}

.events-tab-btn {
    padding: 13px 32px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.events-tab-btn:hover {
    color: var(--text);
}

.events-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* --- Upcoming listing (Next 3 Months tab) --- */
.events-month-group {
    margin-bottom: 45px;
}

.events-month-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 5px;
}

.event-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s ease, padding-left 0.2s ease;
    border-radius: 4px;
}

.event-list-item:hover {
    background: var(--bg-card);
    color: var(--accent);
    padding-left: 20px;
}

.event-list-date {
    min-width: 64px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    line-height: 1.2;
    flex-shrink: 0;
}

.event-list-date .eli-day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.event-list-date .eli-weekday {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-top: 3px;
}

.event-list-info {
    flex: 1;
    min-width: 0;
}

.event-list-info h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-list-info .eli-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-list-info .eli-meta i {
    color: var(--accent);
    margin-right: 4px;
}

.event-list-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
}

.event-list-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.events-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    color: inherit;
}

.event-card.date-hidden,
.event-card.filter-hidden {
    display: none;
}

.event-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-card-img .event-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.event-card-body {
    padding: 25px;
}

.event-card-body h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.event-card-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.event-card-meta i {
    color: var(--accent);
    margin-right: 5px;
}

.event-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== FOOD & DRINK ===== */
.menu-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.menu-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.menu-category {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid var(--border);
}

.menu-category h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.menu-item-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 3px;
}

.menu-item-price {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
    margin-left: 15px;
}

.menu-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.menu-gallery img {
    border-radius: 8px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ===== DRINK PAGE ===== */
.drink-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.drink-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.drink-card:hover {
    transform: translateY(-5px);
}

.drink-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.drink-card h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.drink-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== SPORT PAGE ===== */
.sport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sport-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.sport-card-overlay {
    padding: 30px;
}

.sport-card h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.sport-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sport-card-icon {
    display: block;
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.sport-fixtures {
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fixture-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.fixture-date {
    color: var(--accent);
    font-weight: 600;
    min-width: 42px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fixture-match {
    color: #ffffff;
    font-weight: 500;
}

.fixtures-note {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 4px;
}

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

@keyframes sportSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.sport-card-icon--pulse { animation: sportPulse 2s ease-in-out infinite; }
.sport-card-icon--spin  { animation: sportSpin 4s linear infinite; }
.sport-card-icon--bounce { animation: sportBounce 1.6s ease-in-out infinite; }

/* ===== RESERVATIONS ===== */
.reservation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.reservation-info h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.reservation-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.reservation-details {
    list-style: none;
    margin-top: 20px;
}

.reservation-details li {
    padding: 10px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.reservation-details li i {
    color: var(--accent);
    width: 20px;
}

.reservation-widget {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 40px;
    border: 1px solid var(--border);
    text-align: center;
}

.reservation-widget h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.reservation-widget p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* ===== HIRE PAGE ===== */
.hire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hire-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hire-gallery img {
    border-radius: 8px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hire-features {
    list-style: none;
    margin: 20px 0;
}

.hire-features li {
    padding: 10px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hire-features li i {
    color: var(--accent);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 3px;
}

.contact-card h4 {
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent);
}

.form-consent label {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 15px;
}

.footer-about .logo img {
    height: 50px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-hours li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 5px 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

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

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content .legal-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.legal-content .legal-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 35px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 14px;
}

.legal-content ul li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent);
    transition: opacity 0.2s ease;
}

.legal-content a:hover {
    opacity: 0.8;
}

.legal-content address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}

/* ===== QUAY HOSPITALITY GROUP STRIP ===== */
.footer-group-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    margin-bottom: 20px;
    background: rgba(200, 169, 81, 0.04);
}

.footer-group-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.group-strip-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.group-strip-left .group-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.group-strip-left a {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.group-strip-left a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.group-strip-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.group-strip-right i {
    color: var(--accent);
    font-size: 0.7rem;
}

.group-strip-right a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.group-strip-right a:hover {
    color: var(--accent);
}

/* ===== GROUP SECTION (INDEX / ABOUT) ===== */
.group-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 45px;
    text-align: center;
}

.group-section .group-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

.group-section h3 {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.group-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 30px;
}

.group-venues {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.group-venue-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px 30px;
    min-width: 220px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.group-venue-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.group-venue-card .venue-name {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 5px;
}

.group-venue-card .venue-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.group-venue-card .venue-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(200, 169, 81, 0.15);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.group-venue-card a {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
}

.group-venue-card a:hover {
    color: var(--accent-hover);
}

/* Quay group image */
.quay-img { width: 50%; }

/* ===== EVENT PAGE ===== */
.event-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.event-page-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    object-fit: cover;
}

.event-page-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(197,171,107,0.15);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.event-page-title {
    font-family: 'american-typewriter', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.2;
}

.event-page-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.event-meta-item i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.event-page-body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.event-page-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .event-page-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 169, 81, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hire-content,
    .reservation-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile nav logo — hidden on desktop */
.mobile-nav-logo { display: none; }

@media (max-width: 768px) {
    /* Collapse topbar on mobile */
    .header-topbar { display: none; }

    /* Logo bar: left-align, smaller logo */
    .header-logo-bar {
        justify-content: flex-start;
        padding: 10px 20px;
    }

    .logo img { height: 45px; }

    /* Nav bar: transparent overlay on logo bar — no glass band */
    .header-nav-bar {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        position: absolute;
        top: 0;
        right: 0;
        height: 65px;
        min-height: unset;
        width: auto;
        min-width: 60px;
        padding: 0;
        justify-content: flex-end;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 24px 40px 40px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        z-index: 1100;
        overflow-y: auto;
    }

    .main-nav.open { right: 0; }

    /* Logo inside mobile drawer */
    .mobile-nav-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 28px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-nav-logo img { height: 55px; }

    /* Hero: fix background on mobile */
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center 30%;
    }

    .mobile-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .page-hero { padding-top: 120px; min-height: 360px; }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .event-item {
        grid-template-columns: 60px 1fr;
    }

    .event-tag {
        display: none;
    }

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

    .menu-gallery {
        grid-template-columns: 1fr;
    }

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

    .footer-group-strip .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hire-gallery {
        grid-template-columns: 1fr;
    }

    .quay-img {
        width: 100%;
    }
}
