/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --primary-color: #560319;       /* Dark Scarlet */
    --secondary-color: #5E6B4F;     /* Deep Olive Green */
    --accent-color: #A3B18A;        /* Muted Sage Green */
    --highlight-color: #C2A878;     /* Soft Gold */
    --text-color: #1F1F1F;          /* Charcoal Black */
    --bg-color: #FFFFFF;            /* White */
    --bg-light: #F7F2EF;            /* Warm Cream */
    --card-bg: #FFFFFF;
    --header-bg: #560319;
    --footer-bg: #560319;
    --border-color: #E5E5E5;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --primary-color: #A3B18A;       /* Muted Sage Green */
    --secondary-color: #5E6B4F;     /* Deep Olive Green */
    --accent-color: #560319;        /* Dark Scarlet */
    --highlight-color: #C2A878;     /* Soft Gold */
    --text-color: #F7F2EF;          /* Warm Cream */
    --bg-color: #1F1F1F;            /* Charcoal Black */
    --bg-light: #2D2D2D;            /* Dark Gray */
    --card-bg: #2D2D2D;
    --header-bg: #5E6B4F;           /* Deep Olive Green */
    --footer-bg: #5E6B4F;           /* Deep Olive Green */
    --border-color: #404040;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: var(--transition);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(194, 168, 120, 0.3);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
    opacity: 0.5;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 30px;
    height: 90px;
}

.logo {
    flex: 0 0 auto;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--highlight-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: var(--highlight-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1.5rem;
}

.dark-mode-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(15deg);
    border-color: var(--highlight-color);
}

.dark-mode-toggle i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--highlight-color);
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2.5px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation - Slide from Right */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, var(--header-bg) 0%, rgba(86, 3, 25, 0.98) 100%);
    padding: 100px 30px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
}

[data-theme="dark"] .mobile-nav {
    background: linear-gradient(135deg, var(--header-bg) 0%, rgba(94, 107, 79, 0.98) 100%);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-link {
    display: block;
    color: white;
    padding: 18px 15px;
    font-weight: 600;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--highlight-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--highlight-color);
    background-color: rgba(255, 255, 255, 0.08);
    padding-left: 25px;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    transform: scaleY(1);
}

/* Main Content */
main {
    margin-top: 90px;
    min-height: calc(100vh - 200px);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 20px;
    transition: var(--transition);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--highlight-color);
}

.footer-links ul,
.footer-products ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--highlight-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p i {
    margin-top: 4px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--highlight-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Google Translate Widget */
.translate-container,
.mobile-translate-container {
    display: flex;
    align-items: center;
}

.goog-te-combo {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.goog-te-combo:hover {
    border-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .dark-mode-toggle {
        margin-left: auto;
        margin-right: 15px;
    }

    .header .container {
        padding: 1rem 20px;
        height: 80px;
    }

    .logo-img {
        height: 55px;
    }

    main {
        margin-top: 80px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .header .container {
        height: 75px;
        padding: 1rem 15px;
    }

    .logo-img {
        height: 50px;
    }

    main {
        margin-top: 75px;
    }

    .container {
        padding: 0 15px;
    }

    .mobile-nav {
        width: 100%;
        max-width: none;
        padding: 90px 25px 40px;
    }

    .mobile-nav-link {
        font-size: 1.15rem;
        padding: 15px 12px;
    }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(86, 3, 25, 0.6); /* Dark Scarlet with 60% opacity */
    transition: var(--transition);
}

[data-theme="dark"] .hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--secondary-color); /* Deep Olive */
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color); /* Muted Sage */
    color: var(--text-color);
}

[data-theme="dark"] .btn-primary {
    background-color: var(--accent-color); /* Muted Sage */
    color: var(--text-color);
}

