:root {
    --bg-color: #0b0b0b;
    /* Slightly softer black */
    --text-color: #ededed;
    --accent-color: #cda434;
    /* More refined gold */
    /* Metallic Gold */
    --accent-hover: #b89628;
    --secondary-bg: #151515;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.6s;
}

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

html {
    scroll-behavior: smooth;
}

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

/* --- Loader --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1s ease;
    overflow: hidden;
}

.loader-content {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 5px;
    animation: pulse 2s infinite;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .loader-content {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* --- Typography & Utils --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.accent {
    color: var(--accent-color);
    font-style: italic;
}

/* Utilities */
.text-center {
    text-align: center !important;
}

.flex-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 30px rgba(205, 164, 52, 0.4);
    transform: translateY(-2px);
}

.dark-btn {
    border-color: var(--bg-color);
    color: var(--bg-color);
}

.dark-btn:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

/* --- Hero Section & Logo Magic --- */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Subtle background texture or gradient */
    /* Sophisticated gradient */
    background: radial-gradient(circle at 50% 50%, #151515 0%, #000000 90%);
}

.logo-container {
    width: 320px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 10;
    /* 
       Advanced Blending & Masking:
       1. mask-image: Fade edges so no hard square borders are visible.
       2. mix-blend-mode: Blend with the dark background.
    */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    mix-blend-mode: normal;
    /* Reset screen mode if causing washout, let mask do the work */
    filter: drop-shadow(0 0 20px rgba(205, 164, 52, 0.2));
    /* Subtle gold glow instead of boxy bg */
    animation: floatLogo 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* Subtle texture overlay for global premium feel */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.hero-logo {
    width: 100%;
    height: auto;
    display: block;
}

.hero-title {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 10px;
    z-index: 10;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 200;
    letter-spacing: 3px;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--accent-color);
    margin-top: 10px;
    animation: growLine 2s infinite ease-in-out;
}

@keyframes growLine {
    0% {
        height: 0;
        opacity: 0;
    }

    50% {
        height: 60px;
        opacity: 1;
    }

    100% {
        height: 0;
        opacity: 0;
        transform-origin: bottom;
    }
}

/* --- Sections --- */
.section {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.light-section {
    background: var(--text-color);
    color: var(--bg-color);
}

.dark-text {
    color: var(--bg-color);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    filter: brightness(0.9);
    transition: all 0.5s ease;
}

.arch-mask {
    border-radius: 300px 300px 20px 20px;
    border: 1px solid rgba(205, 164, 52, 0.2);
    padding: 10px;
    /* Gap between image and border */
    background: rgba(255, 255, 255, 0.02);
}

.philosophy-image:hover {
    filter: brightness(1);
    transform: translateY(-10px);
}

/* --- Menu Section Enhanced --- */
.menu-section {
    background: #111;
    color: #fff;
    padding-top: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 3rem;
    font-style: italic;
    font-family: var(--font-heading);
}

.menu-categories {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
}

.category-title {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.menu-list {
    display: grid;
    gap: 2.5rem;
}

.menu-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.4s ease;
}

.menu-item-row:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.item-details h4 {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

.item-details p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #888;
    max-width: 600px;
}

.item-price {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-weight: 600;
}

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

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
    z-index: 1002;
    /* Ensure above mobile menu bg if needed */
}

.navbar.scrolled {
    background: rgba(8, 8, 8, 0.95);
    padding: 0.8rem 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    position: relative;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    /* Above mobile menu */
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 1.5rem;
        justify-content: space-between;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(205, 164, 52, 0.1);
    }

    .navbar.scrolled {
        padding: 1.2rem 1.5rem;
    }

    .logo-text {
        font-size: 1.6rem;
        letter-spacing: 3px;
        position: relative;
        left: auto;
        transform: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        position: relative;
    }

    .bar {
        width: 28px;
        height: 2.5px;
        margin: 4px 0;
    }

    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background-color: var(--accent-color);
    }

    .hamburger.toggle .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background-color: var(--accent-color);
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: linear-gradient(135deg, rgba(11, 11, 11, 0.98) 0%, rgba(21, 21, 21, 0.98) 100%);
        backdrop-filter: blur(30px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding: 0;
        gap: 1rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    /* Stagger animation for links */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 2.2rem;
        margin: 0;
        padding: 1.5rem 0;
        display: block;
        font-family: var(--font-heading);
        letter-spacing: 3px;
    }

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

    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section {
        padding: 80px 1.5rem;
    }

    .hero-section {
        padding: 0 1.5rem;
        min-height: 100vh;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 1rem;
    }

    .logo-container {
        width: 280px;
        margin-bottom: 2rem;
    }

    .cta-button {
        margin: 2rem auto 0 auto;
        display: inline-block;
        width: auto;
        padding: 1.2rem 2.5rem;
        font-size: 0.85rem;
    }

    .section-header {
        text-align: center;
        width: 100%;
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }





    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 6px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1.5rem;
        text-align: center;
        letter-spacing: 2px;
    }

    .scroll-indicator {
        bottom: 30px;
        font-size: 0.7rem;
    }

    .menu-section {
        padding-top: 4rem;
    }

    .category-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .menu-item-row {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem 1.5rem;
    }

    .item-details h4 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .item-details p {
        margin: 0.5rem auto 0;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .item-price {
        margin-top: 1.2rem;
        align-self: center;
        font-size: 1.4rem;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* --- Footer --- */
footer {
    background: #050505;
    padding: 5rem 0 3rem;
    text-align: center;
    border-top: 1px solid #1a1a1a;
    margin-top: auto;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.footer-socials {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.social-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    opacity: 0.5;
    transition: all 0.4s ease;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.social-link:hover {
    opacity: 1;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.footer-content p {
    opacity: 0.4;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

/* --- Atmosphere Video Section --- */
.atmosphere-section {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.atmosphere-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.video-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.atmosphere-title {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 5px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* --- Gallery Section (Masonry) --- */
.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: grayscale(0.3) brightness(0.9);
}

.masonry-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0) brightness(1.1);
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

.contact-heading {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ccc;
    transition: color 0.3s;
}

.info-item:hover {
    color: #fff;
}

.info-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--accent-color);
}

.icon {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #aaa;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.2rem;
}

.hours-list li .time {
    color: #fff;
    font-weight: 500;
}

.map-container {
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
    filter: grayscale(1) contrast(1.1) invert(0.9);
    /* Dark mode map effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: filter 0.5s;
    position: relative;
}

.map-container:hover {
    filter: grayscale(0) invert(0);
}

/* Fix mobile responsive for contact */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-card {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .contact-heading {
        font-size: 1.3rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 100%;
    }

    .info-item {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        font-size: 1rem;
    }

    .info-item .icon {
        margin: 0 auto;
    }

    .map-container {
        height: 300px;
        min-height: 300px;
    }
}

.credits {
    margin-top: 2rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.rygen-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.rygen-link:hover {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    transform: scale(1.1);
}

/* --- Mobile Adjustments for New Sections --- */
@media (max-width: 768px) {
    .atmosphere-section {
        height: 40vh;
    }

    .atmosphere-title {
        font-size: 2rem;
        padding: 0 1.5rem;
        letter-spacing: 3px;
    }

    .masonry-grid {
        column-count: 1;
        column-gap: 1rem;
    }

    .masonry-item {
        margin-bottom: 1rem;
    }

    footer {
        padding: 4rem 0 2rem;
    }

    .footer-socials {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .social-link {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}