:root {
    --primary-color: #D32F2F;
    /* Red inspired by the counter */
    --primary-dark: #B71C1C;
    --secondary-color: #1a1a1a;
    /* Dark background */
    --text-color: #333333;
    --text-light: #f5f5f5;
    --accent-color: #f4e4bc;
    /* Warm beige */
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --spacing-unit: 1rem;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

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

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

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

.bg-light {
    background-color: #f9f9f9;
}

.bg-dark {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.text-white {
    color: var(--white) !important;
}

/* Helper Classes */
.mt-3 {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 10px;
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
}

/* Removed nav-links and menu-toggle styles */

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/vetrina.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Removed .hero-image styles as we went back to background */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features/About/Info Section */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.col-text,
.col-image,
.col-map,
.col-contact {
    flex: 1;
    min-width: 300px;
}

/* About Image Styling */
.about-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    max-height: 400px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.features-list i {
    color: var(--primary-color);
}

/* Menu Section - Trattoria Style */
.menu-trattoria-container {
    --cream: #faf6f0;
    --ink: #1a1008;
    --red: #c0282a;
    --red-light: #e8d0d0;
    --gold: #8b6914;
    --rule: #c0282a;

    background-color: var(--cream);
    color: var(--ink);
    font-family: 'EB Garamond', Georgia, serif;
    padding: 60px 20px 80px;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 20px;
}

/* Grain texture overlay */
.menu-trattoria-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.menu-wrapper {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

/* ---- HEADER ---- */
.menu-header {
    text-align: center;
    margin-bottom: 52px;
    animation: fadeDown 0.8s ease both;
}

.menu-header .eyebrow {
    font-family: 'EB Garamond', serif;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.menu-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 18px;
}

.menu-title::after {
    display: none;
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.ornament-line {
    height: 1px;
    width: 60px;
    background: var(--red);
    opacity: 0.5;
}

.ornament-diamond {
    width: 6px;
    height: 6px;
    background: var(--red);
    transform: rotate(45deg);
}

.menu-header .subtitle {
    font-style: italic;
    font-size: 1.05rem;
    color: #6b5540;
    opacity: 0.85;
}

/* ---- SECTION ---- */
.menu-section {
    margin-bottom: 44px;
    animation: fadeUp 0.7s ease both;
}

.menu-section:nth-child(2) {
    animation-delay: 0.1s;
}

.menu-section:nth-child(3) {
    animation-delay: 0.2s;
}

.menu-section:nth-child(4) {
    animation-delay: 0.3s;
}

.menu-section:nth-child(5) {
    animation-delay: 0.4s;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.section-heading .label {
    font-family: 'EB Garamond', serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--red);
    padding: 4px 13px 3px;
    border-radius: 2px;
    white-space: nowrap;
}

.section-heading .rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--red-light), transparent);
}

/* ---- ITEM ---- */
.menu-item {
    padding: 12px 0 0;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.item-row {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.13rem;
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
}

.item-dots {
    flex: 1;
    border-bottom: 1.5px dotted rgba(139, 95, 60, 0.35);
    margin: 0 8px;
    margin-bottom: 3px;
    min-width: 20px;
}

.item-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--red);
    flex-shrink: 0;
    white-space: nowrap;
}

.item-desc {
    font-style: italic;
    font-size: 0.9rem;
    color: #7a6250;
    margin-top: 3px;
    padding-left: 2px;
    line-height: 1.5;
}

/* ---- FOOTER ---- */
.menu-footer {
    text-align: center;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--red-light);
    animation: fadeUp 0.7s 0.5s ease both;
}

.menu-footer p {
    font-style: italic;
    font-size: 0.88rem;
    color: #9a7f6a;
    line-height: 1.8;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

/* Decorative vertical border on the left */
.menu-wrapper::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--red-light) 20%, var(--red-light) 80%, transparent);
    display: none;
}

@media (min-width: 780px) {
    .menu-wrapper::before {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {

    .menu-header,
    .menu-section,
    .menu-footer {
        animation: none !important;
    }
}

.tgtg-banner {
    background-color: #f2f7f2;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Subtle border */
}

.tgtg-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    /* Ensures it fills the circle nicely */
    border-radius: 50%;
    /* Circle shape */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Lift it off the page */
    border: 2px solid white;
    /* Clean separator */
}


/* Hours Section */
.hours-container {
    max-width: 600px;
    margin: 40px auto 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.dots {
    flex: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    margin: 0 15px 5px;
}

.note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact Section */
.contact-info {
    margin: 30px 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.cta-box {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--secondary-color);
}

.cta-box h3 {
    margin-bottom: 10px;
}

.cta-box .btn {
    margin-top: 20px;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #111;
    color: #888;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.dev-link {
    color: #ccc;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.dev-link:hover {
    color: var(--primary-color);
}

@media (min-width: 769px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-left,
    .footer-right {
        flex: 1;
    }

    .footer-left {
        text-align: left;
    }

    .footer-right {
        text-align: right;
    }

    .social-links {
        margin-top: 0;
        flex: 1;
        text-align: center;
    }
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 10px;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

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

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .row {
        flex-direction: column;
    }

    .hours-row {
        font-size: 1rem;
    }

    .col-map iframe {
        height: 300px;
    }
}

/* Entrance Animations */
@media (prefers-reduced-motion: no-preference) {

    /* Hero Animations */
    .hero-title,
    .hero-subtitle,
    .hero-buttons-animate {
        opacity: 0;
        transform: translateY(20px);
    }

    .hero-title {
        animation: fadeSlideUp 0.8s ease-out forwards;
    }

    .hero-subtitle {
        animation: fadeSlideUp 0.8s ease-out 0.3s forwards;
    }

    .hero-buttons-animate {
        animation: fadeSlideUp 0.8s ease-out 0.5s forwards;
    }

    /* Scroll Animations */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

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