/* ==========================================================================
   1. CSS VARIABLES (The Brand DNA)
   ========================================================================== */
   :root {
    /* Colors */
    --bg-dark: #050505;
    --bg-surface: #121212;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --accent-gold: #c5a059;
    --nav-bg: rgba(5, 5, 5, 0.85);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --section-pad: 120px 5%;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; }

/* ==========================================================================
   3. GLOBAL COMPONENTS (Buttons, Typography)
   ========================================================================== */
.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-block;
}
.btn-primary:hover { transform: scale(1.05); }

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.btn-secondary:hover { border-color: var(--text-primary); }

.btn-outline {
    border: 1px solid var(--text-primary);
    padding: 14px 36px;
    border-radius: 40px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}
.btn-outline:hover { background: var(--text-primary); color: var(--bg-dark); }

.section-padding { padding: var(--section-pad); }
.text-center { text-align: center; }

/* ==========================================================================
   4. HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1600px;
    margin: 0 auto;
}
.brand-logo {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand-logo span {
    font-size: 0.7rem;
    color: var(--accent-gold);
    letter-spacing: 4px;
}
.desktop-nav a {
    margin: 0 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.desktop-nav a:hover { color: var(--text-primary); }
.nav-actions { display: flex; gap: 15px; }


/* Dynamic Scroll State for Header */
.main-header {
    transition: padding 0.4s ease, background 0.4s ease;
}
.main-header.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.98); /* Solidifies the dark background */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}
.main-header.scrolled .nav-container {
    padding: 10px 5%;
}

/* ==========================================================================
   5. INDEX PAGE - HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-video-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.hero-bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding: 0 20px;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title span { font-style: italic; color: var(--accent-gold); }
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 40px;
}

/* ==========================================================================
   6. INDEX PAGE - STORIES GRID
   ========================================================================== */
.section-header { margin-bottom: 60px; }
.section-title { font-size: 3rem; margin-bottom: 10px; }
.section-desc { color: var(--text-secondary); font-size: 1.1rem; }

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.story-card {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    cursor: pointer;
}
.bg-placeholder {
    width: 100%; height: 100%;
    background: var(--bg-surface);
    transition: var(--transition-smooth);
}
.story-card:hover .bg-placeholder { transform: scale(1.05); }
.story-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.story-info h3 { font-size: 2rem; margin-bottom: 5px; }
.story-info span { font-size: 0.9rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.main-footer {
    background: var(--bg-surface);
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content { display: flex; justify-content: space-between; max-width: 1400px; margin: 0 auto; margin-bottom: 60px;}
.footer-brand h2 { font-size: 2rem; margin-bottom: 10px; }
.footer-links { display: flex; gap: 30px; align-items: center; }
.footer-bottom { text-align: center; color: var(--text-secondary); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }


/* ==========================================================================
   8. REELS HUB (Vertical Snap Scrolling)
   ========================================================================== */
.reels-hub {
    /* 100vh ensures the container takes the exact height of the screen */
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    /* This forces the scrollbar to snap strictly to the sections */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    
    /* Hide scrollbar for cleaner look (Optional but recommended for Reels) */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.reels-hub::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.reel-section {
    position: relative;
    height: 100vh; /* Each reel takes exactly one screen */
    width: 100%;
    scroll-snap-align: start; /* Snaps the top of the section to the top of the screen */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    overflow: hidden;
}

.reel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures vertical video fills screen without stretching */
}

.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    pointer-events: none;
}

/* Info Section (Bottom Left) */
.reel-info {
    position: absolute;
    bottom: 40px;
    left: 5%;
    max-width: 70%;
    z-index: 10;
}
.reel-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.reel-desc {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    opacity: 0.9;
}
.reel-tags span {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    font-weight: 500;
}

/* Action Buttons (Bottom Right) */
.reel-actions {
    position: absolute;
    bottom: 40px;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
    align-items: center;
}
.action-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.action-btn i {
    font-size: 1.8rem;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.action-btn span {
    font-size: 0.8rem;
    font-weight: 500;
}
.action-btn:hover {
    transform: scale(1.1);
}

.book-btn i {
    color: var(--accent-gold);
}


/* ==========================================================================
   9. EXPERIENCES PAGE
   ========================================================================== */

/* Utility class to remove top padding if needed */
.pt-0 { padding-top: 0 !important; }

/* The Masonry-style Grid */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Base Card Styling */
.exp-card {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    cursor: pointer;
    background: var(--bg-surface);
}

/* Modifier to make a card span two columns on larger screens */
@media (min-width: 900px) {
    .exp-card.wide {
        grid-column: span 2;
    }
}

/* Image Handling & Hover Effects */
.exp-img-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    overflow: hidden;
}

.exp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth Apple-like zoom */
}

