/* --------------------------
   BLUEBERRY HILL FINAL POLISH
   -------------------------- */

:root {
    /* LIGHT THEME (Default) */
    --primary: #5A4FCF; 
    --secondary: #fbc02d; 
    --bg-color: #f8fafc;
    --bg-alt: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0,0,0,0.05);
    --shadow: 0 10px 40px rgba(0,0,0,0.06);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Nunito', sans-serif;
    
    /* WhatsApp Chatbot Colors */
    --wa-bg: #e5ddd5;
    --wa-header: #075e54;
    --wa-ai-bubble: #ffffff;
    --wa-user-bubble: #dcf8c6;
}

[data-theme="dark"] {
    /* DARK THEME */
    --primary: #818cf8;
    --secondary: #fbbf24;
    --bg-color: #0f172a;
    --bg-alt: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(30, 41, 59, 0.85);
    --border-color: rgba(255,255,255,0.05);
    --shadow: 0 10px 40px rgba(0,0,0,0.4);
    
    /* WhatsApp Dark Mode */
    --wa-bg: #0b141a;
    --wa-header: #202c33;
    --wa-ai-bubble: #202c33;
    --wa-user-bubble: #005c4b;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-body); }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; transition: background-color 0.4s, color 0.4s; overflow-x: hidden;}

h1, h2, h3, h4, .logo { font-family: var(--font-heading); color: var(--text-main); }
h2.section-title { font-size: 2.8rem; margin-bottom: 20px; color: var(--primary);}
.theme-alt { background-color: var(--bg-alt); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }

/* Micro Animations & Utilities */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.8s; }
.fade-in.appear { opacity: 1; transform: translateY(0); }
.glass-panel { background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-color); box-shadow: var(--shadow); border-radius: 16px; transition: 0.3s; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; cursor: pointer; border: none; font-size: 1.05rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:active { transform: scale(0.95); }
.btn-block { width: 100%; }

/* Glow Buttons */
.btn-glow { background: var(--primary); color: #fff; padding: 16px 40px; border-radius: 50px; font-weight: 800; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(90, 79, 207, 0.4); transition: transform 0.2s; display: inline-block; text-decoration: none;}
.btn-glow:active { transform: scale(0.95); }
.btn-outline-glow { background: transparent; color: #fff; padding: 14px 38px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; border: 2px solid rgba(255,255,255,0.7); backdrop-filter: blur(5px); text-decoration: none;}

/* Top Navbar */
nav { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 1.2rem 0; transition: 0.4s; background: transparent;}
nav.scrolled { background: var(--bg-alt); padding: 1rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-color);}
nav.scrolled .logo, nav.scrolled .nav-link, nav.scrolled .icon-btn { color: var(--text-main); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px;}
.logo { font-size: 1.6rem; text-decoration: none; display: flex; align-items: center; gap: 8px; color: #fff; transition: 0.3s;}
.nav-links { display: flex; gap: 2rem; }
.nav-link { text-decoration: none; color: rgba(255,255,255,0.9); font-weight: 700; transition: 0.3s; position: relative;}
.nav-link.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px; background: var(--secondary); border-radius: 2px;}
.icon-btn { background: rgba(255,255,255,0.2); border: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: 0.3s; backdrop-filter: blur(5px);}
nav.scrolled .icon-btn { background: rgba(128,128,128,0.1); color: var(--text-main); }

/* Mobile Bottom Nav */
.mobile-only { display: none; }
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex; }
    .bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-alt); display: flex; justify-content: space-around; padding: 12px 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); z-index: 1000; border-top: 1px solid var(--border-color); padding-bottom: calc(12px + env(safe-area-inset-bottom));}
    .b-nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text-muted); font-size: 0.75rem; font-weight: 600; transition: 0.3s;}
    .b-nav-item i { font-size: 1.4rem; margin-bottom: 4px; }
    .b-nav-item.active { color: var(--primary); transform: translateY(-3px);}
}

