@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-bg: #f9f9f9;
    --accent-gold: #c29b27;
    --text-white: #1a1a1a;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-blur: blur(12px);
    --nav-height: 80px;
}

body.dark-mode {
    --primary-bg: #0d0d0d;
    --accent-gold: #d4af37;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.glass {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    /* Softer shadow for light mode glass */
}

body.dark-mode .glass {
    box-shadow: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: 0.4s;
    color: #ffffff;
}

nav.scrolled {
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
    overflow: hidden;
    border-radius: 12px;
}

.nav-logo img {
    height: 50px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 30px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.theme-toggle:hover {
    color: var(--accent-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1589187151032-573a91317445?q=80&w=2070&auto=format&fit=crop') center/cover;
    z-index: -1;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.hero-logo {
    width: 180px;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    animation: fadeInDown 1s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s both;
    position: relative;
    z-index: 2;
}

/* 3D Floating Bowl */
.floating-bowl-container {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-bowl {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8));
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

@media (max-width: 1100px) {
    .floating-bowl-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 250px;
        height: 250px;
        margin-top: 20px;
    }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Floating Buttons */
#floating-order {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #ffffff;
}

#scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Modal / Popup */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 600px;
    width: 100%;
    padding: 40px;
    text-align: center;
}

.branch-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.branch-card {
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.branch-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    background: #050505;
    text-align: center;
    color: #ffffff;
}

.footer-logo {
    width: 120px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.footer-links {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.developer-credit {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.developer-logo {
    height: 25px;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: #0d0d0d;
        color: #ffffff;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}