/* style.css - Clean & Fast Version */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --deep-green: #1a4d2e;
    --forest-green: #2d5a3d;
    --gold: #c9a961;
    --earth-brown: #6b4423;
    --cream: #faf8f3;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Back to clean system fonts */
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
}

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

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }

.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo-img { width: 70px; height: 70px; object-fit: contain; }
.logo-text h1 { font-size: 1.5rem; color: var(--deep-green); font-weight: 600; }
.logo-text p { font-size: 0.85rem; color: var(--gold); font-style: italic; }

nav ul { display: flex; list-style: none; gap: 2rem; }
nav a { color: var(--text-dark); text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover, nav a.active { color: var(--gold); }

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

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 600px; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
.slide.active { opacity: 1; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.9), rgba(45, 90, 61, 0.85));
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero h2 { font-size: 3.5rem; margin-bottom: 1rem; font-weight: 600; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero .tagline { font-size: 1.5rem; color: var(--gold); font-style: italic; margin-bottom: 1rem; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.hero .subtitle { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; }

/* Buttons */
.cta-button {
    display: inline-block; background: var(--gold); color: var(--white);
    padding: 1rem 2.5rem; text-decoration: none; border-radius: 50px;
    font-weight: 600; transition: all 0.3s; border: 2px solid transparent;
}
.cta-button:hover {
    transform: translateY(-3px); box-shadow: 0 10px 25px rgba(201,169,97,0.4);
    background: transparent; border-color: var(--gold); color: var(--gold);
}

/* Common Layouts */
.page-header { text-align: center; margin-bottom: 3rem; }
.page-title {
    font-size: 2.5rem; color: var(--deep-green); margin-bottom: 1rem;
    position: relative; display: inline-block;
}
.page-title::after {
    content: ''; display: block; width: 80px; height: 3px;
    background: var(--gold); margin: 0.5rem auto 0;
}
.about-intro { max-width: 800px; margin: 0 auto 3rem; text-align: center; font-size: 1.15rem; line-height: 1.8; color: var(--text-light); }
.about-intro p + p { margin-top: 1.5rem; }

/* Vision Box */
.vision-mission { background: var(--cream); padding: 3rem; border-radius: 15px; margin: 3rem 0; }
.vision-mission h3 { color: var(--deep-green); font-size: 1.8rem; margin-bottom: 1rem; }

/* Differentiators Grid */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
@media (min-width: 1200px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }
.diff-card {
    background: var(--white); padding: 2.5rem 2rem; border-radius: 10px;
    border-left: 5px solid var(--gold); transition: transform 0.3s, box-shadow 0.3s; height: 100%;
}
.diff-card:hover { transform: translateX(5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.diff-card h3 { color: var(--deep-green); margin-bottom: 1rem; font-size: 1.4rem; }

/* Products Section (Home Page Grid) */
.products-section { padding: 5rem 0; background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.product-card {
    background: var(--white); border-radius: 15px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.product-image {
    height: 250px; background: linear-gradient(135deg, var(--forest-green), var(--deep-green));
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 2rem; }
.product-info h3 { color: var(--deep-green); font-size: 1.6rem; margin-bottom: 0.5rem; }
.product-subtitle { color: var(--gold); font-style: italic; margin-bottom: 1rem; font-size: 1rem; }
.product-features { list-style: none; margin-top: 1rem; }
.product-features li { padding: 0.4rem 0; color: var(--text-light); border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.95rem; }
.product-features li:before { content: '✓ '; color: var(--gold); font-weight: bold; margin-right: 0.5rem; }

/* Contact Styles */
.contact-page { padding: 4rem 0; background: var(--white); }
.contact-container { max-width: 900px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.contact-card { background: var(--cream); padding: 2.5rem; border-radius: 15px; text-align: center; }
.contact-detail a { color: var(--gold); text-decoration: none; }
.contact-cta { background: var(--deep-green); color: var(--white); padding: 3rem; border-radius: 15px; text-align: center; margin-top: 3rem; }

/* Footer */
footer { background: var(--earth-brown); color: var(--cream); text-align: center; padding: 2rem 0; }

/* Mobile */
@media (max-width: 768px) {
    .mobile-menu { display: block; }
    nav ul {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); flex-direction: column; padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    nav ul.active { display: flex; }
    .hero h2 { font-size: 2rem; }
    .product-grid, .diff-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* --- SCROLL SNAP PRODUCTS STYLES (Keeping this for the Products Page you liked) --- */
body.snap-scroll { overflow: hidden; }
.scroll-container { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.product-screen {
    position: relative; height: 100vh; width: 100%; scroll-snap-align: start;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.product-screen::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 1; }
.glass-card {
    position: relative; z-index: 2; background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); padding: 3rem; border-radius: 20px;
    max-width: 600px; border-left: 5px solid var(--gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); margin: 0 20px;
    opacity: 0; transform: translateY(30px); transition: all 1s ease;
}
.product-screen:hover .glass-card, .product-screen.visible .glass-card { opacity: 1; transform: translateY(0); }
.glass-card h2 { color: var(--deep-green); font-size: 2.5rem; margin-bottom: 0.5rem; }
.glass-card .subtitle { color: var(--gold); font-style: italic; font-size: 1.2rem; margin-bottom: 1.5rem; display: block; }
.glass-card p { color: var(--text-dark); font-size: 1.1rem; margin-bottom: 1.5rem; }
.glass-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.glass-features li { font-size: 0.95rem; color: var(--text-light); display: flex; align-items: center; }
.glass-features li::before { content: '✦'; color: var(--gold); margin-right: 8px; font-size: 1.2rem; }
.scroll-indicator { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column; gap: 15px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 2px solid white; cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }
@media (max-width: 768px) {
    .glass-card { padding: 1.5rem; }
    .glass-card h2 { font-size: 1.8rem; }
    .glass-features { grid-template-columns: 1fr; }
    .scroll-indicator { display: none; }
}

/* --- About Page Enhancements --- */

/* About Page Hero Section */
.hero-about {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.9), rgba(45, 90, 61, 0.85)), url('images/placeholder-story.jpg') no-repeat center center;
    background-size: cover;
}

.hero-about .hero-title {
    font-size: 3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-about .hero-subtitle {
    font-size: 1.3rem;
    color: var(--gold);
    font-style: italic;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Content Sections on About Page */
.about-content {
    padding: 5rem 0;
    background: var(--white); /* White background for the main intro */
}

.our-story {
    padding: 5rem 0;
    background: var(--cream); /* Alternating color */
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.story-text .page-title {
    text-align: left;
}

.story-text .page-title::after {
    margin: 0.5rem 0 0; /* Align the underline to the left */
}

.story-text p {
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Values Section */
.about-values {
    padding: 5rem 0;
    background: var(--white);
}

.diff-card {
    text-align: center;
}

.diff-card:hover {
    transform: translateY(-5px); /* Consistent hover effect */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    /* In a real project, you would replace the placeholder text with actual icons, e.g., from Font Awesome */
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-about .hero-title {
        font-size: 2.2rem;
    }
}

/* --- DYNAMIC CATALOG STYLES --- */
.product-catalog-screen {
    background: var(--cream); /* Use a solid background color */
}

/* Remove the dark overlay from just this screen */
.product-catalog-screen::before {
    display: none;
}

.catalog-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    height: 90vh; /* Give it a bit of vertical padding */
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.catalog-card #dynamic-product-grid {
    flex-grow: 1; /* Allow the grid to take up available space */
    overflow-y: auto; /* Make the grid scrollable if content overflows */
    padding: 1rem; /* Add some padding inside the scroll area */
    
    /* Custom scrollbar for a cleaner look */
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.catalog-card #dynamic-product-grid::-webkit-scrollbar {
    width: 8px;
}

.catalog-card #dynamic-product-grid::-webkit-scrollbar-track {
    background: transparent;
}

.catalog-card #dynamic-product-grid::-webkit-scrollbar-thumb {
    background-color: var(--gold);
    border-radius: 10px;
}