:root {
    --nav-bg: #1e293b; 
    --primary-indigo: #4f46e5;
    --text-light: #f8fafc;
    --border-gray: #334155;
}

/* Colorful Branding Text */
.t-red { color: #ff4d4d; }
.t-green { color: #2ecc71; }
.t-yellow { color: #f1c40f; }
.t-blue { color: #3498db; }

body { 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background: #f8fafc; 
}

/* Header Fix */
.main-header { 
    background: var(--nav-bg); 
    border-bottom: 1px solid var(--border-gray); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.nav-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 8px 12px; 
}

/* Logo Fix */
.brand-area { display: flex; align-items: center; gap: 8px; }
.site-logo { 
    height: 28px; /* Control Logo size */
    width: auto; 
    object-fit: contain; 
}

.brand-text { 
    font-size: 18px; 
    font-weight: 800; 
    margin: 0; 
    color: #fff; 
    letter-spacing: -0.5px; 
}

/* Icons Section */
.header-icons { display: flex; align-items: center; gap: 14px; }
.header-icons a { color: #cbd5e1; font-size: 16px; text-decoration: none; }

/* Menu Toggle Styling */
.menu-trigger { 
    background: #334155; 
    border: none; 
    color: white; 
    padding: 5px 8px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-size: 18px; 
}

.dropdown-menu {
    display: none; 
    position: absolute; 
    right: 0; 
    top: 42px;
    background: white; 
    min-width: 170px; 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
    border-radius: 8px; 
    z-index: 1100;
}

.dropdown-menu.active { display: block; animation: fadeIn 0.2s ease; }

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

.dropdown-menu a { 
    padding: 12px 15px; 
    display: block; 
    font-size: 14px; 
    color: #1e293b; 
    text-decoration: none; 
    border-bottom: 1px solid #f1f5f9; 
}

.dropdown-menu .user-welcome { padding: 10px 15px; background: #f1f5f9; font-size: 12px; font-weight: bold; }

/* Search Box Styling */
.search-section { padding: 5px 12px 10px; background: var(--nav-bg); }
.search-section form { display: flex; background: #fff; border-radius: 6px; overflow: hidden; }
.search-section input { border: none; flex: 1; padding: 8px 12px; outline: none; font-size: 14px; }
.search-section button { border: none; background: #fff; color: var(--nav-bg); padding: 0 12px; font-size: 16px; }

/* Banner Styling */
.hero-banner { padding: 10px; }
.hero-banner img { width: 100%; border-radius: 12px; height: 160px; object-fit: cover; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

/* Categories Grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 15px 10px; gap: 10px; background: #fff; }
.cat-item { text-decoration: none; text-align: center; color: #1e293b; }
.cat-item img { width: 45px; height: 45px; object-fit: contain; }
.cat-item p { font-size: 11px; margin-top: 5px; font-weight: 500; }

/* Footer Sticky Bottom */
.site-footer {
    margin-top: auto; 
    background: var(--nav-bg);
    color: white;
    text-align: center;
    padding: 25px 0;
}
.social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 22px; }
.social-links a { text-decoration: none; }
.fb { color: #1877f2; } .ig { color: #e4405f; } .wa { color: #25d366; } .yt { color: #ff0000; }
.site-footer p { font-size: 11px; opacity: 0.6; }
