/* ===================================
   Suitland Tire - Custom Styles
   Color Palette: Plum + Amber
   =================================== */

:root {
    /* Primary Colors */
    --plum-dark: #2D1B4E;
    --plum: #4C1D95;
    --plum-light: #6B21A8;
    --plum-lighter: #8B5CF6;
    
    /* Accent Colors */
    --amber: #F59E0B;
    --amber-light: #FCD34D;
    --amber-dark: #D97706;
    
    /* Neutrals */
    --neutral-900: #0F172A;
    --neutral-800: #1E293B;
    --neutral-700: #334155;
    --neutral-600: #475569;
    --neutral-500: #64748B;
    --neutral-400: #94A3B8;
    --neutral-300: #CBD5E1;
    --neutral-200: #E2E8F0;
    --neutral-100: #F1F5F9;
    --neutral-50: #F8FAFC;
    --white: #FFFFFF;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-700);
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

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

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--neutral-900);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

.text-accent {
    color: var(--plum);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
    color: var(--neutral-900);
    border-color: var(--amber);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 100%);
    border-color: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--plum);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--plum);
    margin-bottom: 12px;
}

.section-tag.light {
    color: var(--amber);
}

.section-title {
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
}

/* ===================================
   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(--neutral-200);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-dark);
}

.logo-icon {
    color: var(--amber);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-700);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--plum-dark);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 500;
}

.mobile-link:hover {
    color: var(--amber);
}

.mobile-cta {
    margin-top: 16px;
    padding: 14px 32px;
    background: var(--amber);
    color: var(--neutral-900);
    border-radius: var(--radius);
    font-weight: 600;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding-top: 140px;
    padding-bottom: var(--section-padding);
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--neutral-600);
}

.trust-item svg {
    color: var(--amber);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.hero-stats {
    display: flex;
    gap: 16px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.stat-card {
    flex: 1;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--plum-lighter);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--neutral-900);
}

.service-card p {
    color: var(--neutral-600);
    font-size: 0.95rem;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--neutral-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-experience .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1;
}

.about-experience .exp-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.about-content {
    max-width: 500px;
}

.about-text {
    color: var(--neutral-600);
    margin-bottom: 16px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--neutral-700);
}

.feature-item svg {
    color: var(--amber);
    flex-shrink: 0;
}

/* ===================================
   Why Us Section
   =================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber) 100%);
    text-align: center;
}

.cta-content h2 {
    color: var(--neutral-900);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(15, 23, 42, 0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-description {
    color: var(--neutral-600);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--neutral-600);
    font-size: 0.95rem;
}

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

.contact-text a:hover {
    color: var(--amber-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form h3 {
    margin-bottom: 24px;
    color: var(--neutral-900);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-900);
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-lighter);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--amber);
    margin-bottom: 16px;
}

.form-success h4 {
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--neutral-600);
}

/* ===================================
   Map Section
   =================================== */
.map-section {
    height: 350px;
    background: var(--neutral-200);
}

.map-section iframe {
    filter: grayscale(30%);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.95rem;
}

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

.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--amber);
}

.footer-contact a:hover {
    color: var(--amber-light);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: 24px;
    text-align: center;
    font-size: 0.875rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-experience {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        width: 100%;
    }
}
