/* ===================================
   CHINOS TIRE SHOP - MODERN MINIMALIST
   Color Palette: Plum + Amber
   =================================== */

/* CSS Variables */
:root {
    /* Plum Palette */
    --plum-900: #1a0d14;
    --plum-800: #2d1520;
    --plum-700: #4a1f35;
    --plum-600: #6b2d4a;
    --plum-500: #8b3d60;
    --plum-400: #b0527a;
    --plum-300: #d4749a;
    --plum-200: #e8a0be;
    --plum-100: #f5d4e0;
    --plum-50: #fdf2f6;
    
    /* Amber Palette */
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
    --amber-100: #fef3c7;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Typography */
    --font-primary: 'Manrope', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--plum-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

p {
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

/* Eyebrow */
.section-eyebrow {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: var(--space-xs);
}

/* Section Line */
.section-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--plum-400), var(--amber-400));
    margin-top: var(--space-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--white);
    border-color: var(--amber-500);
}

.btn-primary:hover {
    background: var(--amber-600);
    border-color: var(--amber-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-700);
}

.btn-outline:hover {
    background: var(--plum-700);
    color: var(--white);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--plum-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--plum-600), var(--amber-500));
    display: inline-block;
    border-radius: 50%;
}

.dot {
    color: var(--amber-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--plum-600);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 1px;
    background: var(--plum-900);
    transition: all var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--plum-900);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--plum-900) 0%, 
        var(--plum-700) 30%, 
        var(--plum-600) 60%, 
        var(--amber-600) 100%
    );
    opacity: 0.9;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    color: var(--white);
}

.hero-eyebrow {
    color: var(--amber-400);
    margin-bottom: var(--space-sm);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.text-gradient {
    background: linear-gradient(90deg, var(--amber-300), var(--amber-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: var(--plum-200);
    font-size: 1.125rem;
    max-width: 500px;
    margin-bottom: var(--space-md);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    color: var(--amber-500);
    font-size: 1.25rem;
}

.badge-icon::before {
    content: "★";
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: var(--plum-400);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: var(--amber-400);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scaleY(0.5);
        opacity: 0.5;
    }
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.service-card {
    padding: var(--space-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    background: var(--white);
}

.service-card:hover {
    border-color: var(--plum-300);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 31, 53, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--plum-200);
    color: var(--plum-600);
    margin-bottom: var(--space-sm);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--plum-600);
    border-color: var(--plum-600);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--plum-900);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--space-xl) 0;
    background: var(--gray-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--plum-400), var(--amber-400));
    opacity: 0.3;
}

.about-content {
    padding-left: var(--space-md);
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--plum-700);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===================================
   LOCATION SECTION
   =================================== */
.location {
    padding: var(--space-xl) 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
}

.location-info {
    padding-right: var(--space-md);
}

.location-desc {
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--plum-200);
    color: var(--plum-600);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--plum-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
}

.contact-item a {
    color: var(--plum-600);
}

.contact-item a:hover {
    color: var(--amber-600);
}

.map-container {
    min-height: 400px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%);
    transition: filter var(--transition-base);
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--plum-900);
    color: var(--white);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--plum-800);
}

.footer-brand p {
    color: var(--plum-300);
    font-size: 0.9375rem;
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--plum-300);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    color: var(--plum-400);
    font-size: 0.8125rem;
    margin: 0;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image-wrapper {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: 2;
    }
    
    .about-content {
        order: 1;
        padding-left: 0;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-info {
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-sm);
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
