/* Responsive styles moved to bottom of file */
:root {
    --color-gold: #D4AF37;
    --color-gold-hover: #b5952f;
    --color-dark: #0a0a0a;
    --color-dark-grey: #1a1a1a;
    --color-light: #f9f9f9;
    --color-text: #333;
    --color-text-light: #666;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-standard: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
    background-color: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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 --- */

/* 1. HERO SECTION */
.hero {
    height: 100vh; /* Full screen impact */
    background-image: url('images/Factory.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Fix for iOS/Mobile where fixed background disappears */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
    }
}

/* Gradient Overlay for better depth and text contrast */
.hero-overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin: 0 0 25px 0;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 50px auto;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}
.scroll-indicator .arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, white, transparent);
}

/* 2. STATS BAR */
.stats-bar {
    background: var(--color-dark);
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* 3. FEATURES SECTION */
.features-section {
    padding: 120px 20px;
    background: white;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.separator-gold {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-item {
    background: white;
    padding: 40px;
    border: 1px solid #eee;
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
    color: var(--color-gold);
    margin-bottom: 25px;
    transition: transform 0.5s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.feature-item p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===== SPLIT SHOWCASE ===== */
.split-showcase {
    display: flex;
    width: 100%;
    min-height: 80vh;
    gap: 2rem;
    padding: 2rem;
}

.split-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

/* ===== BLURRED BACKGROUND ===== */
.split-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(5.6);
    transform: scale(1.2); /* avoid blur edges */
    z-index: 1;
}

/* ===== IMAGE CONTAINER ===== */
.split-img-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-img-container img {
    width: 95%;
    height: auto;
    max-height: 95%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)) brightness(1.2) saturate(1.1);
    transition: transform 0.6s ease;
}

/* ===== CLICKABLE LAYER ===== */
.split-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    text-decoration: none;
    color: inherit;
}

/* ===== OVERLAY ===== */
.split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.6)
    );
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* ===== CONTENT ===== */
.split-content {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 4;
    color: #fff;
    max-width: 70%;
}

.collection-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.8;
    text-transform: uppercase;
}

.split-content h2 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.split-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.btn-explore-line {
    margin-top: 1rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

.btn-explore-line::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 1px;
    background: #fff;
    transition: width 0.4s ease;
}

/* ===== HOVER MAGIC ===== */
.split-item:hover img {
    transform: scale(1.05);
}

.split-item:hover .split-overlay {
    opacity: 1;
}

.split-item:hover .btn-explore-line::after {
    width: 80px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .split-showcase {
        flex-direction: column;
        min-height: auto;
    }

    .split-item {
        min-height: 60vh;
    }

    .split-content {
        max-width: 90%;
    }
}


/* 5. CTA SECTION */
.cta-section {
    padding: 140px 20px;
    text-align: center;
    background-color: var(--color-light);
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

/* BUTTONS */
.btn {
    text-decoration: none;
    padding: 18px 40px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: inline-block;
    transition: var(--transition-standard);
    border: none;
    cursor: pointer;
    border-radius: 50px; /* Circular/Pill shape */
}

.btn-primary, .btn-gold {
    background-color: var(--color-gold);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before, .btn-gold::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: white;
    z-index: -1;
    transition: var(--transition-standard);
}

.btn-primary:hover, .btn-gold:hover {
    color: var(--color-dark);
}

.btn-primary:hover::before, .btn-gold:hover::before {
    width: 100%;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}
.btn-outline:hover {
    border-color: white;
    background: white;
    color: var(--color-dark);
}

.btn-dark {
    background: var(--color-dark);
    color: white;
}
.btn-dark:hover {
    background: var(--color-gold);
    color: white;
}

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* --- 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: 50px; /* Circular border */
    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: #d4af37 !important; /* Golden text on hover */
    border-color: #d4af37; /* Optional: also make border gold */
    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; }
}

/* 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; 
        padding-left: 0; 
        padding-right: 0; 
        gap: 2px;
    }
    .split-item { 
        min-height: 50vh; 
        width: 100vw; 
        border-radius: 0;
    }
    .split-content {
        left: 1.5rem;
        bottom: 2rem;
        max-width: 85%;
    }
    .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. PREMIUM MOBILE MENU OVERLAY */
    
    /* Show the hamburger button */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        z-index: 2000; /* Must be above the full-screen menu */
        margin-left: auto;
    }
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #1a1a1a;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
    }

    /* Animate Hamburger to X */
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Full Screen Overlay */
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center vertical */
        align-items: center; /* Center horizontal */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 80px 20px 40px; /* Top padding clears the header area */
        box-sizing: border-box;
        text-align: center;
        gap: 30px;
        z-index: 1999; /* Below hamburger, above everything else */
        
        /* Hidden state details */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.95);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    /* Active State */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
    }
    
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s;
    }
    
    /* Staggered animation for links */
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .nav-links a {
        font-size: 1.75rem; /* Larger touch targets */
        font-weight: 500;
        color: #1a1a1a;
        letter-spacing: -0.5px;
        display: block;
        padding: 10px;
    }
    
    .nav-links a:hover {
        color: var(--color-gold);
    }
    
    /* Request Quote Button in Mobile Menu */
    .nav-container > .nav-actions {
        display: none; /* Hide original in header */
    }

    .nav-menu .nav-actions {
        display: block; 
        margin-top: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s;
        transition-delay: 0.3s; /* Show last */
    }
    .nav-links.active .nav-actions {
        opacity: 1;
        transform: translateY(0);
    }
    
    .btn-quote-modern {
        font-size: 1rem;
        padding: 16px 40px;
        background: #1a1a1a;
        color: white !important;
        border: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

/* Ensure hamburger is hidden on desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .split-img-container {
        padding-top: 2rem;
        align-items: flex-start;
        justify-content: center;
    }
    .split-img-container img {
        width: 90vw !important; /* 90vw centered */
        max-width: 90vw !important;
        max-height: 45vh; 
        height: auto;
        margin-left: 0;
        object-fit: contain;
    }
}

/* --- COMPANY PROFILE PAGE --- */
.profile-page-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 60px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    animation: fadeInUp 0.8s ease-out;
}

.profile-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.profile-header h1 {
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.profile-header p {
    margin: 5px 0;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.profile-section-title {
    text-align: center;
    color: var(--color-gold); 
    text-transform: uppercase;
    margin-bottom: 40px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.profile-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 10px auto 0;
}

.profile-intro {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-text);
    line-height: 1.8;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.detail-row {
    display: contents; /* Allows children to participate in the grid */
}

.detail-label {
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding-right: 20px;
    padding-top: 5px; 
}

.detail-content {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .profile-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .detail-row {
        display: block;
        margin-bottom: 20px;
    }
    .detail-label {
        display: block;
        margin-bottom: 5px;
        color: var(--color-gold);
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 5px;
    }
    .detail-content {
        margin-bottom: 10px;
        padding-left: 10px;
    }
    .profile-page-container {
        padding: 40px 25px;
        margin: 40px 15px;
    }
    .profile-header h1 {
        font-size: 2rem;
    }
}

/* --- ADDITIONAL RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    /* Stack Stats Bar vertically on mobile */
    .stats-bar {
        flex-direction: column !important; /* Force column */
        gap: 30px;
        padding: 40px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem; /* Slightly smaller on mobile */
    }

    /* Adjust Hero Title size */
    .hero-content h1 {
        font-size: 2.8rem; /* Prevent overflow */
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Adjust Company Profile container */
    .profile-page-container {
        margin: 20px 10px; /* Less margin on sides */
        padding: 30px 20px;
    }
}
