/* Dent Repair Site Styles */

:root {
    --primary-color: #000000;
    /* Pure Black */
    --primary-light: #1a1a1a;
    /* Soft Black */
    --accent-color: #FFC107;
    /* Vivid Yellow */
    --accent-hover: #FFD54F;
    /* Light Yellow */
    --text-color: #1a1a1a;
    /* Dark Grey */
    --text-light: #444444;
    /* Medium Grey */
    --bg-light: #f5f5f5;
    /* Light Grey */
    --white: #ffffff;
    --radius: 0;
    /* Sharp edges for industrial feel */
    --hard-shadow: 6px 6px 0 var(--accent-color);
    --transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn,
.logo {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    /* Removed italic for cleaner look */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-color);
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -1px;
    /* Removed skew */
}

.logo span {
    color: var(--accent-color);
    font-size: 2.5rem;
    line-height: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
    /* Removed skew */
}

nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu (Hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.2) 100%),
        url('../img/hero-optimized.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    /* Slight angle at bottom */
}

.hero .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Off-center alignment */
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    /* Reduced from 5rem */
    line-height: 1.1;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
    max-width: 800px;
}

.hero-sub {
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    color: #e0e0e0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-slogan {
    font-size: 2.2rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: block;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.hero p:not(.hero-slogan) {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    max-width: 600px;
    font-weight: 300;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    /* Removed skew */
}

/* Un-skew text inside buttons if needed, but keeping it skewed adds to the effect */

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    border: 2px solid var(--accent-color);
    /* Glowy pop */
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    background: var(--accent-hover);
    color: black;
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 4px 4px 0 var(--accent-color);
}

/* Section Common */
.section-header {
    text-align: left;
    /* Off-center headers */
    margin-bottom: 2rem;
    max-width: 800px;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: -20px;
    width: 60px;
    height: 6px;
    background: var(--accent-color);
    /* Removed skew */
    z-index: -1;
}

/* Services Section */
.services {
    padding: 1rem 0 3rem;
    background: var(--white);
    position: relative;
}

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

/* Shift every 2nd card down for staggered layout */
.services-grid>div:nth-child(even) {
    transform: translateY(2rem);
    /* Stagger */
}

.service-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    background: transparent;
    width: auto;
    height: auto;
    display: block;
    border-radius: 0;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: none;
    display: inline-block;
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

/* Why Choose Us */
.why-us {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--white);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
    /* Zig zag edges */
}

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

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.benefit-item .icon {
    font-size: 2rem;
    background: var(--accent-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    /* Removed rotation */
    border: 3px solid var(--white);
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.benefit-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: var(--bg-light);
}

.process h2 {
    text-align: center;
    /* Exception: keep process centered but styled */
    display: block;
    margin: 0 auto 5rem;
}

.process h2::after {
    display: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    background: var(--white);
    border: 2px solid var(--primary-color);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 0;
    /* Square */
    transform: translate(-50%, -50%);
    /* Removed rotation */
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    border: 4px solid var(--accent-color);
}

.step h3 {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* No gap, merged look */
    background: var(--primary-color);
    border: 4px solid var(--primary-color);
    box-shadow: 20px 20px 0 #ddd;
}

.contact-info {
    padding: 4rem;
    background: var(--primary-color);
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
    font-size: 3rem;
}

.contact-form {
    background: var(--accent-color);
    padding: 4rem;
}



.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    display: block;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 0;
    padding: 1rem;
    font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 5px 5px 0 var(--primary-color);
}

.contact-form button {
    background: var(--primary-color);
    color: var(--accent-color);
    width: 100%;
    box-shadow: 5px 5px 0 var(--white);
    border: none;
}

.contact-form button:hover {
    box-shadow: 8px 8px 0 var(--white);
    background: black;
    color: white;
}

.contact-details a {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: underline;
}


/* Footer */
footer {
    background: var(--primary-light);
    color: #888;
    padding: 4rem 0;
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    header {
        position: relative;
        padding: 1rem 0;
    }

    /* Mobile Header Layout */
    header .container {
        flex-direction: row;
        /* Keep Logo and Burger in a row */
        flex-wrap: wrap;
        /* Allow nav to drop down */
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        /* Hidden by default */
        width: 100%;
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        width: 100%;
    }

    nav a {
        font-size: 1.2rem;
        /* Larger touch targets */
        padding: 0.8rem 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .logo {
        font-size: 1.8rem;
    }

    /* Typography Bumps for Readability */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-slogan {
        font-size: 2rem;
        /* Keep impactful */
    }

    .hero p {
        font-size: 1.15rem;
        /* Increased from 0.95 */
        line-height: 1.6;
        padding: 0 1rem;
    }

    .section-header p {
        font-size: 1.15rem;
    }

    .service-card p,
    .benefit-item p,
    .step p {
        font-size: 1.1rem;
        /* Bumping general copy */
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1.1rem;
        padding: 1rem;
    }

    /* Grid Adjustments */
    .contact-wrapper,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .services-grid>div:nth-child(even) {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    /* Slightly smaller headers for very small phones but keep body copy readable */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-slogan {
        font-size: 1.6rem;
    }

    /* Ensure body copy stays large */
    .hero p,
    .service-card p,
    .benefit-item p,
    .step p,
    .contact-info p {
        font-size: 1.1rem !important;
        /* Force readability */
    }
}