/* * SportClassic Consolidated CSS File
 * This file contains styles for all pages (index, about, services, contact).
 *
 * *** IMPORTANT: FONT UPDATE (Oswald & Montserrat) ***
 * The proprietary fonts (Agency FB, Futura, Avenir) have been replaced with the
 * free, open-source Google Fonts: Oswald and Montserrat.
 */


/* ========================================================================= */
/* BASE & HOMEPAGE STYLES (Applies to all, or is overwritten by interior styles) */
/* ========================================================================= */

body {
    /* FONT CHANGE: Applying Helvetica font stack to all pages */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* Homepage background and shadow (overridden on interior pages) */
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
        url('index.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

/* ADDED: Applying a stronger, more authoritative font for main H1/H2 titles */
h1, h2 {
    /* FONT CHANGE: Replaced Futura with Montserrat Bold */
    font-family: 'Montserrat', sans-serif !important; 
    font-weight: 700 !important;
}

.cover-container {
    /* Homepage width: 80rem (Wider layout) */
    max-width: 80rem; 
}


/* ------------------------------------------------------------------------- */
/* HEADER & NAVIGATION */
/* ------------------------------------------------------------------------- */

/* Logo Styling */
.navbar-brand-logo {
    height: 1.5rem; /* Adjust as needed for size */
    vertical-align: middle;
    margin-right: 0.5rem;
}

.nav-masthead .nav-link {
    color: rgba(255, 255, 255, .5);
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}


/* ------------------------------------------------------------------------- */
/* MODERN GHOST BUTTONS (Homepage & Interior Pages) */
/* ------------------------------------------------------------------------- */

.btn-ghost {
    color: #fff;
    background-color: transparent;
    /* REDUCED border to 1px for a more refined, less 'heavy' look */
    border: 1px solid #fff; 
    border-radius: 0; /* Sharp corners */
    font-weight: 500; /* Medium weight */
    text-transform: uppercase;
    transition: all 0.3s ease;
    /* FONT CHANGE: Replaced Avenir with Montserrat Medium to match logo */
    font-family: 'Montserrat', sans-serif !important; 
    padding: .75rem 1.5rem; /* Ensure consistent button size */
}

.btn-ghost:hover,
.btn-ghost:focus {
    color: #000;
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); 
    border-radius: 0;
}

/* BRAND RED ACCENT BUTTON: Used on Services and Contact Page CTA */
.btn-sportclassic-red, 
.btn-danger {
    /* Force Bootstrap's 'danger' red to match the logo red (#FF0000) */
    --bs-btn-bg: #FF0000 !important;
    --bs-btn-border-color: #FF0000 !important;
    --bs-btn-hover-bg: #CC0000 !important;
    --bs-btn-hover-border-color: #CC0000 !important;
    --bs-btn-active-bg: #990000 !important;
    --bs-btn-active-border-color: #990000 !important;
    border-radius: 0 !important; /* Keep sharp corners */
    text-transform: uppercase;
}


/* ========================================================================= */
/* INTERIOR PAGE OVERRIDES (about.html, services.html, contact.html) */
/* ========================================================================= */

.interior-body {
    /* Overrides the large background image for better reading experience */
    background-image: none !important;
    box-shadow: none !important;
    background-color: #000; 
    /* Reset text alignment to left for text-heavy pages */
    text-align: left;
}

.main-content {
    /* Contained, central box for main content */
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 50rem; /* Adjusted for better text reading width */
    margin: 0 auto; 
    min-height: 80vh; 
}

/* SERVICES PAGE LAYOUT REFINEMENT */
.services-section-wrapper {
    /* Added top/bottom padding for more whitespace around the service blocks */
    padding-top: 5rem; 
    padding-bottom: 5rem;
}

/* ------------------------------------------------------------------------- */
/* INTERIOR PAGE COMPONENTS (Tables, Cards, Forms) */
/* ------------------------------------------------------------------------- */

/* About Page Table Styling */
.table {
    --bs-table-bg: transparent; 
    --bs-table-color: white; 
}
.table th, .table td {
    border-color: rgba(255, 255, 255, 0.2); 
    padding-left: 0; 
}

/* Services Page Card Styling */
.service-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Contact Page Form Styling */
.form-control, .form-select { /* Apply styles to both input and select */
    background-color: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}
.form-control:focus, .form-select:focus { /* Apply focus to both input and select */
    background-color: rgba(255, 255, 255, 0.15); 
    /* Highlight focus with brand red */
    border-color: #FF0000 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25) !important;
    color: white;
}

/* Fix for select arrow on dark background */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.form-label {
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
}

/* CONTACT PAGE RESTYLE */

/* Ensure the layout takes up the full viewport height below the fixed header */
.contact-layout {
    min-height: calc(100vh - 70px); /* Adjust 70px if your navbar height is different */
    background-color: #212529; /* Dark background for the entire section */
    padding-top: 70px; /* Clearance for fixed header */
}

/* Style for the Left Column (Visual/Image) */
.contact-visual-col {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('contact.jpg'); /* Updated image name (use your preferred visual) */
    background-size: cover;
    background-position: center;
    min-height: 700px; 
}

/* Wrapper for content in the Right Column (Form) */
.contact-content-wrapper {
    padding: 3rem;
    max-width: 550px; 
    margin: 0 auto;
    /* Center the content vertically if the column height allows */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Mobile Fallback: Full-width form for screens smaller than 992px */
@media (max-width: 991.98px) {
    .contact-form-col {
        width: 100%; /* Full width on mobile */
    }
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

footer {
    font-size: 15px;
}

@media (max-width: 767.98px) {
    footer{
        font-size: 13px;
    }
}

/* ========================================================================= */
/* 💥 ADDED: RE-ENABLE USER SELECTION FOR FORM FIELDS */
/* ========================================================================= */
.contact-form, 
.form-control, 
.form-select, 
.form-label,
input,
textarea,
select {
    /* Use !important to ensure this overrides the body user-select: none; */
    -webkit-user-select: text !important; 
    -moz-user-select: text !important;    
    -ms-user-select: text !important;     
    user-select: text !important;
}

/* --- SVG LOGO STYLING --- */

/* FONT CHANGE: Replaced Agency FB with Oswald for 'Sport' */
.sport { 
    font: bold italic 90px 'Oswald', sans-serif; 
    fill: #FF0000; 
} 
/* FONT CHANGE: Replaced Futura with Montserrat for 'Classic' */
.classic { 
    font: 90px 'Montserrat', sans-serif; 
    font-weight: 500; 
    fill: #FFFFFF; 
}

/* ========================================================================= */
/* FREE FONT FACE IMPORTS (Replaces proprietary fonts)                        */
/* ========================================================================= */

/* --- OSWALD (Replaces Agency FB) --- */
@font-face {
    font-family: 'Oswald';
    /* Ensure these files (oswald-bold-italic.woff2/woff) are in your /fonts directory */
    src: url('fonts/oswald-bold-italic.woff2') format('woff2'),
         url('fonts/oswald-bold-italic.woff') format('woff');
    font-weight: 700; /* Maps to bold for Oswald */
    font-style: italic;
    font-display: swap; /* Tells browser to use a fallback while loading */
}

/* --- MONTSERRAT (Replaces Futura and Avenir) --- */
@font-face {
    font-family: 'Montserrat';
    /* Use Medium weight for the main logo text and buttons (Montserrat 500) */
    /* Ensure these files (montserrat-medium.woff2/woff) are in your /fonts directory */
    src: url('fonts/montserrat-medium.woff2') format('woff2'),
         url('fonts/montserrat-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}