/* ===================================
   CHESTER BOUGHTON HALL - SITE STYLES
   Flat, minimal design with blue/gold palette
   =================================== */

/* === ROOT VARIABLES === */
:root {
    /* Colour Palette */
    --primary-blue: #1e3a5f;
    --secondary-blue: #2c5f8d;
    --light-blue: #4a7ba7;
    --accent-gold: #c9a961;
    --dark-gold: #b8944d;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-grey: #e9ecef;
    --medium-grey: #6c757d;
    --dark-grey: #343a40;
    --text-dark: #212529;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-elegant: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px;
    --section-padding-mobile: 40px;
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Elegant subheadings */
.hero-subtitle,
.page-hero-subtitle,
.lead {
    font-family: var(--font-elegant);
    font-style: italic;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
}

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

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

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

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--medium-grey);
}

/* === HEADER === */
.site-header {
    background-color: var(--primary-blue);
    border-bottom: 2px solid var(--dark-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    pointer-events: none;
}

.site-header .container {
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    flex: 1;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.logo .tagline {
    font-family: var(--font-elegant);
    font-size: 0.875rem;
    color: var(--accent-gold);
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 0;
    font-style: italic;
}

/* === NAVIGATION === */
.main-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--white);
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background-color: var(--secondary-blue);
    padding: 1rem;
}

.btn-menu {
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.btn-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.btn-menu span:last-child {
    margin-bottom: 0;
}

/* Mobile Navigation */
.mobile-nav {
    background-color: var(--secondary-blue);
    padding: 1rem 0;
}

.mobile-nav .nav-link {
    color: var(--white);
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.mobile-nav .nav-link:hover {
    color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.05);
}

/* === MAIN CONTENT === */
main {
    min-height: 60vh;
}

/* === SECTIONS === */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-alt {
    background-color: var(--off-white);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.01) 10px,
            rgba(0, 0, 0, 0.01) 20px
        );
    pointer-events: none;
}

.section-blue {
    background-color: var(--primary-blue);
    color: var(--white);
    position: relative;
}

.section-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
}

.section-blue .container {
    position: relative;
    z-index: 1;
}

.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4 {
    color: var(--white);
}

.section-blue p {
    color: rgba(255, 255, 255, 0.9);
}

/* Decorative line under section headings */
.section h2::after,
.section-alt h2::after,
.section-blue h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-gold), transparent);
    margin: 1rem auto 0;
}

.text-center h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(44, 95, 141, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 66%;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* === INTRODUCTION SECTION === */
.introduction-section {
    padding: var(--section-padding) 0;
}

.intro-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--medium-grey);
}

/* === BUTTONS === */
.btn-primary-custom {
    background-color: var(--accent-gold);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: 2px solid var(--accent-gold);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    background-color: var(--dark-gold);
    color: var(--white);
    border-color: var(--dark-gold);
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.section-blue .btn-secondary-custom {
    color: var(--white);
    border-color: var(--white);
}

.section-blue .btn-secondary-custom:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* === FACILITY CARDS === */
.facility-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.facility-card {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.facility-card:hover::before {
    opacity: 1;
}

.facility-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.facility-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.facility-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.05);
}

.facility-content {
    padding: 2rem;
    text-align: center;
}

