/* Design System - Candela Restaurante (Pastel Theme) */
:root {
    --primary-bg: #fdfbf7;
    --secondary-bg: #f4f1ea;
    --accent: #d4a373; /* Warm Tan/Pastel */
    --accent-hover: #bc8a5f;
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --header-height: 100px;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: var(--primary-bg) !important;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

header.scrolled .logo img {
    height: 90px;
}

header.scrolled .logo {
    top: -5px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    height: auto;
    position: absolute;
    left: 20px;
    top: -10px;
    z-index: 1100;
}

.logo img {
    height: 140px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

nav { margin-left: auto; }
nav ul { display: flex; gap: 10px; }
.nav-link {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid transparent;
    color: var(--text-dark);
}
.nav-link:hover, .nav-link.active {
    background-color: var(--accent);
    color: var(--white);
}

/* Hero Slider */
.hero { height: 80vh; position: relative; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;
    transition: opacity 1.5s ease-in-out; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; }
.slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; color: var(--white); }
.hero-content h2 { font-size: 4rem; margin-bottom: 20px; color: var(--white); }

/* Language Selector Buttons (COOL STYLE) */
.menu-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.lang-btn {
    background-color: var(--white);
    padding: 15px 35px;
    border-radius: 100px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
}

.lang-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background-color: var(--accent);
    color: var(--white);
}

.lang-btn .flag {
    font-size: 1.5rem;
}

/* Welcome Box */
.welcome-box {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.02);
    margin-bottom: 80px;
}
.welcome-img { width: 100%; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.welcome-text blockquote { font-size: 1.8rem !important; margin-bottom: 20px !important; border: none !important; padding: 0 !important; font-family: 'Playfair Display', serif; font-style: italic; }
.owner-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--accent); font-style: italic; }

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.promo-item {
    background-color: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}
.promo-item img { width: 100%; height: auto; max-height: 400px; object-fit: contain; background-color: var(--white); transition: var(--transition); }
.promo-info { padding: 20px; text-align: center; background: var(--white); }
.promo-info h3 { font-size: 1.2rem; color: var(--accent); margin-bottom: 5px; }

/* Footer */
footer { background-color: var(--secondary-bg); padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; }

/* Responsiveness */
/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    background: var(--accent);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: var(--transition);
    font-size: 1.5rem;
}
.music-control:hover { transform: scale(1.1); background: var(--accent-hover); }
.music-control.playing { animation: pulse 2s infinite; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(212, 163, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); }
}

@media (max-width: 768px) {
    header .container { flex-direction: column; height: auto; padding-top: 60px; }
    .logo { position: relative; top: 0; left: 0; margin-bottom: 20px; }
    .logo img { height: 100px; }
    .welcome-box { grid-template-columns: 1fr; text-align: center; padding: 30px; }
}
