@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-blue: #00188A;
    --accent-orange: #FFB449;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 20px 40px rgba(0,0,0,0.08);
}

/* Color Utility Classes (Fixes contrast on dark backgrounds) */
.text-accent-orange { color: var(--accent-orange) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    margin: 0;
    overflow-x: hidden;
    padding-top: 100px; /* Space for the fixed header */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    color: var(--primary-blue);
}

/* Announcement Bar */
.announcement-bar {
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Navbar */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 24, 138, 0.1);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
    letter-spacing: -1px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-orange) !important;
}

/* Navbar Integrated Logo */
.navbar {
    background: #ffffff !important;
    padding: 0;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-blue); /* This is the bar mentioned in the request */
}

.navbar-logo-center {
    position: absolute;
    left: 50%;
    top: 5px; /* Moved lower */
    transform: translateX(-50%);
    z-index: 10001;
}

.hanging-logo {
    height: 145px;
    width: 145px;
    background: transparent;
    transition: transform 0.3s ease-out; /* Smooth transition for both rotate and scale */
    object-fit: contain;
    --logo-rotate: 0deg;
    transform: rotate(var(--logo-rotate)) scale(1);
}

.hanging-logo:hover {
    transform: rotate(var(--logo-rotate)) scale(1.1);
}

.left-nav, .right-nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (max-width: 991px) {
    .navbar-logo-center {
        position: static;
        transform: none;
        margin-bottom: 1rem;
    }
    .hanging-logo {
        height: 70px;
        transform: none;
        box-shadow: none;
        padding: 0;
        border: none;
    }
    .left-nav, .right-nav {
        margin: 0;
        text-align: center;
    }
}

/* --- Redesigned Showcase Section (Ultra-HD Premium) --- */
.hero {
    min-height: 85vh;
    background: url('/images/hero_bg_final.jpg') no-repeat center center;
    background-size: cover;
    padding: 140px 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.showcase-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 4rem;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

.showcase-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--accent-orange);
    border-radius: 10px;
}

.showcase-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    width: 240px;
    height: 240px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.showcase-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
    background: white;
}

.highlight-card {
    transform: scale(1.1);
    z-index: 2;
}

.highlight-card:hover {
    transform: translateY(-15px) scale(1.2);
}

.showcase-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* CRITICAL: Show the whole package */
    pointer-events: none;
}

.ingredient-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px; /* Larger icons */
    height: auto;
    z-index: 20;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.5));
    pointer-events: none;
}

@media (max-width: 1200px) {
    .showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Product Section - Clean Theme */
.section-products {
    background: #f0f2f5;
    position: relative;
    padding: 6rem 0;
}

.section-products .container {
    position: relative;
    z-index: 2;
}

.product-label-brush {
    position: absolute;
    top: 15px;
    left: -5px;
    background: var(--primary-blue);
    color: white;
    padding: 3px 15px;
    font-weight: 700;
    font-size: 0.75rem;
    transform: rotate(-2deg);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
    border-radius: 2px;
    z-index: 10; /* Keeps it above the image even on hover */
}

/* Feature Grid (Why Us) - Reference Style */
.section-why {
    background: #ffffff;
    position: relative;
    padding: 4rem 0;
    border-top: 5px solid var(--primary-blue); /* Using corporate blue instead of red for brand consistency, or we can use red if preferred */
    border-bottom: 5px solid var(--primary-blue);
}

.why-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
}

.why-line {
    flex-grow: 1;
    height: 3px;
    background-color: var(--primary-blue);
}

