:root {
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #8b0000; /* Deep Red */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
}

body {
    font-family: 'PT Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Sofia', cursive;
}

.playfair {
    font-family: 'Sofia', cursive !important;
}

.engagement {
    font-family: 'Engagement', cursive !important;
}

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

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

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 1rem 1.5rem !important;
    color: var(--dark-color);
}

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

/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(5px) grayscale(50%);
    z-index: 0;
    transform: scale(1.1); /* Prevents white edges from blur */
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Menus Page Hero (Special Design) */
.hero-fancy {
    height: 50vh; /* Reduced from 100vh */
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: 60px 15px;
}

.hero-badge {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.hero-fancy h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero p.lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    opacity: 0.95;
}

.logo-hero-wrapper {
    background: #fff;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo-hero-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Navbar Status Styling */
.nav-status {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-status.text-success {
    color: #2e7d32 !important; /* Deeper green for better contrast */
}

.nav-status.text-warning {
    color: #b8860b !important; /* Darker gold/mustard for better contrast */
}

.nav-status.text-danger {
    color: #c62828 !important; /* Deeper red for better contrast */
}

/* Status Badge Hero */
.status-badge-hero {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.status-badge-hero.text-success {
    color: #4cd137 !important;
    border-color: rgba(76, 209, 55, 0.3);
}

.status-badge-hero.text-danger {
    color: #ff4757 !important;
    border-color: rgba(255, 71, 87, 0.3);
}

.status-badge-hero.text-warning {
    color: var(--primary-color) !important;
    border-color: rgba(212, 175, 55, 0.3);
}

/* About Image Styling */

/* Entrance Animation */
.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

/* Menu Cards */
.menu-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.35);
}

.menu-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Gallery */
.gallery-img {
    height: 350px;
    object-fit: cover;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: block;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
    opacity: 0.7;
    filter: blur(2px);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 0, 0, 0.4); /* Deep red tint on hover */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Fancybox Customization */
:root {
    --f-button-bg: rgba(0, 0, 0, 0.6);
    --f-button-hover-bg: var(--primary-color);
    --f-button-color: #fff;
}

.fancybox__container {
    --fancybox-bg: rgba(24, 24, 27, 0.98);
}

.fancybox__thumb {
    border-radius: 4px;
    opacity: 0.6;
}

.fancybox__thumb.is-nav-selected {
    opacity: 1;
    border: 3px solid var(--primary-color);
}

/* Attempting to center classic thumbnails if they don't fill width */
.fancybox__thumbs.is-classic .f-thumbs__track {
    justify-content: center;
}

/* Fancy Menus Page */
.menu-fancy-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.18);
    height: 100%;
    transition: transform 0.4s ease;
}

.menu-fancy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.3);
}

.menu-fancy-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.menu-fancy-content {
    padding: 35px;
}

.pill-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pill-badge.dark {
    background-color: var(--dark-color);
}

.offer-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.15);
}

.offer-card.highlighted {
    border: 2px solid var(--primary-color);
    background: #fffdf5;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.35);
}

.offer-price {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.offer-price small {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 5px;
}

.horizontal-menu-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.12);
}

.horizontal-menu-card:hover {
    box-shadow: 0 18px 45px rgba(212, 175, 55, 0.22);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Minimalist Footer Styling */
.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.6;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-link:hover::after {
    width: 100%;
}

.x-small {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Social Icon Styling */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    opacity: 1;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Quick Links Styling */
.quick-link {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.quick-link i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.quick-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Map Styling */
.map-container {
    filter: grayscale(100%) invert(92%) contrast(83%);
    overflow: hidden;
    line-height: 0;
}

.map-container iframe {
    vertical-align: middle;
}

/* Responsive Design & Scalability */
@media (max-width: 991.98px) {
    .nav-link {
        padding: 0.8rem 1rem !important;
        font-size: 0.85rem;
    }
    
    .hero h1, .hero-fancy h1 {
        font-size: 3.5rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 767.98px) {
    .hero h1, .hero-fancy h1 {
        font-size: 2.8rem;
    }
    
    .hero p.lead, .hero-fancy p.lead {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .offer-price {
        font-size: 2.5rem;
    }
    
    .menu-fancy-image {
        height: 250px;
    }
    
    .gallery-img {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .hero h1, .hero-fancy h1 {
        font-size: 2.2rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .offer-card {
        padding: 30px 20px;
    }
}

/* Fix for landscape mobile or very small heights */
@media (max-height: 500px) {
    .hero, .hero-fancy {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }
}

/* Override large gutters on mobile to prevent overflow */
@media (max-width: 767.98px) {
    .g-5, .gx-5 {
        --bs-gutter-x: 1.5rem; /* Reduced from 3rem */
    }
}
