/* --- CSS VARIABLES & RESET --- */
:root {
    /* Forest Elite Palette */
    --pine-green: #2D4A22;
    --pine-dark: #1e3217;
    --copper-bronze: #B87333;
    --copper-hover: #9a5e28;
    --natural-beige: #D6C6A8;
    --charcoal: #333333;
    --off-white: #f4f4f4;
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-accent: 'Montserrat', sans-serif;

    --spacing-unit: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--off-white);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

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

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

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 0.95rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--copper-hover);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--copper-bronze);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 115, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.4);
}

.btn-link {
    color: var(--white);
    background: transparent;
    border: 2px solid var(--copper-bronze);
    padding: 12px 33px;
    position: relative;
    overflow: hidden;
}

.btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--copper-bronze);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn-link:hover::before {
    width: 100%;
}

.btn-link:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.3);
}

.btn i {
    margin-right: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* --- HEADER --- */
header {
    background-color: var(--pine-green);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 2px;
}


.logo-icon .logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-family: var(--font-accent);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

nav a:hover {
    color: var(--copper-bronze);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-icon {
    color: var(--white);
    font-size: 1.2rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
#hero_section {
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    background-color: var(--pine-green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.hero-cta .btn {
    min-width: 200px;
}

/* --- INFO BAR HOURS - HERO PROMINENT --- */
#info_bar_hours_hero {
    background: linear-gradient(135deg, var(--pine-green) 0%, var(--pine-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hours-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.hours-hero-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--copper-bronze);
    transition: all 0.3s ease;
}

.hours-hero-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hours-hero-item i {
    color: var(--copper-bronze);
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.hours-hero-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    font-family: var(--font-accent);
    font-weight: 600;
}

.hours-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-accent);
}

.hours-secondary {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* --- PRODUCT CATEGORIES WITH BRANDS --- */
#categories {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--pine-green);
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3.5rem;
    font-family: var(--font-body);
    font-weight: 300;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--copper-bronze);
    margin: 1rem auto 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--copper-bronze);
    box-shadow: 0 20px 40px rgba(184, 115, 51, 0.15);
}

/* Card Header */
.card-header {
    background: linear-gradient(135deg, var(--pine-green) 0%, var(--pine-dark) 100%);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.category-card:hover .card-header::before {
    transform: scale(1.5);
    opacity: 0.8;
}

.header-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.header-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.header-icon {
    font-size: 3rem;
    color: var(--copper-bronze);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.category-card:hover .header-icon {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

/* Brand Showcase - PRIMARY FOCUS */
.card-brands-showcase {
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, #fafafa 0%, var(--white) 100%);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1.2rem;
    justify-items: center;
    align-items: center;
}

.brand-item {
    width: 100%;
    max-width: 110px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 0.9rem;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--copper-bronze) 0%, var(--copper-hover) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.brand-item:hover::before {
    opacity: 0.08;
}

.brand-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--copper-bronze);
    box-shadow: 0 12px 24px rgba(184, 115, 51, 0.25);
}

.brand-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.brand-item:hover img {
    filter: grayscale(0%) brightness(1.1);
}

/* --- ABOUT PREVIEW --- */
#about_preview {
    background-color: var(--white);
    padding: 4rem 0;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 10px 10px 0 var(--natural-beige);
}

.about-text {
    flex: 1;
    color: var(--charcoal);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--pine-green);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.text-link {
    color: var(--copper-bronze);
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-accent);
    margin-top: 1rem;
    display: inline-block;
}

/* --- LOCATION & CONTACT SPLIT --- */
#location_and_contact_split {
    padding: 0; /* Full width container */
    background-color: var(--pine-green);
}

.split-container {
    display: flex;
    flex-wrap: wrap;
}

.split-side {
    flex: 1;
    min-width: 100%;
}

.map-side {
    height: 500px;
}

.map-wrapper {
    height: 100%;
}

.form-side {
    background-color: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 500px;
}

.contact-form-wrapper h3 {
    color: var(--pine-green);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--charcoal);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background-color: var(--white);
    font-family: var(--font-body);
    color: var(--charcoal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--copper-bronze);
}

.direct-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.direct-contact p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.direct-contact a {
    color: var(--charcoal);
    font-weight: 500;
}

/* --- FOOTER --- */
footer {
    background-color: var(--pine-dark);
    color: #ddd;
    padding: 4rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--copper-bronze);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--copper-bronze);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo .logo-icon .logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.copyright {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #aaa;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hours-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-layout {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 10px;
    }

    /* Mobile Nav */
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--pine-green);
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-bottom: 2px solid var(--copper-bronze);
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero Stacked */
    .hero-container {
        flex-direction: column-reverse;
    }
    
    .hero-image {
        height: 50vh;
    }
    
    .hero-content {
        padding: 2rem;
        height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    /* Hours Hero */
    .hours-hero-item {
        padding: 1.5rem;
    }
    
    .hours-hero-item i {
        font-size: 2rem;
    }
    
    /* Categories */
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .card-brands-showcase {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .brand-item {
        max-width: 90px;
        height: 75px;
    }

    /* Stacked Split Section */
    .split-container {
        flex-direction: column;
    }
    
    .map-side {
        height: 400px;
    }
    
    .form-side {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-actions .btn {
        display: none; /* Hide CTA button on very small screens, keep phone/menu icon */
    }
    
    .hours-hero-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .card-brands-showcase {
        grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
        gap: 0.8rem;
    }
    
    .brand-item {
        max-width: 80px;
        height: 70px;
        padding: 0.7rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-header {
        padding: 1.5rem;
    }
    
    .header-content h3 {
        font-size: 1.5rem;
    }
    
    .header-icon {
        font-size: 2.5rem;
    }
}