/* 1. Cinematic Hero */
.hero { position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #000; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100vh; object-fit: cover; z-index: 0; opacity: 0.6; }
.hero-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%); z-index: 1;}
.hero-content { position: relative; z-index: 2; padding: 0 20px; max-width: 900px; width: 100%; display: flex; flex-direction: column; align-items: center;}

.busy-indicator { background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); padding: 10px 20px; border-radius: 30px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 30px; color: #fff;}
.dot.moderate { width: 12px; height: 12px; background: #fbbf24; border-radius: 50%; box-shadow: 0 0 10px #fbbf24; animation: blink 2s infinite;}
.status-text { font-weight: 700; font-size: 0.95rem; }
.tip { color: rgba(255,255,255,0.7); font-size: 0.85rem; border-left: 1px solid rgba(255,255,255,0.3); padding-left: 10px;}

.hero-title { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.1; color: #fff; margin-bottom: 20px;}
.text-reveal { display: inline-block; overflow: hidden; animation: slideUp 1s ease forwards; transform: translateY(100px); opacity: 0;}
.hero-description { font-size: 1.4rem; color: rgba(255,255,255,0.9); margin-bottom: 40px;}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center;}

/* 2. ABOUT US (Split Layout) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-list { list-style: none; margin-top: 20px; }
.about-list li { font-size: 1.15rem; color: var(--text-main); margin-bottom: 12px; display: flex; align-items: center; gap: 10px;}
.about-list i { color: var(--primary); font-size: 1.3rem;}
.img-fluid { width: 100%; height: auto; object-fit: cover; }
.rounded-shadow { border-radius: 16px; box-shadow: var(--shadow); }

@media(max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-text { order: 2; text-align: center; }
    .about-list li { justify-content: center; }
    .about-image { order: 1; }
}

/* 3. MENU SECTION */
.menu-search-container { position: relative; width: 100%; max-width: 600px; margin: 0 auto;}
.menu-search-container i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.2rem;}
.menu-search-container input { width: 100%; padding: 18px 20px 18px 50px; font-size: 1.1rem; border-radius: 50px; border: 2px solid var(--border-color); background: var(--bg-alt); color: var(--text-main); outline: none; transition: 0.3s; box-shadow: var(--shadow);}
.menu-search-container input:focus { border-color: var(--primary); }

.sticky-top { position: sticky; top: 70px; z-index: 100; background: var(--bg-alt); padding: 10px; border-radius: 30px; border: 1px solid var(--border-color); margin: 30px auto; box-shadow: var(--shadow); display: inline-flex; justify-content: center; max-width: 100%; overflow-x: auto;}
.sticky-top::-webkit-scrollbar { display: none; }
.filter-btn { padding: 10px 24px; border: none; background: transparent; color: var(--text-muted); font-weight: 700; font-size: 1rem; border-radius: 25px; cursor: pointer; transition: 0.3s; flex-shrink: 0;}
.filter-btn.active { background: var(--primary); color: #fff; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.dish-card { padding: 15px; position: relative; display: flex; flex-direction: column;}
.card-swiper { width: 100%; height: 220px; border-radius: 12px; margin-bottom: 20px; overflow: hidden; }
.card-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;}
.card-swiper:hover .swiper-slide img { transform: scale(1.05); }
.card-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.8; }
.card-swiper .swiper-pagination-bullet-active { background: var(--secondary); opacity: 1; }

.card-info h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px;}
.dish-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 15px; flex-grow: 1;}
.price { display: block; font-size: 1.4rem; font-weight: 800; color: var(--secondary); margin-top: auto;}

/* 4. REVIEWS SECTION */
.review-stats { margin-bottom: 40px; }
.review-stats .stars { color: var(--secondary); font-size: 2rem; margin-bottom: 10px;}
.review-card { padding: 30px; height: 100%; display: flex; flex-direction: column; text-align: left; margin: 10px;}
.review-card .stars { color: var(--secondary); margin-bottom: 15px; }
.review-text { font-size: 1.1rem; font-style: italic; color: var(--text-muted); flex-grow: 1; margin-bottom: 20px;}
.review-name { font-size: 1.2rem; font-weight: 700; color: var(--primary); }

