:root {
    --primary: #d4af37; /* Premium Gold */
    --primary-hover: #b5952f;
    --bg-base: #0a0a0a; /* Deep rich black */
    --bg-surface: #141414; /* Slightly lighter for cards */
    --text-main: #fdfbf7; /* Warm cream/off-white */
    --text-muted: #a39f98; /* Warm gray */
    
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(212, 175, 55, 0.15); /* Subtle gold border */
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.8; /* Increased line-height for elegance */
    letter-spacing: 0.3px; /* Slightly wider tracking */
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 1px;
}

h2 {
    font-size: 3rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Elegant Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Premium Buttons */
.btn-primary, .btn-primary-outline, .btn-secondary, .btn-order {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 12px; /* Soft rounded corners as requested */
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-slow);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-base);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-primary-outline:hover {
    background-color: var(--primary);
    color: var(--bg-base);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(253, 251, 247, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255,255,255,0.05);
}

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10,10,10,0.9), rgba(10,10,10,0));
    backdrop-filter: blur(5px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
}

.cart-icon {
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary);
    color: var(--bg-base);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    background-image: url('https://images.unsplash.com/photo-1559314809-0d155014e29e?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    text-align: center;
    margin-top: 5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 20px; /* Pill-shaped badge */
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 auto 3rem auto;
    max-width: 650px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections Common */
section {
    padding: 10rem 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}

/* How it Works */
.how-it-works {
    background-color: var(--bg-surface);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-base);
    border-radius: 16px; /* Soft rounded corners */
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition-slow);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin: 0 auto 2.5rem auto;
}

.step-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Menu */
.menu {
    background-color: var(--bg-base);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.menu-card {
    border-radius: 16px; /* Soft rounded corners */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    background: var(--bg-surface);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.card-image {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tags {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.tag {
    padding: 0.4rem 1rem;
    border-radius: 12px; /* Soft rounded corners */
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    background: rgba(10,10,10,0.7);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
}

.tag.best-seller { border-color: var(--primary); color: var(--primary); }

.card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.6rem;
    max-width: 70%;
}

.price {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.description {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.meta-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}

.meta.alert {
    color: var(--primary);
}

.btn-order {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    width: 100%;
}

.btn-order:hover {
    background-color: var(--primary);
    color: var(--bg-base);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-base);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item summary {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    color: var(--text-main);
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Safari */
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 2rem 2rem 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #050505;
    padding: 6rem 8% 3rem 8%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 5rem auto;
}

.footer-brand h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links h4, .footer-faq h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links p, .footer-faq a {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-faq a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: #404040;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(5,5,5,0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-surface);
    padding: 3.5rem;
    border-radius: 24px; /* Soft rounded modal */
    max-width: 600px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close {
    color: var(--text-muted);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close:hover {
    color: var(--primary);
}

.modal h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 8px; /* Soft rounded inputs */
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    color-scheme: dark; /* Ensures native calendar icons are white */
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0,0,0,0.4);
}

/* Cart Specific Styles */
.cart-items-container {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
}

.cart-items-container::-webkit-scrollbar {
    width: 6px;
}
.cart-items-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.cart-items-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr auto 80px;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-item-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 0.25rem 0.5rem;
    justify-self: center;
}

.cart-item-controls button {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-item-controls button:hover {
    color: var(--text-main);
}

.cart-item-total {
    font-weight: 600;
    color: var(--primary);
    min-width: 60px;
    text-align: right;
}

.cart-total-display {
    text-align: right;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    margin-top: 1rem;
}

.cart-total-display span {
    color: var(--primary);
    font-weight: 600;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
button:disabled:hover {
    background-color: var(--primary) !important;
    color: var(--bg-base) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    section {
        padding: 6rem 5%;
    }
    .modal-content {
        padding: 2.5rem 1.5rem;
    }
}
