/* ============================================
   VANILLA INN - CAFE & BAKERY
   Freshly Baked, Made with Love
   ============================================ */

:root {
    --white: #FFFFFF;
    --bg-light: #FDF9F5;
    --gray-light: #F0E6DE;
    --gray-mid: #DDD0C4;
    --text-dark: #4A3424;
    --text-muted: #8B6F50;
    --primary-vanilla: #F3D9B1;
    --primary-brown: #A67B5B;
    --green-primary: #4CAF50;
    --green-dark: #388E3C;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text-dark); line-height: 1.5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.main-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo a { text-decoration: none; }
.logo h1 { font-size: 1.3rem; color: var(--primary-brown); font-family: 'Playfair Display', serif; }
.logo span { font-size: 0.7rem; color: var(--green-primary); }
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: var(--transition); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary-brown); }
.btn-order { background: var(--green-primary); color: white; padding: 8px 20px; border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: var(--transition); }
.btn-order:hover { background: var(--green-dark); transform: scale(0.96); }

/* Mobile Sidebar */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-brown); cursor: pointer; }
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
.sidebar-overlay.active { opacity: 1; visibility: visible; }
.mobile-sidebar { position: fixed; top: 0; left: 0; width: 280px; height: 100%; background: var(--white); z-index: 999; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 2px 0 10px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.mobile-sidebar.open { transform: translateX(0); }
.sidebar-header { padding: 24px 20px; border-bottom: 1px solid var(--gray-light); display: flex; justify-content: space-between; align-items: center; }
.sidebar-header h3 { color: var(--primary-brown); font-family: 'Playfair Display', serif; }
.close-sidebar { background: none; border: none; font-size: 1.2rem; cursor: pointer; }
.sidebar-nav { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.sidebar-nav a { text-decoration: none; color: var(--text-dark); padding: 12px; display: flex; align-items: center; gap: 12px; border-radius: 12px; transition: var(--transition); }
.sidebar-nav a i { width: 24px; color: var(--primary-brown); }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(166,123,91,0.1); color: var(--primary-brown); }
.sidebar-order-btn { margin: 20px; background: var(--green-primary); color: white; text-decoration: none; padding: 14px; text-align: center; border-radius: 40px; font-weight: 600; }
.sidebar-footer { padding: 20px; border-top: 1px solid var(--gray-light); font-size: 0.7rem; color: var(--text-muted); line-height: 1.8; }
.sidebar-footer i { width: 24px; color: var(--primary-brown); }

/* Hero */
.hero { position: relative; min-height: 450px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay-light { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.35); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: white; }
.hero-content h1 { font-size: 3rem; margin-bottom: 15px; font-family: 'Playfair Display', serif; }
.hero-content h1 .highlight { color: var(--primary-vanilla); }
.hero-content p { font-size: 1.2rem; margin-bottom: 25px; }
.hero-btn { background: var(--green-primary); color: white; padding: 12px 30px; border-radius: 40px; text-decoration: none; font-weight: 600; display: inline-block; transition: var(--transition); }
.hero-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

/* Category Buttons - Horizontal */
.category-nav-horizontal { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 30px auto 20px; }
.cat-filter-btn { padding: 10px 24px; background: var(--bg-light); border: 1px solid var(--gray-mid); border-radius: 40px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--text-dark); }
.cat-filter-btn:hover, .cat-filter-btn.active { background: var(--green-primary); color: white; border-color: var(--green-primary); }

/* Section Title */
.section-title { text-align: center; font-size: 2rem; margin: 50px 0 30px; font-family: 'Playfair Display', serif; color: var(--primary-brown); position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary-brown); border-radius: 3px; }
.section-title-small { font-size: 1.5rem; margin: 30px 0 20px; color: var(--primary-brown); }