.facility-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.facility-content p {
    color: var(--medium-grey);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.facility-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.facility-card:hover .facility-link {
    color: var(--primary-blue);
}

/* === FEATURES SECTION === */
.features-section {
    background-color: var(--white);
}

.icon-box {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.icon-box h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.icon-box p {
    color: var(--medium-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === SPORT HERITAGE SECTION === */
.sport-heritage {
    padding: var(--section-padding) 0;
}

.sport-heritage p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* === CONTACT FORM SECTION === */
.contact-section {
    padding: var(--section-padding) 0;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border: 2px solid var(--light-grey);
}

/* === FORMS === */
.form-control {
    border: 2px solid var(--light-grey);
    padding: 0.875rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: none;
    outline: none;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e3a5f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid {
    border-color: #28a745;
}

/* === CTA SECTION === */
.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-buttons {
    margin-top: 2rem;
}

/* === FEATURE CARDS === */
.feature-card {
    background-color: var(--white);
    border: 1px solid var(--light-grey);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-gold);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--medium-grey);
}

/* === CONTENT BOXES === */
.content-box {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.content-box-blue {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
}

.content-box-blue h3,
.content-box-blue h4 {
    color: var(--white);
}

.content-box-gold {
    background-color: var(--accent-gold);
    color: var(--white);
    border: none;
}

.content-box-gold h3,
.content-box-gold h4 {
    color: var(--white);
}

/* === FOOTER === */
.site-footer {
    background-color: var(--primary-blue);
    color: var(--white);
}

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

.site-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.site-footer a {
    color: var(--accent-gold);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--white);
}

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

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* === FACILITIES GRID === */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.facility-item {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.facility-item h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* === IMAGE STYLES === */
.img-feature {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 2px solid var(--light-grey);
}

/* === UTILITY CLASSES === */
.text-gold {
    color: var(--accent-gold);
}

.text-blue {
    color: var(--primary-blue);
}

.bg-gold {
    background-color: var(--accent-gold);
}

.bg-blue {
    background-color: var(--primary-blue);
}

.border-gold {
    border-color: var(--accent-gold) !important;
}

.border-blue {
    border-color: var(--primary-blue) !important;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo .tagline {
        font-size: 0.75rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 40px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.875rem 2rem;
        font-size: 0.875rem;
    }
    
    .feature-card,
    .content-box {
        padding: 1.5rem;
    }
    
    .facility-content {
        padding: 1.5rem;
    }
    
    .facility-image {
        height: 200px;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .img-feature {
        height: 300px;
    }
    
    .cta-buttons .btn-primary-custom,
    .cta-buttons .btn-secondary-custom {
        display: block;
        margin: 0 auto 1rem;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .facility-image {
        height: 180px;
    }
}

/* === ACCESSIBILITY === */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* === PAGE HERO === */
.page-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 58, 95, 0.6);
}

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

.page-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: 300;
}

/* === BREADCRUMBS === */
.breadcrumbs-section {
    background-color: var(--off-white);
    padding: 1rem 0;
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--medium-grey);
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: var(--secondary-blue);
}

.breadcrumb-item.active {
    color: var(--medium-grey);
}

/* === FUNCTIONS LISTING === */
.functions-listing {
    padding: var(--section-padding) 0;
}

.function-listing-item {
    margin-bottom: 4rem;
}

.function-listing-item:last-child {
    margin-bottom: 0;
}

.function-listing-image {
    height: 100%;
    min-height: 400px;
}

.function-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--light-grey);
}

.function-listing-content {
    padding: 2rem;
    text-align: center;
}

.function-listing-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.function-excerpt {
    margin-bottom: 2rem;
}

.function-excerpt p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--medium-grey);
}

/* === FEATURE BOX === */
.feature-box {
    text-align: center;
    padding: 1.5rem;
}

.feature-box-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.feature-box h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature-box p {
    color: var(--medium-grey);
    font-size: 0.95rem;
}

/* === FUNCTION SINGLE PAGE === */
.function-single-content h2,
.function-single-content h3,
.function-single-content h4 {
    margin-top: 2rem;
}

.function-single-content ul {
    list-style: none;
    padding-left: 0;
}

.function-single-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--medium-grey);
}

.function-single-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* === SIDEBAR === */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-box h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.sidebar-box-gold {
    background-color: var(--accent-gold);
    color: var(--white);
    border: none;
}

.sidebar-box-gold h4,
.sidebar-box-gold p {
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.capacity-info {
    margin-top: 1rem;
}

.capacity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--medium-grey);
}

.capacity-item svg {
    color: var(--accent-gold);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium-grey);
    border-bottom: 1px solid var(--light-grey);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

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

.related-links li {
    margin-bottom: 0.75rem;
}

.related-links li a {
    color: var(--secondary-blue);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.related-links li a:hover {
    color: var(--accent-gold);
}

/* === GALLERY === */
.function-gallery h3 {
    margin-bottom: 2rem;
}

.gallery-item {
    overflow: hidden;
    border: 2px solid var(--light-grey);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* === TESTIMONIALS === */
.testimonials-section {
    padding: var(--section-padding) 0;
}

.testimonial-card {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    padding: 2rem;
    height: 100%;
}

.testimonial-text {
    margin-bottom: 1.5rem;
}

.testimonial-text p {
    font-style: italic;
    color: var(--medium-grey);
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--medium-grey);
}

/* === CTA BOX === */
.cta-box {
    background-color: var(--off-white);
    padding: 3rem;
    border: 2px solid var(--light-grey);
}

/* === SPORT PAGE === */
.sport-content {
    padding: 2rem 0;
    text-align: center;
}

.sport-content h2 {
    margin-bottom: 1.5rem;
}

.sport-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--medium-grey);
    margin-bottom: 1.5rem;
}

.sport-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-grey);
}

