/**
 * Super Driver Service Centre - Main Stylesheet
 */

/* CSS Variables */
:root {
    --brand: #E30613;
    --bg: #0B0B0B;
    --card: #161616;
    --secondary: #0B0B0B;
}

/* Base Styles */
body {
    background: var(--bg);
    color: #f1f5f9;
    scroll-behavior: smooth;
}

.selection\:bg-brand :where(*::selection) {
    background-color: var(--brand);
    color: white;
}

.selection\:text-white :where(*::selection) {
    color: white;
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Gradient */
.hero-gradient {
    background: radial-gradient(circle at 50% 40%, rgba(227, 6, 19, 0.18) 0%, rgba(11, 11, 11, 1) 70%);
}

/* Material Symbols */
.ms {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animations */
.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Map Dark Filter */
.map-dark {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* Custom Font Sizes */
.font-heading {
    font-family: 'Poppins', sans-serif;
}

/* Selection */
body.selection\:bg-brand *::selection {
    background-color: var(--brand);
    color: white;
}

/* Transitions */
a, button, .glass {
    transition: all 0.3s ease;
}

/* Hover Effects */
.hover\:border-brand\/40:hover {
    border-color: rgba(227, 6, 19, 0.4);
}

.hover\:text-brand:hover {
    color: var(--brand);
}

/* Mobile Menu */
#mobile-menu.hidden {
    display: none;
}

#mobile-menu.flex {
    display: flex;
}

/* Header Scroll States */
header.bg-secondary\/95 {
    background-color: rgba(11, 11, 11, 0.95);
}

header.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Blog Card Hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:translate-x-3 {
    transform: translateX(0.75rem);
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Floating Buttons Hover */
.hover\:scale-\[1\.12\]:hover {
    transform: scale(1.12);
}

/* Transform Active */
.active\:scale-95:active {
    transform: scale(0.95);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Shadow Effects */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-brand\/40 {
    box-shadow: 0 25px 50px -12px rgba(227, 6, 19, 0.4);
}

.shadow-brand\/10 {
    box-shadow: 0 25px 50px -12px rgba(227, 6, 19, 0.1);
}

.shadow-brand\/20 {
    box-shadow: 0 25px 50px -12px rgba(227, 6, 19, 0.2);
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Spacing */
.pt-24 { padding-top: 6rem; }
.pb-24 { padding-bottom: 6rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* Border Utilities */
.border-t {
    border-top-width: 1px;
}

.border-white\/5 {
    border-color: rgba(255, 255, 255, 0.05);
}

.rounded-full {
    border-radius: 9999px;
}

/* Text Utilities */
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }

/* Color Utilities */
.text-brand { color: var(--brand); }
.text-white { color: white; }
.text-gray-\[0\(x|f1f5f9\)\] { color: #f1f5f9; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }

/* Background Utilities */
.bg-secondary\/95 {
    background-color: rgba(11, 11, 11, 0.95);
}

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

.bg-brand\/5 {
    background-color: rgba(227, 6, 19, 0.05);
}

.bg-brand\/10 {
    background-color: rgba(227, 6, 19, 0.1);
}

.bg-brand\/20 {
    background-color: rgba(227, 6, 19, 0.2);
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-card\/50 {
    background-color: rgba(22, 22, 22, 0.5);
}

.bg-card\/20 {
    background-color: rgba(22, 22, 22, 0.2);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Grid */
.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }
.gap-24 { gap: 6rem; }

/* Position */
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.bottom-0 { bottom: 0; }
.bottom-10 { bottom: 2.5rem; }
.bottom-24 { bottom: 6rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.right-6 { right: 1.5rem; }

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Display Utilities */
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.block { display: block; }

/* Overflow Utilities */
.overflow-hidden { overflow: hidden; }

/* Width Utilities */
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-40 { width: 10rem; }

/* Height Utilities */
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-40 { height: 10rem; }
.h-96 { height: 24rem; }
.min-h-screen { min-height: 100vh; }

/* Padding Utilities */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-32 { padding-top: 8rem; }
.pt-40 { padding-top: 10rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-32 { padding-bottom: 8rem; }
.pb-40 { padding-bottom: 10rem; }

/* Margin Utilities */
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-32 { margin-top: 8rem; }

/* Border Radius Utilities */
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.rounded-[22px] { border-radius: 22px; }
.rounded-[40px] { border-radius: 40px; }
.rounded-[50px] { border-radius: 50px; }
.rounded-[58px] { border-radius: 58px; }
.rounded-[60px] { border-radius: 60px; }
.rounded-[70px] { border-radius: 70px; }

/* Font Size Utilities */
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.text-\[10px\] { font-size: 10px; }
.text-\[9px\] { font-size: 9px; }

/* Line Height Utilities */
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }

/* Letter Spacing Utilities */
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.4em\] { letter-spacing: 0.4em; }

/* Aspect Ratio */
.aspect-\[2\/3\] { aspect-ratio: 2/3; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1/1; }

/* Text Alignment Max Width */
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }

/* Transform Utilities */
.transform { transform: none; }

/* Flex Wrap Utilities */
.flex-wrap { flex-wrap: wrap; }

/* Text Wrap Utilities */
.nowrap {
    white-space: nowrap;
}

/* Col Span */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }

/* Negative Space X */
.-space-x-3 > * + * {
    margin-left: -0.75rem;
}

/* Responsive Utilities */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:flex-col { flex-direction: column; }
    .md\:justify-between { justify-content: space-between; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .md\:text-left { text-align: left; }
    .md\:text-right { text-align: right; }
    .md\:pb-16 { padding-bottom: 4rem; }
    .md\:p-24 { padding: 6rem; }
    .md\:top-10 { top: 2.5rem; }
    .md\:bottom-10 { bottom: 2.5rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-4 { grid-column: span 4 / span 4; }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
    .lg\:col-span-8 { grid-column: span 8 / span 8; }
    .lg\:p-10 { padding: 2.5rem; }
    .lg\:block { display: block; }
    .lg\:hidden { display: none; }
    .lg\:text-6xl { font-size: 3.75rem; }
    .lg\:text-xl { font-size: 1.25rem; }
}

/* Custom Animations */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Blur Effects */
.blur-\[60px\] {
    filter: blur(60px);
}

.brand-bounce:hover {
    color: var(--brand) !important;
}

.blur-\[120px\] {
    filter: blur(120px);
}

/* Custom Gradient */
.bg-gradient-to-tr {
    background-image: linear-gradient(to top right, var(--tw-gradient-stops));
}

.from-brand\/20 {
    --tw-gradient-from: rgba(227, 6, 19, 0.2);
    --tw-gradient-to: rgb(227 6 19 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-brand\/5 {
    --tw-gradient-to: rgba(227, 6, 19, 0.05);
}
