/* =========================================
   1. BASE STYLES (Moved from app.blade.php)
   ========================================= */
:root {
    --primary-gold: #c5a059;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-light: #e0e0e0;
    --accent-gradient: linear-gradient(45deg, #c5a059, #f7e1ad);
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* --- Navigation (Base) --- */
.navbar {
    background: #121212;
    /* Default: Solid Dark */
    padding: 1rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.85);
    /* Glass effect on scroll */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--primary-gold) !important;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-light) !important;
    margin: 0 15px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--primary-gold) !important;
}

/* --- Hero Section (Base) --- */
.hero-section {
    height: 100vh;
    padding-top: 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax Effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-inline: 15px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* --- Buttons --- */
.btn-custom {
    padding: 12px 35px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.4s;
    border: 1px solid var(--primary-gold);
    text-decoration: none;
    display: inline-block;
}

.btn-gold {
    background: var(--primary-gold);
    color: #000;
}

.btn-gold:hover {
    background: transparent;
    color: var(--primary-gold);
}

.bg-gold {
    background-color: var(--primary-gold) !important;
    color: #000 !important;
}

.badge-outline-gold {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold) !important;
    background: transparent !important;
    font-weight: 500;
}

.badge-outline-secondary {
    border: 1px solid #6c757d;
    color: #adb5bd !important;
    background: transparent !important;
    font-weight: 500;
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
}

/* --- Featured Content (Stats) --- */
.stats-bar {
    background: var(--card-bg);
    padding: 50px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-item h2 {
    color: var(--primary-gold);
    font-size: 2.5rem;
    margin-bottom: 0;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.7;
}

/* --- Content Cards --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    display: inline-block;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 10px;
}

.artist-card {
    background: var(--card-bg);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.artist-card:hover {
    transform: translateY(-10px);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s;
}

.artist-card:hover img {
    opacity: 1;
    scale: 1.1;
}

.card-body {
    padding: 25px;
    border-top: 3px solid var(--primary-gold);
}

/* --- Video Gallery --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary-gold);
}

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

.social-icons a {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: 20px;
}

/* =========================================
   2. USER REDESIGN OVERRIDES
   ========================================= */

/* Custom Redesign Styles */

/* --- Sticky Header --- */
/* We will force fixed positioning and handle background via JS */
body {
    padding-top: 0;
    /*Reset, we might need to adjust based on header height if it covers content, but for transparency we don't */
}

header.sticky-header,
nav.navbar,
.header-nav,
.navbar-custom {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled state defaults to LIGHT/WHITE */
.header-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Override for DARK navbars */
.navbar-dark.header-scrolled {
    background-color: #121212c4 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

/* Active Nav State */
.nav-link.active {
    color: var(--primary-gold, #c5a059) !important;
    font-weight: 600;
}

/* --- Hero Section Padding --- */
/* Add top padding to prevent content from being hidden behind fixed header */
.hero-section,
.hero-banner,
.hero-wrap {
    padding-top: 140px !important;
    /* Adjust based on your header height */
}

/* Adjust for mobile if needed */
@media (max-width: 991px) {

    .hero-section,
    .hero-banner,
    .hero-wrap {
        padding-top: 120px !important;
    }
}

/* --- Spacing for Pages Without Hero (e.g., Contact) --- */
.page-no-hero {
    padding-top: 200px !important;
    /* Clears the fixed navbar */
}

@media (max-width: 991px) {
    .page-no-hero {
        padding-top: 150px !important;
    }
}

/* --- Logo Styling --- */
/* --- Logo Styling --- */
.navbar-brand img,
.brand-logo img {
    height: 50px;
    /* Adjust as needed */
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 80px;
    /* Independent control for footer logo */
    width: auto;
    object-fit: contain;
}

/* --- Full Screen Mobile Menu --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    /* Slightly darker for contrast */
    z-index: 1060;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top instead of center */
    align-items: center;
    padding-top: 100px;
    /* Space for logo/close btn */
    padding-bottom: 80px;
    /* Space after socials */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    /* Allow scroll if content is tall */
}

.mobile-menu-logo {
    position: absolute;
    top: 25px;
    /* Align with close btn */
    left: 25px;
    height: 40px;
    /* Control size */
    width: auto;
    z-index: 1070;
}

/* ... (active state unchanged) ... */

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
}

/* ... (li unchanged) ... */

.mobile-menu-links li {
    margin: 15px 0;
    /* Reduced margin */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-links li {
    opacity: 1;
    transform: translateY(0);
}

/* ... (delays unchanged) ... */

.mobile-menu-overlay.active .mobile-menu-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-menu-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-menu-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-menu-links a {
    color: #fff;
    font-size: 1.4rem;
    /* Smaller font */
    text-decoration: none;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.mobile-menu-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    /* Thinner underline */
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-gold, #c5a059);
    transition: width 0.3s ease, left 0.3s ease;
}

.mobile-menu-links a:hover::after {
    width: 100%;
    left: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    /* Align with top padding approx */
    right: 25px;
    font-size: 2.5rem;
    /* Slightly smaller close btn */
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 1070;
}

/* Hamburger Button */
.custom-hamburger {
    display: none;
    /* Hidden on desktop by default, shown via media query */
    background: none;
    border: none;
    color: inherit;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1051;
}

@media (max-width: 991px) {
    .custom-hamburger {
        display: block;
    }

    .navbar-collapse {
        display: none !important;
        /* Hide default Bootstrap menu on mobile */
    }

    .nav-links {
        display: none !important;
    }
}

/* --- Responsive Adjustments for Smallest Phones --- */
@media (max-width: 375px) {

    h1,
    .hero-title,
    .hero-text h1 {
        font-size: 2.5rem !important;
        /* Cap huge fonts */
    }

    h2,
    .section-title h2,
    .title-block h2 {
        font-size: 2rem !important;
    }

    .hero-wrap,
    .hero-section {
        min-height: 600px;
        /* Ensure content fits */
        height: auto !important;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .btn {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}