/* ============================================
   VIDEOGRAPHER PLATFORM - Custom Styles
   Color Palette & Design System
   ============================================ */

:root {
    --color-primary-dark: #2A2A2A;
    --color-secondary-dark: #1A1A1A;
    --color-surface: #333333;
    --color-surface-hover: #3d3d3d;
    --color-pastel-orange: #FFB380;
    --color-accent-red: #E63946;
    --color-accent-red-hover: #d42f3c;
    --color-text-primary: #F5F5F5;
    --color-text-secondary: #B0B0B0;
    --color-text-muted: #707070;
    --color-border: #404040;
    --color-border-light: #4a4a4a;
    --color-success: #4CAF50;
    --color-warning: #FF9800;
    --color-info: #2196F3;
    --color-gradient-start: #E63946;
    --color-gradient-end: #FFB380;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* ============================================
   BASE OVERRIDES
   ============================================ */
body {
    background-color: #2A2A2A !important;
    color: #F5F5F5 !important;
    font-family: var(--font-body);
    overflow-x: hidden;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #2A2A2A;
    --bs-body-color: #F5F5F5;
}

::selection {
    background-color: var(--color-accent-red);
    color: #fff;
}

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

::-webkit-scrollbar-track {
    background: var(--color-secondary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

a {
    color: var(--color-pastel-orange);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-red);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-dark-custom {
    background-color: #1A1A1A !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #404040;
    padding: 0.75rem 0;
    transition: all var(--transition-medium);
    z-index: 1050;
}

.navbar-dark-custom.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand-custom {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-brand-custom .brand-accent {
    color: var(--color-accent-red);
}

.nav-link-custom {
    color: var(--color-text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-red), var(--color-pastel-orange));
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--color-text-primary) !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 60%;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--color-accent-red), var(--color-accent-red-hover));
    color: #fff !important;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #1A1A1A 0%, #2A2A2A 60%, #1A1A1A 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-title .accent-gradient {
    background: linear-gradient(135deg, var(--color-accent-red), var(--color-pastel-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 540px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--color-accent-red), var(--color-accent-red-hover));
    color: #fff;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border-light);
    border-radius: var(--border-radius-sm);
    padding: 0.7rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.btn-outline-custom:hover {
    border-color: var(--color-pastel-orange);
    color: var(--color-pastel-orange);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-pastel-orange), #ff9a56);
    color: var(--color-secondary-dark);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 128, 0.4);
    color: var(--color-secondary-dark);
}

/* ============================================
   CARDS
   ============================================ */
.card-dark {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.card-dark:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-dark .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-dark .card-body {
    padding: 1.25rem;
}

.card-dark .card-title {
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-dark .card-text {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   COURSE CARD
   ============================================ */
.course-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-pastel-orange);
}

.course-card .course-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-card .course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.course-card:hover .course-thumbnail img {
    transform: scale(1.05);
}

/* YouTube video embed inside course thumbnail */
.course-card .course-thumbnail iframe {
    pointer-events: none;
}

.course-card .course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-card .course-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(26, 26, 26, 0.9);
    color: var(--color-pastel-orange);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.course-card .course-info {
    padding: 1.25rem;
}

.course-card .course-title {
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.course-card .course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.course-card .course-rating {
    color: var(--color-pastel-orange);
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent-red);
}

.product-card .product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card .product-info {
    padding: 1rem;
}

.product-card .product-type-badge {
    display: inline-block;
    background: rgba(255, 179, 128, 0.15);
    color: var(--color-pastel-orange);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-dark {
    background-color: var(--color-primary-dark);
    padding: 5rem 0;
}

.section-darker {
    background-color: var(--color-secondary-dark);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-red), var(--color-pastel-orange));
    border-radius: 2px;
    margin: 1rem 0;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--color-surface), var(--color-secondary-dark));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent-red), var(--color-pastel-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: all var(--transition-medium);
}

.testimonial-card:hover {
    border-color: var(--color-pastel-orange);
}

.testimonial-card .stars {
    color: var(--color-pastel-orange);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-card .testimonial-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-border);
}

.testimonial-card .author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.testimonial-card .author-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .portfolio-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.portfolio-item .portfolio-category {
    font-size: 0.8rem;
    color: var(--color-pastel-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-tab {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--color-accent-red);
    border-color: var(--color-accent-red);
    color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-dark {
    background-color: var(--color-secondary-dark);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
}

.footer-link {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-pastel-orange);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-text-secondary);
    margin-right: 0.5rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent-red);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: 3rem;
}

/* ============================================
   VIDEO PLAYER
   ============================================ */
