/* =========================================================
   AALAM PERFUMES - ROYAL GOLD & OBSIDIAN STYLESHEET (ULTRA LUXURY)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --gold-primary: #d4af37;
    --gold-bright: #f3d062;
    --gold-dark: #aa820a;
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --gold-glow-gradient: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(15, 12, 8, 0.9) 100%);
    
    --bg-base: radial-gradient(circle at 50% -20%, #2a220d 0%, #0d0a06 50%, #050403 100%);
    --bg-card: linear-gradient(145deg, #18140e 0%, #0a0805 100%);
    
    --text-white: #ffffff;
    --text-light: #f8fafc;
    --text-muted: #c5ba9d;
    
    --border-gold: rgba(212, 175, 55, 0.4);
    --border-gold-bright: rgba(253, 230, 138, 0.8);
}

/* ---------------------------------------------------------
   1. GLOBAL & HYBRID BACKGROUND
   --------------------------------------------------------- */
body, html {
    background: var(--bg-base) !important;
    background-attachment: fixed !important;
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .section-title {
    font-family: 'Playfair Display', serif;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.gold-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.title-divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.bg-luxury-dark, 
.bg-light-subtle, 
.bg-white, 
.testimonials-section, 
.footer {
    background: transparent !important;
}

/* ---------------------------------------------------------
   2. NAVBAR & NAVIGATION (RESPONSIVE FLEX FIXES)
   --------------------------------------------------------- */
.luxury-navbar {
    background: rgba(10, 8, 5, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 
                0 1px 0 rgba(253, 230, 138, 0.2) inset;
}

.luxury-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.btn-luxury-toggle {
    border: 1.5px solid var(--gold-primary) !important;
    background: rgba(212, 175, 55, 0.12) !important;
    color: var(--gold-bright) !important;
    border-radius: 12px !important;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-luxury-toggle:hover {
    background: var(--gold-gradient) !important;
    color: #0d0a06 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-luxury-toggle .badge {
    background: #e63946 !important;
    color: #ffffff !important;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid #0d0a06;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.6);
}

/* Offcanvas Drawer for Mobile & Sidebar */
.luxury-offcanvas {
    background: linear-gradient(180deg, #140f09 0%, #070503 100%) !important;
    border-left: 1px solid var(--gold-primary) !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.luxury-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
}

.luxury-offcanvas .btn-close {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg);
    opacity: 0.8;
}

.hover-gold {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.hover-gold:hover {
    color: var(--gold-bright) !important;
    padding-left: 10px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 6px;
}

/* Force Navbar items in a Row on Large Screens */
@media (min-width: 992px) {
    .luxury-navbar .navbar-collapse {
        display: flex !important;
        flex-direction: row !important;
    }
    .luxury-navbar .navbar-nav {
        flex-direction: row !important;
    }
}

/* ---------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------- */
.btn-gold {
    background: var(--gold-gradient) !important;
    color: #0d0a06 !important;
    border: none !important;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.7);
}

.btn-outline-gold {
    border: 1.5px solid var(--gold-primary);
    color: var(--text-white);
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 700;
    background: rgba(13, 10, 6, 0.5);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: #0d0a06 !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* ---------------------------------------------------------
   4. HERO & HERO BANNER
   --------------------------------------------------------- */
.hero-section {
    background: linear-gradient(180deg, rgba(13, 10, 6, 0.45) 0%, rgba(5, 4, 3, 0.92) 100%), 
                url('https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?q=80&w=1600') center/cover no-repeat fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 30px;
}

.hero-section > .container {
    margin-top: 10px;
}

.luxury-heading {
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    letter-spacing: 2px;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
    margin-top: 10px;
}

.badge-subheading {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
}

/* ---------------------------------------------------------
   5. PREMIUM 2x2 CATEGORY CARDS
   --------------------------------------------------------- */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

@media (max-width: 576px) {
    .collections-grid {
        gap: 15px;
    }
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 45px 20px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold-bright);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.25);
}

.category-card:hover::before {
    opacity: 1;
    height: 4px;
}

.card-icon {
    font-size: 48px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.category-card:hover .card-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(253, 230, 138, 0.8));
}

.category-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.luxury-modal {
    background: #120e08 !important;
    border: 1px solid var(--gold-primary) !important;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

/* ---------------------------------------------------------
   6. FEATURES & FRAGRANCE FINDER
   --------------------------------------------------------- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--gold-bright);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.feature-icon-box {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-box i {
    font-size: 1.5rem;
    color: var(--gold-bright);
}

.feature-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.finder-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(13, 10, 6, 0.9));
    padding: 50px 30px;
    border-radius: 30px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.finder-icon {
    font-size: 3rem;
    color: var(--gold-bright);
    margin-bottom: 20px;
}

.btn-finder {
    display: inline-block;
    background: #25d366;
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-finder:hover {
    background: #1eb954;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ---------------------------------------------------------
   7. REVIEWS SLIDER
   --------------------------------------------------------- */
.testimonial-slider {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

.testimonial-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollLeft 25s linear infinite;
}

.testimonial-slider:hover .testimonial-track {
    animation-play-state: paused;
}

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-gold);
    text-align: center;
    width: 320px;
    flex-shrink: 0;
}

.review-card .stars {
    color: var(--gold-bright);
    margin-bottom: 15px;
}

.review-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

.review-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 15px;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------------------------------------------------------
   8. CATEGORY PAGE PRODUCT CARDS & FILTERS
   --------------------------------------------------------- */
.category-banner {
    background: linear-gradient(rgba(13, 10, 6, 0.75), rgba(5, 4, 3, 0.95)), 
                url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1400&q=80') center/cover;
    padding: 5rem 1rem;
    border-bottom: 1px solid var(--border-gold);
}

.luxury-select {
    background-color: #120e08 !important;
    color: var(--text-white) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 20px;
    padding: 6px 15px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-bright);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #000000;
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-bright);
}

