/* ===================================
   QARA QABUK - Ultra Professional Menu
   Modern | Luxurious | Animated
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #0a0a0a;
    --color-secondary: #0f0f0f;
    --color-dark: #000000;
    --color-gold: #FFD700;
    --color-gold-light: #FFF4CC;
    --color-gold-dark: #CC9900;
    --color-orange: #FF8C00;
    --color-white: #FFFFFF;
    --color-gray: #808080;
    --color-gray-light: #C0C0C0;

    /* Neon Colors */
    --neon-blue: #00F0FF;
    --neon-purple: #B026FF;
    --neon-pink: #FF006E;
    --neon-green: #39FF14;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FF8C00 50%, #FFD700 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    --gradient-neon: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);

    /* Shadows */
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-glow-strong: 0 0 40px rgba(255, 215, 0, 0.6);
    --shadow-neon: 0 0 30px var(--neon-blue);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);

    /* Timing */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-50%, -50%);
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 50%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Container */
.logo-container {
    perspective: 1000px;
}

.shell-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    color: var(--color-gold);
    filter: drop-shadow(var(--shadow-glow));
    animation: floatShell 6s ease-in-out infinite, rotateShell 20s linear infinite;
}

@keyframes floatShell {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotateShell {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.shell-path, .shell-ellipse {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawShell 3s ease-out forwards;
}

@keyframes drawShell {
    to {
        stroke-dashoffset: 0;
    }
}

/* Brand Name */
.brand-name {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.qara {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.qabuk {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite 0.5s;
    letter-spacing: 0.5em;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    }
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: var(--color-gold-light);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.8s forwards;
    position: relative;
    padding: 1rem 2rem;
}

.tagline::before,
.tagline::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: var(--gradient-gold);
    animation: expandLine 1.5s ease-out 1s forwards;
}

.tagline::before {
    left: 0;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
}

.tagline::after {
    right: 0;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;
}

@keyframes expandLine {
    to {
        transform: translateY(-50%) scaleX(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 2s ease-out 1.5s forwards, bounce 2s ease-in-out infinite 2.5s;
    opacity: 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-gold);
    border-radius: 25px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 3rem;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    animation: slideInRight 1s ease-out 2s forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.floating-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.floating-nav a {
    position: relative;
    color: var(--color-gold);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    display: block;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 25px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.floating-nav a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.floating-nav a:hover {
    transform: translateX(-10px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-glow);
}

.floating-nav a:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* Menu Container */
.menu-container {
    position: relative;
    z-index: 2;
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Menu Section */
.menu-section {
    margin-bottom: 8rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.menu-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.mt-5 {
    margin-top: 5rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    filter: blur(10px);
    transform: scale(1.05);
}

.title-underline {
    width: 150px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 1rem auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.drinks-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Menu Card */
.menu-card {
    position: relative;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    cursor: none;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
    border-radius: 20px;
}

.menu-card:hover::before {
    opacity: 0.05;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.menu-card:hover .card-glow {
    opacity: 1;
    animation: rotateGlow 4s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.menu-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.2),
        inset 0 0 40px rgba(255, 215, 0, 0.05);
}

.menu-card.premium {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(20, 20, 20, 0.8);
}

.menu-card.premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 1;
}

.dish-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.dish-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.4s ease;
}

.menu-card:hover .dish-name::after {
    width: 100%;
}

.serving-type {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-gold-light);
    opacity: 0.8;
}

.dish-description {
    font-size: 1rem;
    color: var(--color-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Price Rows */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition-smooth);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:hover {
    padding-left: 10px;
    border-bottom-color: rgba(255, 215, 0, 0.3);
}

.price-row.highlight {
    background: rgba(255, 215, 0, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.price-label {
    font-size: 1rem;
    color: var(--color-gray-light);
    font-weight: 400;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

/* Size Prices */
.size-prices {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.size-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.size-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.size-option:hover::before {
    left: 100%;
}

.size-option:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(5px);
}

.size-name {
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Drink Prices */
.drink-prices {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.drink-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    transition: var(--transition-smooth);
    position: relative;
}

.drink-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 50%;
}

.drink-option:hover::after {
    width: 150%;
    height: 150%;
}

.drink-option:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.drink-option.single-price {
    flex: none;
    width: 100%;
}

.drink-option .size-name {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    margin-bottom: 0.5rem;
}

.drink-option .price {
    font-size: 1.6rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    background: var(--gradient-dark);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-logo .qara,
.footer-logo .qabuk {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--color-gold-light);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .floating-nav {
        right: 1.5rem;
    }

    .brand-name {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        cursor: default;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .brand-name {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1rem;
        letter-spacing: 0.3em;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .floating-nav {
        position: static;
        transform: none;
        margin: 2rem auto;
        width: fit-content;
        animation: fadeIn 1s ease-out 1s forwards;
    }

    .floating-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-card {
        padding: 2rem;
    }

    .dish-name {
        font-size: 1.5rem;
    }

    .shell-icon {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .drink-prices {
        flex-direction: column;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary);
    border-left: 1px solid rgba(255, 215, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 6px;
    border: 2px solid var(--color-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
    box-shadow: var(--shadow-glow);
}

/* Selection */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: var(--color-white);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Glitch Effect for Premium Items */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.menu-card.premium:hover .dish-name {
    animation: glitch 0.3s ease-in-out;
}

/* Glassmorphism Enhancement */
@supports (backdrop-filter: blur(10px)) {
    .menu-card {
        background: rgba(15, 15, 15, 0.5);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }

    .floating-nav a {
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
    }
}
