/**
 * AFROBLEND RECORD — Luxury African Gold Brand Stylesheet
 * Colors: Deep Black (#09090b, #0d0d0f), Dark Metallic Charcoal (#151518, #1c1c22), Luxury Gold (#d4af37, #f3e5ab, #aa7c11, #ffd700)
 */

:root {
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa7c11;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #f3e5ab 50%, #d4af37 100%);
    --dark-base: #09090b;
    --dark-surface: #0d0d0f;
    --dark-card: #151518;
    --dark-card-hover: #1c1c22;
    --dark-border: #27272a;
    --gold-border: rgba(212, 175, 55, 0.35);
    --text-primary: #ffffff;
    --text-muted: #d1d5db;
    --text-gold: #f3e5ab;
}

/* Base resets & typography */
body {
    background-color: var(--dark-base);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(170, 124, 17, 0.04) 0%, transparent 40%),
        url('../images/pattern.svg');
    background-attachment: fixed;
    color: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    line-height: 1.65;
}

p {
    color: #e2e8f0;
}

.text-muted {
    color: #d1d5db !important;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.text-gold {
    color: var(--gold-primary) !important;
}

.text-gold-light {
    color: var(--gold-light) !important;
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Top Announcement Ticker */
.top-ticker-bar {
    background: #000000;
    border-bottom: 1px solid var(--gold-border);
    padding: 7px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1040;
}

.ticker-track {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 35s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold-light);
}

.ticker-item i {
    color: var(--gold-primary);
    margin-right: 8px;
}

.ticker-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ticker-item a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--gold-glow);
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Luxury Navbar */
.navbar-afroblend {
    background: rgba(13, 13, 15, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-afroblend.scrolled {
    padding: 10px 0;
    background: rgba(9, 9, 11, 0.96);
    border-bottom-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
    color: var(--gold-primary) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 38px;
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.nav-link {
    color: #e4e4e7 !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

/* Luxury Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #000000 !important;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-gold:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
    color: #000000 !important;
}

.btn-gold:active {
    transform: translateY(0);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-light) !important;
    border: 1px solid var(--gold-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 11px 26px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #ffffff !important;
    border-color: var(--gold-light);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.gold-card {
    background: linear-gradient(145deg, rgba(21, 21, 24, 0.9), rgba(28, 28, 34, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.gold-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gold-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.2);
}

.gold-card:hover::before {
    opacity: 1;
}

/* Deal Selection Cards */
.deal-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px 28px;
}

.deal-card .deal-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.deal-card:hover .deal-icon {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 0 20px var(--gold-glow);
    transform: scale(1.08);
}

.deal-card .badge-deal {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hero Section & Slider */
.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: #000000;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(9, 9, 11, 0.4) 0%, 
        rgba(13, 13, 15, 0.8) 60%, 
        rgba(9, 9, 11, 0.98) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.hero-heading {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subheading {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #e4e4e7;
    margin-bottom: 35px;
    line-height: 1.7;
    font-weight: 400;
}

/* Hero Slide Animations */
.hero-slide.animation-kenburns {
    animation: kenburnsEffect 20s infinite alternate;
}

@keyframes kenburnsEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-dot {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
    width: 50px;
}

/* Section Dividers & African Gold Accent Lines */
.gold-divider {
    height: 2px;
    width: 80px;
    background: var(--gold-gradient);
    margin: 20px auto;
    position: relative;
}

.gold-divider::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dark-base);
    padding: 0 8px;
    color: var(--gold-primary);
    font-size: 10px;
}

/* Status Timeline on Public Tracker */
.status-timeline {
    position: relative;
    padding: 30px 0;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -30px;
    width: 2px;
    background: #27272a;
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-step.completed::before {
    background: var(--gold-primary);
}

.timeline-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #18181b;
    border: 2px solid #3f3f46;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    font-size: 16px;
    margin-right: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step.active .timeline-icon {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.timeline-step.completed .timeline-icon {
    border-color: var(--gold-primary);
    background: var(--gold-gradient);
    color: #000000;
}

/* Footer Section */
.footer-afroblend {
    background: #050507;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding: 70px 0 30px;
    position: relative;
}

.footer-afroblend p,
.footer-afroblend .text-muted {
    color: #e2e8f0 !important;
    font-size: 14px;
    line-height: 1.7;
}

.footer-afroblend a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-afroblend a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--gold-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    margin-right: 8px;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: var(--gold-gradient);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Form Controls Customization */
.form-control, .form-select {
    background-color: #121215 !important;
    border: 1px solid #2e2e36 !important;
    color: #ffffff !important;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
    background-color: #16161b !important;
}

.form-control::placeholder {
    color: #63636e;
}

.form-label {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #e4e4e7;
    margin-bottom: 8px;
}

/* Comprehensive Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-afroblend .navbar-collapse {
        background: #0d0d10;
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 12px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
    }
    
    .navbar-afroblend .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 14px;
    }
    
    .navbar-afroblend .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-afroblend .nav-link::after {
        display: none;
    }
    
    .navbar-afroblend .btn-gold {
        width: 100%;
        margin-top: 15px;
        padding: 14px 20px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }

    .form-control, .form-select {
        font-size: 16px !important; /* Prevents auto-zoom on mobile iOS Safari */
        padding: 11px 14px;
    }

    .navbar-afroblend {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 32px;
    }

    .hero-slider-container {
        min-height: calc(100vh - 80px);
        padding: 40px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-heading {
        font-size: clamp(1.85rem, 7vw, 2.4rem);
        line-height: 1.25;
    }

    .hero-subheading {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-content .d-flex.gap-3 {
        flex-direction: column;
        gap: 12px !important;
    }

    .hero-content .btn-gold,
    .hero-content .btn-outline-gold {
        width: 100%;
        padding: 13px 20px;
        font-size: 13px;
    }

    .gold-card {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .top-ticker-bar {
        font-size: 12px;
        padding: 6px 0;
    }

    .ticker-item {
        margin-right: 25px;
    }

    .footer-afroblend {
        padding: 50px 0 25px;
        text-align: center;
    }

    .footer-afroblend .d-flex.gap-2,
    .footer-afroblend .d-flex.gap-3 {
        justify-content: center;
    }

    .footer-afroblend .col-lg-3,
    .footer-afroblend .col-md-6 {
        margin-bottom: 28px;
    }

    .display-5, .display-6 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-heading {
        font-size: 1.75rem;
    }

    .btn-gold, .btn-outline-gold {
        font-size: 12px;
        letter-spacing: 1px;
    }
}
