:root {
    --primary-color: #800000;
    /* Bordo / Deep Red */
    --secondary-color: #D4AF37;
    /* Gold */
    --text-color: #333333;
    --bg-color: #F9F9F9;
    --dark-bg: #1A1A1A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */
}

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

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

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--primary-color) !important;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Enriched shadow */
    transition: background-color 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(128, 0, 0, 1) !important;
    /* Solid color for performance */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo-frame {
    border: 3px solid var(--secondary-color);
    border-radius: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(212, 175, 55, 0.1);
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
}

.logo-frame:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6), inset 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px) scale(1.02);
    border-color: #ffe57f;
}

.logo-frame img {
    display: block;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
    opacity: 0;
    /* JS Animation init */
    animation: fadeUp 1.5s ease-out 0.5s forwards;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0;
    /* JS Animation init */
    animation: fadeUp 1.5s ease-out 0.8s forwards;
}

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

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

.cta-button {
    background: linear-gradient(45deg, var(--secondary-color), #b59218);
    color: var(--dark-bg);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    transition: all 0.6s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: white;
    z-index: -1;
    transition: width 0.4s ease;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in-hover {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
}

.zoom-in-hover img {
    transition: transform 0.6s ease;
}

.zoom-in-hover:hover img {
    transform: scale(1.1);
}

/* Service Cards */
.service-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Menu Categories - Text Style */
.menu-category {
    background: transparent;
    padding: 1rem 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.menu-category:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.menu-category h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-items li {
    margin-bottom: 1.5rem;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.menu-items li:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
}

.item-header span {
    color: var(--primary-color);
    font-family: var(--font-body);
}

.menu-items p {
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
}

/* Footer & Other components keep consistent improvements */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

footer .footer-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
}

footer .contact-info,
footer .opening-hours,
footer .map-container {
    flex: 1;
    min-width: 250px;
}

footer .contact-info,
footer .opening-hours {
    text-align: left;
}

footer .map-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .contact-info h3,
footer .opening-hours h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

footer .contact-info p,
footer .opening-hours p {
    margin-bottom: 0.5rem;
}

footer .social-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

footer .social-links a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

footer .social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px) scale(1.2);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

footer .contact-info p {
    margin-bottom: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.98);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookie-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.cookie-link:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 92px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 92px);
        background-color: var(--primary-color);
        flex-direction: column;
        z-index: 999;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

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

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