:root {
    --bg-color: #1a1a1a;
    /* Footer Color from Old Web */
    --text-color: #F0F0F0;
    --accent-color: #C0392B;
    /* Brighter Red for Dark Mode Contrast */
    --dimoni-red: #E74C3C;
    /* Even brighter for Dimoni */
    --accent-light: #252525;
    /* Slightly lighter than bg */
    --border-color: #333333;
    --white: #FFFFFF;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3 {
    font-family: var(--header-font);
    color: var(--accent-color);
    line-height: 1.2;
}

.container {
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* HERO */
/* HERO */
.hero {
    position: relative;
    /* Removed background-image to use HTML img tag */
    color: white;
    text-align: center;
    padding: 100px 20px 60px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient Overlay using pseudo-element */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Ensure content is above image and overlay */
}

.hero-logo-top {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 115px;
    height: auto;
    z-index: 10;
    opacity: 0.95;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    color: white;
    font-size: 2.8rem;
    line-height: 1.15;
    margin: 0 auto 10px auto;
    max-width: 700px;
}

.hero .hero-location {
    font-size: 1.4rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    color: #fdfbf7;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.9;
    margin: 0 auto 40px auto;
    letter-spacing: 0.3px;
    line-height: 1.5;
    max-width: 600px;
}

.cta-button,
.cta-button:visited,
.cta-button:active,
.cta-button:focus {
    display: inline-block;
    background-color: var(--accent-color);
    color: white !important;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    letter-spacing: 1px;
    transition: transform 0.2s;
}

.cta-button:active {
    transform: scale(0.95);
}

.hero-kicker {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.hero-proof {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fdfbf7;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 24px;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fdfbf7 !important;
    font-weight: 500;
    padding: 14px 36px;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 75vh;
        padding: 132px 20px 64px;
    }

    .hero-logo-top {
        width: 78px;
        top: 16px;
        left: 16px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.08;
        margin-bottom: 8px;
    }

    .hero .hero-location {
        font-size: 1.08rem;
        margin-bottom: 16px;
        letter-spacing: 0.3px;
    }

    .hero .subtitle {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto 28px auto;
    }

    .hero-proof {
        font-size: 0.88rem;
        flex-wrap: wrap;
        gap: 10px;
        padding: 8px 16px;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta-group .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* SECTIONS */
section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.promise-section h2,
.oven-section h2,
.more-food-section h2,
.reviews-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.highlight-box {
    margin-top: 20px;
    border: 2px solid var(--accent-color);
    padding: 20px;
    display: inline-block;
}

.highlight-box strong {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.detail-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    /* OPTION A: Harmonizing Filter (Warmth - Intensified) */
    filter: sepia(35%) saturate(120%) contrast(115%);
    mix-blend-mode: normal;

    /* OPTION 2: Cinematic Crop (Focus on Crust) */
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
}

.oven-detail {
    margin-top: 20px;
    font-style: italic;
}

.oven-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* MENU ACORDEON */
.menu-section {
    background-color: var(--bg-color);
    text-align: left;
}

.menu-intro {
    text-align: center;
    margin-bottom: 40px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--header-font);
    font-size: 1.2rem;
    color: var(--text-color);
    transition: color 0.2s;
}

.accordion-header:hover {
    color: var(--accent-color);
}

.accordion-header .icon {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out;
}

.menu-list {
    list-style: none;
    padding-bottom: 20px;
}

.menu-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Aligns Name and Price at the top */
}

.item-details {
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.item-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(192, 57, 43, 0.45);
    border-radius: 999px;
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: rgba(192, 57, 43, 0.08);
}

.item-name {
    font-weight: 600;
    color: var(--text-color);
}

.item-desc {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 4px;
    line-height: 1.3;
}

.item-price {
    font-family: var(--header-font);
    font-weight: bold;
    color: var(--text-color);
    white-space: nowrap;
    /* Prevents price from wrapping */
}

/* DESTACADOS */
/* DESTACADOS */
.menu-highlight {
    background-color: var(--accent-light);
    border: 1px solid var(--accent-color);
    padding: 15px !important;
    margin: 15px 0;
    border-radius: 4px;
    position: relative;
}

.menu-highlight .badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* Specific Dimoni Style */
.menu-highlight.dimoni {
    border-color: var(--dimoni-red);
    background: linear-gradient(to right, rgba(211, 47, 47, 0.1), transparent);
}

.menu-highlight.dimoni .badge {
    background-color: var(--dimoni-red);
}

.menu-highlight.mystery {
    background-color: var(--accent-light);
    border: 1px dashed var(--border-color);
    color: #aaa;
    border-left: 4px solid var(--accent-color);
}

.menu-highlight.mystery .item-name {
    color: var(--text-color);
}

/* POSTRES */
.visual-list .dessert-item {
    padding: 15px 0;
    font-size: 1.1rem;
}

/* REVIEWS */
.reviews-section {
    background-color: #080808;
}

.reviews-subtitle {
    /* H3 default size applies */
    font-family: var(--body-font);
    /* Inter for clear numbers */
    color: var(--text-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.review {
    background: var(--accent-light);
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stars {
    color: gold;
    margin-bottom: 10px;
}

cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--accent-color);
}

/* FOOTER */
footer {
    background-color: #080808;
    color: #aaa;
    padding: 60px 0 100px;
    /* Space for sticky CTA on mobile */
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h3 {
    font-family: var(--header-font);
    color: var(--accent-color);
    font-size: 1.4rem;
    text-transform: none;
}

.tagline {
    font-style: italic;
    margin-bottom: 15px;
    color: #888;
}

.socials a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s;
    border: 1px solid #222;
}

.socials a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.legal-links {
    list-style: none;
    padding: 0;
}

.legal-links li {
    margin-bottom: 10px;
}

.closed {
    color: var(--dimoni-red);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.8rem;
    color: #555;
}

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

    footer {
        padding-bottom: 40px;
    }
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 90px;
    /* Lifted up to avoid sticky buttons */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    display: flex;
    gap: 12px;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-accent);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    animation: slideUp 0.5s ease-out;
}

