:root {
    --primary-red: #D9381E;
    --primary-orange: #F2A900;
    --dark-bg: #1A1A1A;
    --card-bg: #252525;
    --light-text: #F4F4F4;
    --text-muted: #B0B0B0;
    --white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.subheading {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-light {
    color: var(--light-text);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-orange), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ... existing styles ... */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    overflow: hidden;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 20px;
    opacity: 0;
    animation: textAppear 1s ease forwards;
}

.loader-line {
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    margin: 0 auto;
    animation: lineGrow 1.5s ease forwards 0.5s;
}

@keyframes textAppear {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes lineGrow {
    to {
        width: 100%;
    }
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-orange);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(242, 169, 0, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Cursor Hover State */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(242, 169, 0, 0.1);
    border-color: transparent;
}

/* Hide default cursor on desktop */
@media (min-width: 992px) {
    body {
        cursor: none;
    }

    a,
    button,
    input,
    select,
    textarea,
    .close-modal {
        cursor: none;
    }
}

@media (max-width: 991px) {

    /* Disable custom cursor on mobile to save performance */
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}


.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-red);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-bg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.2);
    /* Transparent initially */
    backdrop-filter: blur(5px);
}

.navbar.scrolled {
    background: var(--dark-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.logo .accent {
    color: var(--primary-orange);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.desktop-btn {
    display: block;
    padding: 8px 20px;
    font-size: 0.8rem;
}

.mobile-btn {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background: 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)'/%3E%3C/svg%3E");
}

/* Typography Enhancements */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
    /* Tighter layout for premium feel */
}

/* Cinematic Image Reveal */
.img-reveal-wrapper {
    overflow: hidden;
    border-radius: 10px;
    display: block;
}

.img-reveal-wrapper img {
    transform: scale(1.3);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 1s ease;
    filter: blur(5px);
    width: 100%;
    display: block;
}

.reveal-on-scroll.active .img-reveal-wrapper img {
    transform: scale(1);
    filter: blur(0);
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
    margin-bottom: 5px;
}

.wheel {
    width: 4px;
    height: 4px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

/* Magnetic Button Effect (Base) */
.magnetic-btn {
    display: inline-block;
    /* Required for transform */
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    /* Quick snap */
}

/* Form Enhancements */
.input-group input,
.input-group select {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    border-bottom-color: var(--primary-orange);
    padding-left: 10px;
    /* Subtle shift */
    background: rgba(242, 169, 0, 0.05);
    /* Very light orange tint */
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 0.8;
    }
}

/* Mobile Tweaks */
@media (max-width: 991px) {

    /* Disable fancy image reveals on mobile for performance */
    .img-reveal-wrapper img {
        transform: none !important;
        filter: none !important;
    }
}


/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 10px;
    display: block;
    box-shadow: var(--shadow);
}

.pattern-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: var(--primary-orange);
    /* Fallback */
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 20px);
    z-index: -1;
    border-radius: 10px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-item .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #777;
    margin-top: 5px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-img {
    height: 200px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-img img {
    transform: scale(1.1);
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-muted);
}

/* Menu Preview */
.menu-preview .row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.col-text {
    flex: 1;
}

.col-img {
    flex: 1;
}

.menu-highlights {
    margin: 30px 0;
}

.menu-highlights li {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ddd;
    position: relative;
}

.menu-highlights li:last-child {
    border-bottom: none;
}

.dish-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.dish-desc {
    font-size: 0.95rem;
    color: #666;
    margin-top: 5px;
    max-width: 80%;
}

.dish-price {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.menu-img-container {
    position: relative;
    padding: 20px;
    border: 2px solid var(--primary-orange);
    border-radius: 10px;
}

.menu-featured-img {
    width: 100%;
    display: block;
    border-radius: 5px;
}

/* Reservation */
.reservation {
    background-color: #FAFAFA;
}

.reservation-box {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 20px;
    overflow: hidden;
}

.form-content {
    padding: 50px;
}

.contact-info {
    background: var(--primary-red);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input,
select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input:focus,
select:focus {
    border-color: var(--primary-orange);
}

.w-100 {
    width: 100%;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Footer */
footer {
    background-color: #111;
    color: #aaa;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .about-grid,
    .menu-preview .row,
    .reservation-box,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .col-img {
        order: -1;
    }

    .contact-info {
        padding: 30px;
    }

    .reservation-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.4s;
        gap: 20px;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .desktop-btn {
        display: none;
    }

    .mobile-btn {
        display: inline-block;
        margin-top: 10px;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    margin: 5% auto;
    display: block;
    width: 80%;
    max-width: 900px;
    background: transparent;
    border-radius: 10px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 2001;
    cursor: pointer;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-orange);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1);
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
}