:root {
    /* Colors */
    --clr-charcoal: #1c1917; /* Slate 900 / Charcoal */
    --clr-charcoal-light: #292524;
    --clr-terracotta: #c2410c; /* Orange 700 / Terracotta */
    --clr-terracotta-hover: #9a3412;
    --clr-wood: #78350f; /* Amber 900 */
    --clr-wood-light: #b45309;
    --clr-cream: #fafaf9; /* Stone 50 */
    --clr-text: #e7e5e4; /* Stone 200 */
    --clr-text-muted: #a8a29e;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Styling */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-charcoal);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; text-align: center; color: var(--clr-cream); }
h3 { font-size: 1.5rem; color: var(--clr-cream); }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(28, 25, 23, 0.85); /* Charcoal with opacity */
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.header-transparent {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.floating-logo {
    height: 140px;
    position: relative;
    top: 30px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.8));
    z-index: 1100;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.floating-logo:hover {
    transform: translateY(-5px);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--clr-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-terracotta);
    transition: var(--transition);
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-terracotta);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(0);
}

.btn-primary:hover {
    background: var(--clr-terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--clr-cream);
    transition: var(--transition);
}

/* New Dramatic Hero Section */
.hero.new-hero-style {
    min-height: 80vh;
    background-color: #000;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    z-index: 1;
}

.hero-image-blended {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-gradient-fade {
    position: absolute;
    top: 0;
    left: -1px;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #000 0%, #000 15%, transparent 60%);
    pointer-events: none;
}

.hero-content-overlay {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-left: clamp(1rem, 5vw, 4rem);
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin-top: 4rem;
}

.hero-line {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.85;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.line-1 { 
    font-size: clamp(1.5rem, 3vw, 2.5rem); 
    transform: rotate(-4deg); 
    margin-left: 2rem;
    margin-bottom: 0;
}
.line-2 { 
    font-size: clamp(3rem, 7vw, 6rem); 
    transform: rotate(-4deg); 
    margin-bottom: 0;
    margin-left: 0.5rem;
    position: relative;
    z-index: 1;
}
.line-3 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    transform: rotate(-4deg); 
    margin-left: 3rem; 
    margin-top: -1rem;
    position: relative;
    z-index: 3;
}

.hero-script {
    font-family: 'Yellowtail', cursive;
    color: #cc1b1b;
    font-size: clamp(4rem, 8vw, 7rem);
    transform: rotate(-8deg);
    margin-top: -3.5rem;
    margin-bottom: -1.5rem;
    margin-left: 5rem;
    position: relative;
    z-index: 5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.torn-paper-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
    transform: rotate(180deg);
    line-height: 0;
}

.torn-paper-top svg {
    width: 100%;
    height: 40px;
    display: block;
}

.torn-paper-bottom {
    position: absolute;
    bottom: -2px; /* Fixes tiny gaps */
    left: 0;
    width: 100%;
    z-index: 10;
    line-height: 0;
}

.torn-paper-bottom svg {
    width: 100%;
    height: 40px;
    display: block;
}

/* Sections Global */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--clr-terracotta);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

/* Cardápio (Menu) Section */
.menu-section {
    background: var(--clr-charcoal);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--clr-charcoal-light);
    color: var(--clr-text);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-btn.active, .category-btn:hover {
    background: var(--clr-terracotta);
    color: var(--clr-cream);
    border-color: var(--clr-terracotta);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: var(--clr-charcoal-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(194, 65, 12, 0.3);
}

.menu-item-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.menu-item-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.menu-item-price {
    color: var(--clr-terracotta);
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-item-desc {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366; /* WhatsApp Green */
    color: white;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #1ebe57;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Location / About Section */
.location-section {
    background: linear-gradient(to bottom, var(--clr-charcoal), var(--clr-charcoal-light));
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card {
    background: var(--clr-charcoal);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card svg {
    width: 24px;
    height: 24px;
    color: var(--clr-terracotta);
    flex-shrink: 0;
}

.info-card h4 {
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.info-card p {
    color: var(--clr-text-muted);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* Footer */
footer {
    background: #111;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--clr-cream);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--clr-text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--clr-terracotta);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-charcoal-light);
    color: var(--clr-text);
}

.social-links a:hover {
    background: var(--clr-terracotta);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.fab {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab:hover {
    transform: scale(1.1);
}

.fab svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.fab-whatsapp {
    background: #25D366;
}

.fab-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries (Mobile First approach handled in styles, min-width for larger) */
@media (max-width: 992px) {
    .location-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--clr-charcoal);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
    
    .nav-links .btn-primary {
        font-size: 1.2rem;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-image-container {
        width: 100%;
    }
    
    .hero-gradient-fade {
        background: linear-gradient(to bottom, #000 0%, transparent 20%, rgba(0,0,0,0.5) 50%, #000 70%);
    }

    .hero-content-overlay {
        margin-top: 20vh;
        padding-left: 10px;
    }

    .hero-text-block {
        align-items: center;
        text-align: center;
    }

    .line-1, .line-2, .line-3 {
        margin-left: 0;
        transform: rotate(-2deg);
    }

    .hero-script {
        margin-left: 0;
        transform: rotate(-5deg);
        margin-top: -2rem;
        margin-bottom: 0;
    }
    
    /* Bottom Navigation safe area for mobile */
    body {
        padding-bottom: 80px; /* Space for floating buttons on mobile */
    }
    
    .floating-actions {
        bottom: 15px;
        right: 15px;
    }
}
