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

:root {
    /* Pure Minimalist Palette */
    --primary: #1a1a1a;
    --accent: #c5a059; /* Sophisticated Gold */
    --bg-main: #ffffff;
    --bg-alt: #fcfcfc;
    --text-main: #1a1a1a;
    --text-muted: #757575;
    --border: #f0f0f0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    color: #454545;
}

/* Navbar Luxe */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main) !important;
    margin: 0 15px;
}

/* Hero Section */
#hero-carousel {
    height: 85vh; /* Increased to show more image */
    background-color: var(--bg-alt);
}

.hero-slide-img {
    height: 85vh;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-overlay-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.hero-content {
    pointer-events: auto;
    border-right: 3px solid var(--accent); /* Vertical Brand Line */
    padding-right: 3rem;
    max-width: 800px;
}

[dir="ltr"] .hero-content {
    border-right: none;
    border-left: 3px solid var(--accent);
    padding-left: 3rem;
}

.hero-logo-mark {
    position: absolute;
    top: 60px;
    right: 60px;
    background: #fff; /* Match the rectangle */
    padding: 15px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Subtle depth */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 100;
}

.hero-logo-mark img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    color: var(--accent);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 3rem;
    text-shadow: none;
}

/* Luxury Button */
.btn-gold-outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid var(--accent);
    padding: 0.8rem 3.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold-outline:hover {
    background: var(--accent);
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* Custom Hero Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -50px; /* Precise gap below image */
    margin: 0;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.2;
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 25px;
    border-radius: 4px;
    opacity: 1;
}

/* Filter Bar & Controls */
.filter-bar {
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4rem;
}

.results-count {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
}

.filter-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    border: 1px solid #f0f0f0;
    padding: 12px 40px 12px 24px; /* Space for the arrow on right */
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: #fff;
    cursor: pointer;
    min-width: 190px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c5a059' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.filter-select:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.1);
}

[dir="rtl"] .filter-select {
    padding: 12px 24px 12px 40px; /* Space for the arrow on left for RTL */
    background-position: left 15px center;
}

/* Category Slider & Section */
.category-section {
    margin-bottom: 5rem;
    position: relative;
    width: 100%;
}

/* Category Slider & Section */
.category-section {
    margin-bottom: 6rem;
    position: relative;
    width: 100%;
}

.category-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #999;
    font-weight: 700;
    margin-bottom: 2.5rem;
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.category-slider {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 10px 5px 40px 5px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

.category-slider::-webkit-scrollbar { display: none; }

/* LUXE UNIFORM CARD SYSTEM */
.product-item, .gallery-item, .review-item {
    flex: 0 0 300px;
    max-width: 300px;
    transition: all 0.4s ease;
}

.shop-grid .product-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
}

.card {
    border: 1px solid #f0f0f0;
    background: #fff;
    height: 100%;
    transition: all 0.4s ease;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}

/* Sale + promo badges sit in a row (see .product-card-badges), not stacked */
.product-card-badges {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    z-index: 10;
    pointer-events: none;
    max-width: calc(100% - 1.5rem);
}

.product-card-badges--lg {
    top: 1.25rem;
    inset-inline-start: 1.25rem;
    gap: 0.55rem;
}

.custom-promo-badge {
    position: static;
    background: #FFD700;
    color: #000;
    width: fit-content;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-img-container {
    position: relative;
    background: #fff;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1; /* SQUARE AS REFERENCE */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2f2f2;
    padding: 20px; /* SPACE FOR THE PRODUCT 'FLOATING' EFFECT */
}

.card-img-top, .gallery-img, .review-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* CRITICAL: NO CROPPING */
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.25rem;
    text-align: right;
    display: flex;
    flex-direction: column;
}

.product-type-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.product-meta {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 3.2em; /* Ensure uniform height for text */
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 0.8rem;
    color: #ccc;
    text-decoration: line-through;
}

/* MINIMALIST BUY PILL BUTTON */
.buy-btn-pill {
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid #1a1a1a;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
}

.buy-btn-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a1a;
    transform: translateY(-2px);
}

.buy-btn-pill i { font-size: 0.9rem; }

