:root {
    --espresso-black: #0D0805;
    --dark-roast: #1A120B;
    --gold: #D4AF37;
    --gold-hover: #F1C40F;
    --warm-beige: #F5F5DC;
    --cream: #FFFDD0;
    --text-light: #E0D8D0;
    --text-muted: #A09080;

    --glass: rgba(13, 8, 5, 0.75);
    --glass-border: rgba(212, 175, 55, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.2);

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.light-mode {
    --espresso-black: #F5F5DC;
    --dark-roast: #E8E0D5;
    --gold: #B8860B;
    --gold-hover: #996515;
    --warm-beige: #1A120B;
    --cream: #0D0805;
    --text-light: #1A120B;
    --text-muted: #4A3A2A;
    --glass: rgba(245, 245, 220, 0.85);
    --glass-border: rgba(184, 134, 11, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--espresso-black);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

h1,
h2,
h3,
h4,
.logo,
.subtitle {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.text-center {
    text-align: center;
}

#custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

#custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--espresso-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-content {
    text-align: center;
}

.gold-ring {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-logo {
    font-style: italic;
    letter-spacing: 5px;
    font-size: 2rem;
    color: var(--gold);
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

#navbar.scrolled {
    padding: 15px 0;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-light);
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-actions button,
.cart-icon {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-actions button:hover,
.cart-icon:hover {
    color: var(--gold);
}

#cart-counter {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--gold);
    color: var(--espresso-black);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 0.5s ease hidden;
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('https://images.unsplash.com/photo-1509042239860-f550ce710b93?q=80&w=1974&auto=format&fit=crop') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 8, 5, 0.4), rgba(13, 8, 5, 0.9));
    z-index: -1;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    text-transform: capitalize;
    margin-bottom: 20px;
    line-height: 1.1;
    font-style: italic;
    letter-spacing: -2px;
}

.tagline {
    font-size: 1.2rem;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 40px;
    opacity: 0.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 16px 36px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gold);
    color: var(--espresso-black);
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4), 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: white;
    color: var(--espresso-black);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}


.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--espresso-black);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.grid-active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img .img-wrapper {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.about-img .img-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    z-index: 1;
    pointer-events: none;
}

.subtitle {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--dark-roast);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-soft);
}

.product-img {
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.product-img img {
    height: 200px;
    object-fit: contain;
    margin: 0 auto;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 15px;
}

.rating {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    cursor: none !important;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.menu-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-tab.active,
.menu-tab:hover {
    color: var(--gold);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.menu-item-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.menu-item-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.menu-item-price {
    font-weight: 700;
    color: var(--gold);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--dark-roast);
    padding: 40px;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.client .name {
    display: block;
    font-weight: 700;
    color: var(--gold);
}

.client .role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer {
    background: #050302;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info .logo {
    display: block;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--espresso-black);
    border-color: var(--gold);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: var(--text-muted);
}

.footer ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--espresso-black);
    z-index: 1002;
    transition: var(--transition-smooth);
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.cart-header h3 {
    font-size: 1.5rem;
}

#close-cart {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.cart-item-info span {
    color: var(--gold);
    font-size: 0.8rem;
}

.cart-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

@media (max-width: 992px) {
    .grid-active {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--espresso-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-smooth);
        z-index: 999;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block !important;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

.hamburger {
    display: none;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition-smooth);
    background-color: var(--text-light);
}

::selection {
    background: var(--gold);
    color: var(--espresso-black);
}