/*
Theme Name: Exploding Dice Tabletop
Theme URI: https://www.explodingdicetabletop.com
Description: Custom theme for Exploding Dice Tabletop Gaming Centre - Bangor, Northern Ireland
Author: Rowan
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: exploding-dice
*/

/* ===== CSS Variables ===== */
:root {
    --ed-red: #C41E2A;
    --ed-red-dark: #9B1620;
    --ed-red-light: #E8353F;
    --ed-black: #1a1a1a;
    --ed-dark: #222222;
    --ed-grey-dark: #333333;
    --ed-grey: #666666;
    --ed-grey-light: #f5f5f5;
    --ed-white: #ffffff;
    --ed-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ed-font-heading: 'Oswald', 'Impact', sans-serif;
    --ed-radius: 8px;
    --ed-shadow: 0 4px 20px rgba(0,0,0,0.15);
    --ed-transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--ed-font);
    color: var(--ed-grey-dark);
    background: var(--ed-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ed-red); text-decoration: none; transition: var(--ed-transition); }
a:hover { color: var(--ed-red-dark); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ed-font-heading);
    color: var(--ed-black);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1em; }

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

/* ===== Header ===== */
.site-header {
    background: var(--ed-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.site-logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.site-logo .logo-text {
    color: var(--ed-white);
    font-family: var(--ed-font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.site-logo .logo-text span {
    color: var(--ed-red);
}

/* ===== Navigation ===== */
.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 2px;
    align-items: center;
}

.main-nav a {
    color: var(--ed-white);
    padding: 10px 14px;
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--ed-radius);
    transition: var(--ed-transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
    background: var(--ed-red);
    color: var(--ed-white);
}

/* Dropdown menus */
.main-nav li {
    position: relative;
}

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ed-black);
    min-width: 200px;
    border-radius: 0 0 var(--ed-radius) var(--ed-radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    padding: 8px 0;
    z-index: 1001;
    list-style: none;
    flex-direction: column;
    gap: 0;
}

.main-nav li:hover > .sub-menu {
    display: flex;
}

.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.8rem;
    border-radius: 0;
    color: rgba(255,255,255,0.85);
}

.main-nav .sub-menu a:hover {
    background: var(--ed-red);
    color: var(--ed-white);
}

/* Dropdown arrow indicator */
.main-nav > ul > .menu-item-has-children > a::after {
    content: ' \25BE';
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Support Us button styled differently */
.main-nav > ul > li:last-child > a {
    background: var(--ed-red);
    color: var(--ed-white);
    border-radius: var(--ed-radius);
}

.main-nav > ul > li:last-child > a:hover {
    background: var(--ed-red-dark);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--ed-white);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--ed-transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--ed-black) 0%, var(--ed-grey-dark) 100%);
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/dice-pattern.svg') repeat;
    opacity: 0.05;
}

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

.hero h1 {
    color: var(--ed-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--ed-red);
}

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--ed-radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--ed-transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--ed-red);
    color: var(--ed-white);
    border-color: var(--ed-red);
}

.btn-primary:hover {
    background: var(--ed-red-dark);
    border-color: var(--ed-red-dark);
    color: var(--ed-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 42, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--ed-white);
    border-color: var(--ed-white);
}

.btn-outline:hover {
    background: var(--ed-white);
    color: var(--ed-black);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--ed-black);
    color: var(--ed-white);
    border-color: var(--ed-black);
}

.btn-dark:hover {
    background: var(--ed-grey-dark);
    transform: translateY(-2px);
}

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

.section-dark {
    background: var(--ed-black);
    color: var(--ed-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--ed-white);
}

.section-grey {
    background: var(--ed-grey-light);
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--ed-red);
    border-radius: 2px;
}

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

/* ===== Game Types Cards ===== */
.game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--ed-white);
    border-radius: var(--ed-radius);
    overflow: hidden;
    box-shadow: var(--ed-shadow);
    transition: var(--ed-transition);
    border-top: 4px solid var(--ed-red);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.game-card-icon {
    font-size: 3rem;
    padding: 30px 30px 0;
}

.game-card-content {
    padding: 20px 30px 30px;
}

