/* ====================================================================
 * NOTE FOR DEVELOPER:
 * File: assets/css/style.css
 * Location: rmcconnect/assets/css/style.css
 * Description: Master Stylesheet for RMCCONNECT (White & Sky Blue Theme)
 *              Featuring Modern Glassmorphism Navbar, Animated Celestial Hero,
 *              Floating Scripture Levitation, Soundwave Equalizer & E-Commerce UI
 * ==================================================================== */

:root {
    --rmc-primary: #0284c7;        /* Sky / Azure Blue */
    --rmc-primary-dark: #0369a1;   /* Deep Cerulean */
    --rmc-primary-deeper: #0c4a6e; /* Midnight Ocean */
    --rmc-primary-light: #e0f2fe;  /* Soft Ice Blue Tint */
    --rmc-primary-hover: #0ea5e9;  /* Bright Sky Blue Hover */
    --rmc-accent: #38bdf8;         /* Cyan-Blue Accent */
    --rmc-gold: #f59e0b;           /* Warm Grace Gold */
    --rmc-bg-light: #f8fafc;       /* Crisp Clean Slate-50 Off-White */
    --rmc-surface: #ffffff;        /* Pure White Card */
    --rmc-text-dark: #0f172a;      /* Slate 900 */
    --rmc-text-muted: #64748b;     /* Slate 500 */
    --rmc-border: #e2e8f0;         /* Slate 200 */
    --rmc-radius: 16px;
    --rmc-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.08), 0 8px 10px -6px rgba(2, 132, 199, 0.04);
}

body {
    font-family: 'Prompt', 'Kanit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--rmc-bg-light);
    color: var(--rmc-text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #0f2744;
}

a {
    color: var(--rmc-primary);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}
a:hover {
    color: var(--rmc-primary-dark);
}

/* ====================================================================
   1. TOP ANNOUNCEMENT BAR & MODERN NAVBAR
   ==================================================================== */
.top-announcement-bar {
    background: linear-gradient(90deg, #0369a1 0%, #0284c7 60%, #0ea5e9 100%);
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.navbar-rmc {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(2, 132, 199, 0.12);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

/* Brand Logo */
.brand-logo-emblem {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-logo-emblem i {
    font-size: 1.35rem;
}
.navbar-brand:hover .brand-logo-emblem {
    transform: rotate(10deg) scale(1.06);
}
.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0369a1;
    letter-spacing: 0.5px;
}
.brand-dot {
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #f59e0b;
}
.brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
}

/* Navigation Links */
.nav-link {
    font-weight: 500;
    color: #334155 !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 9999px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.92rem;
    white-space: nowrap !important;
}
.nav-link:hover {
    color: var(--rmc-primary) !important;
    background-color: var(--rmc-primary-light);
    transform: translateY(-1px);
}
.nav-link.active {
    color: #0284c7 !important;
    background: #e0f2fe !important;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.2);
}
.nav-link.active i {
    color: #0284c7 !important;
}

/* Cart Button */
.btn-cart-clean {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    color: #0369a1 !important;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
}
.btn-cart-clean:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}
.btn-cart-rmc {
    background: #ffffff;
    border: 1.5px solid #e0f2fe;
    color: var(--rmc-primary-dark) !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
    white-space: nowrap !important;
}
.btn-cart-rmc:hover {
    background: #f0f9ff;
    border-color: var(--rmc-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.16);
}
.cart-badge-count {
    animation: cartBounce 2s infinite ease-in-out;
}

/* Login Outline */
.btn-login-outline {
    border: 1.5px solid var(--rmc-primary);
    color: var(--rmc-primary) !important;
    background: transparent;
    transition: all 0.25s ease;
    white-space: nowrap !important;
}
.btn-login-outline:hover {
    background: var(--rmc-primary-light);
    color: var(--rmc-primary-dark) !important;
    transform: translateY(-1px);
}

/* ====================================================================
   2. ANIMATED HERO BANNER (MODERN CELESTIAL CHRISTIAN STYLE)
   ==================================================================== */
.hero-section {
    background: linear-gradient(105deg, 
                rgba(8, 28, 58, 0.92) 0%, 
                rgba(12, 53, 98, 0.85) 45%, 
                rgba(14, 116, 144, 0.45) 80%,
                rgba(255, 255, 255, 0.08) 100%), 
                url('../images/christian_hero_bg.jpg') center right/cover no-repeat;
    color: #ffffff;
    padding: 85px 0 80px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -12px 30px rgba(0, 0, 0, 0.18);
}

/* Ambient Rays & Glow */
.hero-ambient-glow {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 70%;
    height: 160%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.hero-sunbeam {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 75% 30%, rgba(254, 215, 170, 0.18) 0%, rgba(56, 189, 248, 0.12) 35%, transparent 65%);
    pointer-events: none;
    animation: celestialBreathe 9s ease-in-out infinite alternate;
    z-index: 1;
}

/* Hero Badge */
.hero-badge {
    background: rgba(15, 33, 60, 0.65) !important;
    border: 1px solid rgba(125, 211, 252, 0.35) !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    white-space: nowrap !important;
}
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #38bdf8;
    animation: dotPulse 1.8s infinite;
}

/* Hero Title - Guaranteed 100% Crisp White & Warm Gold (No Muddy Transparent Text) */
.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(3, 105, 161, 0.5);
}
.hero-word-gold {
    color: #facc15 !important;
    text-shadow: 0 0 24px rgba(250, 204, 21, 0.6), 0 2px 6px rgba(0, 0, 0, 0.7);
}
.hero-subtitle {
    font-size: 1.18rem;
    color: #e0f2fe !important;
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 660px;
}
.hero-subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