.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    display: flex;
    gap: 12px;
    z-index: 100;
    pointer-events: none;
    /* Allows scrolling if touching the gap */
    padding-bottom: env(safe-area-inset-bottom);
    /* iOS safe area */
}

.sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 50px;
    /* Pill shape */
    pointer-events: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    /* Soft shadow */
    transition: transform 0.1s;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.sticky-cta a:active {
    transform: scale(0.96);
}

.btn-call {
    background-color: #222;
    border: 1px solid #333;
}

.btn-book {
    background: linear-gradient(135deg, var(--accent-color), #8a2e1f);
    /* Gradient for pop */
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .accordion-content {
        /* columns: 2;  MOVED TO UL for better height calculation */
        display: block;
    }

    .menu-list {
        columns: 2;
        column-gap: 40px;
    }

    .menu-list li {
        break-inside: avoid;
        /* Prevents splitting items across columns */
        page-break-inside: avoid;
    }

    .menu-highlight {
        break-inside: avoid;
    }

    /* Desktop Carousel -> Scrollable */
    .carousel-container {
        /* Remove the grid override to keep it a horizontal scrolling list */
        grid-auto-columns: 25%;
        /* Show 4 items at once */
    }

    .carousel-item {
        min-width: auto;
        /* Disable fixed width on desktop */
        aspect-ratio: 1/1;
        /* Make them square on desktop */
    }
}

/* CAROUSEL STYLES */
.visual-carousel-section {
    padding: 40px 0 60px;
    overflow: hidden;
}

.carousel-intro {
    margin-bottom: 30px;
    color: #ccc;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    display: none;
    /* Oculto en móviles */
}

@media (min-width: 768px) {
    .carousel-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        align-items: center;
        justify-content: center;
    }

    .carousel-btn:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        transform: translateY(-50%) scale(1.05);
    }

    .prev-btn {
        left: -15px;
    }

    .next-btn {
        right: -15px;
    }

    .carousel-container {
        /* Darle un poco de padding lateral en escritorio para que no pise las flechas */
        padding: 0 10px 20px 10px;
    }
}

.carousel-container {
    display: grid;
    grid-auto-flow: column;
    /* Forces horizontal flow on mobile */
    grid-auto-columns: 85%;
    /* Shows part of next slide */
    gap: 15px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll iOS */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.carousel-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    aspect-ratio: 4/5;
    /* Slightly tall portrait for mobile */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    color: white;
    text-align: left;
}

.carousel-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
    /* Override accent color */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-overlay span {
    font-size: 0.9rem;
    color: #ddd;
    font-family: var(--body-font);
}

/* CONTACT PAGE STYLES */
.contact-header {
    background-color: var(--bg-color);
    padding: 120px 20px 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.back-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }
}

.info-card {
    background: #111;
    border: 1px solid #222;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--white);
}

.info-card p {
    color: #ccc;
    margin-bottom: 15px;
}

/* Specific Contact Links */
.cta-button.small-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 16px;
    font-size: 0.85rem;
}

.cta-button.small-outline:hover {
    background: var(--accent-color);
    color: white !important;
}

.phone-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--header-font);
}

.email-link {
    color: #ccc;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form-container h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-form {
    background: #111;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #222;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: white;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.cta-button.full-width {
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.form-note {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
}

/* HERO MOBILE FIXES */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        height: auto;
    }

    .hero-content {
        margin-top: 40px;
        /* Push it down a bit so it doesn't crash with the logo */
    }

    .hero-logo-top {
        top: 20px;
        left: 20px;
        width: 85px;
        /* Smaller logo on mobile */
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero .hero-location {
        font-size: 1.15rem;
    }

}

/* COOKIE BANNER INNER STYLES */
.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: center;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
}

.cookie-banner.hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}