/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Bootstrap 5.3.2 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

/* Font Awesome 6.5.0 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* 1. GLOBAL VARIABLES & RESET - Updated for Netra Creation */
:root {
    /* Netra Creation Palette */
    --primary-color: #e5338d;    /* Vibrant Magenta from the dress */
    --secondary-color: #000000;  /* Classic Black from logo text */
    --accent-color: #fff1f7;     /* Soft blush pink for subtle backgrounds */
    
    --bg-light: #ffffff;         /* Clean white for high-fashion feel */
    --text-dark: #111827;        /* Deep charcoal for legibility */
    --text-grey: #6b7280; 
    
    /* Updated shadows using the new magenta theme */
    --card-shadow: 0 10px 30px rgba(229, 51, 141, 0.08);
    --hover-shadow: 0 20px 40px rgba(229, 51, 141, 0.15);
}

/* utility classes */
.text-primary-color, .text-primary { color: var(--primary-color) !important; }
.text-secondary-color { color: var(--secondary-color) !important; }
.bg-primary-color, .bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary-color { background-color: var(--secondary-color) !important; }
.bg-accent-color { background-color: var(--accent-color) !important; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* 2. NAVBAR - Modernized with Pink Accents */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    font-size: 0.8rem;
    padding: 0 15px !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -10px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border: 0 !important;
}

.nav-link:hover::after,
.active-menu::after {
    width: 25px;
}

.nav-link:hover,
.active-menu {
    color: var(--primary-color) !important;
}

/* 4. HERO SECTION - Modernized with Fashion Gradient */
.hero-section {
    /* Gradient from the logo pink to a stylish black/charcoal overlay */
    background: linear-gradient(135deg, rgba(229, 51, 141, 0.85), rgba(0, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-slogan {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* 5. GENERIC CONTENT BOXES */
.content-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--card-shadow);
}

/* 6. FEATURE CARDS */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: none;
    text-align: center;
    height: 100%;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    background: var(--accent-color);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/* 8. SECTIONS & LISTS */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    letter-spacing: -1px;
}

/* 9. STATS SECTION */
.stats-section {
    background: linear-gradient(to right, #fff, var(--accent-color), #fff);
    padding: 80px 0;
    margin-top: 40px;
    border-top: 1px solid #fce7f3;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

/* 10. FLOATING WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Grid Layout Styles (Product Card) */
.veg-card {
    transition: all 0.32s ease;
    border: 1px solid #f5f5f7;
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
}

/* Category icon helpers */

.category-figure {
    width: 160px;
    height: 160px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    border-radius: 50%;
    position: relative;
}
.category-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@media (min-width: 1200px) {
    .category-figure { width: 180px; height: 180px; }
    .category-icon { width: 88%; height: 88%; }
}

@media (max-width: 992px) {
    .category-figure { width: 110px; height: 110px; }
    .category-icon { width: 100%; height: 100%; }
}

/* Theme ring + hover to match Netra Creation branding */
.category-figure::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(229, 51, 141, 0.06);
    pointer-events: none;
}
.category-figure:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(229, 51, 141, 0.09);
}
.category-figure:hover .category-icon {
    transform: scale(1.03);
}


.veg-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-color);
}

.veg-icon {
    width: 100%;
    height: 150px; /* compact image for shorter cards */
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    display: block;
    transition: transform 0.35s ease;
}

.veg-card:hover .veg-icon {
    transform: scale(1.05);
}

.veg-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 10px 0 6px;
    padding: 0 8px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure title + meta area has consistent height so actions align */
.top-meta {
    min-height: 4.2rem; /* reserve space for 2-line title + meta */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* push meta to bottom so prices align */
    gap: 6px;
}

/* Make anchor fill available space so action buttons stay aligned at bottom */
.veg-card a.flex-grow-1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.veg-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Card metadata: price, badges, short description */
.veg-meta .price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1rem;
}
.veg-desc {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin: 0;
    padding: 0 8px 6px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.veg-card .badge.bg-light {
    background: #f7f7f9;
    border: 1px solid #f1f1f3;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Make the card actions aligned and compact */
.veg-card .d-flex.gap-2 {
    padding: 8px;
}
.veg-card .d-flex.gap-2 .inquire-btn-card {
    padding: 8px 10px;
    font-size: 0.85rem;
}

.inquire-btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.22s ease;
    text-transform: none;
    font-size: 0.85rem;
    gap: 8px;
    white-space: nowrap;
}

.inquire-btn-card:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(229, 51, 141, 0.3);
}

