/* 
 * base_v2.css - Core styles for the Total FTBL website (Version 2)
 * This file contains base styles used across all pages with new responsive breakpoints
 * 
 * Breakpoints:
 * - Mobile Small: 320px
 * - Mobile Medium: 375px  
 * - Mobile Large: 425px
 * - Tablet: 768px
 * - Laptop: 1024px
 * - Laptop Large: 1440px
 */

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --primary-color: #126E51;
    --primary-dark: #0d5640;
    --secondary-color: #E5B80B;
    --text-color: #212529;
    --white: #ffffff;
    --black: #1A1A1A;
    
    /* Grays */
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    
    /* Status Colors */
    --success-color: #16a34a;
    --success-bg: rgba(22, 163, 74, 0.1);
    --danger-color: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.1);
    --neutral-color: #6b7280;
    --neutral-bg: rgba(107, 114, 128, 0.1);
    
    /* Shadows */
    --card-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.15);
    --focus-shadow: 0 0 0 0.1875rem rgba(18, 110, 81, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.25rem;
    --spacing-2xl: 1.5rem;
    
    /* Border Radius */
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 1.5625rem; /* 25px */
    --radius-full: 50%;
    
    /* Typography */
    --font-size-xxs: 0.625rem;  /* 10px */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Icon Sizes */
    --icon-xs: 1rem;     /* 16px - Small icons */
    --icon-sm: 1.25rem;  /* 20px - Small team logos */
    --icon-md: 1.5rem;   /* 24px - Medium team logos */
    --icon-lg: 2rem;     /* 32px - Large team logos */
    --icon-xl: 2.5rem;   /* 40px - Extra large team logos */
    --icon-2xl: 3rem;    /* 48px - Hero/featured logos */
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Breakpoints */
    --breakpoint-mobile-small: 320px;
    --breakpoint-mobile-medium: 375px;
    --breakpoint-mobile-large: 425px;
    --breakpoint-tablet: 768px;
    --breakpoint-laptop: 1024px;
    --breakpoint-laptop-large: 1440px;
    
    /* Layout */
    --navbar-height: 2.5rem;
    --footer-bg: var(--black);
}

html, body {
    height: 100%;
}

/* Base Elements */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
    padding: 0;
    margin: 0;

}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Remove default figure margin */
figure {
    margin-bottom: 0;
}

/* Site Container */
.site-container {
    width: 100%;
    max-width: 1360px;
    padding: 0;
    margin: 0 auto;
}

/* Responsive Breakpoints - Isolated Ranges */

/* Mobile Small: 0-320px (No padding) */
.site-container { 
    padding: 0;
    margin: 1rem auto 1rem auto;
}

/* Remove column padding on smallest screens */
@media (max-width: 320px) {
    .col-12 {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Mobile: 321px-425px (Add padding) */
@media (min-width: 321px) and (max-width: 425px) {
    .site-container { 
        padding: 0 12px;
    }
}

/* Mobile Large to Tablet: 426px-767px */
@media (min-width: 426px) and (max-width: 767px) {
    .site-container { 
        padding: 0 16px;
    }
}

/* Remove Bootstrap column padding on mobile */
@media (max-width: 767px) {
    .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .col-12.col-lg-9 {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure the site-container doesn't overflow */
    .site-container {
        overflow-x: hidden !important;
    }
}

/* Tablet: 768px-1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .site-container { 
        padding: 0 24px;
    }
}

/* Laptop: 1024px-1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
    .site-container { 
        padding: 0 32px;
    }
}

/* Laptop Large: 1440px+ */
@media (min-width: 1440px) {
    .site-container { 
        padding: 0 40px;
    }
}


 