/*
Theme Name: IndoCoffee Export
Theme URI: https://indocoffee.com
Author: Your Name
Author URI: https://indocoffee.com
Description: A modern WordPress theme for Indonesian coffee export business with custom utility-first CSS
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: indocoffe
*/

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

/* ========== CSS Variables ========== */
:root {
    --primary: #11d411;
    --primary-dark: #0db50d;
    --background-light: #f6f8f6;
    --background-dark: #102210;
    --surface-light: #ffffff;
    --surface-dark: #1a331a;
    --text-main: #111811;
    --text-sub: #556b55;
}

/* ========== Base Styles ========== */
body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.5;
}

/* ========== Layout & Display ========== */
.container { width: 100%; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

/* ========== Flexbox ========== */
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* ========== Grid ========== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* ========== Spacing ========== */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-8 { padding-bottom: 2rem; }

.m-0 { margin: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }

/* ========== Sizing ========== */
.w-full { width: 100%; }
.h-10 { height: 2.5rem; }
.h-20 { height: 5rem; }
.h-auto { height: auto; }
.size-8 { width: 2rem; height: 2rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }

/* ========== Position ========== */
.sticky { position: sticky; }
.relative { position: relative; }
.top-0 { top: 0; }

/* ========== Z-Index ========== */
.z-50 { z-index: 50; }

/* ========== Typography ========== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }

/* ========== Colors - Text ========== */
.text-primary { color: var(--primary); }
.text-text-main { color: var(--text-main); }
.text-text-sub { color: var(--text-sub); }
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }

/* ========== Colors - Background ========== */
.bg-primary { background-color: var(--primary); }
.bg-surface-light { background-color: var(--surface-light); }
.bg-background-light { background-color: var(--background-light); }
.bg-background-dark { background-color: var(--background-dark); }
.bg-surface-dark { background-color: var(--surface-dark); }

/* Special backgrounds */
.bg-surface-light\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-background-dark\/95 { background-color: rgba(16, 34, 16, 0.95); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }

/* ========== Backdrop Filter ========== */
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ========== Borders ========== */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-primary { border-color: var(--primary); }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

/* ========== Shadows ========== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

/* ========== Transitions ========== */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* ========== Hover States ========== */
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-primary-dark:hover { color: var(--primary-dark); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-primary-dark:hover { background-color: var(--primary-dark); }
.hover\:border-primary:hover { border-color: var(--primary); }

/* ========== Focus States ========== */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-primary:focus { border-color: var(--primary); }

/* ========== Placeholder ========== */
.placeholder-gray-500::placeholder { color: #6b7280; }

/* ========== Special Utilities ========== */
.translate-y-0\.5 { transform: translateY(0.125rem); }
.space-y-12 > * + * { margin-top: 3rem; }

/* ========== Prose (for content) ========== */
.prose { max-width: 65ch; }
.prose-lg { font-size: 1.125rem; line-height: 1.75; }
.max-w-none { max-width: none; }

/* ========== Dark Mode ========== */
.dark .dark\:bg-background-dark { background-color: var(--background-dark); }
.dark .dark\:bg-surface-dark { background-color: var(--surface-dark); }
.dark .dark\:bg-background-dark\/95 { background-color: rgba(16, 34, 16, 0.95); }
.dark .dark\:text-white { color: #ffffff; }
.dark .dark\:text-gray-200 { color: #e5e7eb; }
.dark .dark\:text-gray-300 { color: #d1d5db; }
.dark .dark\:text-gray-400 { color: #9ca3af; }
.dark .dark\:border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.dark .dark\:prose-invert { color: #d1d5db; }

/* ========== Responsive - SM (640px) ========== */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ========== Responsive - MD (768px) ========== */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
}

/* ========== Responsive - LG (1024px) ========== */
@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ========== Special Classes ========== */
.max-w-\[1280px\] { max-width: 1280px; }
.border-\[\#f0f4f0\] { border-color: #f0f4f0; }

/* Material Icons adjustment */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* WordPress specific */
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content a:hover { color: var(--primary-dark); }
.entry-content p { margin-bottom: 1rem; }
.entry-content h1, .entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; font-weight: 700; }
.entry-content ul, .entry-content ol { margin-left: 1.5rem; margin-bottom: 1rem; }

/* Navigation adjustments */
nav a { text-decoration: none; }

/* Ensure proper input styling */
input[type="email"] {
    appearance: none;
    -webkit-appearance: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}
