/* 
   Dining in the Dark KL | Premium Dark Aesthetic 
   Fonts: Playfair Display (headings), Outfit (body)
   Palette: Deep Charcoal, Soft Gold/Amber, Subtle Greys
*/

:root {
    --bg-color: #0d0d0d;
    --text-primary: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-gold: #c6a87c;
    --accent-hover: #e0be8a;
    --card-bg: rgba(25, 25, 25, 0.6);
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography Helpers */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--spacing-lg); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo span {
    color: var(--accent-gold);
}

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

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-hover);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px; /* subtle modern curve */
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000;
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(198, 168, 124, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

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

.btn-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid transparent;
    padding: 0;
    margin-left: 1.5rem;
}

.btn-text:hover {
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
    transform: scale(1.05); /* initial scale for subtle pan if wanted */
    animation: slowPan 25s infinite alternate ease-in-out;
}

@keyframes slowPan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, 1%); }
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Dark gradient over the image to ensure text is readable */
    background: linear-gradient(
        to bottom,
        rgba(13,13,13,0.8) 0%,
        rgba(13,13,13,0.3) 40%,
        rgba(13,13,13,0.8) 80%,
        #0d0d0d 100%
    );
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    margin-top: 5vh;
}

.subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-desc {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ddd;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
}

.star {
    color: var(--accent-gold);
}

/* Sections General */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
}

.section-title span {
    color: var(--accent-gold);
    display: block;
    margin-top: -0.5rem;
}

/* Vibe Section */
.vibe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vibe-image-wrapper {
    position: relative;
}

.glass-image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: 4px;
    max-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-left: 3px solid var(--accent-gold);
}

.floating-card h4 {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    overflow: hidden;
}

.menu-card {
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border-color: rgba(198, 168, 124, 0.3);
}

.img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.dark-img::after {
    /* Overlay for the menu cards to keep them mysterious */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(13,13,13,0.95));
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(30%) brightness(0.8);
}

.menu-card:hover .img-container img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
}

.menu-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    margin-top: -30px; /* Pull text up into the gradient fade */
}

.menu-content h4 {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
}

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h2 {
    font-size: 2rem;
    letter-spacing: 2px;
}
.footer-brand span { color: var(--accent-gold); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-primary); }

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-glass);
    padding: 1rem;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-title { display: block; font-weight: 500; font-size: 0.95rem; }
.cta-sub { display: block; font-size: 0.75rem; color: var(--accent-gold); }

/* Compact Button */
.btn-primary.compact {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

/* Animations (Intersection Observer) */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .vibe-grid { grid-template-columns: 1fr; gap: 3rem; }
    .floating-card { bottom: 10px; left: 10px; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified mobile nav: only sticky CTA matters */
    .menu-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .section { padding: var(--spacing-lg) 0; }
    .footer-content { flex-direction: column; text-align: center; }
}
