/* --- Website Enhancements (Hero & Footer) --- */

/* Fixed Header Logic */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(250, 250, 250, 0.01);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(250, 250, 250, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav {
    display: flex;
    gap: 24px;
    margin: 0 20px;
}

.header-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header.scrolled .header-nav a {
    color: #1a1a2e;
    text-shadow: none;
}

.header-nav a:hover {
    color: var(--color-primary);
}

.header.scrolled .logo img {
    height: 45px;
    filter: none;
}

.header.scrolled .logo-text {
    color: #1a1a2e;
}

.logo img {
    height: 60px;
    transition: all 0.4s ease;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    transition: color 0.4s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;

    /* Gradiente com cor primária */
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;

    /* Sombra com brilho da cor primária */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(201, 162, 39, 0.3));

    /* Animação de brilho suave */
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    padding: 18px 40px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: var(--color-primary-light);
}

/* Menu Section Adjustments */
#menu-section {
    position: relative;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10;
    padding-top: 40px;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Styles */
.footer {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 80px 0 40px;
    margin-top: 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--color-primary);
    font-weight: 600;
}

.footer-about {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-links svg {
    color: var(--color-primary);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
}

.status-badge.open {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.status-badge.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Back to Top with Reload */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
    background: var(--color-primary-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
    }

    .header {
        background: rgba(250, 250, 250, 0.98);
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .header-nav {
        display: none;
    }

    .logo-text {
        color: var(--color-text);
    }

    .logo img {
        filter: none !important;
        height: 45px;
    }

    .hero-section {
        background-attachment: scroll;
    }


    .hero-title {
        font-size: 2.2rem;
    }

    #menu-section {
        border-radius: 30px 30px 0 0;
    }

    /* Mobile Quick Nav Buttons */
    .mobile-nav-buttons {
        display: flex;
        gap: 8px;
    }

    .mobile-nav-btn {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-primary);
        border: none;
        border-radius: 12px;
        color: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }

    .mobile-nav-btn:active {
        transform: scale(0.9);
        background: var(--color-text);
        color: white;
    }
}

/* Hide mobile buttons on desktop */
@media (min-width: 769px) {
    .mobile-nav-buttons {
        display: none;
    }
}

/* Hero CTA Outlined Style */
.hero-cta.hero-cta-outlined {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--color-primary);
    color: white;
    backdrop-filter: blur(8px);
}

.hero-cta.hero-cta-outlined:hover {
    background: var(--color-primary);
    color: white;
}

/* Menu Date Header */
.menu-date-header {
    text-align: center;
    padding: 30px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.menu-date-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.menu-date-value {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Schedule Trigger (clickable badge) */
.schedule-trigger {
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Schedule Modal */
.schedule-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.schedule-modal.active {
    opacity: 1;
    visibility: visible;
}

.schedule-modal-content {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.schedule-modal.active .schedule-modal-content {
    transform: translateY(0) scale(1);
}

.schedule-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.schedule-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.schedule-modal-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.schedule-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.schedule-modal-body {
    padding: 20px 24px;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 6px;
    transition: background 0.2s;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-item.today {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.schedule-day {
    font-weight: 500;
    color: var(--color-text);
}

.schedule-item.today .schedule-day {
    color: var(--color-primary);
    font-weight: 600;
}

.schedule-hours {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.schedule-item.today .schedule-hours {
    color: var(--color-primary);
    font-weight: 500;
}

.schedule-closed {
    color: #f87171;
    font-weight: 500;
}

/* Schedule Hint (clickable indicator) */
.schedule-hint {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 2px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===============================================
   GALLERY SECTION
   =============================================== */

.gallery-section {
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-icon {
    color: var(--color-primary);
}

.gallery-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    margin-top: 16px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 0 60px;
    }

    .gallery-title {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .gallery-item-overlay {
        opacity: 1;
        padding: 20px 10px 10px;
    }

    .gallery-item-title {
        font-size: 0.8rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}