:root {
    /* Color Palette */
    --primary-color: #C4262E;
    --primary-hover: #A31E24;
    --secondary-color: #333333;
    --text-color: #444444;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --gray-100: #E9ECEF;
    --gray-200: #DEE2E6;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

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

/* Header & Navigation */
#main-header {
    background: var(--white);
    padding: 10px 0;
    /* Reduced padding from 15px */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Reduced height from 60px */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        /* Adjust based on header height */
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    border: 2px solid var(--primary-color);
}

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

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 10px 26px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Hero Section */
#hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero-home.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

/* ... existing badge styles ... */

.badge {
    background-color: var(--primary-color);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

#hero h1 {
    font-size: 2.0rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

#hero h1 span {
    color: var(--primary-color);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services */
#services {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

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

.card {
    background: var(--light-bg);
    padding: 30px;
    /* Reduced padding slightly */
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    overflow: hidden;
    /* For image */
}

.card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 2.5rem;
    /* Smaller icon if image is present */
    margin-bottom: 15px;
    color: var(--primary-color);
    height: auto;
    /* Remove fixed height */
    display: inline-block;
}

.card h3 {
    margin-bottom: 15px;
}

/* About Section */
#about {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    color: var(--white);
}

#about h2 {
    color: var(--white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(196, 38, 46, 0.2);
}

/* Contact Section & Forms */
#contact {
    padding: var(--section-padding);
}

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

.contact-info h3 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 38, 46, 0.1);
}

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: left;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid img {
    height: 80px !important;
    /* Increased size as requested */
    width: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 1.6rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .about-flex,
    .contact-grid {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    /* Mobile Footer Layout */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns for contact & hours */
        gap: 20px;
    }

    /* First item (Slogan/Logo) spans full width and centers with Flexbox */
    .footer-grid>div:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Target the image specifically inside the first mobile item */
    .footer-grid>div:first-child img {
        height: 90px !important;
        /* Bigger height */
        width: auto;
        margin: 0 0 20px 0;
        /* Clear other margins */
        display: block;
    }
}