/* Product Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin: 40px 0; }
.product-card { background: var(--white); border-radius: 16px; overflow: hidden; transition: var(--transition); box-shadow: var(--shadow); border: 1px solid var(--gray-light); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-brown); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 20px; }
.card-content h3 { font-size: 1.2rem; margin-bottom: 5px; }
.card-content p { color: var(--text-muted); font-size: 0.85rem; }
.price { color: var(--green-primary); font-weight: 700; font-size: 1.2rem; margin: 10px 0; }
.shop-now-btn { display: inline-block; background: var(--green-primary); color: white; padding: 8px 20px; border-radius: 40px; text-decoration: none; font-weight: 500; font-size: 0.85rem; transition: var(--transition); }
.shop-now-btn:hover { background: var(--green-dark); }

/* Promo Banner */
.promo-banner { background: linear-gradient(135deg, var(--primary-brown), var(--primary-vanilla)); padding: 50px 0; margin: 40px 0; text-align: center; border-radius: 20px; }
.promo-content h3 { font-size: 2rem; color: white; margin-bottom: 10px; }
.promo-content p { color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.promo-btn { background: var(--green-primary); color: white; padding: 12px 30px; border-radius: 40px; text-decoration: none; font-weight: 600; display: inline-block; transition: var(--transition); }
.promo-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

/* About Section */
.about-section { padding: 60px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-text h2 { font-size: 2rem; color: var(--primary-brown); margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.about-text p { margin-bottom: 20px; color: var(--text-muted); line-height: 1.6; }
.stats { display: flex; gap: 30px; margin-top: 30px; }
.stat { text-align: center; }
.stat .number { font-size: 2rem; font-weight: 700; color: var(--primary-brown); display: block; }
.about-values h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary-brown); }
.about-values ul { list-style: none; }
.about-values li { padding: 10px 0; display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.about-values li i { color: var(--green-primary); width: 24px; }
.quote-section { padding: 40px 0; }
.quote-card { background: var(--bg-light); padding: 40px; border-radius: 24px; text-align: center; }
.quote-card i { font-size: 2rem; color: var(--primary-brown); opacity: 0.5; margin-bottom: 15px; display: block; }
.quote-card p { font-size: 1.2rem; font-style: italic; margin-bottom: 15px; }
.quote-card span { color: var(--text-muted); }

/* Shop/Cart Section */
.shop-section { padding: 40px 0; }
.shop-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.cart-summary { background: var(--bg-light); padding: 25px; border-radius: 20px; border: 1px solid var(--gray-light); }
.cart-summary h3 { margin-bottom: 20px; color: var(--primary-brown); }
.cart-items { min-height: 150px; max-height: 350px; overflow-y: auto; margin-bottom: 20px; }
.empty-cart { text-align: center; padding: 40px; color: var(--text-muted); }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-mid); flex-wrap: wrap; gap: 12px; }
.item-name { flex: 1; min-width: 120px; }
.cart-controls { display: flex; align-items: center; gap: 8px; background: #f5f5f5; padding: 4px 12px; border-radius: 40px; }
.qty-btn { width: 32px; height: 32px; background: white; border: 1px solid #ddd; border-radius: 50%; cursor: pointer; font-size: 18px; font-weight: bold; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.qty-btn:hover { background: var(--green-primary); color: white; border-color: var(--green-primary); }
.item-qty { min-width: 30px; text-align: center; font-weight: 600; }
.remove-btn { background: none; border: none; cursor: pointer; font-size: 16px; opacity: 0.6; padding: 5px; }
.remove-btn:hover { opacity: 1; }
.item-total-price { font-weight: 600; color: var(--green-primary); min-width: 80px; text-align: right; }
.cart-total { text-align: right; padding-top: 15px; border-top: 2px solid var(--gray-mid); font-size: 1.2rem; }
.delivery-note { margin-top: 15px; text-align: center; font-size: 0.8rem; }
.checkout-form { background: var(--bg-light); padding: 25px; border-radius: 20px; border: 1px solid var(--gray-light); }
.checkout-form h3 { margin-bottom: 20px; color: var(--primary-brown); }
.checkout-form input, .checkout-form select, .checkout-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid var(--gray-mid); border-radius: 12px; font-family: 'Inter', sans-serif; }
.form-row-small { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.shop-item { background: var(--bg-light); padding: 12px 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--gray-light); }
.shop-item span:first-child { font-weight: 500; }
.add-to-cart-btn { background: var(--green-primary); color: white; border: none; padding: 6px 16px; border-radius: 30px; cursor: pointer; font-weight: 500; transition: var(--transition); }
.add-to-cart-btn:hover { background: var(--green-dark); transform: scale(0.96); }

/* Contact Section */
.contact-section { padding: 60px 0; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 40px; }
.contact-card { background: var(--white); padding: 30px 20px; text-align: center; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--gray-light); transition: var(--transition); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.icon-circle { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-brown), var(--primary-vanilla)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.icon-circle i { font-size: 24px; color: white; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; }
.social-icons { display: flex; justify-content: center; gap: 20px; margin: 40px 0; }
.social-link { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); text-decoration: none; color: white; }
.social-link.ig { background: linear-gradient(45deg, #f09433, #d62976); }
.social-link.tt { background: #000000; }
.social-link.fb { background: #1877F2; }
.social-link.tg { background: #0088cc; }
.social-link:hover { transform: translateY(-3px); }
#map { height: 300px; width: 100%; border-radius: 20px; margin: 30px 0; }
.contact-form { background: var(--bg-light); padding: 40px; border-radius: 24px; box-shadow: var(--shadow); }
.contact-form h3 { text-align: center; margin-bottom: 25px; color: var(--primary-brown); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, textarea, select { width: 100%; padding: 12px 15px; border: 1px solid var(--gray-mid); border-radius: 12px; font-family: 'Inter', sans-serif; }
input:focus, textarea:focus { outline: none; border-color: var(--green-primary); }
button { background: var(--green-primary); color: white; border: none; padding: 12px 25px; border-radius: 40px; font-weight: 600; cursor: pointer; width: 100%; transition: var(--transition); }
button:hover { background: var(--green-dark); transform: translateY(-2px); }

/* Footer */
.main-footer { background: #1A1A2E; color: #AAAAAA; padding: 50px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.3rem; font-weight: 700; color: var(--primary-vanilla); font-family: 'Playfair Display', serif; margin-bottom: 10px; }
.tagline { font-size: 0.8rem; color: var(--primary-vanilla); margin-bottom: 15px; }
.footer-col h4 { color: var(--primary-vanilla); margin-bottom: 15px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #AAAAAA; text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-vanilla); padding-left: 5px; }
.social-links { display: flex; gap: 12px; margin-top: 15px; }
.social-links a { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: #AAAAAA; text-decoration: none; }
.social-links a:hover { background: var(--green-primary); transform: translateY(-3px); color: white; }
.contact-info li { display: flex; align-items: center; gap: 10px; }
.contact-info li i { width: 20px; color: var(--primary-vanilla); }
.hours li { padding: 4px 0; }
.payment-badge { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); }
.payment-badge span { display: block; margin-bottom: 8px; font-size: 0.7rem; color: var(--primary-vanilla); }
.payment-badge i { font-size: 1.2rem; margin-right: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.7rem; }
.footer-heart { margin-top: 5px; color: var(--primary-vanilla); }

/* Toast */
.toast-msg { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--green-primary); color: white; padding: 12px 24px; border-radius: 50px; z-index: 2000; transition: transform 0.3s ease; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.toast-msg.show { transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .desktop-nav, .btn-order { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 2rem; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .cat-filter-btn { padding: 6px 14px; font-size: 0.75rem; }
}
@media (max-width: 600px) {
    .contact-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row-small { grid-template-columns: 1fr; }
    .stats { flex-direction: column; align-items: center; }
    .container { padding: 0 15px; }
    .hero { min-height: 350px; }
    .toast-msg { white-space: normal; text-align: center; width: 85%; font-size: 0.85rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .items-grid { grid-template-columns: 1fr; }
}
