/* ============================================================
MUSLIGO - MAIN STYLESHEET
============================================================
File: static/css/style.css
Purpose: Main application styles
Author: MusliGo Team
Contact: support@musligo.com
Website: https://musligo.com
============================================================ */

/* ============================================================
ROOT VARIABLES
============================================================ */

:root {
    --navy: #1a2a4a;
    --cream: #f5f0e8;
    --gold: #c9a84c;
    --dark-navy: #0d1424;
    --light-cream: #faf8f4;
    --gold-light: #e8d5a8;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #2196f3;
}

/* ============================================================
BASE STYLES
============================================================ */

* {
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--cream);
    color: var(--navy);
}

/* ============================================================
NAVIGATION
============================================================ */

.navbar-dark {
    background: var(--navy) !important;
}

.navbar-brand .brand-text-musli {
    font-weight: 700;
    color: white;
}

.navbar-brand .brand-text-go {
    font-weight: 700;
    color: var(--gold);
}

.navbar-brand .brand-logo {
    height: 42px;
    width: auto;
    margin-right: 12px;
}

/* ============================================================
BUTTONS
============================================================ */

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: scale(1.02);
}

.btn-navy {
    background: var(--navy);
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-navy:hover {
    background: var(--dark-navy);
    color: white;
    transform: scale(1.02);
}

.btn-outline-navy {
    border: 2px solid var(--navy);
    color: var(--navy);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: white;
}

/* ============================================================
CARDS
============================================================ */

.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-blue-border {
    border-left: 4px solid var(--navy);
}

.card-gold-border {
    border-left: 4px solid var(--gold);
}

/* ============================================================
FLASH MESSAGES
============================================================ */

.alert-flash {
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    padding: 8px 16px !important;
    border: none !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05) !important;
    font-size: 14px !important;
}

.flash-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ============================================================
HOVER EFFECTS
============================================================ */

.hover-shadow:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hover-scale {
    transition: transform 0.2s;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* ============================================================
UTILITY CLASSES
============================================================ */

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

.bg-navy {
    background: var(--navy);
}

.bg-cream {
    background: var(--cream);
}

.bg-gold {
    background: var(--gold);
}

.rounded-20 {
    border-radius: 20px;
}

/* ============================================================
FORM ELEMENTS
============================================================ */

.form-control,
.form-select {
    border: 1px solid #e8ddd0 !important;
    transition: all 0.2s !important;
    border-radius: 10px !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.15) !important;
}

/* ============================================================
RESPONSIVE
============================================================ */

@media (max-width: 767.98px) {
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .display-3 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2rem !important;
    }

    .btn-lg {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}

/* ============================================================
SCROLLBAR STYLING
============================================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ============================================================
PRINT STYLES
============================================================ */

@media print {
    .navbar,
    .footer,
    .btn,
    .no-print {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ============================================================
AD CAROUSEL STYLES
============================================================ */

.ad-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
}

.ad-carousel .ad-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.ad-carousel .ad-slide {
    flex: 0 0 100%;
    min-width: 100%;
    transform: translateZ(0);
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

.ad-carousel .ad-slide.active {
    opacity: 1;
}

.ad-carousel .ad-slide a {
    display: block;
    text-decoration: none;
}

.ad-carousel .ad-slide .ad-banner-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ad-carousel .ad-dots {
    position: relative;
    z-index: 5;
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ad-carousel .ad-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.ad-carousel .ad-dot:hover {
    background: rgba(201, 168, 76, 0.6);
    transform: scale(1.1);
}

.ad-carousel .ad-dot.active {
    background: #c9a84c;
    transform: scale(1.2);
}

.ad-carousel .ad-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: rgba(26, 42, 74, 0.7);
    color: white;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    backdrop-filter: blur(4px);
    padding: 0;
}

.ad-carousel .ad-arrow:hover {
    background: rgba(201, 168, 76, 0.8);
    color: #1a2a4a;
    transform: translateY(-50%) scale(1.1);
}

.ad-carousel .ad-arrow-prev {
    left: 10px;
}

.ad-carousel .ad-arrow-next {
    right: 10px;
}

.ad-carousel .ad-counter {
    position: absolute;
    bottom: 50px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.ad-carousel .ad-empty-state {
    text-align: center;
    padding: 30px 20px;
    background: #f8f6f4;
    border-radius: 12px;
    border: 2px dashed #e8ddd0;
}

.ad-carousel .ad-empty-state p {
    color: #999;
    margin: 0;
}

.ad-carousel.single-slide .ad-arrow,
.ad-carousel.single-slide .ad-dots,
.ad-carousel.single-slide .ad-counter {
    display: none !important;
}

/* ============================================================
AD CAROUSEL RESPONSIVE
============================================================ */

@media (max-width: 767.98px) {
    .ad-carousel .ad-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .ad-carousel .ad-counter {
        bottom: 40px;
        right: 10px;
        font-size: 10px;
        padding: 2px 10px;
    }
    
    .ad-carousel .ad-slide .ad-banner-image {
        max-height: 120px !important;
    }
    
    .ad-carousel .ad-dots {
        gap: 6px;
    }
}

@media (max-width: 575.98px) {
    .ad-carousel .ad-arrow {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .ad-carousel .ad-arrow-prev {
        left: 4px;
    }
    
    .ad-carousel .ad-arrow-next {
        right: 4px;
    }
    
    .ad-carousel .ad-dot {
        width: 8px;
        height: 8px;
    }
}

/* ============================================================
AD SECTION STYLES
============================================================ */

.ad-banner-section {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #f0ebe3;
}

.ad-banner-section:last-of-type {
    border-bottom: none;
}

.ad-banner {
    background: linear-gradient(135deg, #0d1424 0%, #1a2a4a 40%, #2a3a5a 70%, #1a2a4a 100%);
    border-radius: 16px;
    padding: 14px 20px;
    border: none;
    border-left: 4px solid #c9a84c;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ad-banner:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 30px rgba(201, 168, 76, 0.10);
}

.ad-banner .ad-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.ad-banner p {
    margin: 2px 0 0;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.ad-banner a {
    color: #c9a84c;
    text-decoration: none;
    font-weight: 700;
}

/* ============================================================
SPOTLIGHT ARROWS - FIXED: z-index and pointer-events
============================================================ */

.spotlight-wrapper .spotlight-prev,
.spotlight-wrapper .spotlight-next {
    z-index: 999 !important;
    pointer-events: auto !important;
}

/* ============================================================
END OF FILE
============================================================ */
/* Signed: musligo.com | support@musligo.com */