.exp-card:hover .exp-img {
    transform: scale(1.08);
}

/* Dark gradient so text is always readable */
.exp-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    transition: background 0.4s ease;
}

.exp-card:hover .exp-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

/* Content Positioning */
.exp-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px 30px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.exp-content h2 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.exp-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Explore Button Animation */
.explore-btn {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.explore-btn .arrow {
    transition: transform 0.3s ease;
}

.exp-card:hover .explore-btn .arrow {
    transform: translateX(10px); /* Arrow shoots to the right on hover */
}
.exp-card:hover .exp-content h2 {
    transform: translateY(0); /* Title nudges up slightly on hover */
}

/* ==========================================================================
   10. WORKFLOW TEASER (Experiences Page)
   ========================================================================== */
.workflow-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
}

.workflow-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.workflow-text h2 span {
    font-style: italic;
    color: var(--accent-gold);
}

.workflow-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.workflow-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 100%;
}

.wf-box {
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 600;
    background: var(--text-secondary); /* Placeholder until images are added */
    min-height: 250px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .workflow-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}
/* ==========================================================================
   11. PRICING PAGE & LUXURY CARDS
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center; /* Aligns items to the center so the featured card can pop out */
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
}

/* The subtle glowing effect on hover */
.card-glow {
    position: absolute;
    top: -50px; left: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.pricing-card:hover .card-glow { opacity: 1; }

.package-name {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 300;
}

.package-price {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 10px;
}

.package-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    min-height: 45px;
}

.package-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.package-features li {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #e0e0e0;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1rem;
}