/* Footer Styling - Black for Elegant Look */
footer {
    background-color: #000000;
    color: #9ca3af;
}

footer h6 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

footer a {
    color: #9ca3af;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Modern Client/Contact Card Styling */
.client-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.client-card .icon-wrapper {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    background: var(--primary-color);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(229, 51, 141, 0.3);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    margin-top: 15px;
}

.dropdown-item {
    padding: 10px 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    color: var(--primary-color);
    background: white;
    border-color: var(--primary-color);
}

/* Responsive */
/* Responsive helpers and breakpoints */

/* Make images fluid by default */
img, .veg-icon, .product-img-wrapper img, .logo {
    max-width: 100%;
    height: auto;
}

/* Logo sizing (overrides inline height when needed) */
.logo {
    height: 80px;
    width: auto;
}

/* Use a fluid scale for large hero titles and lead text */
.hero-title {
    font-size: clamp(1.8rem, 4.4vw, 3.5rem);
}
.hero-slogan, .lead {
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
}

.content-box { padding: 40px; }
.feature-card { padding: 40px 30px; }

.admin-thumb {
    width: 50px;
}

/* General smaller baseline font on very small devices */
html { font-size: 16px; }

@media (max-width: 992px) {
    .nav-link {
        border-bottom: 1px dotted var(--primary-color);
        padding: 8px 16px !important;
    }
    .navbar-nav {
        border: 1px dotted var(--primary-color);
        margin-bottom: 15px !important;
    }
    .hero-section { padding: 80px 0; }

.nav-link::after {
    display: none;
}    

.logo {
    height: 50px;
}

/* Product grid helpers */
.product-image-figure { height: 220px; }
.object-fit-cover { object-fit: cover; }

.veg-icon { cursor: pointer; }

.map-frame { height: 400px; }

.hero-lead { max-width: 600px; }

@media (max-width: 768px) {
    .product-image-figure { height: 180px; }
    .map-frame { height: 300px; }
}

@media (max-width: 576px) {
    .product-image-figure { height: 140px; }
    .map-frame { height: 220px; }
    .hero-lead { max-width: 100%; padding: 0 16px; }
}

/* Admin panel helpers */
.admin-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 5px; }
.admin-thumb-small { width: 100%; height: 80px; object-fit: cover; border-radius: 5px; }
.modal-scroll { max-height: 70vh; overflow-y: auto; }
.small-icon-btn { width: 24px; height: 24px; padding: 0; display: flex; align-items: center; justify-content: center; }
.small-icon { font-size: 12px; }

/* 404 error helpers */
.error-icon { width: 120px; height: 120px; font-size: 3.5rem; background-color: var(--accent-color); color: var(--primary-color); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.error-code { font-size: clamp(3rem, 20vw, 8rem); line-height: 1; color: var(--primary-color); opacity: 0.15; }

    .hero-title { font-size: 2.4rem; }
    .hero-slogan, .lead { font-size: 1rem; }
    .client-card, .feature-card, .content-box { padding: 30px; }
    .veg-icon { height: 220px; }
}

@media (max-width: 768px) {
    .logo { height: 64px; }
    .hero-section { padding: 60px 0; background-attachment: scroll; }
    .hero-title { font-size: 2rem; }
    .hero-slogan, .lead { font-size: 0.95rem; }
    .section-title { font-size: 1.6rem; }
    .feature-card { padding: 24px; }
    .content-box { padding: 24px; }
    .veg-icon { height: 180px; }
    .inquire-btn-card { width: 100%; font-size: 0.85rem; padding: 10px; }
}

@media (max-width: 576px) {
    html { font-size: 15px; }
    .navbar { padding: 8px 0; }
    .logo { height: 56px; }
    .nav-link { font-size: 0.9rem; padding: 8px 10px !important; }
    .hero-section { padding: 20px 0; }
    .hero-title { font-size: 1.6rem; letter-spacing: -0.5px; }
    .hero-slogan, .lead { font-size: 0.9rem; max-width: 100%; }
    .section-title { font-size: 1.4rem; }
    .stat-number { font-size: 2rem; }
    .client-card, .feature-card, .content-box { padding: 18px; }
    .veg-icon { height: 140px; }
    .inquire-btn-card { padding: 10px; font-size: 0.8rem; }
    .whatsapp-float { width: 56px; height: 56px; font-size: 26px; }
}

/* Product card responsive tweaks: icons on small screens, center price & badges below */
.icon-only-sm .btn-icon { display: none; }
.icon-only-sm .btn-text { display: inline; }

@media (max-width: 576px) {
    .veg-meta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
    .veg-meta .price { order: 1; text-align: center; }
    .veg-meta .badges { order: 2; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
    .icon-only-sm .btn-icon { display: inline-block; font-size: 1rem; }
    .icon-only-sm .btn-text { display: none; }
    .inquire-btn-card { padding: 10px 12px; }
}

/* Small touch improvements */
.btn, .btn-lg { white-space: normal; }

/* Utility classes added for product-detail responsive fixes */
.page-nav-margin { margin-top: 80px; }

.product-main-image {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

/* Product-detail specific responsive tweaks */
.product-title {
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    margin-bottom: 0.6rem;
}

@media (max-width: 576px) {
    .product-title { font-size: 1.25rem; }
    .product-main-image { max-height: 320px; }
}

/* Product card compacting - reduce heights and paddings to show more products */
.product-card { padding: 10px; }
.product-img-wrapper { height: 160px; transition: height 0.2s ease; }
.product-img-wrapper img, .product-image-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.product-card { padding: 8px; }
.product-card .card-body { padding: 6px 8px; }
.product-card .card-title { font-size: 0.92rem; }
.inquire-btn-container { padding: 6px; }
.inquire-btn-container .btn { padding: 7px 10px; font-size: 0.88rem; }
.product-grid .product-item { min-height: auto; }

@media (max-width: 992px) {
    .product-img-wrapper { height: 160px; }
}

@media (max-width: 576px) {
    .product-img-wrapper { height: 140px; }
    .product-card { padding: 8px; }
    .product-card .card-body { padding: 6px 8px; }
    .inquire-btn-container .btn { padding: 8px; font-size: 0.9rem; }
}

/* Improve card compactness & visual balance */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0 !important;
}
.product-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
}
.product-card .card-title {
    font-size: 0.95rem;
    line-height: 1.15;
    margin-bottom: 0;
    /* clamp title to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card .price-block { margin: auto; }

/* Smaller, inline action buttons */
.product-card .card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.product-card .card-actions .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Reduce whitespace under images */
.product-img-wrapper { margin-bottom: 8px; }

@media (min-width: 1200px) {
    .product-card .card-title { font-size: 0.98rem; }
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #f1f1f3;
    background: #ffffff;
    padding: 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 6px 14px rgba(17,24,39,0.04);
}

/* Ensure active thumbnail is highlighted */
.thumbnail-img.active, .thumbnail-img:hover { border-color: var(--primary-color); transform: translateY(-2px); }

.social-btn { width: 40px; height: 40px; padding: 0.375rem; }

@media (max-width: 768px) {
    .page-nav-margin { margin-top: 32px; }
    .product-main-image { max-height: 380px; }
    .thumbnail-img { width: 64px; height: 64px; }
}

@media (max-width: 576px) {
    .page-nav-margin { margin-top: 16px; }
    .product-main-image { max-height: 260px; }
    .thumbnail-img { width: 56px; height: 56px; }
}

/* Shop: unify product card appearance and responsive filter collapse */
.product-grid .card {
    transition: transform .2s ease, box-shadow .2s ease;
    padding: 12px;
    border-radius: 16px;
    background: #ffffff;
}
.product-grid .card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.product-item .product-image-figure { height: 160px; }
.product-item .card-body { padding-top: 10px; padding-bottom: 8px; }

/* Collapse behavior tweaks - keep collapse inline and not fullscreen */
@media (max-width: 991px) {
    #filtersCollapse.collapse { display: none; }
    #filtersCollapse.collapse.show { display: block; }
    .filters-panel { max-width: 100%; }
}

@media (max-width: 576px) {
    .product-item .product-image-figure { height: 140px; }
}

/* Small-screen filters toggle styling */
.filters-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.filters-toggle i { font-size: 1rem; }
.filters-toggle { padding: 10px 12px; }

@media (max-width: 991px) {
    .offcanvas { width: 320px; }
}

@media (max-width: 576px) {
    .offcanvas { width: 100%; }
}


/* Reduce hero CTA sizes on smaller screens */
@media (max-width: 992px) {
    .hero-section .btn-lg { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
}

@media (max-width: 576px) {
    .hero-section .btn-lg { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
    .hero-section .btn { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
    .hero-section .btn i { margin-left: 6px; }
    .hero-section .lead { font-size: 0.95rem; }
}