/* CTA Buttons */
.btn-hero-cta {
    background: #ffffff !important;
    color: #0284c7 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.25);
    border: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap !important;
}
.btn-hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.4);
    color: #0369a1 !important;
    background: #f0f9ff !important;
}
.btn-hero-audio {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap !important;
}
.btn-hero-audio:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    border-color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}
.pulse-anim {
    display: inline-block;
    animation: iconPulse 2s infinite ease-in-out;
}

/* Hero Trust Badges */
.hero-features-list div {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap !important;
}

/* ====================================================================
   3. MODERN FROSTED GLASS CHRISTIAN SHOWCASE CARD & AUDIO EQUALIZER
   ==================================================================== */
.hero-glass-showcase {
    background: rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 35px rgba(56, 189, 248, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-glass-showcase:hover {
    border-color: rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 45px rgba(56, 189, 248, 0.35);
}
.floating-showcase {
    animation: levitateCard 6s ease-in-out infinite;
}

.audio-feature-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15), 0 6px 18px rgba(0, 0, 0, 0.15);
}

.mini-player-bar {
    background: rgba(3, 105, 161, 0.45);
    border: 1px solid rgba(56, 189, 248, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.play-btn-circle {
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #0284c7;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

/* Dynamic Soundwave Equalizer Bars */
.equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
    flex-shrink: 0;
}
.equalizer-bars .bar {
    width: 3px;
    background: #38bdf8;
    border-radius: 3px;
    box-shadow: 0 0 6px #38bdf8;
}
.equalizer-bars .b1 { height: 35%; animation: eqBounce 1.0s ease-in-out infinite alternate; }
.equalizer-bars .b2 { height: 75%; animation: eqBounce 0.8s ease-in-out infinite alternate 0.15s; }
.equalizer-bars .b3 { height: 95%; animation: eqBounce 1.2s ease-in-out infinite alternate 0.3s; }
.equalizer-bars .b4 { height: 60%; animation: eqBounce 0.9s ease-in-out infinite alternate 0.1s; }
.equalizer-bars .b5 { height: 80%; animation: eqBounce 1.1s ease-in-out infinite alternate 0.25s; }
.equalizer-bars .b6 { height: 45%; animation: eqBounce 0.75s ease-in-out infinite alternate 0.4s; }

/* Backward Compatibility */
.sound-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 22px;
}
.eq-bar {
    width: 4px;
    background: #38bdf8;
    border-radius: 3px;
    box-shadow: 0 0 6px #38bdf8;
}
.bar-1 { height: 35%; animation: eqBounce 1.1s ease-in-out infinite alternate; }
.bar-2 { height: 75%; animation: eqBounce 0.85s ease-in-out infinite alternate 0.2s; }
.bar-3 { height: 95%; animation: eqBounce 1.25s ease-in-out infinite alternate 0.4s; }
.bar-4 { height: 60%; animation: eqBounce 0.95s ease-in-out infinite alternate 0.1s; }
.bar-5 { height: 40%; animation: eqBounce 1.15s ease-in-out infinite alternate 0.3s; }

/* ====================================================================
   4. KEYFRAME ANIMATIONS
   ==================================================================== */
@keyframes levitateCard {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes celestialBreathe {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.08) translate(-10px, 15px); opacity: 1; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.8; }
}

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-30px) scale(1.2); opacity: 0.9; }
    100% { transform: translateY(-60px) scale(0.9); opacity: 0; }
}

