/* style.css */

/* ================== VARIABLES ================== */
:root {
    --bg-color: #050505;
    --surface-color: #111111;
    --border-color: #222222;
    --primary-color: #d4af37; /* Refined Gold */
    --primary-hover: #e5c15e;
    --text-main: #fcfcfc;
    --text-muted: #999999;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 4px;
}

/* ================== RESET & SETUP ================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

/* Hide scrollbar for cleaner look */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

h1, h2, h3, h4, h5, h6, .brand {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    cursor: none;
}

ul {
    list-style: none;
}

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

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

/* ================== PRELOADER ================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1s;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.brand-loader {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 8px;
    color: var(--text-main);
    display: block;
    margin-bottom: 20px;
}

.progress-container {
    width: 200px;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 auto;
    overflow: hidden;
}

.progress-bar-load {
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    animation: loadingBar 2s ease-in-out forwards;
}

@keyframes loadingBar {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

/* ================== CUSTOM CURSOR ================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover state for cursor */
.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border-color: transparent;
}
.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
}

@media screen and (max-width: 1024px) {
    body { cursor: auto; }
    a, button { cursor: pointer; }
    .cursor-dot, .cursor-outline { display: none !important; }
}

/* ================== SCROLL PROGRESS ================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    background-color: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ================== UTILITIES ================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 140px 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.w-100 { width: 100%; }

.accent-text {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 25px 0;
}

.center-divider {
    margin: 25px auto;
}

/* BUTTONS */
button { cursor: none; }

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.large-btn {
    padding: 20px 50px;
}

/* ================== NAVBAR ================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 999;
    transition: var(--transition-smooth);
}

#navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.8rem;
    letter-spacing: 6px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 45px;
}

.hover-underline {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

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

.hover-underline:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: none;
    z-index: 1000;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* ================== HERO ================== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    transform: scale(1.05); /* Prevent edges showing on scroll parallax */
    z-index: 0;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.animated-subtitle {
    display: block;
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin-bottom: 30px;
    text-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.2rem;
    color: #dfdfdf;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 50px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.7;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 1px solid var(--text-main);
    border-radius: 12px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ================== ABOUT ================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.chef-signature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
}

.chef-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.chef-info {
    display: flex;
    flex-direction: column;
}

.signature {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
}

.chef-title {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Asymmetrical Image Collage */
.about-image-collage {
    position: relative;
    height: 650px;
    width: 100%;
}

.img-wrapper {
    position: absolute;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.main-img {
    width: 75%;
    height: 80%;
    top: 0;
    right: 0;
}

.sub-img {
    width: 55%;
    height: 55%;
    bottom: 0;
    left: 0;
    border: 5px solid var(--bg-color);
    z-index: 2;
}

.overlay-glass {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px 30px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
}

.glass-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.years {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
}

.glass-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================== MENU ================== */
.menu {
    background-color: var(--surface-color);
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.menu-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.menu-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.menu-img-wrapper {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.menu-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.menu-card:hover .menu-img-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.menu-card:hover .card-overlay {
    opacity: 1;
}

.hover-btn {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.menu-card:hover .hover-btn {
    transform: translateY(0);
}

.menu-info {
    padding: 35px 30px;
}

.menu-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.menu-title-row h3 {
    font-size: 1.5rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
}

.menu-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.dietary-tags {
    display: flex;
    gap: 10px;
}

.dietary-tags li {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--primary-color);
}

/* ================== TESTIMONIALS (NEW) ================== */
.testimonials {
    background-color: var(--bg-color);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--surface-color);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    position: relative;
    border-left: 2px solid var(--primary-color);
}

.stars {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 20px;
}

.review-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.reviewer strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

.reviewer span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================== RESERVATION ================== */
.reservation {
    padding: 150px 20px;
    position: relative;
}

.reservation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5,5,5,0.85), rgba(5,5,5,0.85)), url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    z-index: 0;
}

.reservation-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(10px);
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
}

.reservation-content .accent-text {
    justify-content: center;
}

.reservation-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.reservation-form input, .reservation-form select {
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    border-radius: var(--border-radius);
    outline: none;
    transition: var(--transition-smooth);
    cursor: none;
}

.reservation-form input:focus, .reservation-form select:focus {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.1);
}

/* ================== FOOTER ================== */
footer {
    background-color: #030303;
    padding: 100px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.brand-col .brand {
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--surface-color);
    border-radius: 50%;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 5px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-muted);
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 5px;
}

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

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    outline: none;
    border-radius: var(--border-radius);
    cursor: none;
}

.input-group input:focus {
    border-color: var(--primary-color);
}

.newsletter-form .btn-primary {
    margin-top: 10px;
    width: 100%;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    background-color: #000;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

/* ================== ANIMATIONS (SCROLL REVEAL) ================== */
.scroll-reveal {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.fade-in-up {
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left {
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right {
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}


/* ================== RESPONSIVE ================== */
@media screen and (max-width: 1200px) {
    .about-grid { gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image-collage { height: 500px; margin-top: 50px; }
    .main-img { width: 85%; }
    .sub-img { width: 65%; }
}

@media screen and (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        gap: 30px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a.hover-underline {
        font-size: 1.5rem;
    }
    
    .hamburger { display: block; z-index: 1001; }

    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .reservation-content { padding: 40px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
