/* Global Variables */
:root {
    --primary-color: #d4a373;
    /* Gold/Tan */
    --secondary-color: #faedcd;
    /* Light Cream */
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --light-text: #fefefe;
    --gray-text: #cccccc;
    --transition-speed: 0.3s;
    --font-heading: 'Playfair Display', serif;
    /* Serif font like reference */
    --font-body: 'Open Sans', sans-serif;
    --font-script: 'Great Vibes', cursive;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

.script-font {
    font-family: var(--font-script);
    color: var(--primary-color);
    font-weight: 400;
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--light-text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--dark-bg);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.mt-5 {
    margin-top: 3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    /* Semi-transparent dark */
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    /* Dark smooth background like reference */
    background: radial-gradient(circle at 70% 50%, #2a2a2a 0%, #000000 100%);
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg-overlay {
    display: none;
    /* Removing old overlay */
}

/* New Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-top: 80px;
    /* Offset for navbar */
    position: relative;
    z-index: 1;
}

.hero-text-content {
    z-index: 2;
    padding-right: 20px;
    text-align: left;
}

.hero-image-container {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    padding-bottom: 0;
    /* Align to very bottom */
}

.hero-chef-img {
    height: 95%;
    /* Make it big */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transform: translateX(20px);
    /* Push slightly to right edge if needed, or keep 0 */
}

/* Typography Matching Reference */
.brand-tag {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    /* Massive text */
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 700;
}

.hero p {
    font-size: 1rem;
    color: #aaa;
    max-width: 450px;
    margin-bottom: 50px;
    line-height: 1.8;
}

/* Modern Buttons */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    /* Left align */
}

.btn-modern {
    background: linear-gradient(90deg, #d4a373 0%, #bb8a5b 100%);
    /* Gold gradient */
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.2);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(212, 163, 115, 0.3);
    color: #fff;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.1);
}

.btn-play:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Headers */
.section-header {
    margin-bottom: 60px;
}

.sub-heading {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.heading {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: var(--primary-color);
}

.separator::before,
.separator::after {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    margin: 0 15px;
}

.separator.light {
    color: var(--primary-color);
}

/* Story Section */
.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-text {
    flex: 1;
}

.story-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.story-image {
    flex: 1;
    position: relative;
}

.image-frame {
    border: 10px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.image-frame img,
.placeholder-img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.image-frame:hover img,
.image-frame:hover .placeholder-img {
    transform: scale(1.05);
}

/* Menu Section */
.menu-section {
    background-color: var(--darker-bg);
}

.menu-section .heading {
    color: #fff;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--dark-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.menu-img {
    height: 200px;
    width: 100%;
    background: #000;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.placeholder-img-sm {
    width: 100%;
    height: 100%;
    background: #333;
    background-image: url('assets/images/food1.jpg');
    /* Trying to reference the images if user helps later */
    background-size: cover;
    background-position: center;
}

/* Fallback for specific items if we want to differentiate */
.menu-item:nth-child(1) .placeholder-img-sm {
    background-image: url('assets/images/food1.jpg');
}

.menu-item:nth-child(2) .placeholder-img-sm {
    background-image: url('assets/images/food2.jpg');
}

.menu-item:nth-child(3) .placeholder-img-sm {
    background-image: url('assets/images/food3.jpg');
}

.menu-item:nth-child(4) .placeholder-img-sm {
    background-image: url('assets/images/food4.jpg');
}

.menu-title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px dashed #444;
    padding-bottom: 10px;
}

.menu-title-price h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.menu-title-price .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-desc {
    color: #aaa;
    font-size: 0.95rem;
}

/* Parallax Section */
/* Assuming 'hero_food_background.png' is being used for parallax still */
.parallax-section {
    background: url('hero_food_background.png') fixed center center/cover;
    padding: 120px 0;
    position: relative;
    color: #fff;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.parallax-section .container {
    position: relative;
    z-index: 1;
}

.parallax-section h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #0b0b0b;
    color: #fff;
    padding-top: 70px;
    padding-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-heading {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #fff;
}

.footer p {
    color: #bbb;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
}

.hours-list li,
.contact-list li {
    margin-bottom: 15px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-list li span {
    color: var(--primary-color);
    font-weight: 600;
    width: 80px;
}

.contact-list li i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Animations Class Utilities */
.animate-hidden {
    opacity: 0;
    visibility: hidden;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Animations from Keyframes */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.delay-200 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-600 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

/* Rotating Dishes Section */
.overflow-hidden {
    overflow: hidden;
}

.turntable-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 60px auto 0;
    /* Responsive scaling */
    max-width: 100%;
}

.turntable {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(212, 163, 115, 0.3);
    /* Primary color low opacity */
    animation: rotateTurntable 40s linear infinite;
}

.center-plate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.center-plate h3 {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    transform: rotate(-15deg);
}

.dish-item {
    position: absolute;
    top: 0;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    /* Center horizontally on the line */
    margin-top: -70px;
    /* Pull up to sit on the edge */

    /* Calculate position based on index --i (1 to 6) */
    transform-origin: 70px 370px;
    /* 70px (center of item) + 300px (radius of turntable) */
    transform: rotate(calc(var(--i) * 60deg));
}

.dish-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Counter-rotate image so it stays upright */
    animation: rotateDish 40s linear infinite reverse;
}

@keyframes rotateTurntable {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateDish {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 3D Container */
#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Let clicks pass through */
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1002;
    }

    /* Hero Responsive */
    /* Hero Responsive */
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 120px;
        /* More space for navbar */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Center content vertically since image is gone */
    }

    .hero-text-content {
        padding-right: 0;
        text-align: center;
        /* Force center alignment */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 3;
        /* Ensure text is above image */
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
        /* Slightly smaller for mobile */
        max-width: 90%;
    }

    .hero-btns {
        justify-content: center;
        width: 100%;
    }

    .hero h1 {
        font-size: 3rem;
        /* Adjusted for mobile */
        line-height: 1.2;
    }

    .story-content {
        flex-direction: column;
    }

    .story-text {
        order: 2;
        text-align: center;
        /* Center story text on mobile */
    }

    .story-text p {
        text-align: center;
        /* Ensure paragraphs are centered */
    }

    .story-image {
        order: 1;
        width: 100%;
        margin-bottom: 30px;
    }

    /* Turntable Responsive */
    .turntable-container {
        width: 300px;
        height: 300px;
    }

    .center-plate {
        width: 100px;
        height: 100px;
    }

    .center-plate h3 {
        font-size: 1.5rem;
    }

    .dish-item {
        width: 70px;
        height: 70px;
        margin-left: -35px;
        margin-top: -35px;
        transform-origin: 35px 185px;
        /* Adjusted for smaller size */
    }

    .hero-image-container {
        display: none;
    }

    .hero-chef-img {
        height: 100%;
        width: auto;
        object-fit: contain;
        transform: translateX(0);
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    }
}