/* ---------------------------------------------------------
   LUXURY FOOTER STYLES
   --------------------------------------------------------- */
.luxury-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(13, 10, 6, 0.6) 0%, rgba(5, 4, 3, 0.98) 100%) !important;
    border-top: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
}

.luxury-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: radial-gradient(circle, var(--gold-bright) 0%, transparent 100%);
}

.footer-title {
    color: var(--text-white);
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-desc, .contact-item, .footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--gold-bright);
}

/* Quick Links Styling & Hover */
.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold-bright) !important;
    transform: translateX(6px);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Footer Social Icons */
.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-links a:hover {
    background: var(--gold-gradient);
    color: #0d0a06 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Footer Divider */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
    opacity: 0.6;
}

/* ---------------------------------------------------------
   10. ULTIMATE IMAGE BLENDING (FULL BLEND SETUP)
   --------------------------------------------------------- */
.blended-hero-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
}

.blended-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(circle at 50% 45%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(circle at 50% 45%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
}

.hero-overlay-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 45%, transparent 25%, #0d0a06 85%);
    pointer-events: none;
}
/* ---------------------------------------------------------
   AM.JPEG ONLY - DIRECT EDGE BLENDING
   --------------------------------------------------------- */
.col-md-6 img[src*="AM.jpeg"] {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important; /* ബോക്സ് ഷാഡോ മാറ്റുന്നു */
    mix-blend-mode: lighten; /* ഡാർക്ക് പശ്ചാത്തലത്തിലേക്ക് ലയിക്കാൻ */
    
    /* ചിത്രത്തിന്റെ 4 വശങ്ങളും ഫേഡ് ചെയ്യാനുള്ള മാസ്ക് */
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
    mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
}
/* ---------------------------------------------------------
   CENTERED SOCIAL & CONTACT ICONS
   --------------------------------------------------------- */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.social-icons-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Individual Hover Effects */
.social-btn.whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(214, 36, 159, 0.4);
}

.social-btn.facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-btn.email:hover {
    background: var(--gold-gradient);
    color: #0d0a06;
    border-color: var(--gold-bright);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}