.why-title-main {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.why-title-black { color: #000; }
.why-title-brand { color: var(--primary-blue); }

.wheat-icon {
    width: 60px;
    height: auto;
    opacity: 0.8;
}

.section-why .container {
    position: relative;
    z-index: 2;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 3rem 0;
}

.feature-item {
    background: #ffffff;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon-wrapper {
    width: 95px;
    height: 95px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* Facilities Gallery */
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.facility-img-wrapper {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.facility-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-img-wrapper:hover img {
    transform: scale(1.1);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

/* Private Label Dark Immersive */
.private-label-dark {
    padding: 120px 0;
    background: radial-gradient(circle at 10% 20%, #00126b 0%, #000933 90%);
    position: relative;
    overflow: hidden;
}

.pl-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 24, 138, 0.4) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.pl-hero-img {
    max-width: 85%;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    z-index: 3;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.glass-card small {
    display: block;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

.top-left { top: 0; left: 0; transform: translate(-20%, -20%); }
.bottom-right { bottom: 0; right: 0; transform: translate(20%, 20%); }

.pl-dash {
    width: 40px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.tracking-wider {
    letter-spacing: 2px;
}

.fw-black {
    font-weight: 900;
}

.pl-title {
    line-height: 1.1;
    letter-spacing: -2px;
}

.pl-feature-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.pl-feature-glass p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.pl-feature-glass:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.btn-accent-glow {
    background: var(--accent-orange);
    color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(255, 180, 73, 0.3);
    border: none;
    transition: var(--transition);
}

.btn-accent-glow:hover {
    background: #ffa424;
    box-shadow: 0 0 30px rgba(255, 180, 73, 0.5);
    transform: translateY(-3px);
}

.btn-outline-light-glass {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-light-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

@media (max-width: 991px) {
    .pl-spec-card {
        display: none;
    }
    .private-label-dark {
        text-align: center;
        padding: 80px 0;
    }
    .pl-dash {
        display: none;
    }
    .pl-dark-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Product Grid - Compact */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    padding: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-image-container {
    height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bestseller-image-container {
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.bestseller-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transform: scale(1.15);
    transition: var(--transition);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card:hover .bestseller-image {
    transform: scale(1.22);
}

/* Buttons */
.btn-primary-custom {
    background: var(--accent-orange);
    color: var(--primary-blue);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 800;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: #ffa424;
    color: var(--primary-blue);
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 800;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-blue);
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

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

/* --- Premium Product Detail Modal (Glassmorphism & Rich Aesthetics) --- */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 9, 51, 0.7);
    backdrop-filter: blur(12px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.custom-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.custom-modal-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    width: 90%;
    max-width: 850px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 24, 138, 0.2);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal-backdrop.active .custom-modal-box {
    transform: scale(1) translateY(0);
}

.custom-modal-header {
    padding: 24px 36px;
    border-bottom: 1px solid rgba(0, 24, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(240,242,245,0.5));
}

.modal-title-custom {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin: 0;
    letter-spacing: -0.5px;
}

.custom-modal-close {
    background: rgba(0, 24, 138, 0.05);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.custom-modal-close:hover {
    background: var(--accent-orange);
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.custom-modal-body {
    padding: 36px;
}

.modal-img-container {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 180, 73, 0.4) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 1;
    animation: pulse-glow 4s infinite alternate;
}

.modal-product-img {
    max-height: 280px;
    width: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}

.modal-img-container:hover .modal-product-img {
    transform: scale(1.08) rotate(-2deg);
}

.modal-badge {
    display: inline-block;
    background: rgba(0, 24, 138, 0.1);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-desc-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a4a4a;
    font-weight: 400;
}

.modal-specs-box {
    background: rgba(0, 24, 138, 0.03);
    border: 1px solid rgba(0, 24, 138, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
}

.specs-box-title {
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.specs-list li {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.custom-modal-footer {
    padding: 20px 36px;
    background: rgba(248, 249, 250, 0.8);
    border-top: 1px solid rgba(0, 24, 138, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.btn-outline-custom-dark {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 800;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom-dark:hover {
    background: var(--primary-blue);
    color: white;
}

@media (max-width: 768px) {
    .custom-modal-header { padding: 20px; }
    .custom-modal-body { padding: 20px; }
    .custom-modal-footer { padding: 20px; justify-content: center; }
    .modal-product-img { max-height: 200px; }
    .modal-title-custom { font-size: 1.5rem; }
}

footer {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 0 2rem;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero { min-height: auto; background: var(--primary-blue); }
    .rolling-img { max-width: 300px; }
}