:root {
    --primary-accent: #C09578;
    --dark-bg: #111111;
    --black-bg: #000000;
    --text-muted: #666666;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

html, body {
    font-family: var(--font-sans);
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .section-title {
    font-family: var(--font-serif);
    font-weight: 700;
}

.accent-color {
    color: var(--primary-accent);
}

.bg-black {
    background-color: var(--black-bg);
}

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: var(--dark-bg) !important;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.navbar.scrolled .nav-logo {
    height: 65px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.nav-logo {
    height: 110px;
    width: auto;
    transition: all 0.4s ease;
}

.inner-hero {
    padding-top: 180px !important;
    padding-bottom: 100px !important;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #C09578 !important; /* Keep the accent color for active/hover states for better UX */
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/img/homepage-hero-bg-img.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section .subtitle {
    letter-spacing: 4px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-section .main-title {
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.scroll-down {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* About Section */
.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

.signature {
    max-width: 150px;
}

.cake-overlay {
    bottom: -30px;
    right: -30px;
    max-width: 200px;
    z-index: 2;
}

.main-about-img {
    height: 380px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Feature Grid */
.feature-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Menu Section */
.menu-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85); /* Slightly darker for better contrast */
    z-index: -1;
}

.menu-category-title {
    color: var(--accent-color);
    border-bottom: 2px solid rgba(201, 166, 107, 0.3);
    padding-bottom: 10px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.menu-item-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.menu-item-wrapper:hover {
    transform: translateX(5px);
}

.menu-item-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
    flex-shrink: 0;
}

.menu-item-divider {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    margin: 0 15px;
    position: relative;
    top: -5px;
}

.menu-item-price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.menu-item {
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    border-color: var(--primary-accent);
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background-color: #f1f1f1;
}

.gallery-img-standard {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-img-standard {
    transform: scale(1.1);
}

/* Lightbox link overlay */
.gallery-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.gallery-link::after {
    content: '\f00e'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-link:hover::after {
    opacity: 1;
}

.gallery-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-link:hover::before {
    opacity: 1;
}

/* Team Card */
.team-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card h4 {
    font-size: 1.4rem;
    margin-top: 20px;
}

/* Footer */
.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
}

.btn-outline-accent {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-outline-accent:hover {
    background: var(--primary-accent);
    color: #fff;
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-bg);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.mobile-overlay.active {
    right: 0;
}

.overlay-header {
    background-color: var(--dark-bg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.overlay-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(3px);
}

.overlay-mask.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    background-color: #ffffff; 
}

.overlay-content ul li {
    border-bottom: 1px solid #eeeeee;
}

.overlay-content ul li a {
    display: block;
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.overlay-content ul li a:hover {
    background-color: #f9f9f9;
    color: var(--primary-accent);
    padding-left: 35px;
}

.close-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    border-color: rgba(255,255,255,0.3) !important;
}

.close-btn:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent) !important;
}

/* Hide desktop nav on mobile and toggle button on desktop */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }
}

@media (min-width: 992px) {
    #mobileMenuToggle {
        display: none;
    }
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .nav-logo {
        height: 95px !important;
    }
    .inner-hero {
        padding-top: 151px !important;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero-section .main-title {
        font-size: 3rem;
    }
    .cake-overlay {
        max-width: 120px;
    }
    .py-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Mobile Compatibility Fix for Background Images */
@media (max-width: 991px) {
    .hero-section, .menu-section, .inner-hero {
        background-attachment: scroll !important;
    }
}

/* Extra small devices fix */
@media (max-width: 480px) {
    .nav-logo {
        height: 85px !important;
    }
    .inner-hero {
        padding-top: 140px !important;
    }
}

/* Site Loader Styles */
.site-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-logo {
    height: 120px;
    width: auto;
    animation: logoPulse 2s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.site-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}