.game-card h3 {
    margin-bottom: 10px;
}

.game-card p {
    color: var(--ed-grey);
    font-size: 0.95rem;
}

.game-card .game-systems {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.game-tag {
    background: var(--ed-grey-light);
    color: var(--ed-grey-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Table Booking Section ===== */
.table-booking-section {
    background: var(--ed-grey-light);
    padding: 80px 0;
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.table-slot {
    background: var(--ed-white);
    border-radius: var(--ed-radius);
    padding: 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: var(--ed-transition);
    cursor: pointer;
}

.table-slot:hover {
    border-color: var(--ed-red);
    box-shadow: var(--ed-shadow);
}

.table-slot.available {
    border-color: #28a745;
}

.table-slot.booked {
    border-color: var(--ed-red);
    background: #fff5f5;
    cursor: default;
}

.table-slot .table-number {
    font-family: var(--ed-font-heading);
    font-size: 1.4rem;
    color: var(--ed-black);
    margin-bottom: 5px;
}

.table-slot .table-status {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-slot .table-status.status-available {
    color: #28a745;
}

.table-slot .table-status.status-booked {
    color: var(--ed-red);
}

.table-slot .booked-info {
    font-size: 0.8rem;
    color: var(--ed-grey);
    margin-top: 8px;
}

/* ===== Booking Form ===== */
.booking-form-container {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--ed-white);
    border-radius: var(--ed-radius);
    padding: 40px;
    box-shadow: var(--ed-shadow);
}

.booking-form-container h3 {
    text-align: center;
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ed-grey-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--ed-radius);
    font-size: 1rem;
    font-family: var(--ed-font);
    transition: var(--ed-transition);
    background: var(--ed-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ed-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 30, 42, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== Info Bar / Stats ===== */
.stats-bar {
    background: var(--ed-red);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    color: var(--ed-white);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0;
}

/* ===== Info Cards (Location, Hours etc) ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--ed-white);
    padding: 35px;
    border-radius: var(--ed-radius);
    box-shadow: var(--ed-shadow);
    text-align: center;
}

.info-card .info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 15px;
}

.info-card p {
    color: var(--ed-grey);
}

/* ===== Events List ===== */
.events-list {
    display: grid;
    gap: 20px;
}

.event-item {
    display: flex;
    gap: 25px;
    background: var(--ed-white);
    border-radius: var(--ed-radius);
    overflow: hidden;
    box-shadow: var(--ed-shadow);
    transition: var(--ed-transition);
}

.event-item:hover {
    transform: translateX(5px);
}

.event-date {
    background: var(--ed-red);
    color: var(--ed-white);
    padding: 20px 25px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-family: var(--ed-font-heading);
    font-size: 2rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.event-details p {
    color: var(--ed-grey);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== New Player Section ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: steps;
}

.step-card {
    text-align: center;
    padding: 30px;
    counter-increment: steps;
}

.step-card::before {
    content: counter(steps);
    display: flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ed-red);
    color: var(--ed-white);
    font-family: var(--ed-font-heading);
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    margin-bottom: 10px;
}

.step-card p {
    color: var(--ed-grey);
    font-size: 0.95rem;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--ed-black);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

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

.footer-about img {
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer h4 {
    color: var(--ed-white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--ed-white);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--ed-transition);
}

.social-links a:hover {
    background: var(--ed-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== WordPress Specific ===== */
.page-header {
    background: var(--ed-black);
    padding: 60px 0 50px;
    text-align: center;
}

.page-header h1 {
    color: var(--ed-white);
    margin: 0;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    margin: 10px 0 0;
}

.page-content {
    padding: 60px 0;
}

.page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Blog */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--ed-white);
    border-radius: var(--ed-radius);
    overflow: hidden;
    box-shadow: var(--ed-shadow);
    transition: var(--ed-transition);
}

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

.post-card-image {
    height: 200px;
    background: var(--ed-grey-light);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-content {
    padding: 25px;
}

.post-card-meta {
    font-size: 0.8rem;
    color: var(--ed-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.post-card h3 a {
    color: var(--ed-black);
}

.post-card h3 a:hover {
    color: var(--ed-red);
}

/* ===== Sidebar ===== */
.sidebar .widget {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--ed-grey-light);
    border-radius: var(--ed-radius);
}

.sidebar .widget-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ed-red);
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--ed-radius);
}

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

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

/* ===== Showcase Gallery ===== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.showcase-item {
    background: var(--ed-white);
    border-radius: var(--ed-radius);
    overflow: hidden;
    box-shadow: var(--ed-shadow);
    transition: var(--ed-transition);
}

.showcase-item:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.showcase-item.featured { border: 2px solid var(--ed-red); }

.showcase-image { position: relative; aspect-ratio: 1; overflow: hidden; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--ed-transition); }
.showcase-item:hover .showcase-image img { transform: scale(1.05); }

.showcase-featured-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--ed-red); color: white; padding: 4px 10px;
    border-radius: 20px; font-size: 0.7rem; font-weight: 700;
}

.showcase-info { padding: 15px; }
.showcase-info h4 { font-size: 1rem; margin-bottom: 5px; }
.showcase-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--ed-grey); }
.showcase-meta i { color: var(--ed-red); }

.showcase-actions { margin-top: 10px; }
.showcase-like-btn {
    background: none; border: 1px solid #e0e0e0; border-radius: 20px;
    padding: 5px 15px; cursor: pointer; font-size: 0.85rem;
    color: var(--ed-grey); transition: var(--ed-transition);
}
.showcase-like-btn:hover { border-color: var(--ed-red); color: var(--ed-red); }
.showcase-like-btn i { color: var(--ed-red); }

/* ===== Testimonials ===== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--ed-white);
    border-radius: var(--ed-radius);
    padding: 30px;
    box-shadow: var(--ed-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ed-grey-dark);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.testimonial-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }

.testimonial-avatar-placeholder {
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--ed-red); color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ed-font-heading); font-size: 1.2rem;
}

.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { display: block; font-size: 0.8rem; color: var(--ed-grey); }

/* ===== Newsletter Signup ===== */
.newsletter-bar {
    background: var(--ed-red);
    padding: 30px 0;
    text-align: center;
}

.newsletter-bar h3 { color: white; margin-bottom: 10px; font-size: 1.2rem; }
.newsletter-bar p { color: rgba(255,255,255,0.8); margin-bottom: 15px; font-size: 0.9rem; }

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 18px;
    border: none;
    border-radius: var(--ed-radius);
    font-size: 0.95rem;
    font-family: var(--ed-font);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--ed-black);
    color: white;
    border: none;
    border-radius: var(--ed-radius);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ed-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--ed-transition);
}

.newsletter-form button:hover { background: var(--ed-grey-dark); transform: translateY(-2px); }

/* ===== Live Table Status ===== */
.live-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.live-table-dot {
    text-align: center;
    padding: 10px 5px;
    border-radius: var(--ed-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.live-table-dot.available { background: #d4edda; color: #155724; }
.live-table-dot.in-use { background: #f8d7da; color: #721c24; }

.live-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.live-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #28a745; display: inline-block;
    animation: livePulse 2s infinite;
    margin-right: 5px;
}

@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    /* Wellbeing section responsive */
    .section-dark > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--ed-black);
        padding: 20px;
        transform: translateY(-120%);
        transition: var(--ed-transition);
        z-index: 999;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2px;
    }

    .main-nav a {
        display: block;
        text-align: center;
    }

    .main-nav .sub-menu {
        position: static;
        display: flex;
        box-shadow: none;
        padding: 0;
        background: rgba(255,255,255,0.05);
        border-radius: var(--ed-radius);
    }

    .main-nav .sub-menu a {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }

    .section { padding: 50px 0; }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .event-item {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: 10px;
        min-width: unset;
    }

    .booking-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .header-inner { padding: 8px 15px; }
    .site-logo .logo-text { font-size: 1.1rem; }
    .site-logo img { height: 45px; }
    .hero h1 { font-size: 1.6rem; }
    .booking-grid { grid-template-columns: 1fr 1fr; }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== WordPress Alignment ===== */
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 10px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--ed-grey); text-align: center; padding: 8px 0; }

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
