/* --- Design System --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-alt: #121212;
    --primary: #d4af37;
    /* Gold */
    --primary-hover: #b8962d;
    --accent: #b22222;
    /* Crimson */
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-alt {
    padding: 8rem 0;
    background-color: var(--bg-alt);
}

.subtitle {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

/* --- Navigation --- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

#main-nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
    font-style: italic;
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border: 1px solid var(--primary);
}

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

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-outline:hover {
    background-color: white;
    color: #000;
}

.full-width {
    width: 100%;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    width: 100%;
    padding-top: 80px;
    /* Offset for fixed navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/img/hero_bg.png') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 8px;
    z-index: 1;
}

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

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.tab-btn {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.tab-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tab-panel.active {
    display: grid;
    animation: fadeIn 0.8s ease;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.menu-item {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

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

.item-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.price {
    font-weight: 600;
    color: var(--text-light);
}

.menu-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.menu-featured img {
    border-radius: 8px;
    filter: brightness(0.8);
    transition: var(--transition);
}

.menu-featured img:hover {
    filter: brightness(1);
    transform: scale(1.02);
}

/* --- Events --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    transition: var(--transition);
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.event-card.highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
}

.event-date {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.8rem;
}

.event-date span {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.event-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-time {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Reservations --- */
.reservation-card {
    background: var(--bg-dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
}

.res-info {
    padding: 5rem;
    background: url('assets/img/dish.png') center/cover no-repeat;
    position: relative;
}

.res-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.res-info * {
    position: relative;
    z-index: 2;
}

.res-info h2 {
    font-size: 3rem;
}

.res-features {
    margin-top: 3rem;
}

.res-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.res-form {
    padding: 5rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: white;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

select option {
    background-color: var(--bg-alt);
    color: white;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
footer {
    padding: 8rem 0 3rem;
    background-color: #050505;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 2rem 0;
    max-width: 300px;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

.footer-info h3,
.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

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

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delayed {
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

/* --- Responsive --- */
@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@media (max-width: 992px) {
    h2 {
        font-size: 2.8rem;
    }

    .about-grid,
    .tab-panel,
    .reservation-card,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .res-info {
        padding: 3rem;
    }

    .res-form {
        padding: 3rem;
    }

    /* Mobile Navigation Adjustments */
    #main-nav {
        padding: 0.8rem 0 !important;
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--glass-border);
    }

    .logo {
        font-size: 1.2rem;
        white-space: nowrap !important;
    }

    .nav-actions {
        gap: 1rem;
    }

    .nav-actions .btn-primary,
    .btn-nav-reserve {
        display: none !important;
        /* Hide wide desktop button */
    }

    .btn-icon-nav {
        width: 38px;
        height: 38px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        animation: navFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 600px) {

    .section,
    .section-alt {
        padding: 5rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    #main-nav {
        padding: 0.6rem 0 !important;
    }

    .logo {
        font-size: 1.1rem;
    }

    .btn-icon-nav {
        width: 34px;
        height: 34px;
    }

    .btn-icon-nav i,
    .btn-icon-nav svg {
        width: 16px;
        height: 16px;
    }

    /* Hero Responsiveness & Superposition prevention */
    .hero {
        padding-top: 60px;
        /* Offset for fixed navbar */
    }

    .hero h1 {
        font-size: clamp(2.1rem, 7.5vw, 2.7rem);
        line-height: 1.15;
        margin-bottom: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-outline {
        width: 100%;
        padding: 0.8rem 1.5rem;
        text-align: center;
    }
}

/* --- Premium Navigation Login Icon --- */
.btn-icon-nav {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
}

.btn-icon-nav i,
.btn-icon-nav svg {
    width: 20px;
    height: 20px;
}

.btn-icon-nav:hover {
    color: #000;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(196, 155, 99, 0.4);
    transform: translateY(-2px);
}

/* Custom Form Validation Styles */
.form-control.error-field,
input.error-field,
select.error-field,
textarea.error-field {
    border-color: #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.03) !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.15) !important;
}

.validation-error-msg {
    color: #ff4d4d;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 6px;
    display: block;
    animation: fadeInError 0.3s ease;
    text-align: left;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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