/* 
   HOMMES - Nusantara Minimalist Theme
   Traditional CSS Variable System
*/

:root {
    /* Colors */
    --primary: #1a365d; /* Deep Blue */
    --primary-foreground: #f0f9ff;
    --secondary: #f8fafc;
    --secondary-foreground: #0f172a;
    --accent: #d4af37; /* Gold */
    --background: #fafafa; /* Rice Paper White */
    --foreground: #333333; /* Charcoal */
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    
    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1280px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--foreground);
    color: var(--background);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    border: 1px solid var(--foreground);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--foreground);
}

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

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

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.font-serif { font-family: var(--font-serif); }
.text-muted { color: var(--muted-foreground); }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

/* Cards */
.card {
    position: relative;
    group: hover;
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
}

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

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

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
footer {
    background-color: #f1f5f9;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .grid-3, .grid-2, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* Add mobile menu logic if needed */
    }
}