/* Platinum/Featured Card specific styling */
.pricing-card.featured {
    background: linear-gradient(145deg, #121212 0%, #1a1a1a 100%);
    border: 1px solid var(--accent-gold);
    transform: scale(1.05); /* Makes it slightly larger */
    z-index: 2;
    padding: 60px 40px;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.featured-badge {
    position: absolute;
    top: 20px; right: -35px;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.w-100 { width: 100%; display: block; }

/* ==========================================================================
   12. AI STYLE PREVIEWER
   ========================================================================== */
.style-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.style-controls {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.style-controls h2 { font-size: 2.5rem; margin-bottom: 15px; }
.style-controls h2 span { font-style: italic; color: var(--accent-gold); }
.style-controls p { color: var(--text-secondary); margin-bottom: 40px; }

.mood-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mood-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    padding: 15px 25px;
    text-align: left;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.mood-btn:hover { background: rgba(255,255,255,0.05); }
.mood-btn.active {
    border-color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
}

.style-visualizer {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.8s ease, opacity 0.4s ease;
}

.style-label {
    position: absolute;
    bottom: 30px; left: 30px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px); }
    .style-container { grid-template-columns: 1fr; }
    .style-controls { padding: 40px 20px; }
}



/* ==========================================================================
   13. BOOKING EXPERIENCE FLOW
   ========================================================================== */
.booking-page {
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 100%);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    width: 90%;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Progress Indicator */
.booking-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.progress-step {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.progress-step.active {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInStep 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title { font-size: 2.2rem; margin-bottom: 10px; }
.step-desc { color: var(--text-secondary); margin-bottom: 40px; }

/* Selection Cards (Radio Buttons Replacement) */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.selection-card {
    cursor: pointer;
    position: relative;
}

.selection-card input[type="radio"] {
    position: absolute;
    opacity: 0; /* Hide actual radio button */
}

.card-content {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.card-content i { font-size: 2.5rem; font-style: normal; }
.card-content span { font-weight: 500; font-size: 1.1rem; }

/* Active State for Selected Card */
.selection-card input[type="radio"]:checked + .card-content {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Luxury Inputs for Details Step */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.input-group.full-width { grid-column: span 2; }

.luxury-input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.luxury-input:focus { border-color: var(--accent-gold); }

/* Step Actions */
.step-actions { display: flex; justify-content: flex-end; }
.step-actions.split { justify-content: space-between; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

/* AI Estimator Results */
.estimate-card {
    background: linear-gradient(145deg, #121212 0%, #0a0a0a 100%);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: left;
}

.estimate-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.badge {
    background: rgba(197, 160, 89, 0.2);
    color: var(--accent-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 10px;
}

.estimate-features { list-style: none; margin-bottom: 30px; }
.estimate-features li { padding: 8px 0; color: #ccc; display: flex; gap: 10px;}
.estimate-features li::before { content: '✨'; font-size: 0.9rem;}

.spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

@media (max-width: 768px) {
    .selection-grid, .form-grid { grid-template-columns: 1fr; }
    .booking-container { padding: 30px 20px; }
}



/* ==========================================================================
   14. ERP / ADMIN PANEL LAYOUT
   ========================================================================== */
.admin-body {
    display: flex;
    background: #0a0a0a; /* Slightly lighter than the main site for readability */
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.admin-sidebar {
    width: 260px;
    background: var(--bg-surface);
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-brand h2 { font-size: 1.2rem; letter-spacing: 2px; }
.sidebar-brand span { color: var(--accent-gold); display: block; font-size: 0.8rem; }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex-grow: 1;
}

.sidebar-nav a {
    padding: 15px 30px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
    border-left-color: var(--accent-gold);
}

.logout-btn { margin-top: auto; color: #ff4d4d !important; }

/* Main Dashboard Area */
.admin-main {
    flex-grow: 1;
    overflow-y: auto;
    padding: 40px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-profile { display: flex; align-items: center; gap: 15px; }
.profile-avatar {
    width: 40px; height: 40px;
    background: var(--accent-gold);
    color: #000;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-weight: bold;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    background: rgba(255,255,255,0.05);
    width: 60px; height: 60px;
    border-radius: var(--radius-md);
    display: flex; justify-content: center; align-items: center;
}

.stat-info p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 5px; }
.stat-info h3 { font-size: 1.8rem; font-family: var(--font-body); }

/* Data Tables */
.admin-section {
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 30px;
}

.flex-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }

.table-container { overflow-x: auto; }

.erp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.erp-table th, .erp-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.erp-table th { color: var(--text-secondary); font-weight: 500; font-size: 0.9rem; }
.erp-table td { font-size: 0.95rem; }
.erp-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.status-inquiry { background: rgba(255, 193, 7, 0.1); color: #ffc107; }
.status-confirmed { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.status-completed { background: rgba(197, 160, 89, 0.1); color: var(--accent-gold); }

/* Utility Classes */
.btn-secondary.small, .btn-outline.small { padding: 8px 16px; font-size: 0.8rem; }
/* ==========================================================================
   15. ERP CONTROLS & MODALS
   ========================================================================== */

/* Top Controls (Search & Filters) */
.admin-controls {
    margin-bottom: 20px;
}

.luxury-input.small-input {
    padding: 10px 15px;
    font-size: 0.9rem;
    min-width: 250px;
    background: var(--bg-surface);
}

.team-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #e0e0e0;
}

/* Slide-out Modal Background */
.admin-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1000;
    display: none; /* Hidden by default */
    justify-content: flex-end; /* Aligns modal to the right */
}

.admin-modal.active { display: flex; }

.modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease forwards;
}

/* Slide-out Panel */
.modal-content {
    position: relative;
    width: 450px;
    height: 100%;
    background: var(--bg-surface);
    border-left: 1px solid rgba(255,255,255,0.05);
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1001;
    overflow-y: auto;
}

.slide-in-right {
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.modal-header h2 { font-size: 1.5rem; }

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.close-btn:hover { color: #ff4d4d; }

/* Status specific colors for new options */
.status-shooting { background: rgba(220, 53, 69, 0.1); color: #dc3545; } /* Red for recording */
.status-editing { background: rgba(23, 162, 184, 0.1); color: #17a2b8; } /* Blue for processing */
.status-preview-ready { background: rgba(111, 66, 193, 0.1); color: #6f42c1; } /* Purple for review */

/* ==========================================================================
   16. MEDIA CMS STYLING
   ========================================================================== */

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #ff4d4d;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Drag & Drop Upload Zone */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.05);
}

.text-right { text-align: right; }

/* CMS Gallery Grid */
.cms-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.cms-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s;
}

.cms-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.cms-media-wrapper {
    position: relative;
    height: 150px;
    width: 100%;
    background: #000;
}

.cms-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
}

.cms-card-actions {
    padding: 15px;
    background: var(--bg-surface);
}

.delete-btn {
    color: #ff4d4d;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.delete-btn:hover { color: #ff1a1a; text-decoration: underline; }

/* ==========================================================================
   17. AUTHENTICATION SCREENS (Login & Setup)
   ========================================================================== */

.auth-body {
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-container {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.auth-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}

.auth-header h2 {
    font-size: 2rem;
    letter-spacing: 2px;
}

.auth-header span {
    color: var(--accent-gold);
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    border: 1px solid rgba(40, 167, 69, 0.3);
    text-align: center;
    font-size: 0.9rem;
}


/* ==========================================================================
   18. CLIENT PORTAL & TIMELINE
   ========================================================================== */
.mb-40 { margin-bottom: 40px; }
.mt-10 { margin-top: 10px; }

/* Client Project Header Card */
.client-project-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Production Tracker Timeline */
.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
    overflow-x: auto; /* Allows scrolling on mobile */
}

/* The horizontal line running through the middle */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 35px; /* Aligns with the center of the icons */
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.timeline-icon {
    width: 30px;
    height: 30px;
    background: var(--bg-surface);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: var(--transition-smooth);
    position: relative;
}

.timeline-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.timeline-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Timeline States */
.timeline-step.completed .timeline-icon {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

.timeline-step.completed .timeline-content h4 {
    color: var(--text-primary);
}

/* Connect the gold line between completed steps */
.timeline-step.completed::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    z-index: -1;
}

.timeline-step:last-child::after {
    display: none; /* No line after the last item */
}

/* Active Step Animation */
.timeline-step.active .timeline-icon {
    border-color: var(--accent-gold);
    background: #000;
}

.timeline-step.active .timeline-icon::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulseActive 2s infinite;
}

.timeline-step.active .timeline-content h4 {
    color: var(--accent-gold);
    font-weight: 600;
}

@keyframes pulseActive {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* Play button overlay for video deliverables */
.play-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.3);
    pointer-events: none;
}
/* ==========================================================================
   19. TEAM HUB (ERP Roster)
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.team-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #8a6c38 100%);
    color: #000;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.team-contact {
    flex-grow: 1;
    margin-bottom: 25px;
}

.team-contact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-contact i {
    font-style: normal;
    opacity: 0.7;
}

.team-card-footer {
    margin-top: auto;
}

/* Active Workload Badges */
.active-load-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.active-load-badge.free {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745; /* Green - Available */
}

.active-load-badge.busy {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold); /* Gold - Currently working */
}


/* ==========================================================================
   20. MASONRY GALLERY (Pinterest Style & IP Protection)
   ========================================================================== */

.masonry-grid {
    /* Set column counts based on screen size */
    column-count: 1;
    column-gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .masonry-grid { column-count: 2; }
}

@media (min-width: 1000px) {
    .masonry-grid { column-count: 3; }
}

@media (min-width: 1400px) {
    .masonry-grid { column-count: 4; }
}

.masonry-item {
    break-inside: avoid; /* Prevents an image from being split across columns */
    margin-bottom: 25px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--bg-surface);
}

.protected-img-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.protected-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    transition: transform 0.4s ease;
    /* Extra security properties */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/* Subtle cinematic zoom on hover */
.protected-img-wrapper:hover img {
    transform: scale(1.03);
}

/* THE INVISIBLE SHIELD: Sits on top of the image to block direct interactions */
.protection-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent;
    z-index: 10;
    cursor: default; /* Keeps standard cursor so it doesn't feel broken */
}