/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import 'cookie.css';


:root {
    /* Colors */
    --color-primary: #CC3300;
    --color-secondary: #333333;
    --color-text: #333333;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-dark-bg: #1a1a1a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #CC3300 0%, #ff5500 100%);
    --gradient-dark: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(10px);

    /* Spacing & Layout */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-secondary);
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
    max-width: 70ch;
}

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

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.flex {
    display: flex;
    gap: var(--spacing-md);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base Responsive Fixes */
@media (max-width: 480px) {
    .section {
        padding: var(--spacing-md) 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 2em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(204, 51, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 51, 0, 0.4);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    height: 45px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo span {
    display: none;
}

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

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-secondary);
}

/* Hero Section - Redesigned to Split Layout */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: #ffffff;
    overflow: hidden;
}

/* Decorative background elements */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(204, 51, 0, 0.05) 0%, rgba(204, 51, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
    max-width: 650px;
}

.hero-content h1 {
    color: var(--color-secondary);
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero-content p {
    color: #666;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    text-shadow: none;
}

.hero-image-box {
    position: relative;
    height: 550px;
    border-radius: var(--border-radius-lg);
    /* No overflow: hidden here so we can have floating elements */
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Floating "3D" elements */
.hero-stat-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-stat-card.top {
    top: 10%;
    left: -15%;
}

.hero-stat-card.bottom {
    bottom: 10%;
    right: -10%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-image-box {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stat-card {
        display: none;
        /* Hide floating labels on smaller screens to save space */
    }
}

/* Features / BENTO Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 992px) {
    .features-grid .feature-card:first-child {
        grid-column: span 2;
    }
}

.feature-card {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Vertically and horizontally centered as requested */
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 51, 0, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--color-white);
    background: var(--color-primary);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    /* Absolute technical centering in both axes */
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(204, 51, 0, 0.15);
    flex-shrink: 0;
    padding-top: 15px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Feature Lists (Box Items) */
.feature-list {
    margin-top: 1.2rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--color-secondary);
    background: #f8f9fa;
    /* slightly darker than light var for better contrast on white card */
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.feature-list-item:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-list-item i {
    color: var(--color-primary);
    font-size: 1rem;
    flex-shrink: 0;
}


/* About Section */
.about-section {
    background-color: var(--color-white);
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 20px 20px 0 var(--color-primary);
}

/* Services / Tabs Preview */
.services-preview {
    background-color: var(--color-light);
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

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

/* Mobile Responsive */
@media (max-width: 992px) {

    .about-content,
    .service-row,
    .bike-card-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .grid {
        gap: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-image-box {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stat-card {
        display: none;
        /* Hide floating labels on smaller screens to save space */
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 12px 0;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .features-grid .feature-card:first-child {
        grid-column: span 1 !important;
    }

    /* Global image box fixes */
    [style*="height: 400px"],
    [style*="height: 450px"],
    [style*="height: 350px"],
    .service-image-container {
        height: auto !important;
        aspect-ratio: 16 / 10;
        min-height: auto !important;
    }
}

/* Specific Mobile Optimization (350px - 480px) */
@media (max-width: 480px) {
    .feature-card {
        padding: 1.5rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-image-box {
        height: auto;
        aspect-ratio: 16/10;
    }

    .btn {
        width: 100%;
        padding: 0.8em 1.5em;
    }

    /* Responsive Text */
    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    /* Responsive Tables & Price lists */
    table,
    .price-list {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Calendar fixes */
    .calendar-grid {
        gap: 2px;
    }

    .calendar-day {
        padding: 4px;
        min-height: 50px;
        font-size: 0.75rem;
    }

    .calendar-event {
        font-size: 0.55rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Container padding for tiny screens */
    .container {
        padding: 0 1rem;
    }

    /* Hero CTA column on mobile */
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Footer adjustments */
    .footer-grid {
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Global CTA Banner */
.cta-banner {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-banner h2 {
    color: white !important;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-primary {
    background: white !important;
    color: var(--color-primary) !important;
}

.cta-banner .btn-secondary {
    color: white !important;
    border-color: white !important;
}

/* Brands Section Infinity Scroll */
.brands-section {
    padding: 6rem 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.brands-container {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-secondary);
    opacity: 0.3;
    transition: opacity 0.3s ease;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .brand-item {
        padding: 0 2rem;
        font-size: 1.5rem;
    }

    .brands-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .brand-item {
        padding: 0 1.5rem;
        font-size: 1.2rem;
    }
}

.brand-item:hover {
    opacity: 1;
    color: var(--color-primary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}