/* --- BLUEBERRY HILL CONTACT SECTION (Theme-Synced) --- */

.bh-contact-section {
    font-family: inherit; /* Inherits your website's global font */
    background-color: transparent; /* Lets your website's main background show */
    padding: 80px 20px;
    color: var(--text-main); /* Syncs with your light/dark text */
    overflow: hidden;
}

.bh-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.bh-header {
    text-align: center;
    margin-bottom: 50px;
}

.bh-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary); /* Syncs with your theme */
}

.bh-header p {
    color: var(--text-main);
    opacity: 0.8; /* Slightly faded so it looks like subtext */
    font-size: 1.1rem;
}

/* Grid Layout */
.bh-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Card Styling */
.bh-card {
    /* Uses a soft transparent background so it looks great on both light and dark modes */
    background: rgba(128, 128, 128, 0.05); 
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* TIP: If you want the exact background from your old code, add the class "glass-panel" to your bh-card elements in the HTML! */

.bh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bh-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary); /* Syncs with your theme */
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.bh-card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* --- LEFT SIDE: FORM --- */
.bh-input-group {
    position: relative;
    margin-bottom: 20px;
}

.bh-input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary); /* Syncs with your theme */
    transition: color 0.3s ease;
}

.bh-textarea-group i {
    top: 24px; 
}

.bh-input-group input, 
.bh-input-group textarea {
    width: 100%;
    padding: 16px 16px 16px 45px;
    background: transparent; /* Adapts to light/dark mode */
    border: 1px solid rgba(128, 128, 128, 0.4);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main); /* Syncs with your theme */
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.bh-input-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Smooth Focus Effects */
.bh-input-group input:focus, 
.bh-input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(128, 128, 128, 0.05);
}

.bh-input-group input:focus + i, 
.bh-input-group textarea:focus + i {
    color: var(--primary);
}

.bh-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #ffffff; 
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.bh-submit-btn:hover {
    opacity: 0.85; /* Dims slightly on hover instead of changing hard colors */
    transform: translateY(-2px);
}

/* --- RIGHT SIDE: INFO & MAP --- */
.bh-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.bh-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--text-main);
}