.video-player-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   LESSON SIDEBAR
   ============================================ */
.lesson-sidebar {
    background: var(--color-secondary-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    max-height: 70vh;
    overflow-y: auto;
}

.lesson-sidebar .module-header {
    padding: 1rem 1.25rem;
    background: var(--color-surface);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-sidebar .lesson-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
    transition: background var(--transition-fast);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.lesson-sidebar .lesson-item:hover,
.lesson-sidebar .lesson-item.active {
    background: var(--color-surface);
    color: var(--color-text-primary);
}

.lesson-sidebar .lesson-item.completed .lesson-check {
    color: var(--color-success);
}

.lesson-sidebar .lesson-item.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   QUIZ STYLES
   ============================================ */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-progress-bar {
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.quiz-progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-red), var(--color-pastel-orange));
    transition: width var(--transition-medium);
}

.quiz-question-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-text-secondary);
}

.quiz-option:hover {
    border-color: var(--color-pastel-orange);
    background: rgba(255, 179, 128, 0.05);
}

.quiz-option.selected {
    border-color: var(--color-pastel-orange);
    background: rgba(255, 179, 128, 0.1);
    color: var(--color-text-primary);
}

.quiz-option.correct {
    border-color: var(--color-success);
    background: rgba(76, 175, 80, 0.1);
}

.quiz-option.incorrect {
    border-color: var(--color-accent-red);
    background: rgba(230, 57, 70, 0.1);
}

/* ============================================
   BEFORE/AFTER SLIDER
   ============================================ */
.before-after-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    cursor: ew-resize;
}

.before-after-container .before-image,
.before-after-container .after-image {
    width: 100%;
    display: block;
}

.before-after-container .before-image {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(0 50% 0 0);
}

.before-after-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    cursor: ew-resize;
    z-index: 10;
}

.before-after-slider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-sidebar {
    background: var(--color-secondary-dark);
    border-right: 1px solid var(--color-border);
    min-height: calc(100vh - 76px);
    padding: 1.5rem 0;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
    color: var(--color-text-primary);
    background: rgba(255, 179, 128, 0.05);
    border-left-color: var(--color-pastel-orange);
}

/* ============================================
   PROGRESS BAR CUSTOM
   ============================================ */
