html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #d58ec5;
    --primary-dark: #6b4e5f;
    /* Darker purple */
    --text-color: #000000;
    /* Pure black */
    --bg-color: #e7d5e7;
    /* Darker lavender-gray background */
    --bg-alt: #d29fd2;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-family: 'Outfit', sans-serif;
}

.dark-mode {
    --primary-color: #d3aacc;
    --primary-dark: #b17d9b;
    --text-color: #f0f0f0;
    --bg-color: #1a1a1a;
    --bg-alt: #2d2d2d;
    --white: #272727;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.mobile-menu {
    display: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 130px;
    /* Even bigger */
    width: auto;
    object-fit: contain;
    background-color: #fff;
    padding: 5px 10px;
    /* Tight fit */
    border-radius: 60% / 100%;
    border: 3px solid var(--primary-dark);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.08) rotate(2deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

#theme-toggle,
#lang-toggle {
    background: none;
    border: 1px solid var(--primary-dark);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    /* White text on primary button */
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-delete {
    background-color: #ff4d4d;
    color: white;
    margin-top: 10px;
    width: 100%;
}

.btn-delete:hover {
    background-color: #cc0000;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(rgba(211, 170, 204, 0.1), rgba(211, 170, 204, 0.3));
}

.hero-brand {
    font-size: 6rem;
    /* Significantly bigger */
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: 15px;
    margin-bottom: -1rem;
    text-transform: uppercase;
    opacity: 0.9;
    display: block;
    line-height: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.3;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Talents Section */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto 3rem;
    position: relative;
    display: flex;
    /* Use flex to align icon and input */
    align-items: center;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    /* Add left padding for icon */
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    background-color: var(--bg-color);
    /* Ensure check contrast in dark mode */
    color: var(--text-color);
}

.search-bar i {
    position: absolute;
    left: 1rem;
    color: #999;
}

.talents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.talent-card {
    background-color: var(--white);
    /* Use theme variable */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.talent-card:hover {
    transform: translateY(-5px);
}

.talent-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #ddd;
}

video.talent-img:fullscreen,
video.talent-img:-webkit-full-screen,
video.talent-img:-moz-full-screen,
video.talent-img:-ms-fullscreen {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #000;
}

.talent-info {
    padding: 1.5rem;
}

.talent-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.talent-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.talent-artist {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.dark-mode .talent-artist {
    color: #aaa;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-color);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-actions {
        display: flex;
        align-items: center;
    }

    /* Hide Theme and Language switcher on mobile */
    #theme-toggle,
    #lang-toggle,
    .theme-toggle,
    .lang-toggle {
        display: none !important;
    }

    /* Only show Login on mobile header */
    #auth-btn,
    .auth-btn {
        display: block;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .logo-img {
        height: 60px; /* Reduced for mobile header space */
        width: auto;
    }

    .hamburger {
        display: block;
        margin-left: 0.3rem;
        font-size: 1.2rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        background-color: var(--bg-color);
        padding: 1.5rem;
        border-bottom: 2px solid var(--primary-color);
        gap: 1.5rem;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-weight: 600;
        font-size: 1.1rem;
    }

    .mobile-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .action-btn {
        width: 100%;
        text-align: left;
        padding: 1rem;
        border-radius: 8px;
        background: var(--white);
        border: 1.5px solid var(--primary-color);
        color: var(--text-color);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        font-size: 1rem;
        cursor: pointer;
    }

    .action-btn i {
        width: 20px;
        color: var(--primary-color);
    }
}

/* Add Button */
.add-btn {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-left: 1rem;
}

.add-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
}

/* Video Styling */
video.talent-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #000;
}

/* ================================
   HORIZONTAL PHOTO SLIDER
   ================================ */

.slider-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    margin-top: 3rem;
    background: #000;
}

/* All slides stacked on top of each other */
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);    /* start off-screen right */
    transition: transform 0.65s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: 1;
}

/* Currently visible slide */
.slider-slide.is-active {
    transform: translateX(0);       /* centre of screen */
    z-index: 2;
}

/* Slide leaving to the left */
.slider-slide.is-leaving {
    transform: translateX(-100%);   /* off-screen left */
    z-index: 2;
}

/* Slide waiting to come in from left (prev button) */
.slider-slide.from-left {
    transform: translateX(-100%);   /* start off-screen left */
}

/* Active slide coming from left */
.slider-slide.is-active.from-left {
    transform: translateX(0);
}

/* Leaving to the right (prev button) */
.slider-slide.is-leaving.to-right {
    transform: translateX(100%);
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Navigation arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.1rem;
    transition: background 0.25s, transform 0.25s;
}
.slider-nav.prev { left: 18px; }
.slider-nav.next { right: 18px; }
.slider-nav:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

/* Dot indicators */
.slider-indicators {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 10;
}
.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}
.slider-dot.active {
    background: #fff;
    transform: scale(1.35);
}

@media (max-width: 768px) {
    .slider-container { height: 300px; }
    .slider-nav { width: 38px; height: 38px; font-size: 0.9rem; }
}