[data-theme="dark"] .btn-primary:hover {
    background-color: var(--secondary-color); /* Deep Olive */
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

[data-theme="dark"] .btn-secondary {
    color: white;
    border-color: white;
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

[data-theme="dark"] .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--highlight-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* === FEATURED PRODUCTS === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--highlight-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-description {
    margin-bottom: 20px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.product-features i {
    color: var(--highlight-color);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* === WHY CHOOSE US === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* === STATS SECTION === */
.stats-section {
    background-color: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--highlight-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* === PARTNER SECTION === */
.partner-section {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(247, 242, 239, 0.8) 100%);
}

[data-theme="dark"] .partner-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(45, 45, 45, 0.8) 100%);
}

.partner-content {
    max-width: 800px;
    margin: 0 auto;
}

.partner-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.partner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.partner-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partner-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-feature i {
    color: var(--highlight-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.partner-feature span {
    font-size: 1.1rem;
}

/* === INQUIRY SECTION === */
.inquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.inquiry-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.inquiry-info p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

/* === FORM STYLES === */
.inquiry-form-container {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.inquiry-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

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

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* === FOOTER UPDATES === */
.footer-description {
    margin-top: 10px;
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-products h3 {
    color: var(--highlight-color);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .inquiry-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partner-features {
        text-align: left;
    }

    .partner-feature {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .partner-feature i {
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .inquiry-form-container {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }

    .social-links {
        justify-content: center;
    }
}

/* === PRODUCTS PAGE === */
.page-header {
    padding: 100px 0 60px;
    background-color: var(--bg-light);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* All Products Grid */
.all-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.product-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-item-image {
    height: 200px;
    overflow: hidden;
}

.product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-item-image img {
    transform: scale(1.05);
}

.product-item-content {
    padding: 25px;
}

.product-item-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-item-description {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-item-features span {
    background-color: var(--bg-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.product-item-cta {
    display: flex;
    gap: 10px;
}

/* === INDIVIDUAL PRODUCT PAGE === */
.product-detail {
    padding: 100px 0 60px;
}

.product-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

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

.product-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbnail.active {
    border-color: var(--primary-color);
}

.product-thumbnail:hover {
    border-color: var(--accent-color);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-highlights {
    margin-bottom: 30px;
}

.product-highlights h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.highlights-list {
    list-style: none;
}

.highlights-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.highlights-list i {
    color: var(--highlight-color);
}

.product-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Specifications Table */
.specifications {
    margin: 80px 0;
}

.specifications h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.spec-table th,
.spec-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.spec-table th {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    width: 30%;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-table .spec-value {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Packaging Details */
.packaging-details {
    margin: 80px 0;
}

.packaging-details h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

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

.packaging-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.packaging-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.packaging-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.packaging-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.packaging-table th,
.packaging-table td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.packaging-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

/* Applications Section */
.applications {
    margin: 80px 0;
}

.applications h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

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

.application-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.application-card:hover {
    transform: translateY(-5px);
}

.application-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.application-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.application-card p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Quality Standards */
.quality-standards {
    margin: 80px 0;
    background-color: var(--bg-light);
    padding: 60px;
    border-radius: 10px;
}

.quality-standards h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

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

.standard-item {
    text-align: center;
    padding: 20px;
}

.standard-icon {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
}

.standard-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.standard-item p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Call to Action */
.product-cta {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a0114 100%);
    color: white;
    border-radius: 10px;
    margin: 80px 0;
}

.product-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.product-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.product-cta .btn {
    background-color: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.product-cta .btn:hover {
    background-color: var(--highlight-color);
}

/* Responsive for Product Pages */
@media (max-width: 992px) {
    .product-detail-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-main-image {
        height: 350px;
    }

    .packaging-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .all-products-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .spec-table th,
    .spec-table td {
        padding: 15px 10px;
        font-size: 0.95rem;
    }

    .product-cta {
        padding: 40px 20px;
    }

    .product-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .product-thumbnails {
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-cta h2 {
        font-size: 1.8rem;
    }

    .quality-standards {
        padding: 40px 20px;
    }
}

/* === ABOUT PAGE === */
.about-hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(rgba(86, 3, 25, 0.8), rgba(86, 3, 25, 0.9)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

[data-theme="dark"] .about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Story Section */
.story-section {
    padding: 100px 0;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
}

.story-text p {
    margin-bottom: 20px;
}

.story-highlight {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 5px solid var(--primary-color);
}

.story-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Mission & Values */
.mission-values {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.mission-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mission-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.mission-card p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--bg-light);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-description {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* === INQUIRY PAGE === */
.inquiry-hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(rgba(94, 107, 79, 0.8), rgba(94, 107, 79, 0.9)), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

[data-theme="dark"] .inquiry-hero {
    background: linear-gradient(rgba(45, 45, 45, 0.8), rgba(45, 45, 45, 0.9)), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.inquiry-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.inquiry-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Methods */
.contact-methods {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* Inquiry Form Full Width */
.inquiry-form-full {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.inquiry-form-full .container {
    max-width: 800px;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Steps */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.form-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--border-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
}

.form-step.active .step-number {
    background-color: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.form-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
    opacity: 1;
}

/* Form Sections */
.form-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* Business Hours */
.business-hours {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: var(--shadow);
}

.business-hours h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

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

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-day {
    font-weight: 600;
    color: var(--primary-color);
}

.hour-time {
    color: var(--text-color);
    opacity: 0.8;
}

/* Responsive for About & Inquiry Pages */
@media (max-width: 768px) {
    .about-hero h1,
    .inquiry-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p,
    .inquiry-hero p {
        font-size: 1.1rem;
    }

    .story-highlight {
        padding: 25px;
    }

    .form-steps {
        flex-direction: column;
        gap: 30px;
    }

    .form-steps::before {
        display: none;
    }

    .form-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero,
    .inquiry-hero {
        padding: 120px 0 60px;
    }

    .about-hero h1,
    .inquiry-hero h1 {
        font-size: 2rem;
    }

    .mission-card,
    .contact-card {
        padding: 25px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .business-hours {
        padding: 25px;
    }
}

/* === FINAL POLISH & ENHANCEMENTS === */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--highlight-color);
    outline-offset: 2px;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 350px;
    border-left: 4px solid var(--primary-color);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #23d160;
}

.toast.error {
    border-left-color: #ff3860;
}

.toast.warning {
    border-left-color: #ffdd57;
}

.toast.info {
    border-left-color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .dark-mode-toggle,
    .mobile-menu-toggle,
    .google-translate-widget {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000 !important;
        background: #fff !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }

    .product-cta,
    .hero-buttons,
    .product-actions,
    .form-navigation {
        display: none !important;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy Loading Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Google Translate Widget Improvements */
.goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 5px !important;
    padding: 8px 12px !important;
    color: var(--text-color) !important;
    transition: var(--transition) !important;
}

.goog-te-gadget-simple:hover {
    border-color: var(--primary-color) !important;
}

.goog-te-menu-value span {
    color: var(--text-color) !important;
}

.goog-te-menu-value span:first-child {
    color: var(--primary-color) !important;
}

.goog-te-menu-frame {
    max-width: 300px !important;
    border-radius: 5px !important;
    box-shadow: var(--shadow) !important;
    border: 1px solid var(--border-color) !important;
}

/* Form Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff3860 !important;
    background-color: rgba(255, 56, 96, 0.05) !important;
}

.field-error {
    color: #ff3860 !important;
    font-size: 0.85rem !important;
    margin-top: 5px !important;
    display: block;
}

/* Success States */
.form-success {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-success i {
    color: #23d160;
    font-size: 3rem;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-success p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Product Quick View Modal */
.product-quick-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-quick-view.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-quick-view.active .quick-view-content {
    transform: translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.quick-view-close:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Enhanced Transitions */
.product-card,
.feature-card,
.contact-card,
.mission-card {
    will-change: transform;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-color: #000000;
        --border-color: #000000;
    }

    [data-theme="dark"] {
        --primary-color: #ffffff;
        --text-color: #ffffff;
        --border-color: #ffffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Specific Enhancements */
[data-theme="dark"] {
    /* Improve text readability in dark mode */
    .hero-subtitle,
    .section-subtitle,
    .product-description,
    .feature-card p,
    .mission-card p,
    .contact-card p {
        opacity: 0.9;
    }

    /* Adjust shadows for dark mode */
    .product-card,
    .feature-card,
    .contact-card,
    .mission-card,
    .inquiry-form-container {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    /* Improve form contrast */
    .form-group input,
    .form-group select,
    .form-group textarea {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile */
    .product-card:hover,
    .feature-card:hover,
    .contact-card:hover,
    .mission-card:hover {
        transform: none;
    }

    /* Optimize images for mobile */
    .product-image,
    .product-main-image {
        height: 200px;
    }

    /* Reduce padding on mobile */
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }
}

/* Print Links */
@media print {
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
        font-weight: normal;
    }

    .no-print {
        display: none !important;
    }
}

/* Custom Checkboxes and Radios */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.custom-checkbox input {
    display: none;
}

.checkbox-mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.custom-checkbox input:checked + .checkbox-mark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox input:checked + .checkbox-mark::after {
    content: '✓';
    color: white;
    font-size: 0.9rem;
}

.custom-checkbox:hover .checkbox-mark {
    border-color: var(--primary-color);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-align: center;
    padding: 8px 12px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
    font-weight: normal;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-color) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* 404 Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.8;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .error-content h1 {
        font-size: 6rem;
    }

    .error-content h2 {
        font-size: 2rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* === CUSTOM TRANSLATE DROPDOWN === */
.custom-translate {
    position: relative;
    display: inline-block;
}

.translate-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background-color: var(--cream-white);
    border: 1px solid var(--sage-green);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
    white-space: nowrap;
}

.translate-trigger:hover {
    background-color: var(--sage-green);
    color: white;
}

.translate-trigger .flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.translate-trigger .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.custom-translate.active .translate-trigger .arrow {
    transform: rotate(180deg);
}

.translate-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: var(--cream-white);
    border: 1px solid var(--sage-green);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.custom-translate.active .translate-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.translate-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.translate-option:hover {
    background-color: var(--sage-green);
    color: white;
}

.translate-option.active {
    background-color: var(--primary-color);
    color: white;
}

.translate-option .flag-icon {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Dark mode styles */
[data-theme="dark"] .translate-trigger {
    background-color: var(--dark-charcoal);
    border-color: var(--sage-green);
    color: var(--dark-text);
}

[data-theme="dark"] .translate-trigger:hover {
    background-color: var(--sage-green);
    color: white;
}

[data-theme="dark"] .translate-dropdown {
    background-color: var(--dark-charcoal);
    border-color: var(--sage-green);
}

[data-theme="dark"] .translate-option {
    color: var(--dark-text);
}

[data-theme="dark"] .translate-option:hover {
    background-color: var(--sage-green);
    color: white;
}

/* Mobile translate styles */
.mobile-translate-container {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-translate-container .custom-translate {
    width: 100%;
}

.mobile-translate-container .translate-trigger {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.mobile-translate-container .translate-trigger:hover {
    background-color: var(--sage-green);
}

.mobile-translate-container .translate-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    right: auto;
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
}

.mobile-translate-container .custom-translate.active .translate-dropdown {
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .translate-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-translate-container .translate-dropdown {
        width: 260px;
    }
}
/* ======================
   GALLERY PREVIEW SECTION (Homepage)
   ====================== */
.gallery-preview {
    background-color: var(--bg-light);
}

.gallery-preview .section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(86, 3, 25, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .gallery-overlay {
    background: rgba(94, 107, 79, 0.7);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-cta {
    text-align: center;
}

/* Gallery responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================
   GALLERY PAGE STYLES
   ====================== */
.gallery-header {
    background: linear-gradient(135deg, var(--header-bg) 0%, rgba(86, 3, 25, 0.9) 100%);
    padding: 120px 0 80px;
    text-align: center;
}

[data-theme="dark"] .gallery-header {
    background: linear-gradient(135deg, var(--header-bg) 0%, rgba(94, 107, 79, 0.9) 100%);
}

.gallery-header .page-title {
    color: white;
    margin-bottom: 15px;
}

.gallery-header .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    border-color: white;
}

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

.gallery-section {
    background-color: var(--bg-light);
    padding: 60px 0 100px;
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 250px;
}

.masonry-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.masonry-item.tall {
    grid-row: span 2;
}

.masonry-item.wide {
    grid-column: span 2;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masonry-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(86, 3, 25, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .masonry-overlay {
    background: linear-gradient(to top, rgba(94, 107, 79, 0.95) 0%, transparent 60%);
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.masonry-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.masonry-item:hover .masonry-overlay h3,
.masonry-item:hover .masonry-overlay p {
    transform: translateY(0);
}

.gallery-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.masonry-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-zoom:hover {
    background: white;
    color: var(--primary-color);
}

/* Masonry responsive */
@media (max-width: 992px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .masonry-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .masonry-item.tall,
    .masonry-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ======================
   LIGHTBOX MODAL
   ====================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: white;
    padding: 20px;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.7);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* ======================
   PRODUCTS PAGE HERO
   ====================== */
.products-hero {
    height: 50vh;
    min-height: 400px;
    background-image: url('images/products-hero.jpg?v=2');
    background-size: cover;
    background-position: center;
}

.products-hero .hero-title {
    font-size: 3rem;
}

.products-hero .hero-subtitle {
    max-width: 650px;
}

@media (max-width: 768px) {
    .products-hero {
        height: 40vh;
        min-height: 300px;
    }

    .products-hero .hero-title {
        font-size: 2.2rem;
    }
}

/* ======================
   PRODUCT CARD COLOR THEMES
   ====================== */

/* Hibiscus - Deep Maroon/Crimson */
.product-hibiscus {
    border-top: 4px solid #8B1538;
}

.product-hibiscus .product-item-content h3 {
    color: #8B1538;
}

.product-hibiscus .product-item-features span {
    background-color: rgba(139, 21, 56, 0.1);
    color: #8B1538;
}

[data-theme="dark"] .product-hibiscus .product-item-features span {
    background-color: rgba(139, 21, 56, 0.25);
    color: #E8A4B4;
}

.btn-hibiscus {
    background-color: #8B1538;
    color: white;
    border: 2px solid #8B1538;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hibiscus:hover {
    background-color: #6A102A;
    border-color: #6A102A;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 21, 56, 0.4);
}

.btn-hibiscus-outline {
    background-color: transparent;
    color: #8B1538;
    border: 2px solid #8B1538;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hibiscus-outline:hover {
    background-color: #8B1538;
    color: white;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-hibiscus-outline {
    color: #E8A4B4;
    border-color: #E8A4B4;
}

[data-theme="dark"] .btn-hibiscus-outline:hover {
    background-color: #8B1538;
    border-color: #8B1538;
    color: white;
}

/* Sesame - Warm Golden/Amber */
.product-sesame {
    border-top: 4px solid #B8860B;
}

.product-sesame .product-item-content h3 {
    color: #8B6914;
}

.product-sesame .product-item-features span {
    background-color: rgba(184, 134, 11, 0.1);
    color: #8B6914;
}

[data-theme="dark"] .product-sesame .product-item-features span {
    background-color: rgba(184, 134, 11, 0.25);
    color: #DAA520;
}

.btn-sesame {
    background-color: #B8860B;
    color: white;
    border: 2px solid #B8860B;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sesame:hover {
    background-color: #996F0A;
    border-color: #996F0A;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.4);
}

.btn-sesame-outline {
    background-color: transparent;
    color: #8B6914;
    border: 2px solid #B8860B;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sesame-outline:hover {
    background-color: #B8860B;
    color: white;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-sesame-outline {
    color: #DAA520;
    border-color: #DAA520;
}

[data-theme="dark"] .btn-sesame-outline:hover {
    background-color: #B8860B;
    border-color: #B8860B;
    color: white;
}

/* Peanuts - Earthy Brown/Tan */
.product-peanuts {
    border-top: 4px solid #8B4513;
}

.product-peanuts .product-item-content h3 {
    color: #8B4513;
}

.product-peanuts .product-item-features span {
    background-color: rgba(139, 69, 19, 0.1);
    color: #8B4513;
}

[data-theme="dark"] .product-peanuts .product-item-features span {
    background-color: rgba(139, 69, 19, 0.25);
    color: #D2B48C;
}

.btn-peanuts {
    background-color: #8B4513;
    color: white;
    border: 2px solid #8B4513;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-peanuts:hover {
    background-color: #6B3410;
    border-color: #6B3410;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.4);
}

.btn-peanuts-outline {
    background-color: transparent;
    color: #8B4513;
    border: 2px solid #8B4513;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-peanuts-outline:hover {
    background-color: #8B4513;
    color: white;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-peanuts-outline {
    color: #D2B48C;
    border-color: #D2B48C;
}

[data-theme="dark"] .btn-peanuts-outline:hover {
    background-color: #8B4513;
    border-color: #8B4513;
    color: white;
}

/* Enhanced Product Cards Layout */
.all-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.all-products-grid .product-item {
    display: flex;
    flex-direction: column;
}

.all-products-grid .product-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.all-products-grid .product-item-cta {
    margin-top: auto;
    padding-top: 15px;
}

@media (max-width: 992px) {
    .all-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .all-products-grid {
        grid-template-columns: 1fr;
    }

    .all-products-grid .product-item-cta {
        flex-direction: column;
    }

    .all-products-grid .product-item-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ======================
   DARK MODE STATS FIX
   ====================== */
[data-theme="dark"] .stat-number {
    color: #DAA520;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .stats-section {
    background-color: #2D3A2E;
}

/* ======================
   PRODUCT CARDS VERTICAL STACK
   ====================== */
.all-products-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.all-products-grid .product-item {
    display: flex;
    flex-direction: row;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.all-products-grid .product-item-image {
    width: 40%;
    min-width: 280px;
    height: auto;
    min-height: 280px;
}

.all-products-grid .product-item-content {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.all-products-grid .product-item-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.all-products-grid .product-item-description {
    font-size: 1.05rem;
    line-height: 1.7;
}

.all-products-grid .product-item-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: auto;
    padding-top: 20px;
}

.all-products-grid .product-item-cta .btn {
    min-width: 160px;
    text-align: center;
}

@media (max-width: 768px) {
    .all-products-grid .product-item {
        flex-direction: column;
        width: 95%;
    }

    .all-products-grid .product-item-image {
        width: 100%;
        min-width: unset;
        height: 220px;
    }

    .all-products-grid .product-item-content {
        padding: 25px;
    }

    .all-products-grid .product-item-content h3 {
        font-size: 1.5rem;
    }

    .all-products-grid .product-item-cta {
        flex-direction: column;
    }

    .all-products-grid .product-item-cta .btn {
        width: 100%;
    }
}

/* ======================
   ABOUT PAGE IMAGE SECTIONS
   ====================== */
.about-hero {
    background-image: url('images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 150px 0 100px;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(86, 3, 25, 0.85) 0%, rgba(94, 107, 79, 0.8) 100%);
}

[data-theme="dark"] .about-hero::before {
    background: linear-gradient(135deg, rgba(45, 58, 46, 0.9) 0%, rgba(30, 30, 30, 0.85) 100%);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Image + Text Sections */
.story-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.story-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.story-row.reverse {
    flex-direction: row-reverse;
}

.story-image {
    flex: 0 0 45%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-text-content {
    flex: 1;
}

.story-text-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.story-text-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.story-highlight {
    background: linear-gradient(135deg, rgba(86, 3, 25, 0.05) 0%, rgba(194, 168, 120, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
}

[data-theme="dark"] .story-highlight {
    background: linear-gradient(135deg, rgba(94, 107, 79, 0.2) 0%, rgba(194, 168, 120, 0.1) 100%);
    border-left-color: var(--highlight-color);
}

.story-highlight h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Why Choose Us - Image Above */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.why-choose-image {
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.why-choose-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Process/Team Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    text-align: center;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-card-image {
    height: 200px;
    overflow: hidden;
}

.process-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.process-card:hover .process-card-image img {
    transform: scale(1.1);
}

.process-card-content {
    padding: 25px;
}

.process-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.process-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .story-row,
    .story-row.reverse {
        flex-direction: column;
    }

    .story-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .story-image img {
        height: 300px;
    }

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

    .about-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .why-choose-image img {
        height: 250px;
    }
}
