/* --- VARIABLES & RESET --- */
:root {
    --primary: #d63384; /* Rose Pink */
    --primary-dark: #a0205f;
    --secondary: #f8f9fa; /* Off White */
    --dark: #2c3e50;
    --gold: #c5a059; /* Luxury Gold accent */
    --footer-bg: #fdf0f5; /* Light Pink Background */
    --text-light: #6c757d;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
    /* Padding for fixed bottom nav on mobile */
    padding-bottom: 70px; 
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 60px 0; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-title span { color: var(--primary); font-style: italic; font-family: 'Playfair Display', serif; }

/* --- HEADER --- */
.top-bar {
    background: var(--dark);
    color: white;
    font-size: 13px;
    padding: 10px 0;
    display: block;
}

.top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.desktop-menu {
    /* Ensures the desktop menu is centered if needed, but flex handles this */
    flex-grow: 1;
    text-align: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.nav-link:hover { color: var(--primary); }


/* Header Actions (Icons - Cart & Currency) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-icon {
    font-size: 20px;
    color: var(--dark);
    position: relative;
}

.action-icon:hover {
    color: var(--primary);
}

.cart-icon {
    margin-left: 5px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1562690868-60bbe7293e94?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

/* --- CATEGORIES --- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cat-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 300px;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(0);
}

.cat-card:hover img { transform: scale(1.1); }

/* --- FOOTER STYLES --- */
.footer-section {
    background: var(--footer-bg); 
    color: var(--dark); 
    padding-top: 70px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    color: var(--primary-dark) !important;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--primary-dark); 
    margin-bottom: 25px;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

/* Links */
.footer-links li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    padding-bottom: 8px;
}

.footer-links li:last-child { border: none; }

.footer-links a {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555; 
}

.footer-links a i {
    font-size: 10px;
    margin-right: 10px;
    color: var(--primary);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Contact List */
.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.icon-gold {
    color: var(--primary); 
    margin-right: 15px;
    margin-top: 5px;
    font-size: 16px;
    width: 20px;
}

/* Social Icons */
.socials {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary);
    transition: 0.3s;
    border: 1px solid #eee;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Newsletter Box */
.newsletter-box {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* Copyright */
.copyright {
    background: var(--primary-dark); 
    border-top: none;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* --- MOBILE BOTTOM NAV --- */
.bottom-nav {
    display: none; /* Hidden by default */
}

/* --- MOBILE RESPONSIVE CSS --- */
@media (max-width: 768px) {
    .top-bar { display: none; }
    
    .logo { margin-left: 10px; font-size: 24px; }
    
    /* Hide desktop navigation in mobile view */
    .desktop-menu {
        display: none;
    }
    
    /* Center the header items using space-between on mobile */
    .navbar {
        justify-content: space-between;
        padding: 10px 0;
    }
    
    /* Align action icons to the right */
    .header-actions {
        margin-right: 10px;
        gap: 10px;
    }

    .hero-content h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2rem; }

    /* Show Bottom Navigation */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        padding: 0 5px;
    }

    .nav-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        font-size: 11px;
        color: var(--text-light);
        padding: 5px 0;
        transition: color 0.2s;
        min-width: 60px; 
    }

    .nav-item-mobile i {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .nav-item-mobile:hover, .nav-item-mobile.active {
        color: var(--primary);
    }
}

/* --- AUTH PAGES (Login/Register) --- */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    text-align: center;
}

.auth-container h2 {
   color: #007BA7;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
}

/* New styles for mobile number input with country code */
.mobile-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.country-code {
    padding: 12px 10px;
    background: #f8f8f8;
    color: var(--dark);
    font-weight: bold;
    border-right: 1px solid #ddd;
    white-space: nowrap;
}

.mobile-input-group .form-control {
    /* Override form-control border/padding properties within the group */
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 0;
}
.mobile-input-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

/* Message Box for OTP Display (Replaces Alert) */
.message-box {
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.success-msg {
    background-color: #e6ffed; /* Light green */
    color: #00891d; /* Dark green text */
    border: 1px solid #c8f5d0;
}


.otp-section, .details-section {
    display: none; /* Hidden initially */
}

.auth-footer {
    margin-top: 20px;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: bold;
}

/* Profile Photo Preview */
#photoPreview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 10px auto;
    display: block;
    border: 2px solid var(--primary);
    display: none;
}
    /* Update Bottom Nav Styles */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px; /* Thoda bada kiya touch ke liye */
        background: white;
        box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
    }

    .nav-item-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        font-size: 10px;
        color: #999; /* Inactive color */
        padding: 5px 0;
        transition: color 0.2s;
        min-width: 50px; 
    }

    .nav-item-mobile i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .nav-item-mobile:hover, .nav-item-mobile.active {
        color: var(--primary); /* Rose color active */
    }
    
    /* Profile Page Specifics for Mobile */
    .profile-header {
        padding: 30px 15px;
    }
    .profile-name {
        font-size: 1.3rem;
    }
