/* ============================================
   RIHA'S BAKEHOUSE - BITES TO HAPPINESS
   Pink & White Theme | Green Buttons
   ============================================ */

:root {
    --pink-light: #FFF5F7;
    --pink-soft: #FCE4EC;
    --pink-primary: #E91E63;
    --pink-dark: #C2185B;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-mid: #E0E0E0;
    --text-dark: #4A3728;
    --text-muted: #8B7355;
    --green-primary: #4CAF50;
    --green-dark: #388E3C;
    --shadow: 0 4px 12px 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(--pink-light);
    color: var(--text-dark);
    line-height: 1.5;
}

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

/* ========== HEADER ========== */
.main-header {
    background: rgba(255, 245, 247, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--pink-soft);
}

.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(--pink-primary);
    font-family: 'Playfair Display', serif;
}

.logo span {
    font-size: 0.7rem;
    color: var(--pink-dark);
}

.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(--pink-primary);
}

.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(--pink-primary);
    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: white;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-right: 1px solid var(--pink-soft);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--pink-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    color: var(--pink-primary);
    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(--pink-primary);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(233, 30, 99, 0.1);
    color: var(--pink-primary);
}

.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(--pink-soft);
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.sidebar-footer i {
    width: 24px;
    color: var(--pink-primary);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 500px;
    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;
    background-repeat: no-repeat;
    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: 3.5rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.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);
}

/* ========== SECTION TITLE ========== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 50px 0 30px;
    font-family: 'Playfair Display', serif;
    color: var(--pink-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--pink-primary);
    border-radius: 3px;
}

/* ========== 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: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--pink-soft);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--pink-primary);
}

.card-image {
    width: 100%;
    height: 180px;
    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(--pink-primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 10px 0;
}

.add-to-cart,
.catering-inquiry {
    background: var(--green-primary);
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover,
.catering-inquiry:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* ========== ABOUT PAGE ========== */
.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(--pink-primary);
    margin-bottom: 20px;
}

.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(--pink-primary);
    display: block;
}

.about-values h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--pink-primary);
}

.about-values ul {
    list-style: none;
}

.about-values li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-values li i {
    color: var(--green-primary);
    width: 24px;
}

.quote-section {
    padding: 40px 0;
}

.quote-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--pink-soft);
}

.quote-card i {
    font-size: 2rem;
    color: var(--pink-primary);
    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);
}

/* ========== MENU PAGE ========== */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid var(--pink-soft);
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--pink-primary);
    color: white;
    border-color: var(--pink-primary);
}

/* ========== CATERING PAGE ========== */
.catering-form {
    background: white;
    padding: 30px;
    border-radius: 24px;
    margin: 40px 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--pink-soft);
}

.catering-form h3 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--pink-primary);
}

.catering-form p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* ========== ORDER PAGE ========== */
.order-section {
    padding: 40px 0;
}

.order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.order-summary {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--pink-soft);
}

.order-summary h3 {
    margin-bottom: 20px;
    color: var(--pink-primary);
}

.cart-items {
    min-height: 150px;
    max-height: 250px;
    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(--pink-soft);
    flex-wrap: wrap;
    gap: 10px;
}

.cart-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: var(--gray-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ff6b6b;
}

.cart-total {
    text-align: right;
    padding-top: 15px;
    border-top: 2px solid var(--pink-soft);
    font-size: 1.2rem;
}

.delivery-note {
    margin-top: 15px;
    text-align: center;
    font-size: 0.8rem;
}

.order-form {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--pink-soft);
}

.order-form h3 {
    margin-bottom: 20px;
    color: var(--pink-primary);
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--pink-soft);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

.form-row-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.menu-title {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: var(--pink-primary);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.order-item {
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--pink-soft);
}

.order-item span:first-child {
    font-weight: 500;
}

.add-item {
    background: var(--green-primary);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 30px;
    cursor: pointer;
    width: auto;
}

.add-item:hover {
    background: var(--green-dark);
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    padding: 60px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--pink-soft);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--pink-primary);
    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.fb { background: #1877F2; }
.social-link.ig { background: linear-gradient(45deg, #f09433, #d62976); }
.social-link.tg { background: #0088cc; }
.social-link.tw { background: #1DA1F2; }
.social-link.wa { background: #25D366; }
.social-link.tt { background: #000000; }

.social-link:hover {
    transform: translateY(-3px);
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 20px;
    margin: 30px 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--pink-soft);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--pink-primary);
}

.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(--pink-soft);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    background: var(--white);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--pink-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: #2D1B12;
    color: #D4C4B0;
    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(--pink-primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.tagline {
    font-size: 0.8rem;
    color: var(--pink-soft);
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--pink-primary);
    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: #D4C4B0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--pink-primary);
    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: #D4C4B0;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--pink-primary);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info li i {
    width: 20px;
    color: var(--pink-primary);
}

.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;
}

.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(--pink-primary);
}

/* ========== 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;
    font-weight: 500;
    white-space: nowrap;
}

.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);
    }
    .order-layout {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@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: 400px;
    }
    .toast-msg {
        white-space: normal;
        text-align: center;
        width: 85%;
        font-size: 0.85rem;
    }
}
