/* ===================================
   WILLWICK AUTO REPAIR - STYLESHEET
   =================================== */

/* CSS Custom Properties */
:root {
    --color-terracotta: #C05A35;
    --color-terracotta-dark: #A04828;
    --color-terracotta-light: #D4785A;
    --color-sand: #F5F0E8;
    --color-sand-dark: #E8DFD0;
    --color-sand-light: #FAF7F2;
    --color-charcoal: #2A2A2A;
    --color-dark: #1A1A1A;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;
    --color-border: #E5DDD0;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

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

h3 {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    color: var(--color-text-light);
}

/* Tag */
.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(192, 90, 53, 0.08);
    border-radius: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Header */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

#site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

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

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

/* Navigation */
#main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

#main-nav a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

#main-nav a:not(.btn):hover {
    color: var(--color-terracotta);
}

/* Mobile Menu Toggle */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
#hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: var(--color-sand-light);
    overflow: hidden;
}

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

.hero-content {
    max-width: 560px;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 36px;
    color: var(--color-text);
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

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

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

.image-stack {
    position: relative;
}

.img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.img-accent {
    position: absolute;
    bottom: -40px;
    left: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-sand-light);
}

.img-accent img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    top: 40px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    color: var(--color-charcoal);
    font-size: 0.9rem;
}

.floating-badge svg {
    color: var(--color-terracotta);
}

/* Section Header */
.section-header {
    max-width: 640px;
}

.section-header.center {
    margin: 0 auto 60px;
    text-align: center;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Services Section */
#services {
    padding: 100px 0;
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    padding: 40px 32px;
    background: var(--color-sand-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
    background: var(--color-white);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 90, 53, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-terracotta);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Section */
#about {
    padding: 100px 0;
    background: var(--color-sand);
}

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

.about-image {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-sand);
}

.about-img-secondary img {
    width: 240px;
    height: 180px;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-charcoal);
}

.about-list svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

/* Why Us Section */
#why-us {
    padding: 100px 0;
    background: var(--color-charcoal);
}

#why-us .tag {
    background: rgba(192, 90, 53, 0.2);
}

#why-us .section-header h2 {
    color: var(--color-white);
}

#why-us .section-header p {
    color: rgba(255,255,255,0.6);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    gap: 24px;
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-terracotta);
    line-height: 1;
    flex-shrink: 0;
}

.feature-item h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.feature-item p {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* Location Section */
#location {
    padding: 100px 0;
    background: var(--color-sand-light);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

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

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 90, 53, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    color: var(--color-charcoal);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.contact-text a {
    color: var(--color-terracotta);
    font-weight: 500;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* Footer */
footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

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

.footer-brand p {
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}

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

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

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

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    #main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-sand-light);
        border-bottom: 1px solid var(--color-border);
        padding: 24px;
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    #main-nav.active {
        transform: translateY(0);
    }
    
    #main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    #main-nav a:not(.btn) {
        font-size: 1.1rem;
    }
    
    /* Hero */
    #hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        order: -1;
    }
    
    .img-accent {
        left: 20px;
        bottom: -20px;
    }
    
    .floating-badge {
        right: 20px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    /* Services */
    #services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    /* About */
    #about {
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -20px;
    }
    
    /* Why Us */
    #why-us {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Location */
    #location {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map {
        min-height: 300px;
    }
    
    /* Footer */
    footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .stat-divider {
        display: none;
    }
    
    .feature-num {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
