/* Carga de la Tipografía Exclusiva Dahlia */
@font-face {
    font-family: 'Dahlia';
    src: url('fonts/dahlia-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Variables y Paleta de Colores (Estilo Hakkasan - Escala de Grises y Oro) */
:root {
    --bg-color: #080808; /* Gris grafito ultra oscuro */
    --card-bg: rgba(16, 16, 16, 0.92); /* Gris ultra oscuro puro */
    --card-border: rgba(197, 168, 128, 0.15); /* Bordes oro suave */
    --primary: #c5a880; /* Oro envejecido / Champán */
    --primary-glow: rgba(197, 168, 128, 0.12);
    --primary-gradient: linear-gradient(135deg, #dfc5a4 0%, #c5a880 100%);
    --accent: #d4af37; /* Oro brillante */
    --accent-glow: rgba(197, 168, 128, 0.04); /* Luminosidad ámbar cálida */
    --text-main: #eaeaea; /* Blanco grisáceo */
    --text-muted: #9e9e9e; /* Gris medio */
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    letter-spacing: 0.5px;
}

body {
    overflow-x: hidden;
    line-height: 1.7;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(197, 168, 128, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
}

/* Contenedor */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, .logo, .tab-btn {
    font-family: 'Dahlia', serif;
    letter-spacing: 1px;
}

/* Estilo de Gradientes y Textos Especiales */
.text-gradient {
    background: linear-gradient(135deg, #f5e4cc 20%, #c5a880 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(197, 168, 128, 0.04);
    border: 1px solid rgba(197, 168, 128, 0.2);
    color: var(--primary);
    border-radius: 0px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 0px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #121212;
    border: none;
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(197, 168, 128, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    margin-left: 1.5rem;
}

.btn-secondary:hover {
    background: rgba(197, 168, 128, 0.05);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Glassmorphism */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 0px;
    transition: var(--transition);
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(197, 168, 128, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

/* Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.08);
    padding: 1.4rem 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

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

.btn-nav {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 24px;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--primary-gradient);
    color: #121212;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

.btn-nav:after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px 0;
    display: flex;
    align-items: center;
    min-height: 95vh;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(197, 168, 128, 0.05) 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: normal;
    line-height: 1.25;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 580px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    border: 1px solid rgba(197, 168, 128, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    max-width: 440px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.05);
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.04);
}

.glass-tag {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 168, 128, 0.2);
    padding: 14px 20px;
    text-align: center;
    color: var(--primary);
    font-family: 'Dahlia', serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Sección de Menú */
.menu-section {
    padding: 120px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.05);
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26, 26, 26, 0.3) 50%, var(--bg-color) 100%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-family: 'Dahlia', serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-weight: 300;
}

/* Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px 24px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--white);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active:after {
    width: 100%;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.menu-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.menu-card-img-wrapper {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: var(--transition);
}

.menu-card:hover .menu-card-img {
    transform: scale(1.06);
    filter: brightness(0.95);
}

.menu-card-body {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-card-body-noimg {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 220px;
    justify-content: center;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px dashed rgba(197, 168, 128, 0.2);
    padding-bottom: 0.8rem;
}

.menu-card-header h3 {
    font-size: 1.35rem;
    font-weight: normal;
    color: var(--white);
    line-height: 1.3;
}

.badge-card {
    display: inline-block;
    font-size: 0.65rem;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 2px 6px;
    margin-left: 6px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    vertical-align: middle;
}

.menu-card-header .price {
    color: var(--primary);
    font-weight: normal;
    font-size: 1.3rem;
    font-family: 'Dahlia', serif;
}

.menu-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    font-weight: 300;
}

.menu-footer {
    text-align: center;
    margin-top: 5rem;
}

/* Experiencia / Galería */
.experience-section {
    padding: 120px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.05);
}

.instagram-link {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 168, 128, 0.5);
    transition: var(--transition);
}

.instagram-link:hover {
    color: var(--white);
    border-color: var(--white);
}

.experience-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0px;
    border: 1px solid rgba(197, 168, 128, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    filter: brightness(0.7) contrast(1.05);
    transition: var(--transition);
}

.gallery-img:hover {
    transform: scale(1.02);
    filter: brightness(0.95);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.15);
}

.info-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.info-block {
    background: rgba(16, 16, 16, 0.5);
    border: 1px solid rgba(197, 168, 128, 0.15);
    padding: 3rem;
    border-radius: 0px;
}

.info-block h4 {
    color: var(--primary);
    font-family: 'Dahlia', serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.info-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Reservas */
.cta-section {
    padding: 120px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.05);
}

.cta-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
}

.cta-card h2 {
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.cta-card p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: 0px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5a880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 0 1px var(--primary);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.form-status.success { color: #10b981; }
.form-status.error { color: #ef4444; }

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.05);
    text-align: center;
}

.footer-logo {
    font-size: 2.5rem;
    letter-spacing: 6px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Responsivo */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3.4rem;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 380px;
    }

    .experience-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .info-blocks {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition);
        z-index: 999;
        border-top: 1px solid rgba(197, 168, 128, 0.08);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-nav {
        width: 80%;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .experience-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        height: 250px;
    }

    .section-header h2 {
        font-size: 2.6rem;
    }

    .cta-card {
        padding: 2rem;
    }
}
