:root {
  /* Brand Colors */
  --primary: #d4a574;
  --primary-dark: #b8935f;
  --accent: #f1cfa8;

  /* Backgrounds */
  --bg-main: #f5f6fa;
  --bg-dark: #1e1e2f;
  --bg-soft: #ffffff;

  /* Text */
  --text-main: #1f1f1f;
  --text-secondary: #6b6b6b;
  --text-muted: #9a9a9a;
  --text-light: #ffffff;

  /* Borders */
  --border-light: rgba(255,255,255,0.4);
  --border-dark: rgba(0,0,0,0.08);

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-mid: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-deep: 0 15px 45px rgba(0,0,0,0.18);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-bg-strong: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: 12px;
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.15);

  /* Status */
  --success: #2ecc71;
  --error: #e74c3c;
  --warning: #f39c12;

  /* Transition */
  --transition: all 0.3s ease;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', system-ui;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.index-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(212, 165, 116, 0.08), transparent 55%);
    z-index: -1;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 20px;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    margin: 0 20px;
}

.navbar {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    margin-right: 10px;
    color: #d4a574;
}

.nav-logo span {
    color: #ccc;
}

.navbar.scrolled nav {
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
    backdrop-filter: blur(16px);
    padding: 0.6rem 1.3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-link {
    padding: 7.5px 10.5px;
    border-radius: var(--radius-md);
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}


.nav-link:hover {
    background: var(--primary);
    padding: auto;
}

.cart-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.cart-btn:hover {
    background: #b8935f;
}

.cart-count {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    text-align: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger span {
    transition: transform 0.3s ease, opacity 0.4s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    padding: 100px 20px 80px;
    display: flex;
    align-items: center;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #2c1810;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 span {
    font-size: 4.5rem;
    color: #2c1810;
    font-weight: bolder;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

button {
    font-family: inherit;
    background: #d4a574;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn {
  background: #e8b35c;
  border: 1px solid var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: .9px;
}

.borderpulse {
    border: 2px solid var(--primary);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}


.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.5);
}

.cta-btn:hover {
    background: #b8935f;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-deep);
}

/* Menu Section */
.menu-section {
    padding: 80px 20px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c1810;
    margin-bottom: 3rem;
}

.menu-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 12px 16px;
    background: transparent;
    border: 1.5px solid var(--accent);
    color: #d4a574;
    box-shadow: var(--shadow-soft);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
}

.category-btn.active,
.category-btn:hover {
    background: #d4a574;
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 20px;
}

.menu-item h3 {
    color: #2c1810;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d4a574;
}

.add-to-cart {
    width: 100%;
    max-width: 120px;
    background: #d4a574;
    box-shadow: var(--shadow-soft);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #b8935f;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: #f8f8f8;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c1810;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    color: #d4a574;
    font-size: 1.2rem;
    width: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    color: #d4a574;
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-item h3 {
    color: #2c1810;
    margin-bottom: 5px;
}

.contact-form {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
}

.contact-form h3 {
    color: #2c1810;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: focus-visible .3s ease;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline-color: var(--primary);
}

.contact-form button {
    background: #d4a574;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #b8935f;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: #2c1810;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    color: #2c1810;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-item-price {
    color: #d4a574;
    font-weight: bold;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    color: #1e1e2f;
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity {
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #2c1810;
}

.checkout-btn {
    width: 100%;
    background: #d4a574;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-bottom: 3rem;
}

.checkout-btn:hover {
    background: #b8935f;
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-cart i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #2c1810;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

.checkout-header {
    margin-top: 3rem;
}

.checkout-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.order-summary {
    margin-bottom: 3rem;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
}

.order-summary h3 {
    color: #2c1810;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.checkout-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    color: #2c1810;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.item-quantity {
    color: #666;
    font-size: 0.8rem;
}

.item-price {
    color: #d4a574;
    font-weight: bold;
}

.order-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #d4a574;
    text-align: center;
    font-size: 1.2rem;
    color: #2c1810;
}

.checkout-form h3 {
    color: #2c1810;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c1810;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.08);
}

.place-order-btn {
    width: 100%;
    background: #d4a574;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.place-order-btn:hover {
    background: #b8935f;
}

/* Confirmation Modal */
.confirmation-content {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.confirmation-content h2 {
    color: #2c1810;
    margin-bottom: 15px;
}

.confirmation-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.order-details {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.order-details p {
    margin-bottom: 10px;
    color: #2c1810;
}

.continue-btn {
    background: #d4a574;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.continue-btn:hover {
    background: #b8935f;
}

/* Footer */
.footer {
    background: #2c1810;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
    color: #d4a574;
}

.footer-section h4 {
    color: #d4a574;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #d4a574;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #d4a574;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        border-radius: var(--radius-lg);
        position: fixed;
        left: -120%;
        top: 70px;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        background: var(--glass-bg-strong);
        background-color: #2c1810;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--glass-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-soft);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .menu-categories {
        justify-content: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .checkout-sections {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .cart-sidebar {
        width: 100vw;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d4a574;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade in animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Hidden class */
.hidden {
    display: none !important;
}