/* css/components.css - UI Components & Custom Micro-interactions */

/* ==========================================
   1. NAVIGATION HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(250, 247, 240, 0.85); /* Glassmorphism light */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-normal), border-color var(--transition-normal), height var(--transition-normal);
}

body.dark-theme .header {
    background-color: rgba(15, 28, 19, 0.85); /* Glassmorphism dark */
}

.header.scrolled {
    height: 70px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 52px;
    width: auto;
    border-radius: var(--border-radius-sm);
    transition: transform var(--transition-normal), height var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 44px;
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

/* Nav Menu Desktop */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

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

/* Controls (Theme Toggle & Mobile Menu Btn) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    background-color: var(--bg-tertiary);
    border-color: var(--accent-gold);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
    transition: fill var(--transition-fast);
}

/* Sun/Moon visibility */
.theme-toggle-btn .sun-icon { display: none; }
.theme-toggle-btn .moon-icon { display: block; }
body.dark-theme .theme-toggle-btn .sun-icon { display: block; }
body.dark-theme .theme-toggle-btn .moon-icon { display: none; }

/* Hamburger Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1010;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Hamburger active animation */
.menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 30px var(--shadow-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    list-style: none;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-color);
}

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

.mobile-nav .nav-link {
    font-size: 1.25rem;
}

/* Responsive Menu Triggers */
@media (max-width: 992px) {
    .nav-menu { display: none; }
    .menu-btn { display: flex; }
}


/* ==========================================
   2. BUTTONS & UI CONTROLS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-red);
    color: #ffffff;
    border: 1px solid var(--accent-red);
    box-shadow: 0 4px 14px var(--accent-red-rgba);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 29, 34, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--accent-gold-rgba);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 4px;
}


/* ==========================================
   3. HERO SECTION
   ========================================== */
.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(184, 142, 47, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(46, 125, 50, 0.05) 0%, transparent 50%);
    overflow: hidden;
}

body.dark-theme .hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(197, 155, 39, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.03) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--accent-gold-rgba);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--accent-red);
}

.hero-title em {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Animated visual container on Hero Right */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-backdrop {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px dashed var(--border-color);
    animation: rotateSlow 30s linear infinite;
}

.hero-logo-box {
    position: relative;
    padding: 24px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px var(--shadow-color);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.hero-logo-box .hero-logo-img {
    max-width: 280px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 12;
    animation: floatAnim 6s ease-in-out infinite;
}

.fb-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.fb-2 {
    bottom: -10px;
    right: -10px;
    animation-delay: 3s;
}

.fb-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.fb-dot.gold { background-color: var(--accent-gold); }

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
}

.scroll-indicator {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 3.2rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .hero-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-visual { order: -1; margin-bottom: 20px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-circle-backdrop { width: 300px; height: 300px; }
    .hero-logo-box .hero-logo-img { max-width: 200px; }
}


/* ==========================================
   4. STATS SECTION
   ========================================== */
.stats-section {
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 20;
}

.stats-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform var(--transition-normal);
}

.stats-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.75rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: 800;
    margin-bottom: 4px;
    display: inline-block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==========================================
   5. INTERACTIVE PRODUCT CATALOG
   ========================================== */
/* Tab Bar */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1px;
}

.tab-btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

/* Product Content Panels */
.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

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

/* Product Cards */
.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

/* Product Image Area (Real Photo or Emoji Placeholder) */
.product-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    flex-shrink: 0;
}

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

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
}

.product-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    background-color: rgba(24, 45, 30, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #faf7f0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    z-index: 2;
}

.product-img-wrap-lg {
    height: 250px;
}

.potato-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
}

.potato-cta-row {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .product-img-wrap {
        height: 180px;
    }
    .product-img-wrap-lg {
        height: 200px;
    }
    .product-img-placeholder {
        font-size: 2.75rem;
    }
    .potato-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .potato-cta-row {
        flex-direction: column;
    }
}

.product-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tag {
    align-self: flex-start;
    padding: 4px 10px;
    background-color: var(--accent-green-rgba);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Product Spec Table Summary in Card */
.card-spec-list {
    list-style: none;
    margin-bottom: 28px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.card-spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(184, 142, 47, 0.1);
}

.card-spec-item strong {
    color: var(--text-primary);
}

.card-spec-item span {
    color: var(--text-secondary);
    font-weight: 500;
}

.product-card .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .product-tabs {
        flex-direction: column;
        align-items: stretch;
        border-bottom: none;
    }
    .tab-btn {
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid transparent;
        padding: 10px;
    }
    .tab-btn.active {
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid var(--accent-red);
    }
}


/* ==========================================
   6. SUPPLY CHAIN PIPELINE
   ========================================== */
.scm-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 40px;
}

/* Connecting Line */
.scm-flow::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 5%;
    width: 90%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.scm-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
    padding: 0 12px;
}

.scm-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

.scm-step:hover .scm-icon-wrapper {
    transform: scale(1.1);
    border-color: var(--accent-red);
    background-color: var(--accent-gold-rgba);
}

.scm-icon-wrapper svg {
    width: 36px;
    height: 36px;
    fill: var(--accent-gold);
    transition: fill var(--transition-normal);
}

.scm-step:hover .scm-icon-wrapper svg {
    fill: var(--accent-red);
}

.scm-step-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.scm-step-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.scm-step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive SCM Flow */
@media (max-width: 992px) {
    .scm-flow {
        flex-direction: column;
        gap: 48px;
    }
    .scm-flow::after {
        top: 50px;
        left: 40px;
        width: 2px;
        height: calc(100% - 100px);
    }
    .scm-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        padding-left: 0;
    }
    .scm-icon-wrapper {
        margin-bottom: 0;
        margin-right: 24px;
        flex-shrink: 0;
    }
    .scm-step-details {
        display: flex;
        flex-direction: column;
    }
}


/* ==========================================
   7. CONTACT SECTION & FORM
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.contact-info-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.contact-info-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.c-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.c-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-gold);
}

.c-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.c-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form UI */
.contact-form-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(8px);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-rgba);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

@media (max-width: 768px) {
    .contact-info-card, .contact-form-container {
        padding: 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* ==========================================
   8. SPECIFICATION DETAILS MODAL
   ========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 45, 30, 0.4);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 680px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    animation: modalReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
}

.close-btn {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-btn:hover {
    color: var(--accent-red);
}

.modal-body {
    padding: 32px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Specs Table Layout inside Modal */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.specs-table th {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
}

.specs-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.specs-table td strong {
    color: var(--text-primary);
}

/* ==========================================
   9. FOOTER
   ========================================== */
.footer {
    background-color: #112015; /* Fixed dark forest green */
    color: #eae3d2;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(184, 142, 47, 0.15);
}

.footer h3, .footer h4 {
    color: #faf7f0;
    margin-bottom: 20px;
}

.footer p {
    color: #abbab0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-img {
    height: 60px;
    align-self: flex-start;
    border-radius: var(--border-radius-sm);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #abbab0;
}

.footer-link:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

/* Newsletter Input Form */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(184, 142, 47, 0.2);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    border-color: var(--accent-gold);
}

.newsletter-form .btn {
    padding: 12px 20px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #abbab0;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.social-icon:hover {
    transform: translateY(-2px);
    background-color: var(--accent-gold-rgba);
    border-color: var(--accent-gold);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: #eae3d2;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
