/* =========================================
   VARIABLES & THEMING
   ========================================= */
   :root {
    --bg-light: #fdfdfd;
    --bg-white: #ffffff;
    --text-main: #1a1b1e;
    --text-muted: #5f6368;
    --accent-silver: #e8eaed;
    --accent-orange: #0056d2; /* Professional Blue */
    --accent-orange-hover: #0043a8;
    --gradient-blue: linear-gradient(135deg, #0056d2, #0043a8);
    --gradient-neon: linear-gradient(135deg, #0056d2, #0043a8);
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 86, 210, 0.12);
    
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.03);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Extremely smooth easing */
}

/* =========================================
   RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 35px;
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 86, 210, 0.2);
}

.btn-primary:hover {
    background: var(--gradient-blue);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 86, 210, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-neon);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* =========================================
   TOP UTILITY BAR & BRANDING
   ========================================= */
.top-bar {
    height: 40px;
    background-color: #0b1120;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
    transition: var(--transition);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    font-size: 0.82rem;
    transition: var(--transition);
}

.top-bar-link i {
    color: #00b4d8;
}

.top-bar-link:hover {
    color: #ffffff;
}

.working-hours {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.working-hours i {
    color: #00b4d8;
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar-socials a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================
   GLASSMORPHISM NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: var(--bg-white);
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    top: 0;
    padding: 14px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    transition: var(--transition);
}

.logo-icon {
    color: var(--accent-orange);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
}

.logo-accent {
    color: var(--accent-orange);
}

.logo-img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    color: var(--text-main);
    padding: 8px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--accent-orange);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--accent-orange);
    font-weight: 600;
}

.nav-links li a.active::after {
    width: 100%;
    background: var(--accent-orange);
    box-shadow: 0 0 8px rgba(0, 86, 210, 0.4);
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Redesigned Pill Search Form */
.nav-search-form {
    display: flex;
    align-items: center;
    background: #f1f3f4;
    border-radius: 50px;
    padding: 6px 16px;
    border: 1px solid transparent;
    transition: var(--transition);
    width: 200px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.nav-search-form:focus-within {
    background: var(--bg-white);
    border-color: rgba(0, 86, 210, 0.3);
    box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.1), inset 0 1px 2px rgba(0,0,0,0.05);
    width: 260px;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 4px;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-main);
}

.search-submit-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-btn:hover {
    color: var(--accent-orange);
    transform: scale(1.15);
}

/* State Overrides for Navbar Text - Removed as defaults are now dark */

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.7s;
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.9s;
    display: flex;
    gap: 15px;
}

/* =========================================
   CATEGORIES GRID
   ========================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.category-card:hover::before {
    opacity: 0.02;
}

.category-icon, .category-card h3 {
    position: relative;
    z-index: 1;
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(9, 132, 227, 0.2);
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Image Category Card Specific Styles */
.image-category-card {
    padding: 0;
    display: block;
    height: 250px;
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.category-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.category-content-wrap {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    text-align: left;
    pointer-events: none;
}

.category-title {
    margin: 0;
    font-size: 1.3rem !important;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.category-explore {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

/* =========================================
   PRODUCT CARDS
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #0b1120;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 180, 216, 0.4);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1a1a1a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff4757;
}

.product-img-wrap {
    height: 260px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    max-height: 80%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(to top, rgba(255,255,255,0.98), transparent);
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-actions {
    bottom: 0;
    opacity: 1;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.product-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #0b1120;
}

.product-category {
    font-size: 0.75rem;
    color: #00b4d8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title:hover {
    color: #00b4d8;
}

.product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #00b4d8;
}

.old-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

/* =========================================
   ANIMATIONS & EFFECTS
   ========================================= */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   FOOTER
   ========================================= */
/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #0b1120;
    padding: 80px 0 30px;
    font-family: 'Inter', sans-serif;
    position: relative;
    border-top: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00b4d8 0%, #0056d2 50%, #00b4d8 100%);
}

.footer-top {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

/* Brand Section */
.footer-brand .logo {
    color: #ffffff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #00b4d8;
    border-color: #00b4d8;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

/* Links Sections */
.footer-links-group h4, .footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-group h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00b4d8;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 15px;
}

.footer-links-group a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links-group a:hover {
    color: #00b4d8;
    transform: translateX(5px);
}

/* Contact Section */
.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact li i {
    margin-top: 5px;
    color: #00b4d8;
    font-size: 1.1rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #00b4d8;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand .logo {
        font-size: 1.8rem;
    }
    .footer-desc {
        max-width: 100%;
    }
}

/* =========================================
   FORMS & INPUTS
   ========================================= */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--bg-white);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 4px rgba(0, 86, 210, 0.1);
    background: #ffffff;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* =========================================
   TABLES (CART, CHECKOUT, ACCOUNT)
   ========================================= */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    background: var(--bg-white);
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table th, .table td {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: var(--bg-light);
}

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--text-main);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.page-link:hover, .page-link.active {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* =========================================
   RESPONSIVE DESIGN & MOBILE DRAWER
   ========================================= */
.mobile-drawer-header {
    display: none;
    width: 100%;
    border-bottom: 1px solid var(--accent-silver);
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.mobile-search {
    display: none;
}

.drawer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Mobile Menu Hamburger Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* Transform Hamburger to X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 17, 32, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
        gap: 20px;
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex !important;
        margin: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Stagger transitions for a premium entry effect */
    .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(7) { transition-delay: 0.35s; }
    
    .nav-links li a {
        font-size: 1.15rem;
        font-weight: 600;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        color: var(--text-main) !important;
    }
    
    .nav-links li a::after {
        display: none;
    }
    
    .nav-links li a.active {
        color: var(--accent-orange) !important;
        border-bottom-color: rgba(0, 86, 210, 0.15);
    }
    
    .mobile-drawer-header {
        display: block !important;
    }
    
    .top-bar {
        display: none !important;
    }
    
    .navbar {
        top: 0 !important;
        padding: 15px 0;
    }
    
    .desktop-search {
        display: none !important;
    }
    
    .mobile-search {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* Responsive Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 25px;
    }
    
    .image-category-card {
        height: 180px; /* Shorter cards on mobile */
    }
    
    .category-content-wrap {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .category-title {
        font-size: 1.1rem !important;
    }
    
    .category-explore {
        font-size: 0.7rem;
        margin-top: 5px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        gap: 10px;
    }
    
    .image-category-card {
        height: 150px; /* Even shorter on very small screens */
    }
    
    .category-title {
        font-size: 0.95rem !important;
    }
    
    .category-card {
        padding: 15px 10px;
    }
}

