@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
    /* Colors from DESIGN.md */
    --surface: #0c1322;
    --surface-dim: #0c1322;
    --surface-bright: #323949;
    --on-surface: #dce2f7;
    --primary: #ffb77d; /* Deep Saffron */
    --primary-container: #d97707; /* Rich Terracotta */
    --on-primary: #4d2600;
    --secondary: #ffb4ac;
    --outline: #a38c7c;
    --outline-variant: rgba(85, 67, 54, 0.2);
    --gold: #ffb77d; /* Gold/Saffron accent */
    
    /* Spacing */
    --unit: 8px;
    --container-max-width: 1440px;
    --gutter: 24px;
    --margin-mobile: 16px;
    --margin-desktop: 64px;
    --section-padding: 120px;
    
    /* Transitions */
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--margin-desktop);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--margin-mobile);
    }
}

/* Typography Utility Classes */
.display-xl {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.headline-lg {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
}

.headline-md {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
}

.body-lg {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.label-sm {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Premium Components */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(12, 19, 34, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline-variant);
    transition: transform var(--transition-smooth);
}

nav {
    height: 96px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 0.3em;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--on-surface);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

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

.hero-subtitle {
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero p {
    margin-bottom: 40px;
    color: rgba(220, 226, 247, 0.8);
}

.btn-group {
    display: flex;
    gap: 24px;
}

.btn {
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 119, 7, 0.3);
}

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

.btn-outline:hover {
    background: rgba(255, 183, 125, 0.1);
}

/* Featured Section */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
}

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

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

.card {
    background: var(--surface-bright);
    border: 1px solid var(--outline-variant);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 183, 125, 0.3);
}

.card-img {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--transition-smooth);
}

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

.card-content {
    padding: 32px;
}

.card-title {
    margin-bottom: 8px;
}

.card-price {
    color: var(--primary);
    font-size: 24px;
    font-weight: 500;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Spice Intensity Scale */
.intensity-scale {
    margin-top: 24px;
}

.intensity-slider {
    width: 100%;
    height: 4px;
    background: rgba(255, 183, 125, 0.2);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.intensity-slider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 50%);
    background: linear-gradient(to right, var(--primary), var(--primary-container));
}

.intensity-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 2;
}

/* Newsletter & Concierge Polishing */
input::placeholder {
    color: rgba(220, 226, 247, 0.4);
}

.hero h1 span {
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--primary);
    opacity: 0.15;
    z-index: -1;
}