@keyframes buttonShimmer {
    0% { left: -60%; }
    25% { left: 140%; }
    100% { left: 140%; }
}

@keyframes rotateHalo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dotPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

@keyframes eqWave {
    0% { height: 20%; opacity: 0.6; }
    50% { height: 95%; opacity: 1; }
    100% { height: 35%; opacity: 0.8; }
}

@keyframes eqBounce {
    0% { height: 18%; opacity: 0.7; }
    50% { height: 100%; opacity: 1; }
    100% { height: 30%; opacity: 0.85; }
}

@keyframes cartBounce {
    0%, 100% { transform: translate(50%, -50%) scale(1); }
    50% { transform: translate(50%, -50%) scale(1.2); }
}

/* ====================================================================
   5. CARDS & GENERAL SURFACES
   ==================================================================== */
.rmc-card {
    background: var(--rmc-surface);
    border: 1px solid var(--rmc-border);
    border-radius: var(--rmc-radius);
    box-shadow: var(--rmc-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rmc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.14);
    border-color: rgba(2, 132, 199, 0.3);
}

.btn-primary-rmc {
    background: linear-gradient(135deg, var(--rmc-primary) 0%, var(--rmc-primary-dark) 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: 12px;
    padding: 0.6rem 1.4rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}
.btn-primary-rmc:hover {
    background: linear-gradient(135deg, var(--rmc-primary-hover) 0%, var(--rmc-primary) 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-outline-rmc {
    color: var(--rmc-primary);
    border: 2px solid var(--rmc-primary);
    background: transparent;
    font-weight: 500;
    border-radius: 12px;
    padding: 0.55rem 1.3rem;
    transition: all 0.25s ease;
}
.btn-outline-rmc:hover {
    background-color: var(--rmc-primary);
    color: #ffffff !important;
    border-color: var(--rmc-primary);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.badge-rmc {
    background-color: var(--rmc-primary-light);
    color: var(--rmc-primary-dark);
    font-weight: 600;
    padding: 0.45em 0.85em;
    border-radius: 8px;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rmc-primary);
    letter-spacing: -0.3px;
}

.audio-player-box {
    background: #f0f9ff;
    border: 1px dashed var(--rmc-accent);
    border-radius: var(--rmc-radius);
    padding: 18px;
}

.footer-rmc {
    background: #091a2e;
    color: #cbd5e1;
    padding: 65px 0 25px;
    margin-top: 80px;
    border-top: 4px solid var(--rmc-primary);
}
.footer-rmc h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-rmc a {
    color: #94a3b8;
}
.footer-rmc a:hover {
    color: #38bdf8;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 22px;
    margin-top: 45px;
    font-size: 0.9rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
}
