@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');

:root {
    --primary-gold: #D4AF37;
    --dark-bg: #0A0A0A;
    --card-bg: rgba(255, 255, 255, 0.02);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

/* Particle System */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite linear;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
}

/* Cart/Order System */
.cart-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.cart-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cart-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
}

.cart-toggle svg {
    color: var(--dark-bg);
    transition: transform 0.3s ease;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cart-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.cart-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cart-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.cart-item-name {
    flex: 1;
    font-size: 0.9rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #FF4444;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: opacity 0.2s;
}

.cart-item-remove:hover {
    opacity: 0.7;
}

.cart-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.cart-form input::placeholder {
    color: var(--text-secondary);
}

.submit-order-btn,
.add-to-cart-btn {
    background: var(--primary-gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-order-btn:hover,
.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.add-to-cart-btn {
    margin-top: 1.5rem;
    width: 100%;
}

.cart-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.cart-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    display: block;
}

.cart-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #FF4444;
    display: block;
}

/* Mobile responsiveness for cart */
@media (max-width: 768px) {
    body {
        cursor: default;
    }
    
    .cursor,
    .cursor-trail {
        display: none;
    }
    
    .cart-container {
        bottom: 1rem;
        right: 1rem;
    }
    
    .cart-toggle {
        width: 50px;
        height: 50px;
    }
    
    .cart-panel {
        width: 90vw;
        max-width: 350px;
        right: -1rem;
        bottom: 70px;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.8);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--primary-gold);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 100;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-gold), #FFE55C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 4rem;
    animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-gold), transparent);
    animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 3px;
    height: 20px;
    background: var(--primary-gold);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(40px); opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cocktails Section */
.cocktails {
    padding: 8rem 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 100;
    text-align: center;
    margin-bottom: 6rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.cocktail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.cocktail-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    cursor: pointer;
}

.cocktail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: all 0.6s ease;
}

.cocktail-card:hover::before {
    left: 100%;
}

.cocktail-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.1);
}

.cocktail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: all 0.4s ease;
}

.cocktail-card:hover .cocktail-image {
    filter: brightness(0.9) contrast(1.2);
    transform: scale(1.05);
}

.cocktail-info {
    padding: 3rem;
}

/* Quick Add Button */
.quick-add-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
}

.cocktail-card:hover .quick-add-btn {
    opacity: 1;
    transform: scale(1);
}

.quick-add-btn:hover {
    background: #E6C547;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.quick-add-btn:active {
    transform: scale(0.95);
}

/* Mobile: Always show + button when card is highlighted */
@media (max-width: 768px) {
    .quick-add-btn {
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.3s ease;
    }
    
    .cocktail-card.mobile-highlight .quick-add-btn {
        opacity: 1;
        transform: scale(1);
    }
    
    .cocktail-card.mobile-highlight {
        transform: scale(1.02);
        border-color: rgba(212, 175, 55, 0.4);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    }
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 300;
    letter-spacing: 2px;
    z-index: 10;
    background: rgba(10, 10, 10, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.cocktail-name {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.cocktail-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

.ingredients-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ingredient-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 300;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    backdrop-filter: blur(40px);
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--primary-gold);
}

.modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section h4 {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.recipe-list {
    list-style: none;
}

.recipe-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 300;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recipe-list li:hover {
    color: var(--text-primary);
}

.recipe-list li:last-child {
    border-bottom: none;
}

.ingredient-portion {
    font-weight: 400;
    color: var(--primary-gold);
}

.ingredient-brand {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-section h3 {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 100;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 2rem 3rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 4s ease-in-out infinite;
}

/* Floating Elements */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor, .cursor-trail {
        display: none;
    }

    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .cocktail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cocktail-info {
        padding: 2rem;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-left, .footer-right {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFE55C;
}