:root {
    --med-blue: #1B4A6B;
    --med-blue-light: #2C6E8F;
    --med-terracotta: #C46D5E;
    --med-terracotta-light: #D9897A;
    --med-ocre: #D4A259;
    --med-sand: #F5E6D3;
    --med-white: #FFFDF9;
    --med-dark: #2C2A29;
    --glass-bg: rgba(255, 253, 249, 0.85);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 0 20px rgba(212, 162, 89, 0.3);
    --light-orange: #FFA94D;
    --light-orange-soft: rgba(255, 169, 77, 0.18);
    --light-orange-glow: rgba(255, 169, 77, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Poppins', 'Helvetica Neue', sans-serif;
}

body {
    background: var(--med-sand);
    color: var(--med-dark);
    line-height: 1.6;
}

/* ========== BACKGROUND PATTERN ========== */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 169, 77, 0.07) 2px, transparent 2px),
        radial-gradient(circle at 90% 80%, rgba(196, 109, 94, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 169, 77, 0.04) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    z-index: -2;
}

/* ========== KEYFRAMES ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatGently {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-12px) rotate(4deg); }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes shimmerPrice {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes rippleAnim {
    to { transform: scale(5); opacity: 0; }
}
@keyframes sparkleFloat {
    0%   { opacity: 0; transform: translateY(0) scale(0); }
    20%  { opacity: 0.8; transform: translateY(-15px) scale(1); }
    80%  { opacity: 0.3; transform: translateY(-70px) scale(0.7); }
    100% { opacity: 0; transform: translateY(-110px) scale(0); }
}
@keyframes ornamentPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%       { opacity: 0.6;  transform: scale(1.08); }
}
@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--light-orange-soft); }
    50%       { box-shadow: 0 0 0 6px var(--light-orange-soft); }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes diamondSpin {
    0%   { transform: rotate(0deg) scale(1); opacity: 0.4; }
    50%  { transform: rotate(180deg) scale(1.1); opacity: 0.7; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.4; }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-45px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible,
.reveal-left.visible {
    opacity: 1;
    transform: translate(0);
}

/* ========== ORNAMENT ELEMENTS ========== */

/* Ornament row with line + star + line */
.ornament-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.2rem auto;
}
.ornament-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--light-orange), transparent);
    border-radius: 2px;
}
.ornament-star {
    color: var(--light-orange);
    font-size: 1.1rem;
    animation: ornamentPulse 3s ease-in-out infinite;
    display: inline-block;
}
.ornament-star:nth-child(2) { animation-delay: 0.5s; }
.ornament-star:nth-child(4) { animation-delay: 1s; }

/* Corner SVG ornament */
.corner-ornament-wrap {
    position: relative;
}
.corner-svg {
    position: absolute;
    width: 65px;
    height: 65px;
    color: var(--light-orange);
    opacity: 0.35;
    pointer-events: none;
    animation: ornamentPulse 4s ease-in-out infinite;
}
.corner-svg.top-left  { top: 12px; left: 12px; }
.corner-svg.top-right { top: 12px; right: 12px; transform: scaleX(-1); }
.corner-svg.bot-left  { bottom: 12px; left: 12px; transform: scaleY(-1); }
.corner-svg.bot-right { bottom: 12px; right: 12px; transform: scale(-1); }

/* Floating geometric shapes (hero background) */
.geo-shape {
    position: absolute;
    pointer-events: none;
    color: var(--light-orange);
    opacity: 0.12;
    animation: floatGently ease-in-out infinite;
}

/* Diamond row separator */
.diamond-sep {
    text-align: center;
    color: var(--light-orange);
    font-size: 0.75rem;
    letter-spacing: 10px;
    margin: 0.5rem 0;
    animation: ornamentPulse 4s ease-in-out infinite;
}

/* Animated orange accent bar */
.orange-bar {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--light-orange), var(--med-ocre), var(--light-orange));
    background-size: 200% auto;
    animation: shimmerPrice 2s linear infinite;
    border-radius: 4px;
    margin: 0.8rem auto;
}

/* ========== HEADER ========== */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 169, 77, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
header.scrolled {
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--med-terracotta), var(--light-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--light-orange-glow);
    animation: borderGlow 3s ease-in-out infinite;
}
.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--med-blue);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--med-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--med-terracotta), var(--light-orange));
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--med-terracotta); }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    width: 25px; height: 2px;
    background: var(--med-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg,
        rgba(27, 74, 107, 0.06),
        rgba(255, 169, 77, 0.06),
        rgba(196, 109, 94, 0.05));
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--med-terracotta), var(--light-orange));
    color: white;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px var(--light-orange-glow);
    animation: fadeInUp 0.8s ease both;
}
.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--med-blue);
    margin-bottom: 1rem;
    animation: fadeInUp 0.9s ease 0.1s both;
}
.hero-divider {
    width: 80px; height: 3px;
    background: linear-gradient(90deg, var(--med-terracotta), var(--light-orange), var(--med-ocre));
    background-size: 200% auto;
    animation: shimmerPrice 2.5s linear infinite;
    border-radius: 4px;
    margin: 1.5rem auto;
}
.hero p {
    font-size: 1.2rem;
    color: var(--med-dark);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: linear-gradient(135deg, var(--med-blue), var(--med-blue-light));
    color: white;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.1s ease 0.3s both;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--light-orange-glow);
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleAnim 0.65s linear;
    pointer-events: none;
    width: 20px; height: 20px;
    margin-left: -10px; margin-top: -10px;
}