.bh-icon-wrapper {
    width: 45px;
    height: 45px;
    background: rgba(128, 128, 128, 0.1);
    color: var(--secondary); /* Syncs with your theme */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bh-info-details strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.bh-info-details span, 
.bh-info-details a {
    color: var(--text-main);
    opacity: 0.8;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.bh-info-details a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Map */
.bh-map-container {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(128, 128, 128, 0.2);
}

/* Footer Actions (Directions & Socials) */
.bh-action-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.bh-direction-btn {
    padding: 12px 20px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bh-direction-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

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

.bh-social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.bh-social-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.whatsapp { background: #25D366; }
.instagram { background: #E1306C; }
.facebook { background: #1877F2; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .bh-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .bh-card {
        padding: 25px;
    }
    .bh-action-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .bh-direction-btn {
        justify-content: center;
    }
    .bh-social-links {
        justify-content: center;
        margin-top: 10px;
    }
}

/* 6. SPIN THE WHEEL GAME */
.wheel-container { position: relative; width: 300px; height: 300px; margin: 40px auto; }
.marker { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: var(--text-main); font-size: 2.5rem; z-index: 10; text-shadow: 0 2px 5px rgba(0,0,0,0.2);}
.wheel { 
    width: 100%; height: 100%; border-radius: 50%; border: 8px solid var(--bg-alt); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform 4s cubic-bezier(0.1, 0.7, 0.1, 1);
    background: conic-gradient(from -30deg, #ef4444 0 60deg, #3b82f6 60deg 120deg, #10b981 120deg 180deg, #f59e0b 180deg 240deg, #6366f1 240deg 300deg, #ec4899 300deg 360deg);
}
.wheel-text { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(calc(60deg * var(--i))); }
.wheel-text span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-weight: 800; color: #fff; font-size: 0.9rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); text-align: center; width: 80px;}
.spin-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: var(--text-main); color: var(--bg-color); border-radius: 50%; border: 4px solid var(--bg-alt); font-weight: 900; font-size: 1.1rem; cursor: pointer; z-index: 5; box-shadow: 0 0 20px rgba(0,0,0,0.3);}
.spin-btn:active { transform: translate(-50%, -50%) scale(0.9); }

.wheel-result-popup { 
    max-width: 400px; margin: 30px auto 0; padding: 40px 20px; 
    border: 3px solid var(--secondary); text-align: center; 
    background: var(--card-bg);
}
.wheel-result-popup h3 { font-size: 2.2rem; color: var(--primary); margin-bottom: 10px;}
.wheel-result-popup p { font-size: 1.5rem; font-weight: 800; color: #ef4444; margin-bottom: 20px;}
.zoom-in { animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }


/* 7. WHATSAPP-STYLE MEDIUM CHATBOT */
.chat-toggle-btn { position: fixed; bottom: 80px; right: 20px; width: 60px; height: 60px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; cursor: pointer; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5); z-index: 2000; transition: 0.3s; }
.pulse-anim { animation: pulseWa 2s infinite; }

.chat-window-wa { 
    position: fixed; bottom: 90px; right: 20px; 
    width: 350px; height: calc(100vh - 120px); max-height: 500px; /* Medium Size scaled dynamically */
    display: flex; flex-direction: column; overflow: hidden; z-index: 2001; 
    transition: 0.3s; transform-origin: bottom right;
    border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    background: var(--wa-bg) url('images/wa-bg-pattern.png') repeat; /* Whatsapp bg style */
    background-size: contain;
}
@media(max-width: 400px) {
    .chat-window-wa { width: calc(100% - 40px); right: 20px; bottom: 80px; height: calc(100vh - 100px); }
}

.wa-header { background: var(--wa-header); color: #fff; padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; }
.wa-header-info { display: flex; align-items: center; gap: 12px;}
.wa-avatar { width: 40px; height: 40px; background: #fff; color: var(--wa-header); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-heading);}
.wa-header h4 { color: #fff; font-size: 1.1rem; margin: 0;}
.wa-status { font-size: 0.8rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 5px;}
.wa-status i { color: #25D366; font-size: 0.6rem;}
.wa-header-actions button { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; margin-left:15px; opacity: 0.9;}

.wa-body { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background-color: var(--wa-bg);}
.wa-msg-row { display: flex; width: 100%; margin-bottom: 5px;}
.wa-msg-row.ai-row { justify-content: flex-start; }
.wa-msg-row.user-row { justify-content: flex-end; }

.wa-bubble { 
    max-width: 80%; padding: 8px 14px; font-size: 0.95rem; line-height: 1.4;
    border-radius: 12px; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    color: var(--text-main); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.ai-bubble { 
    background: var(--wa-ai-bubble); border-top-left-radius: 0; 
}
.user-bubble { 
    background: var(--wa-user-bubble); border-top-right-radius: 0; 
}

/* Typing animation */
.typing-dots span {
    display: inline-block;
    width: 6px; height: 6px; background-color: #888;
    border-radius: 50%; margin: 0 2px;
    animation: typing 1.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.wa-footer { padding: 10px; display: flex; gap: 8px; background: var(--bg-alt); align-items: center;}
.wa-footer input { flex: 1; border: none; background: var(--bg-color); border-radius: 20px; padding: 12px 15px; outline: none; color: var(--text-main); font-size:0.95rem;}
.wa-icon-btn { background: transparent; color: var(--text-muted); font-size: 1.4rem; border: none; cursor: pointer; padding: 0 5px;}
.wa-send-btn { background: #128C7E; color: #fff; width: 42px; height: 42px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer;}
.wa-send-btn:active { transform: scale(0.9); }

.hidden { opacity: 0; pointer-events: none; transform: scale(0.8) translateY(20px); }

/* Keyframes */
@keyframes slideUp { to { transform: translateY(0); opacity: 1; } }
@keyframes blink { 50% { opacity: 0.5; } }
@keyframes pulseWa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes zoomIn { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes bounceIn { 0% { transform: scale(0.8); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }

/* =========================================================
   NEW CART & CHECKOUT STYLES (Added below existing code)
   ========================================================= */

/* Cart Icon Badges */
#cart-toggle-btn, #mobile-cart-toggle { position: relative; }
.cart-badge, .cart-badge-mobile {
    position: absolute;
    background: #ef4444;
    color: rgb(235, 225, 225);
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.cart-badge { top: -5px; right: -5px; }
.cart-badge-mobile { top: 0px; right: 15px; }

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 380px;
    max-width: 100%;
    height: 100vh;
    z-index: 3001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    background: var(--bg-color); 
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}
.cart-sidebar.open { right: 0; }
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-alt);
}
.cart-header h3 { font-size: 1.5rem; color: var(--primary); margin: 0; }
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 20px;
    font-style: italic;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.cart-item img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
}
.cart-item-details { flex: 1; }
.cart-item-details h5 { font-size: 1.05rem; color: var(--text-main); margin-bottom: 5px; }
.cart-item-details .cart-item-price { color: var(--secondary); font-weight: bold; }
.remove-item-btn {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: #ef4444;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.remove-item-btn:hover { background: #ef4444; color: rgb(237, 240, 243); transform: scale(1.1); }
.cart-footer {
    padding: 20px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Overlays (Dim Backgrounds) */
.cart-overlay, .checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cart-overlay.open, .checkout-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 3002;
    background: var(--bg-color);
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.checkout-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-alt);
}
.checkout-header h3 { font-size: 1.5rem; color: var(--primary); margin: 0; }
.checkout-body { padding: 25px 20px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-main);
}
.form-group input, .form-group select {
    width: 100%;
    padding: 14px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-alt);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.1);
}

/* =========================================================
   SOCIAL SECTION (INSTAGRAM STYLE GRID)
   ========================================================= */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.social-post {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Forces perfect squares */
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.social-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Dark overlay that fades in */
.social-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    backdrop-filter: blur(2px);
}

.social-overlay span {
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Animations on Hover */
.social-post:hover img {
    transform: scale(1.1); /* Slight zoom in */
}

.social-post:hover .social-overlay {
    opacity: 1; /* Reveal likes/views */
}

/* Mobile Adjustments */
@media(max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 10px;
    }
    .social-overlay {
        font-size: 1rem;
        gap: 15px;
    }
}

/* =========================================================
   FEEDBACK WIDGET STYLES
   ========================================================= */
.feedback-tab {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left top;
    background: var(--primary);
    color: white;
    padding: 8px 22px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: padding-top 0.3s ease;
}

.feedback-tab:hover {
    padding-top: 15px; /* Creates a subtle "pull out" effect */
}

.star-rating {
    font-size: 2.2rem;
    color: var(--border-color); /* Unselected star color */
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    transition: color 0.2s;
}

.star-rating .fas {
    transition: transform 0.2s, color 0.2s;
}

.star-rating .fas:hover {
    transform: scale(1.2);
}

.star-rating .fas.active {
    color: var(--secondary); /* Gold/Yellow selected color */
    text-shadow: 0 2px 5px rgba(251, 192, 45, 0.4);
}

/* =========================================================
   EXPERIENCE SLIDER STYLES
   ========================================================= */
.experience-swiper {
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.exp-slide-content {
    transition: transform 6s ease; /* Super slow, cinematic zoom */
}
.swiper-slide-active .exp-slide-content {
    transform: scale(1.05); 
}
.exp-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    width: 12px;
    height: 12px;
    margin-bottom: 10px !important;
}
.exp-pagination .swiper-pagination-bullet-active {
    background: var(--secondary);
    opacity: 1;
    transform: scale(1.3);
}
.exp-nav {
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.3);
    padding: 30px 20px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
}
.exp-nav:hover {
    background: rgba(0,0,0,0.6);
}