/* Responsive styles moved to bottom of file */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    background: white;
    border-bottom: 1px solid #ddd;
}

/* Update the .logo class and add the img rule */

.menu { list-style: none; display: flex; gap: 20px; }
.menu a { text-decoration: none; color: #333; text-transform: uppercase; font-size: 0.9rem; }
.btn-quote { border: 1px solid #333; padding: 5px 15px; }

/* Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card img { width: 100%; height: 250px; object-fit: cover; }

.card-info { padding: 20px; }
.category { color: #888; font-size: 0.8rem; text-transform: uppercase; }
.btn-add {
    display: block;
    text-align: center;
    background: #222;
    color: white;
    padding: 10px;
    text-decoration: none;
    margin-top: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.btn-add:hover { background: #444; }

/* Form */
/* --- QUOTE / INQUIRY PAGE --- */
.quote-container {
    max-width: 1100px; /* Wider for 2-column layout */
    margin: 80px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.quote-left {
    padding-right: 20px;
    border-right: 1px solid #eee;
}

.quote-right {
    background: white;
    padding: 40px;
    border: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.quote-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 60px 40px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background: #fdfdfd;
}

.empty-state p {
    color: #888;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.quote-item-card {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.quote-item-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    background: #f9f9f9;
}

.quote-item-details h3 { font-size: 1.1rem; margin: 0 0 5px 0; }
.quote-item-details p { margin: 0; font-size: 0.9rem; color: #666; }
.quote-qty { color: #d4af37; font-weight: 700; margin-top: 5px; display: block; }

.btn-remove {
    margin-left: auto; /* Push to right */
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: color 0.2s;
}

.btn-remove:hover { color: #d00; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.link-arrow:hover {
    gap: 12px; /* Slide effect */
    color: #d4af37;
}

/* Form Styling */
.inquiry-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #444;
}

.inquiry-form input, 
.inquiry-form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    background: #fdfdfd;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.inquiry-form input:focus, 
.inquiry-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.inquiry-form textarea {
    height: 120px;
    resize: vertical;
}

.inquiry-form button {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.inquiry-form button:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
    .quote-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
        margin: 40px auto;
    }
    .quote-left { border-right: none; padding-right: 0; }
    .quote-right { padding: 30px; position: static; }
}

/* --- HOME PAGE STYLES --- */

.hero {
    height: calc(100vh - 80px);
    
    /* REMOVE 'static/' from the start */
    background-image: url('images/Factory.png'); 
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.4); 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    background: rgba(0, 0, 0, 0.5); /* Slightly darker for better text contrast */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* OPTIONAL: Make the text bigger since we have more space now */
.hero-content h1 {
    font-size: 4.5rem; /* Bigger Headline */
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-transform: uppercase;
    font-weight: 700;
    color:#d4af37;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
    color:white;
}

/* Hero Buttons */
.btn {
    text-decoration: none;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0 10px;
    transition: all 0.3s ease;
}
.btn:active, .btn-quote-modern:active, button:active {
    transform: scale(0.95) !important;
}

.btn-primary {
    background-color: #d4af37; /* Gold/Luxury color */
    color: white;
}

.btn-outline {
    border: 2px solid white;
    color: white;
}
.btn-outline:hover { background: white; color: black; }


/* 2. Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 80px 10%;
    background: white;
    text-align: center;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}
.feature-item p { color: #666; line-height: 1.6; }


/* 3. Split Showcase */
.split-showcase {
    display: flex;
    flex-wrap: wrap;
    height: 600px; /* Taller for more impact */
}

.split-item {
    flex: 1;
    position: relative;
    min-width: 300px;
    overflow: hidden;
    /* Use the CSS variable for the background on the pseudo-element */
}

/* Background Image Layer */
.split-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.split-item:hover::before {
    transform: scale(1.1); /* Zoom Effect */
}

/* Link Wrapper */
.split-link {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Dark Overlay */
.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: -1; /* Behind content but above image */
}

.split-item:hover .split-overlay {
    background: rgba(0, 0, 0, 0.5); /* Darken on hover */
}

/* Content Box */
.split-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 80%;
    /* Optional: Glassmorphism */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.split-item:hover .split-content {
    transform: translateY(-5px);
}

.split-content h2 {
    margin: 0 0 15px 0;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.split-content p {
    margin: 0 0 25px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Explore Button */
.btn-explore {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #1a1a1a;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background: #d4af37;
    color: white;
    padding-right: 35px; /* Make room for arrow movement if we added one, or just effect */
}


/* 4. Bottom CTA */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    background-color: #f4f4f4;
}
.btn-dark {
    background-color: #222;
    color: white;
    margin-top: 20px;
}
.btn-dark:hover { background-color: #444; }

/* --- MODERN LAYOUT NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95); /* Slightly more opaque for readability */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 0; /* Remove padding here, we handle it in container */
    height: 80px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px; /* Wider to allow more breathing room */
    margin: 0 auto;
    padding: 0 40px; /* Space on far left and right */
    
    /* THE MAGIC GRID LAYOUT */
    display: grid;
    /* 
       1fr = Left Space (Logo)
       auto = Middle Space (Links take only what they need)
       1fr = Right Space (Button)
    */
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
}

/* 1. LOGO: Left Aligned */
.logo {
    justify-self: start; /* Pushes logo to the left edge */
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px; /* Refined size */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 50px; /* More space between words for luxury feel */
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px; /* Widen the letters */
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}

/* 3. QUOTE BUTTON: Far Right & "Evidently Different" */
.nav-actions {
    justify-self: end; /* Pushes button to the far right edge */
}
/* elegant hover underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4af37; /* Gold accent */
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-quote-modern {
    background-color: #1a1a1a;
    color: white !important; /* Override .nav-links a specificity */
    text-decoration: none;
    padding: 14px 30px; /* Larger click area */
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    
    /* Make it look different from everything else */
    border: 1px solid #1a1a1a; 
    border-radius: 0; /* Sharp corners = Manufacturing/Industrial feel */
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1); /* Subtle 3D drop shadow */
    transition: all 0.3s ease;
}
.btn-quote-modern:hover {
    background-color: white;
    color: black;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.1); /* Shadow presses down on hover */
    transform: translate(2px, 2px); /* Button physically moves */
}

.badge {
    background: #d4af37; /* Gold badge */
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* --- MODERN FOOTER --- */
.site-footer {
    background-color: #111; /* Deep Black */
    color: #aaa; /* Soft Grey text */
    padding: 80px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* This creates 4 columns that auto-stack on mobile */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 20px 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Footer Newsletter Form */
.footer-form {
    display: flex;
    border-bottom: 1px solid #444;
}

.footer-form input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 0;
    width: 100%;
}
.footer-form input:focus { outline: none; }

.footer-form button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid #222;
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #555;
}

/* --- BRAND MARQUEE (Infinite Scroll) --- */
.brand-marquee {
    background: white;
    /* Big padding makes it feel premium and important */
    padding: 100px 0; 
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.marquee-content {
    display: inline-block;
    /* This animation moves the logos to the left */
    animation: scroll-left 30s linear infinite;
}

.marquee-content img {
    height: 60px; /* Increased size slightly */
    width: auto;
    margin: 0 80px; /* More distance between logos */
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.5s ease;
}

/* Optional: Make logos colorful/darker on hover */
.marquee-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* Slight zoom on hover */
}
/* THE ANIMATION LOGIC */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        /* 
           We move -50% because we doubled the content.
           Once it reaches 50% (the end of the first set),
           it snaps back to 0 instantly.
        */
        transform: translateX(-50%);
    }
}

