/* CSS Variables */
:root {
    --bg-color: #0d0f12;
    --text-primary: #f2f2f2;
    --text-secondary: #a0a4b0;
    --accent-color: #f7b03b; /* Golden crust color */
    --accent-dark: #cc8400;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .badge {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.subtitle, .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.accent-text {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(13, 15, 18, 0.85); /* Glassmorphism background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Components */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #121212;
    box-shadow: 0 4px 15px rgba(247, 176, 59, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 176, 59, 0.5);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.interactive:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 176, 59, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(247, 176, 59, 0.15);
    color: var(--accent-color);
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('./assets/colombian_bunuelos_hero_1773779325604.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 15, 18, 0.95) 0%,
        rgba(13, 15, 18, 0.7) 40%,
        rgba(13, 15, 18, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 2rem;
    margin-left: 10%;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Specific Section Styles */
.history-section p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.history-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    filter: sepia(0.2) contrast(1.1);
}

/* Recipe Section */
.recipe-section {
    position: relative;
}

.recipe-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 500px;
    background: radial-gradient(circle at 70% top, rgba(247, 176, 59, 0.05), transparent 60%);
    z-index: -1;
}

.recipe-wrapper {
    padding: 3rem;
}

.recipe-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.ingredient-list {
    list-style: none;
}

.ingredient-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.ingredient-list li .qty {
    color: #fff;
    font-weight: 600;
    margin-right: 15px;
    min-width: 60px;
}

.step-list {
    list-style: decimal inside;
    color: var(--text-secondary);
}

.step-list li {
    margin-bottom: 1.25rem;
    line-height: 1.7;
    padding-left: 10px;
}

.step-list li strong {
    color: var(--accent-color);
    font-family: var(--font-heading);
}

/* Gallery Section */
.gallery-section {
    position: relative;
    padding-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    aspect-ratio: 1; /* Keep images square for a neat grid */
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Places Section */
.places-section {
    background: linear-gradient(to bottom, transparent, rgba(247, 176, 59, 0.03));
}

.places-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.place-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
}

.place-icon {
    font-size: 2rem;
    background: rgba(247, 176, 59, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.place-info .location {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.place-info .desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-content {
        margin-left: 0;
        padding-right: 2rem;
    }
    
    .recipe-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; /* simple mobile nav hide for brevity */
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
}
