/*
Theme Name: IndoFoodExport
Theme URI: https://indoexport-foods.com
Author: IndoExport
Author URI: https://indoexport-foods.com
Description: Premium Indonesian Food & Beverage Export theme with pure CSS styling.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indofoodexport
*/

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    --primary: #ee9d2b;
    --primary-rgb: 238, 157, 43;
    --bg-light: #f8f7f6;
    --bg-dark: #221a10;
    --chocolate-deep: #3d2b1f;
    --chocolate-muted: #5a4638;
    --cream: #FFFDF5;
    --white: #ffffff;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;

    --font-display: 'Work Sans', sans-serif;
    --radius: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 10px 15px -3px rgba(var(--primary-rgb), 0.2);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-display);
    background-color: var(--bg-light);
    color: var(--chocolate-deep);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

::selection {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   Navigation
   ======================================== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem; /* h-20 = 80px */
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo__icon {
    background-color: var(--primary);
    padding: 0.375rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo__icon .material-icons {
    color: var(--white);
}

.site-logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--chocolate-deep);
    text-transform: uppercase;
}

.site-logo__text .highlight {
    color: var(--primary);
}

/* Desktop Nav Menu */
.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--chocolate-deep);
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Nav Menu - WordPress generated ul */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--chocolate-deep);
    transition: color 0.2s ease;
}

.nav-menu ul li a:hover {
    color: var(--primary);
}

/* CTA Button */
.nav-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-primary);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.nav-cta:hover {
    opacity: 0.9;
    color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--chocolate-deep);
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1rem;
    background-color: var(--white);
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.mobile-nav.is-open {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--chocolate-deep);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.05);
    transition: color 0.2s ease;
}

.mobile-nav a:hover {
    color: var(--primary);
}

/* Mobile Nav - WordPress generated ul */
.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--chocolate-deep);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.05);
    transition: color 0.2s ease;
}

.mobile-nav ul li a:hover {
    color: var(--primary);
}

.mobile-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background-color: var(--bg-light);
    padding: 3rem 0;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Footer Logo / About */
.footer-about {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .footer-about {
        grid-column: 1 / 2;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo__icon {
    background-color: var(--primary);
    padding: 0.375rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo__icon .material-icons {
    color: var(--white);
}

.footer-logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--chocolate-deep);
    text-transform: uppercase;
}

.footer-logo__text .highlight {
    color: var(--primary);
}

.footer-about p {
    color: var(--chocolate-muted);
    max-width: 24rem;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background-color: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.2s ease;
}

.footer-social a .material-icons {
    font-size: 1.125rem;
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Footer Columns */
.footer-col h4 {
    font-weight: 700;
    color: var(--chocolate-deep);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    color: var(--chocolate-muted);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

/* Footer Bottom Bar */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--chocolate-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--chocolate-muted);
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ========================================
   Content Area (Basic)
   ======================================== */
.site-content {
    min-height: 50vh;
    padding: 3rem 0;
}

.site-content .container {
    max-width: 960px;
}

/* WordPress post/page styles */
.entry-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--chocolate-deep);
    margin-bottom: 1rem;
}

.entry-content {
    color: var(--chocolate-muted);
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.25rem;
}

.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--chocolate-deep);
    margin: 2rem 0 1rem;
}

.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--chocolate-deep);
    margin: 1.5rem 0 0.75rem;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
}

.entry-content a:hover {
    opacity: 0.8;
}

.entry-content img {
    border-radius: var(--radius-xl);
    margin: 1.5rem 0;
}

.entry-content ul,
.entry-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.5rem;
}