.progress-custom {
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-custom .progress-bar {
    background: linear-gradient(90deg, var(--color-accent-red), var(--color-pastel-orange));
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(255, 179, 128, 0.05));
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

.newsletter-input {
    background: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
}

.newsletter-input:focus {
    border-color: var(--color-pastel-orange);
    box-shadow: 0 0 0 3px rgba(255, 179, 128, 0.15);
    background: var(--color-primary-dark);
    color: var(--color-text-primary);
    outline: none;
}

/* ============================================
   FORM CONTROLS (DARK)
   ============================================ */
.form-control-dark {
    background: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: var(--border-radius-sm);
    padding: 0.65rem 1rem;
}

.form-control-dark:focus {
    border-color: var(--color-pastel-orange);
    box-shadow: 0 0 0 3px rgba(255, 179, 128, 0.15);
    background: var(--color-primary-dark);
    color: var(--color-text-primary);
}

.form-control-dark::placeholder {
    color: var(--color-text-muted);
}

/* ============================================
   BADGE STYLES
   ============================================ */
.badge-level {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-beginner { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.badge-intermediate { background: rgba(255, 179, 128, 0.15); color: var(--color-pastel-orange); }
.badge-advanced { background: rgba(230, 57, 70, 0.15); color: var(--color-accent-red); }

/* ============================================
   PRICING CARD (sticky sidebar)
   ============================================ */
.pricing-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.pricing-card .price .currency {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
}

.pricing-card .old-price {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

/* ============================================
   ANIMATION HELPERS
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.admin-stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    transition: all var(--transition-fast);
}

.admin-stat-card:hover {
    border-color: var(--color-pastel-orange);
}

.admin-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.admin-table {
    color: var(--color-text-secondary);
}

.admin-table thead th {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
}

.admin-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: rgba(255, 179, 128, 0.03);
}

/* Admin Sidebar */
.admin-sidebar {
    background-color: var(--color-secondary-dark);
    min-height: calc(100vh - 76px);
    border-right: 1px solid var(--color-border);
    position: sticky;
    top: 76px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: var(--color-text-primary);
    background: rgba(255, 179, 128, 0.06);
    border-left-color: var(--color-pastel-orange);
}

.admin-nav-link.active {
    color: var(--color-pastel-orange);
}

.admin-nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.admin-main-content {
    min-height: calc(100vh - 76px);
}

.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Admin Form Check Styling */
.admin-card .form-check-input:checked {
    background-color: var(--color-accent-red);
    border-color: var(--color-accent-red);
}

.admin-card .form-check-input {
    background-color: var(--color-primary-dark);
    border-color: var(--color-border);
}

/* Admin Select Dark */
.form-select.form-control-dark {
    background-color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23B0B0B0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select.form-control-dark:focus {
    border-color: var(--color-pastel-orange);
    box-shadow: 0 0 0 3px rgba(255, 179, 128, 0.15);
    background-color: var(--color-primary-dark);
    color: var(--color-text-primary);
}

/* Admin Modal Styling */
.modal-content .form-control-dark,
.modal-content .form-select.form-control-dark {
    background-color: var(--color-primary-dark);
}

/* ============================================
   CERTIFICATE
   ============================================ */
.certificate-preview {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid var(--color-pastel-orange);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.certificate-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.05), transparent 60%);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

/* ============================================
   ACCORDION CUSTOM (CURRICULUM)
   ============================================ */
.accordion-dark .accordion-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm) !important;
    margin-bottom: 0.5rem;
}

.accordion-dark .accordion-button {
    background: var(--color-surface);
    color: var(--color-text-primary);
    font-weight: 600;
    border-radius: var(--border-radius-sm) !important;
    box-shadow: none;
}

.accordion-dark .accordion-button:not(.collapsed) {
    background: rgba(255, 179, 128, 0.05);
    color: var(--color-pastel-orange);
}

.accordion-dark .accordion-button::after {
    filter: invert(1);
}

.accordion-dark .accordion-body {
    padding: 0;
}

/* ============================================
   CART / CHECKOUT
   ============================================ */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.cart-item .cart-item-image {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.cart-summary {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-red), var(--color-pastel-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-surface { background-color: var(--color-surface); }
.bg-dark-primary { background-color: var(--color-primary-dark); }
.bg-dark-secondary { background-color: var(--color-secondary-dark); }
.text-orange { color: var(--color-pastel-orange); }
.text-red { color: var(--color-accent-red); }
.text-muted-custom { color: var(--color-text-muted); }
.border-custom { border-color: var(--color-border) !important; }

.glow-red {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.glow-orange {
    box-shadow: 0 0 20px rgba(255, 179, 128, 0.3);
}

/* ============================================
   HERO ORBS
   ============================================ */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb--red {
    top: -15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15), transparent 70%);
}

.hero-orb--orange {
    bottom: -15%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 179, 128, 0.1), transparent 70%);
}

/* ============================================
   FILM STRIP - Infinite horizontal scroll
   ============================================ */
.filmstrip-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0 3rem;
}

/* fade-out masks on left and right edges */
.filmstrip-wrapper::before,
.filmstrip-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}

.filmstrip-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-secondary-dark, #1A1A1A), transparent);
}

.filmstrip-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-secondary-dark, #1A1A1A), transparent);
}

.filmstrip {
    position: relative;
    width: 100%;
}

.filmstrip-track {
    display: flex;
    gap: 0;
    animation: filmstripScroll 40s linear infinite;
    width: max-content;
}

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

@keyframes filmstripScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* single frame */
.filmstrip-frame {
    flex-shrink: 0;
    width: 300px;
    background: #111;
    border-left: 4px solid #1a1a1a;
    border-right: 4px solid #1a1a1a;
    position: relative;
}

/* sprocket holes (top & bottom strips) */
.frame-sprockets-top,
.frame-sprockets-bottom {
    height: 22px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 12px;
    position: relative;
}

.frame-sprockets-top::before,
.frame-sprockets-top::after,
.frame-sprockets-bottom::before,
.frame-sprockets-bottom::after {
    content: '';
    display: block;
    width: 14px;
    height: 10px;
    border-radius: 2px;
    background: #2a2a2a;
    box-shadow: 44px 0 0 #2a2a2a,
                88px 0 0 #2a2a2a,
                132px 0 0 #2a2a2a,
                176px 0 0 #2a2a2a,
                220px 0 0 #2a2a2a;
}

.frame-sprockets-top::after,
.frame-sprockets-bottom::after {
    display: none;
}

/* content area inside the frame */
.frame-content {
    display: block;
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.frame-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 14px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filmstrip-frame:hover .frame-overlay {
    opacity: 1;
}

.frame-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Mobile: smaller frames */
@media (max-width: 768px) {
    .filmstrip-frame {
        width: 220px;
    }
    .frame-content {
        height: 140px;
    }
}
