:root {
    --color-black: #0d0d0d;
    --color-gold: #FFD700;
    --color-orange: #FFA500;
    --color-light: #f5f5f5;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Header height */
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; color: var(--color-orange); }
h4 { font-size: 1.2rem; color: var(--color-gold); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color 0.3s ease; /* Add transition for hover effect */
}

a:hover {
    color: var(--color-gold); /* Make links gold on hover */
}

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

ul {
    list-style: disc inside; /* Add bullet points */
    margin-bottom: 1rem;
    padding-left: 20px; /* Indent lists */
}

ul li {
    margin-bottom: 0.5rem;
}

hr {
    border: none;
    height: 1px;
    background-color: rgba(255, 215, 0, 0.2);
    margin: 3rem 0;
}

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

/* Header */
.main-header {
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding-left: 0; /* Remove padding for nav ul */
}

.main-nav a {
    color: var(--color-light);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-orange);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 2rem;
    cursor: pointer;
    transform: translateY(-3px);
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('hero-background.png') no-repeat center center/cover;
    background-size: cover; /* Ensure background covers the area */
    background-position: center; /* Center the background image */
    padding: 0 20px;
    padding-top: 120px; /* Add padding to push content below fixed header */
}

.hero-content {
    max-width: 800px;
    /* Removed transform: translateY(-8vh); */
}

.hero-logo {
    max-width: 400px; /* Decreased max-width */
    width: 90%;
    margin: 0 auto 1.5rem auto;
}

.hero-content p {
    font-size: 1.2rem;
    color: #eee;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-black);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: transform 0.3s, background-color 0.3s;
    border: 2px solid var(--color-orange);
}

.cta-button:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    padding-top: 120px; /* Space for fixed header */
    padding-bottom: 2rem;
    text-align: center;
}

/* Content Sections */
.content-section {
    padding: 4rem 0 6rem 0;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--color-orange); /* Use orange for subtitles */
}

.dark-bg {
    background-color: #000;
}

/* Service Detail Block (for Servicos page) */
.service-detail-block {
    margin-bottom: 2rem; /* Add space between blocks */
}

.service-detail-block h3 {
    margin-top: 0; /* Remove top margin for H3 within blocks */
}

.service-detail-block ul {
    list-style: disc inside;
    padding-left: 20px;
}

/* Services Grid (for Portfolio page) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    margin-top: 1.5rem;
}

.service-card p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #ccc;
}

/* Menu Grid (Used on Portfolio detail pages) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.menu-item img {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--color-gold);
    transition: transform 0.3s;
}

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

.menu-item p {
    color: #ccc;
}

/* Cardapios Page Specific Styles */
#menus .slider-container {
    margin-bottom: 4rem; /* Add space between different slider sections */
}

#menus .slider-container h3 {
    text-align: center;
    margin-bottom: 0.5rem; /* Less space below H3 */
    color: var(--color-gold); /* Category titles in gold */
}

#menus .slider-container .section-subtitle {
    margin-top: 0;
    margin-bottom: 2rem;
    color: var(--color-orange); /* Category subtitles in orange */
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    border-color: var(--color-orange);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

/* Slider Section */
.slider-container {
    padding: 2rem 0;
}

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

.swiper-slide img {
    border-radius: 8px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.swiper-slide:hover img {
    transform: scale(1.03);
    border-color: var(--color-orange);
}

/* Specific styles for Pre-made Menus to maintain rectangular aspect ratio */
#premade-menus-swiper .swiper-slide img {
    height: auto; /* Override fixed height to allow natural aspect ratio */
    object-fit: contain; /* Ensure the entire image is visible within its container without cropping */
    max-height: 400px; /* Limit maximum height to prevent excessively large images */
    background-color: transparent; /* Ensure no background shows from object-fit: contain if not desired */
    padding: 10px 0; /* Add vertical padding to give some breathing room if image is very wide */
}

.swiper-slide h4 {
    margin-top: 1rem;
    color: var(--color-gold); /* Drink titles in gold */
}
.swiper-slide p {
    color: #ccc;
    padding: 0 1rem;
}

/* Swiper Navigation Button Color */
.swiper-button-next, .swiper-button-prev {
    color: var(--color-gold) !important; /* Make Swiper navigation buttons gold */
}


/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    text-align: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--color-light); /* Keep contact links light */
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--color-orange); /* Make contact links orange on hover */
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.contact-form-wrapper h3 {
    text-align: center;
    color: var(--color-gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #222;
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form select {
    color: #888;
}

.contact-form select:focus,
.contact-form select:valid {
    color: var(--color-light);
}

.contact-form input[type="date"],
.contact-form input[type="time"] {
    position: relative;
}

.contact-form input[type="date"]::-webkit-calendar-picker-indicator,
.contact-form input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    position: absolute;
    right: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-orange);
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.main-footer {
    background-color: #000;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: #888;
}
.main-footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 1rem;
}
.footer-contact {
    font-size: 0.9rem;
    display: flex; /* Use flexbox for footer contact */
    flex-direction: column; /* Stack items */
    gap: 0.5rem; /* Add spacing between items */
    align-items: center; /* Center items */
}
.footer-contact p {
    margin-bottom: 0; /* Remove default paragraph margin */
}
.footer-contact a {
     color: #888; /* Keep footer links subtle */
     transition: color 0.3s;
}
.footer-contact a:hover {
    color: var(--color-gold); /* Highlight footer links on hover */
}


/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .main-header .container {
        position: relative;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-black);
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, visibility 0.5s;
        visibility: hidden;
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.5);
    }

    .main-nav.active {
        max-height: 300px; /* Adjust as needed */
        visibility: visible;
        overflow-y: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .main-nav ul li {
        border-bottom: 1px solid rgba(255,215,0,0.1);
    }

    .main-nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: none;
    }
    .main-nav ul li a:hover {
        background-color: rgba(255,215,0,0.1);
    }

    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--color-light);
        font-size: 2rem;
        cursor: pointer;
        z-index: 1100;
        position: relative;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-contact {
        gap: 0.5rem; /* Ensure spacing on smaller screens */
    }

    #menus .slider-container h3 {
       font-size: 1.3rem; /* Slightly smaller titles on mobile */
    }
}

.social-icons-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-orange);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: var(--color-gold);
}

.social-icon i {
    font-size: 24px;
}

.social-icon.whatsapp {
    background-color: #25D366; /* WhatsApp green */
}

.social-icon.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-text, .about-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.2);
}

/* Portfolio and Menu pages color adjustments */
.portfolio-title {
    color: var(--color-gold);
    text-align: center;
}

.portfolio-subtitle {
    color: var(--color-orange);
    text-align: center;
    font-size: 1rem;
}

/* Ensure links and interactive elements use consistent colors */
a {
    color: var(--color-orange);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

/* Add specific styles for portfolio page titles */
.portfolio-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-header h2 {
    color: var(--color-gold);
}

.portfolio-header .subtitle {
    color: var(--color-orange);
    font-size: 1rem;
}