/**
 * JBJR Productions - Custom Theme Stylesheet
 * Glass-Morphism Design with Gold & Purple Branding
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

/* ===== CSS Variables - Design System ===== */
:root {
    --bg-dark: #000000;
    --bg-darker: #000000;
    --bg-section: #4b0e8c;
    --accent-gold: #D4AF37;
    --accent-hover: #D6A644;
    --brand-purple: #411C6B;
    --brand-purple-light: #6b1f8c;
    --brand-orange: #E85C24;
    --text-light: #FFFFFF;
    --text-muted: #D8D8D6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
    --shadow-purple: 0 0 15px rgba(75, 14, 140, 0.5);
}

/* ===== Global Styles ===== */
* {
    box-sizing: border-box;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 800;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    transition: color 0.3s ease;
}

/* Global Overrides */
.text-light {
    color: var(--text-light) !important;
}

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

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

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.border-dark {
    border-color: var(--glass-border) !important;
}

/* ===== Navbar Styles ===== */
.navbar-custom {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-light) !important;
    font-size: 1.25rem;
}

/* .navbar-brand img {
    max-height: 40px;
    width: auto;
} */

.navbar-brand span {
    color: var(--accent-gold);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: left 0.3s ease, width 0.3s ease;
}

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

.nav-link:hover::after {
    left: 0;
    width: 100%;
}

.navbar-toggler {
    border-color: var(--accent-gold) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), var(--bg-dark)),
        url('https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1920&q=80') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    position: relative;
    z-index: 2;
    max-width: 600px;
    line-height: 1.6;
}

/* ===== Glass Cards ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    color: var(--text-light) !important;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

/* ===== Movie Cards ===== */
.movie-card {
    position: relative;
    overflow: hidden;
}

.movie-card img {
    height: 350px;
    object-fit: cover;
    transition: filter 0.3s ease;
    width: 100%;
}

.movie-card:hover img {
    filter: brightness(0.7) contrast(1.1);
}

.movie-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.movie-card .card-title {
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.movie-card .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 15px;
}

.movie-price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.movie-price-unit {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 400;
}

/* ===== Service Cards ===== */
.service-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card .service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: inline-block;
}

.service-card h5 {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Buttons ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    border-radius: 8px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--brand-purple-light) 0%, var(--brand-purple) 100%);
    box-shadow: var(--shadow-gold);
    color: var(--accent-gold);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary-custom.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-primary-custom.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-dark {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
}

.btn-dark:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 8px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--brand-purple);
    color: var(--accent-gold);
}

/* ===== Forms ===== */
.form-control-custom {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.form-control-custom::placeholder {
    color: #aaa;
}

.form-label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ===== Dropdown ===== */
.dropdown-menu-dark {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.dropdown-menu-dark .dropdown-item {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

/* ===== Pagination ===== */
.pagination {
    margin-top: 40px;
    gap: 10px;
}

.page-link {
    background-color: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.page-item.active .page-link {
    background-color: var(--brand-purple);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--glass-border);
    background: var(--bg-darker);
    padding: 40px 0 20px;
    margin-top: 80px;
}

footer .footer-title {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

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

.social-icon-hover {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin: 0 10px;
}

.social-icon-hover:hover {
    color: var(--accent-gold) !important;
    transform: scale(1.2);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-light) 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* ===== Page Content ===== */
.page-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: var(--accent-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-content p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.page-content a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.page-content a:hover {
    color: #FFD700;
    border-bottom-color: var(--accent-gold);
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.page-content li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* ===== Error Page ===== */
.error-page-container {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--brand-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.error-title {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.error-message {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.error-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

/* ===== Admin Dashboard ===== */
.admin-stats-card {
    background: var(--glass-bg);
    border-left: 4px solid var(--brand-purple);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.admin-stats-card:hover {
    box-shadow: var(--shadow-gold);
    border-left-color: var(--accent-gold);
}

.admin-stats-card .stat-value {
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 800;
}

.admin-stats-card .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar {
    background: var(--bg-darker);
    min-height: 100vh;
    border-right: 1px solid var(--glass-border);
    padding: 20px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ===== Utility Classes ===== */
.gap-4 {
    gap: 2rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .movie-card img {
        height: 250px;
    }

    .service-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .btn-primary-custom {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .btn-primary-custom.btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .page-header {
        padding: 40px 0;
    }

    footer {
        padding: 30px 0 15px;
    }
}

.footer-menu li a {
  text-decoration: none;
}