/* Before & After Gallery Styling */
.gallery-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 20px 0;
}

.gallery-card {
    background: #fff;
    padding: 15px;
    border: 1px solid #eee;
}

.gallery-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
}

.comparison-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f9f9f9;
}

/* Reviews Styling */
.reviews-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 20px 0;
}

.review-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #f0f0f0;
    text-align: center;
    min-width: 350px;
}

.review-stars { color: var(--accent); margin-bottom: 15px; }

/* Slider Controls */
.slider-wrapper { position: relative; width: 100%; }

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1100; /* Higher than sticky headers if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.slider-nav:hover { background: var(--accent); color: #1a1a1a; border-color: var(--accent); }
.slider-nav-prev { left: -22px; }
.slider-nav-next { right: -22px; }

.stock-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 10px;
}

.in-stock {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.out-of-stock {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

@media (max-width: 768px) {
    .product-item { flex: 0 0 250px; }
    .card-img-container { padding: 15px; }
    .slider-nav { display: none; }
}

/* SECTION HEADERS */
.section-padding { padding: 100px 0; }
    text-align: center;
}

/* WhatsApp Redesign */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000; /* Black for luxe theme */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* RTL Support */
/* Gallery & Reviews Sliders */
.gallery-slider, .reviews-slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.gallery-slider::-webkit-scrollbar, .reviews-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 320px;
}

.gallery-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.gallery-card:hover { transform: translateY(-5px); }

.ba-container {
    display: flex;
    gap: 0.5rem;
}

.ba-item { width: 50%; text-align: center; }
.ba-item img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 2px;
}

.review-slide {
    flex: 0 0 350px;
}

.review-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.review-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

.review-stars {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

[dir="rtl"] {
    font-family: 'Inter', 'Montserrat', sans-serif;
}

[dir="rtl"] .text-start { text-align: right !important; }
[dir="rtl"] .me-auto { margin-left: auto !important; margin-right: 0 !important; }

/* Responsive */
@media (max-width: 992px) {
    .product-slide { flex: 0 0 50%; }
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .product-slide { flex: 0 0 85%; }
}

/* About Us Redesign */
.bg-accent { background-color: var(--accent) !important; }
.about-img { transition: transform 0.4s ease; box-shadow: 0 30px 60px rgba(0,0,0,0.08) !important; }
.about-img:hover { transform: scale(1.02); }
.section-padding { padding: 120px 0; }

/* INFORMATIONAL SECTIONS */
.info-section {
    padding: 80px 0;
}

.section-header-custom {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-custom h2 {
    color: #454545 !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 2.4rem;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.section-header-custom h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent);
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #fff;
    padding: 40px 20px;
    border: 1px solid #f2f2f2;
    text-align: center;
    transition: all 0.4s ease;
}

.solution-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.solution-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #fafafa;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.solution-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.solution-card h3 {
    font-size: 1.1rem;
    color: #454545;
    font-weight: 700;
    margin: 0;
}

/* Ingredients Grid */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ingredient-card {
    background: #fff;
    border: 1px solid #f2f2f2;
    padding: 30px;
    transition: all 0.3s ease;
}

.ingredient-card:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.ingredient-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ingredient-header span { color: var(--accent); font-size: 1.2rem; }

.ingredient-header h4 {
    margin: 0;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.ingredient-benefit {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-header-custom h2 { font-size: 1.8rem; }
    .solutions-grid { grid-template-columns: 1fr; }
}

/* FOOTER STYLING */
.footer {
    background: #111 !important;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img {
    display: block;
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-slogan {
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-links { margin: 0; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--accent); }

.social-links { display: flex; gap: 20px; }
.social-icon {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-icon:hover { opacity: 1; color: var(--accent); }

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 40px;
}

/* WhatsApp Ripple Effect */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b30;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-slogan { margin: 0 auto; }
    .social-links { justify-content: center; }
}

[dir="rtl"] .footer-grid {
    text-align: right;
}

[dir="rtl"] .social-links {
    justify-content: flex-start;
}

[dir="rtl"] @media (max-width: 768px) {
    [dir="rtl"] .social-links { justify-content: center; }
}
