/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fc; /* Softer, slightly blueish background */
    color: #2c3e50; /* Deep navy instead of black */
    -webkit-tap-highlight-color: transparent;
}

/* Header - Gradient & Shadow */
.app-header {
    background: linear-gradient(135deg, #166CC7, #0F5298);
    color: #fff;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(22,108,199,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.app-header .logo {
    font-size: 22px;
    font-weight: 800; /* Bolder logo */
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.menu-btn {
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Greeting Block */
.greeting-block {
    padding: 20px 20px 5px 20px;
}
.greeting-block h1 {
    font-size: 24px;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 5px;
}
.greeting-block p {
    font-size: 14px;
    color: #5c6bc0;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}
.sidebar.active {
    left: 0;
}
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fc, #fff);
}
.sidebar-header h3 {
    font-weight: 800;
    color: #166CC7;
}
.close-sidebar {
    background: #E6F2FF;
    color: #166CC7;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}
.sidebar-nav {
    list-style: none;
    padding: 15px 0;
}
.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #34495e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-left: 4px solid transparent;
    transition: all 0.2s;
}
.sidebar-nav li a i {
    width: 30px;
    font-size: 18px;
    color: #7f8c8d;
}
.sidebar-nav li a:hover {
    background-color: #f8f9fc;
    border-left: 4px solid #166CC7;
    color: #166CC7;
}
.sidebar-nav li a:hover i {
    color: #166CC7;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1000;
    display: none;
}
.overlay.active {
    display: block;
}

/* Main Content */
.main-content {
    padding-bottom: 90px;
}

/* Sections */
.section {
    padding: 20px 15px;
    background: transparent;
    margin-bottom: 5px;
}
.section-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a237e;
    display: flex;
    align-items: center;
}
.section-title i {
    margin-left: 8px;
}

/* Slider */
.swiper-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.swiper-container .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000; /* Dark bg to make overlay pop */
    position: relative;
}
.swiper-container .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    pointer-events: none;
}
.swiper-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Products - Glass & Shadows */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-img-wrapper {
    width: 100%;
    height: 140px;
    background: #f0f3f8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.product-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
    line-height: 1.3;
}
.product-price {
    font-size: 16px;
    color: #27ae60;
    font-weight: 800;
    margin-bottom: 12px;
}
.btn-buy {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background: linear-gradient(135deg, #166CC7, #1C86EE);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(22,108,199,0.2);
    transition: transform 0.1s, box-shadow 0.1s;
}
.btn-buy:hover {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(22,108,199,0.3);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f1f2f6;
}
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin-right: 12px;
    box-shadow: 0 3px 8px rgba(52,152,219,0.3);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-text {
    font-size: 14px;
    font-style: italic;
    color: #576574;
    line-height: 1.5;
}

/* WhatsApp Banner */
.whatsapp-banner {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.whatsapp-banner h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}
.whatsapp-btn {
    display: inline-block;
    background: #fff;
    color: #128C7E;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Bottom Nav - Glassmorphism */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 65px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
    z-index: 1000;
}
.nav-item {
    text-align: center;
    color: #95a5a6;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}
.nav-item i {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
    transition: transform 0.2s;
}
.nav-item.active {
    color: #166CC7;
}
.nav-item.active i {
    transform: translateY(-2px);
}

/* Feature Colors */
.feat-card {
    min-width: 120px; 
    padding: 20px; 
    border-radius: 16px; 
    text-align: center;
    transition: transform 0.2s;
}
.feat-card:hover {
    transform: translateY(-3px);
}
.feat-1 { background: #E6F2FF; color: #0F5298; }
.feat-2 { background: #e3f2fd; color: #1565c0; }
.feat-3 { background: #f3e5f5; color: #6a1b9a; }

/* Search Bar */
.search-container input {
    font-family: 'Inter', sans-serif;
}

/* Hide Scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-label {
    padding: 10px 20px 5px 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: #95a5a6;
    letter-spacing: 1px;
}
