/* Custom Styles for Rehmad Naturals */

/* Global Spacing & Typography */
section {
    margin-bottom: 60px; /* Balanced spacing */
}

p {
    line-height: 1.6;
    color: #ccc;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* High Conversion CTAs */
.cta-button, .btn-gold, .btn-track, .hero-cta {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.cta-button:hover, .btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    filter: brightness(1.1);
}

.cta-button:active, .btn-gold:active {
    transform: translateY(-1px);
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.1);
}

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

/* Glow Effect for Primary Buttons */
.btn-buy-now {
    background: #d4af37 !important;
    color: #000 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Trust Badges Styling */
.trust-badge-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-badge-item i {
    font-size: 1.2rem;
}

/* Mobile Sticky Bar */
@media (max-width: 768px) {
    .mobile-sticky-buy {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #111;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1001;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
        border-top: 1px solid #d4af37;
    }
}

/* Premium sections: dark fill only (no photo). Photo BG only via .section-bg-photo or listed exceptions. */
.premium-bg-section {
    background-color: #0c0c0c;
    background-image: none !important;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    margin: 0 !important;
}

/* Shared “section photo” treatment — wholesaler apply/login + home best seller */
.section-bg-photo,
.best-seller-section.premium-bg-section {
    background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.88), rgba(14, 14, 14, 0.88)), url('../images/section_bg.jpg') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

@media (max-width: 768px) {
    .section-bg-photo,
    .best-seller-section.premium-bg-section {
        background-attachment: scroll !important;
    }
}

/* Home only — inner pages use default body #000 so section bands match */
.home-page {
    background: #060606;
}

/* Scroll-in sections (home, about — IntersectionObserver adds .is-revealed) */
.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 42px, 0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.reveal-from-left {
    transform: translate3d(-40px, 36px, 0);
}

.reveal-on-scroll.reveal-from-right {
    transform: translate3d(40px, 36px, 0);
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Unified Breadcrumb Section Styling */
.breadcrumb-section {
    padding: 50px 0 40px !important;
    text-align: center;
}

.breadcrumb-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.breadcrumb-section .page-title {
    font-size: 2.2rem !important;
    color: #d4af37 !important;
    margin: 0 0 12px 0 !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    font-family: 'Playfair Display', serif !important;
}

.breadcrumb-section .page-tagline {
    font-size: 1rem !important;
    color: #ccc !important;
    margin: 0 !important;
    font-weight: 400 !important;
    letter-spacing: 0.8px !important;
    opacity: 0.9 !important;
}

.breadcrumb-section .breadcrumb-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 40px 0 30px !important;
    }
    
    .breadcrumb-section .page-title {
        font-size: 1.6rem !important;
    }
    
    .breadcrumb-section .page-tagline {
        font-size: 0.9rem !important;
    }
}

/* Navbar — section BG photo */
.navbar {
    background-color: rgba(0, 0, 0, 0.75);
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.9)), url('../images/section_bg.jpg') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: scroll !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Footer — section BG photo */
.footer {
    background-color: #0a0a0a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../images/section_bg.jpg') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

@media (max-width: 768px) {
    .footer {
        background-attachment: scroll !important;
    }
}