/* --- CSS Variables (Theme) --- */
:root {
    /* Colors converted from HSL Tailwind config */
    --background: hsl(36, 30%, 96%);
    --foreground: hsl(20, 20%, 15%);
    --primary: hsl(210, 60%, 30%);
    --primary-fg: hsl(36, 30%, 96%);
    --secondary: hsl(0, 55%, 42%);
    --muted-fg: hsl(20, 10%, 45%);
    --border: hsl(30, 18%, 78%);
    --card-bg: hsl(36, 25%, 92%);
    --gold: hsl(38, 60%, 55%);
    
    /* Fonts */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Serif 4', serif;
}

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

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    
    /* Glassmorphism effect */
    background-color: hsla(36, 30%, 96%, 0.8);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--border);
}

.btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-family: var(--font-body);
    border-radius: 0.25rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login:hover {
    background-color: var(--primary);
    color: var(--primary-fg);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--foreground);
}

.icon-secondary {
    color: var(--secondary);
    width: 20px;
    height: 20px;
}

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

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(43, 33, 29, 0.6); /* foreground with opacity */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 42rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-fg);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.separator-gold {
    width: 6rem;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto 1.5rem auto;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: hsla(36, 30%, 96%, 0.85);
    line-height: 1.6;
}

/* --- Features Section --- */
.features {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 56rem; /* 4xl */
    margin: 0 auto;
}

.grid-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 32px;
    height: 32px;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.card-desc {
    font-size: 0.875rem;
    color: var(--muted-fg);
    line-height: 1.6;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    font-size: 0.875rem;
    color: var(--muted-fg);
}