/* Mobile: Make it faster on small screens */
@media (max-width: 768px) {
    .marquee-content {
        animation: scroll-left 15s linear infinite;
    }
    .marquee-content img {
        height: 35px;
        margin: 0 30px;
    }
}

/* --- CATALOG PAGE LAYOUT --- */
.catalog-hero {
    background: #f8f8f8;
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}
.catalog-hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.catalog-hero p { color: #666; max-width: 600px; margin: 0 auto; }

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex; /* Creates Sidebar + Grid layout */
    padding: 50px 20px;
    gap: 50px;
}

/* SIDEBAR STYLING */
.catalog-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px; /* Sticks when scrolling */
    height: fit-content;
}

.filter-group { margin-bottom: 40px; }
.filter-group h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filter-btn {
    display: block;
    background: none;
    border: none;
    text-align: left;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    width: 100%;
    transition: color 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    color: #d4af37; /* Gold active state */
    font-weight: bold;
}

.sidebar-help {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}
.sidebar-help h4 { margin-top: 0; }
.sidebar-help a { color: #d4af37; text-decoration: none; font-weight: bold; }

/* GRID STYLING */
.catalog-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* HIDE/SHOW LOGIC */
.pro-card { display: none; } /* Hidden by default */
.pro-card.show { display: block; } /* Shown by JS */

/* PREMIUM PRODUCT CARD */
.pro-card {
    background: white;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #d4af37;
}

.pro-image-container {
    position: relative;
    height: 300px;
    background: #f9f9f9;
    overflow: hidden;
}

.pro-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pro-card:hover .pro-image-container img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Badge (Vegan/Leather) */
.badge-material {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pro-details { padding: 25px; }

.pro-meta {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pro-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.pro-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    height: 40px; /* Limits height to keep cards aligned */
    overflow: hidden;
}

.pro-specs {
    display: flex;
    justify-content: space-between;
    background: #fbfbfb;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.spec-item { display: flex; flex-direction: column; font-size: 0.8rem; }
.spec-item span { color: #999; margin-bottom: 2px; }

.btn-add-quote {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-add-quote:hover {
    background: #333;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .catalog-container { flex-direction: column; }
    .catalog-sidebar { width: 100%; position: static; }
    .filter-btn { display: inline-block; width: auto; margin-right: 15px; border: 1px solid #ddd; padding: 5px 15px; border-radius: 20px; }
}

/* General Reset and Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Microsoft standard font stack */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f3f2f1;
}

/* --- Navbar Container --- */
.outlook-navbar {
    background-color: #ffffff;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* --- Logo Styling --- */
.brand-logo {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    color: #323130; /* Outlook Dark Gray */
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    background-color: #0078D4; /* Outlook Blue */
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px; /* Slight rounded corners */
}

/* --- Mobile Menu Button (Hamburger) --- */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0078D4;
    transition: 0.3s;
}

/* Animation for X shape when open */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Navigation Menu (Mobile View) --- */
.nav-menu {
    position: absolute;
    top: 60px; /* Directly below the navbar */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #edebe9;
    
    /* Hiding logic */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

/* The class JS will add to show the menu */
.nav-menu.active {
    max-height: 400px; /* Adjust based on number of links */
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.nav-link {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #323130;
    font-size: 1rem;
    border-bottom: 1px solid #f3f2f1;
}

.nav-link:hover {
    color: #0078D4;
    background-color: #f3f2f1;
    padding-left: 10px; /* Visual feedback slide */
    transition: 0.2s;
}

/* --- Request Quote Button --- */
.quote-item {
    margin-top: 1rem;
}

.btn-request-quote {
    display: block;
    text-align: center;
    background-color: #0078D4; /* Outlook Blue */
    color: white;
    text-decoration: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 2px; /* Microsoft style square/slight radius */
    transition: background 0.2s;
}

.btn-request-quote:hover {
    background-color: #005a9e; /* Darker blue on hover */
}

/* --- Desktop Tweaks (Optional: to make it look okay on PC too) --- */
@media (min-width: 768px) {
    .menu-toggle {
        display: none; /* Hide hamburger on desktop */
    }
    
    .nav-menu {
        position: static;
        max-height: none;
        width: auto;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    .nav-list {
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 20px;
    }
    
    .nav-link {
        border-bottom: none;
        padding: 0;
    }

    .nav-link:hover {
        padding-left: 0;
        background: none;
    }
    
    .quote-item {
        margin-top: 0;
    }
    
    .btn-request-quote {
        padding: 8px 16px;
    }
}

/* Scroll Animation Classes */
/* Scroll Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* =========================================
   MOBILE / RESPONSIVE STYLES (Moved to Bottom)
   ========================================= */
@media (max-width: 768px) {
    /* 1. LAYOUT FIXES from previous task */
    .nav-container {
        padding: 0 20px;
        display: flex; /* Switch to flex on mobile */
        justify-content: space-between; /* Logo left, Hamburger right */
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important; 
        margin-bottom: 20px;
    }
    .hero-content p {
        font-size: 1rem !important;
        padding: 0 20px;
    }
    
    .features-grid { padding: 40px 20px; }
    .split-showcase { height: auto; }
    .split-item { min-height: 300px; }
    .cta-section { padding: 60px 20px; }
    .catalog-container { padding: 20px; }
    
    /* Force single column grids to fix "halfed" issue */
    .product-grid, .catalog-grid, .features-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }

    /* 2. MOBILE MENU */
    
    /* Show the hamburger button */
    .menu-toggle {
        display: flex; /* Visible on mobile */
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1002; /* Above menu */
        margin-left: auto; /* Push to far right */
    }
    .menu-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #333;
        transition: 0.3s;
    }

    /* Animate Hamburger to X */
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Hide the nav links by default */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Push below navbar */
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
        gap: 25px;
        z-index: 1001;
    }
    
    /* Show when active */
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Show Request Quote inside the mobile menu at the bottom */
    /* Show Request Quote inside the mobile menu at the bottom */
    /* Hide the original one in the header grid */
    .nav-container > .nav-actions {
        display: none;
    }

    /* Style the one moved into the menu */
    .nav-menu .nav-actions {
        display: block; 
        width: 100%;
        padding: 0 40px;
        box-sizing: border-box;
        margin-top: 20px;
    }
    
    .btn-quote-modern {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* Ensure hamburger is hidden on desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}