/* =========================================
   VARIABLES & TOKENS
   ========================================= */
:root {
    /* Colors */
    --bg-dark: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --text-main: #111111;
    --text-muted: #555555;
    
    --accent-primary: #e60000; /* Vibrant Red */
    --accent-primary-hover: #cc0000;
    --accent-secondary: #000000;
    
    --border-color: rgba(0, 0, 0, 0.1);
    --border-highlight: rgba(230, 0, 0, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 6rem 0;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 20px rgba(230, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

/* =========================================
   TYPOGRAPHY UTILITIES
   ========================================= */
.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-family: var(--font-body);
}

.btn i {
    font-size: 1.25rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background-color: #111;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #ccc;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-group i {
    color: var(--accent-primary);
}

.info-group.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
    color: var(--accent-primary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    /* We use absolute path to the generated artifact here! */
    background-image: url('file:///C:/Users/Admin/.gemini/antigravity/brain/c24d2dfa-7c63-4518-91a8-366aa15514b9/bm_tyres_hero_bg_1773148406418.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 50%, 
        rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto 0 0; /* Left aligned */
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.stars i {
    color: var(--accent-primary);
    font-size: 1.125rem;
}

.rating-badge span {
    font-weight: 500;
    font-size: 0.875rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-highlight);
    background-color: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.service-card:hover::before {
    background-color: var(--accent-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.service-icon i {
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.05);
}

.highlight-tag {
    background-color: rgba(230, 0, 0, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(230, 0, 0, 0.3);
}

/* =========================================
   LOCATION & HOURS SECTION
   ========================================= */
.location-hours {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-details {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(230, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
}

.contact-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--text-muted);
}

.hover-link:hover {
    color: var(--accent-primary);
}

.hours-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.hours-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.hours-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-muted);
}

.hours-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-list li.today {
    color: var(--accent-primary);
    font-weight: 600;
}

.hours-list li.today .day::after {
    content: '(Today)';
    font-size: 0.75rem;
    margin-left: 0.5rem;
    background-color: var(--accent-primary);
    color: #000;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    background-color: #111;
    color: #f3f3f4;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: #aaa;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    max-width: 400px;
}

.footer-links p {
    color: #aaa;
    font-size: 0.875rem;
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Official WhatsApp color */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20b858;
    color: #FFF;
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.5);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 2rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-btn {
        display: none; /* Hide top right call button on very small screens to save space */
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .rating-badge {
        margin: 0 auto 2rem auto;
    }

    .top-bar .highlight {
        display: none; /* Hide ratings in top bar on very small screens to save space */
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