/* === ACHIEVEMENT CARD === */
.achievement-card {
    text-align: center;
    padding: 2rem;
    background-color: transparent;
}

.achievement-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.achievement-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.achievement-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* === TIMELINE === */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--light-grey);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 100px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    background-color: var(--white);
    border: 2px solid var(--accent-gold);
    padding: 0.5rem;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background-color: var(--off-white);
    border: 2px solid var(--light-grey);
    margin: 0 2rem;
}

.timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--medium-grey);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* === CONTACT PAGE === */
.contact-form-page {
    background-color: var(--white);
}

.contact-info-wrapper {
    position: sticky;
    top: 100px;
}

.contact-info-box {
    background-color: var(--off-white);
    border: 2px solid var(--light-grey);
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-info-box h3,
.contact-info-box h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.contact-info-box-blue {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
}

.contact-info-box-blue h4 {
    color: var(--white);
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--accent-gold);
}

.contact-details h4 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-details p {
    color: var(--medium-grey);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-details a {
    color: var(--secondary-blue);
}

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

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links li a {
    color: var(--white);
    font-size: 0.95rem;
}

.quick-links li a:hover {
    color: var(--accent-gold);
}

.map-container {
    border: 2px solid var(--light-grey);
    overflow: hidden;
}

/* === ACCORDION === */
.accordion {
    border: 2px solid var(--light-grey);
}

.accordion-item {
    border: none;
    border-bottom: 2px solid var(--light-grey);
}

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

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-blue);
    background-color: var(--white);
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--off-white);
    color: var(--primary-blue);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e3a5f'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--medium-grey);
    font-size: 1rem;
    line-height: 1.7;
}

/* === PRINT STYLES === */
@media print {
    .site-header,
    .site-footer,
    .btn-primary-custom,
    .btn-secondary-custom,
    .contact-form,
    .breadcrumbs-section {
        display: none;
    }
}

/* === RESPONSIVE - ADDITIONAL === */
@media (max-width: 991px) {
    .function-listing-image {
        min-height: 300px;
    }
    
    .function-listing-content {
        padding: 2rem 0;
    }
    
    .sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .contact-info-wrapper {
        position: static;
        margin-top: 3rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-date {
        flex: 0 0 60px;
        font-size: 1rem;
    }
    
    .timeline-content {
        margin: 0 0 0 1rem;
    }
}

@media (max-width: 767px) {
    .page-hero {
        height: 300px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .function-listing-image {
        min-height: 250px;
    }
    
    .function-listing-content h3 {
        font-size: 1.5rem;
    }
    
    .sport-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .timeline-date {
        flex: 0 0 50px;
        font-size: 0.875rem;
        padding: 0.25rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .event-card {
        margin-bottom: 1rem;
    }
}


/* === EVENTS === */

/* Event Cards */
.event-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.event-card {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-gold);
    color: var(--white);
    padding: 0.75rem;
    text-align: center;
    z-index: 2;
    min-width: 60px;
    border: 2px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.event-day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.event-month {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    padding: 1.75rem;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.event-meta {
    margin-bottom: 1rem;
}

.event-datetime {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--medium-grey);
    font-family: var(--font-body);
}

.event-datetime svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.event-excerpt {
    color: var(--medium-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

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

/* No Events Message */
.no-events-message {
    padding: 4rem 2rem;
}

.no-events-icon {
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.no-events-icon svg {
    display: inline-block;
}

.no-events-message h2 {
    margin-bottom: 1.5rem;
}

.no-events-message .lead {
    margin-bottom: 1rem;
}

/* Event Single Page */
.event-single-meta {
    background-color: var(--off-white);
    padding: 2rem;
    border: 2px solid var(--light-grey);
    margin-bottom: 3rem;
}

.event-meta-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.event-meta-icon {
    flex-shrink: 0;
    color: var(--accent-gold);
}

.event-meta-details h4 {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.event-meta-details p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 400;
}

.event-single-content h2,
.event-single-content h3 {
    margin-top: 2rem;
}

.event-single-content ul,
.event-single-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.event-single-content li {
    margin-bottom: 0.5rem;
    color: var(--medium-grey);
}

.event-details-list {
    list-style: none;
    padding: 0;
}

.event-details-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-grey);
    color: var(--text-dark);
}

.event-details-list li:last-child {
    border-bottom: none;
}

.event-details-list strong {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--light-grey);
    background-color: var(--white);
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.share-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.share-facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.share-twitter:hover {
    background-color: #1da1f2;
    border-color: #1da1f2;
}

.share-email:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.event-gallery h3 {
    margin-bottom: 2rem;
}