/* ========== FEATURES ========== */
.features {
    max-width: 1200px;
    margin: 4rem auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 169, 77, 0.3);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--light-orange), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-orange);
    box-shadow: 0 20px 40px var(--light-orange-soft);
}
.feature-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--med-terracotta), var(--light-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 18px var(--light-orange-glow);
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: rotate(10deg) scale(1.1); }
.feature-icon::before { font-size: 28px; color: white; }
.feature-icon-dessert::before { content: "🍰"; }
.feature-icon-cafe::before    { content: "☕"; }
.feature-icon-cocktail::before{ content: "🍸"; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--med-blue); }
.feature-card p  { color: var(--med-dark); font-size: 0.9rem; }

/* ========== ABOUT ========== */
.about-preview {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
    padding: 2.5rem 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 169, 77, 0.3);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}
.about-preview::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--light-orange), transparent);
}
.about-preview h2 { font-size: 2rem; color: var(--med-blue); margin-bottom: 1rem; }
.about-preview p  { color: var(--med-dark); margin: 1rem 0; }

/* ========== DIVIDERS ========== */
.section-divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--med-terracotta), var(--light-orange));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ========== MENU ========== */
.menu-header {
    text-align: center;
    padding: 3rem 2rem 1rem;
    position: relative;
}
.menu-header h1 { font-size: 2.8rem; color: var(--med-blue); }

.menu-category-horizontal {
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}
.menu-category-horizontal h2 {
    font-size: 1.8rem;
    border-left: 4px solid var(--light-orange);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    color: var(--med-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}
.menu-category-horizontal h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--light-orange), transparent);
    border-radius: 2px;
    opacity: 0.5;
}

.scroll-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--light-orange) var(--med-sand);
}
.scroll-container::-webkit-scrollbar { height: 5px; }
.scroll-container::-webkit-scrollbar-track {
    background: var(--med-sand);
    border-radius: 10px;
}
.scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--light-orange), var(--med-terracotta));
    border-radius: 10px;
}

.scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0.2rem 1rem;
}

.menu-item {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 169, 77, 0.25);
    border-radius: 24px;
    overflow: hidden;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    will-change: transform;
}
.menu-item:hover {
    border-color: var(--light-orange);
    box-shadow: 0 18px 40px var(--light-orange-soft);
}

.model-container {
    width: 100%;
    min-height: 220px;
    background: rgba(245, 230, 211, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-3d {
    background: linear-gradient(135deg, var(--med-terracotta), var(--light-orange));
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    margin: 20px auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--light-orange-glow);
    position: relative;
    overflow: hidden;
}
.btn-3d:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px var(--light-orange-glow);
}

.model-3d {
    width: 100%; height: 220px;
    display: block;
}
.hidden-model { display: none; }
.model-3d:not(.hidden-model) { display: block; }

.dish-img {
    width: 100%; height: 180px;
    object-fit: cover;
    background: rgba(245, 230, 211, 0.6);
    transition: transform 0.4s ease;
}
.menu-item:hover .dish-img { transform: scale(1.04); }

.menu-info { padding: 1.2rem; }
.menu-info h3 { font-size: 1.1rem; color: var(--med-blue); margin-bottom: 0.4rem; }
.menu-info p  { font-size: 0.8rem; color: var(--med-dark); opacity: 0.8; }

.price {
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 0.6rem;
    background: linear-gradient(90deg,
        var(--med-terracotta), var(--light-orange), var(--med-ocre), var(--light-orange), var(--med-terracotta));
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerPrice 3.5s linear infinite;
}

/* ========== CONTACT ========== */
.contact-header {
    text-align: center;
    padding: 2rem;
    position: relative;
}
.contact-header h1 { font-size: 2.5rem; color: var(--med-blue); }

.contact-container {
    max-width: 1000px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.contact-info, .contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 169, 77, 0.3);
    padding: 2rem;
    border-radius: 28px;
    position: relative;
    transition: box-shadow 0.3s ease;
}
.contact-info:hover, .contact-form:hover {
    box-shadow: 0 10px 35px var(--light-orange-soft);
}
.contact-info h2, .contact-form h2 { color: var(--med-blue); margin-bottom: 1.5rem; }

.info-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 169, 77, 0.2);
    color: var(--med-dark);
    transition: color 0.2s ease;
}
.info-item:hover { color: var(--med-terracotta); }
.info-item::before { margin-right: 12px; color: var(--light-orange); }
.location::before { content: "📍 "; }
.phone::before    { content: "📞 "; }
.email::before    { content: "✉️ "; }
.clock::before    { content: "⏰ "; }
.delivery::before { content: "🚚 "; }

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    margin: 0.5rem 0 1.2rem;
    background: rgba(245, 230, 211, 0.5);
    border: 1px solid rgba(255, 169, 77, 0.3);
    border-radius: 16px;
    color: var(--med-dark);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--light-orange);
    box-shadow: 0 0 0 3px var(--light-orange-soft);
}

/* ========== FOOTER ========== */
footer {
    background: var(--med-blue);
    color: var(--med-sand);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--med-terracotta), var(--light-orange), var(--med-ocre), var(--light-orange), var(--med-terracotta));
    background-size: 200% auto;
    animation: shimmerPrice 3s linear infinite;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-section h4 { color: var(--light-orange); margin-bottom: 0.8rem; }
.footer-section p  { color: var(--med-sand); font-size: 0.85rem; }
.footer-bottom {
    text-align: center;
    padding: 1.2rem;
    border-top: 1px solid rgba(255, 169, 77, 0.2);
    color: var(--med-sand);
    font-size: 0.8rem;
}

/* ========== SPARKLES (JS-injected) ========== */
.sparkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleFloat ease-out forwards;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem 0;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .contact-container { grid-template-columns: 1fr; }
    .hero-badge { font-size: 0.7rem; }
    .corner-svg { width: 45px; height: 45px; }
    .geo-shape { display: none; }
}
