/* ================================================================
   TOPCASTING – CSS Custom
   Surcharge et extensions du thème Lestin
================================================================ */

/* ── Variables de marque ── */
:root {
    --tc-theme-color: #9d140a;       
    --tc-theme2-color: #f59e0b;      
    --tc-dark-bg: #1e0301;           /* Fond sombre navbar */
    --tc-text: #374151;
    --tc-text-light: #6b7280;
    --tc-white: #ffffff;
    --tc-border: #e5e7eb;
    --tc-radius: 12px;
    --tc-shadow: 0 4px 24px rgba(109, 40, 217, .12);
}

/* ── Réinitialisation police ── */
body {
    font-family: 'Inter', sans-serif;
    color: var(--tc-text);
}

/* ── Couleurs thème ── */
.theme-bg     { background-color: var(--tc-theme-color) !important; }
.theme2-bg    { background-color: var(--tc-theme2-color) !important; }
.theme-clr    { color: var(--tc-theme-color) !important; }
.theme2-clr   { color: var(--tc-theme2-color) !important; }
.ratting-clr  { color: var(--tc-theme2-color) !important; }
.indef-clr    { color: #d1d5db !important; }

/* ── Header sticky ── */
#header-sticky {
    /*background: var(--tc-dark-bg);*/
    transition: all .35s ease;
}
#header-sticky.sticky {
    background: #550a05 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.nobackground{
    background: unset !important;
}
/* ── Logo header ── */
.header-logo img { max-height: 40px; }

/* ── Bouton principal ── */
.theme-btn {
    background: var(--tc-theme-color);
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}
.theme-btn:hover {
    background: #b62141;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 40, 78, 0.35);
    color: #fff !important;
}
.theme-btn.alt-btn {
    background: transparent;
    border: 2px solid var(--tc-theme-color);
    color: var(--tc-theme-color) !important;
}
.theme-btn.alt-btn:hover {
    background: var(--tc-theme-color) !important;
    color:  var(--tc-theme-color) !important;
}
.theme-btn.alt-btn03 {
    background: var(--tc-theme2-color);
    color: #1f2937 !important;
}

/* ── Custom header button ── */
.custom-header-btn {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px !important;
}
.custom-header-btn .plus {
    background: var(--tc-theme2-color);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 16px;
}
.custom-header-btn .texts {
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* ── Hero Section ── */
.hero-section {
    padding: 120px 0 80px;
    background: var(--tc-dark-bg);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109,40,217,.3) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* ── Search Form ── */
.listing-search-form {
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
    /*max-width: 860px;*/
    margin: 0 auto 28px;
}
.search-form-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.search-form-main input,
.search-form-main .category-select {
    border: none;
    outline: none;
    flex: 1;
    min-width: 160px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--tc-text);
    background: transparent;
}
.search-form-main .category-select {
    border-left: 1px solid var(--tc-border);
    position: relative;
}
.search-form-main .category-select select {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: var(--tc-text);
    cursor: pointer;
}
.search-form-main button[type="submit"] {
    white-space: nowrap;
    border-radius: 10px !important;
    padding: 12px 24px !important;
}
@media (max-width: 768px) {
    .search-form-main { flex-direction: column; }
    .search-form-main input,
    .search-form-main .category-select { border-left: none; border-top: 1px solid var(--tc-border); width: 100%; }
    .search-form-main button { width: 100%; justify-content: center; }
}

/* ── Browse highlights ── */
.browse-hilisht {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 20px auto 0;
    max-width: 860px;
    flex-wrap: wrap;
    justify-content: center;
}
.b-hilisht-text { color: rgba(255,255,255,.6); font-size: 14px; }
.b-hilisht-item a,
.b-hilisht-item {
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    transition: all .25s;
    cursor: pointer;
}
.b-hilisht-item:hover,
.b-hilisht-item a:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-color: rgba(255,255,255,.4);
}

/* ── Section title ── */
.section-title span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tc-theme-color);
    margin-bottom: 10px;
}
.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
}
.mb-60 { margin-bottom: 60px; }
.section-padding { padding: 80px 0; }

/* ── Talent card (business-single adapté) ── */
.business-single {
    background: #fff;
    border-radius: var(--tc-radius);
    box-shadow: var(--tc-shadow);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}
.business-single:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(109,40,217,.18);
}
.business-single .news-image {
    position: relative;
    overflow: hidden;
}
.business-single .news-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform .5s;
}
.business-single:hover .news-image img { transform: scale(1.04); }

.business-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}
.b-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.mike-hardson {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 16px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
}

.re-line {
    width: 1px;
    height: 16px;
    background: var(--tc-border);
}
.line {
    height: 1px;
    background: var(--tc-border);
}
.business-info { list-style: none; padding: 0; }
.business-info li { display: flex; align-items: center; gap: 8px; }

/* ── Casting card ── */
.casting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(109,40,217,.18) !important;
}
.casting-card .fw-600 { font-weight: 600; }

/* ── FunFact section ── */
.funfact-section {
    background: var(--tc-dark-bg);
}
.funfact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236d28d9' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.funfact-count {
    width: 180px;
    height: 180px;
    position: relative;
}
.funfact-count .icon.posi1 {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 48px;
    height: 48px;
}
.funcat-inner {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 24px;
}
.third-count {
    margin: 0 auto;
    width: 180px;
    height: 180px;
}

/* ── Challenge section ── */
.challenge-section .step-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(109,40,217,.08);
    line-height: 1;
}

/* ── How it works ── */
.how-it-works-item { padding: 30px 20px; }
.how-it-works-item:hover .how-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(109,40,217,.3);
}
.how-icon { transition: all .3s; }
.step-number {
    font-size: 42px;
    font-weight: 900;
    color: rgba(109,40,217,.08);
    line-height: 1;
}

/* ── Testimonial ── */
.testimonial-single {
    background: #fff;
    border-radius: var(--tc-radius);
    padding: 32px;
    box-shadow: var(--tc-shadow);
}

/* ── News / Blog ── */
.news-box-items {
    transition: transform .3s;
}
.news-box-items:hover { transform: translateY(-4px); }
.date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--tc-theme-color);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
}
.comment-blog {
    background: #f9fafb;
    border-radius: 8px;
}
.blog-arrow { transition: gap .2s; }
.blog-arrow:hover { gap: 8px !important; }

/* ── Footer ── */
.footer-section {
    background: #100f0f;
    color: rgba(255,255,255,.75);
    padding-top: 0;
}
.footer-head-title, .footer-head-title img { max-height: 60px; }
.footer-head-title { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; display: block; }
.pragraph-title { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.widget-link { list-style: none; padding: 0; }
.widget-link li a {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s;
}
.widget-link li a:hover { color: var(--tc-theme2-color); }
.widget-info { list-style: none; padding: 0; }
.widget-info .icon {
    width: 36px; height: 36px; min-width: 36px;
    background: rgba(109,40,217,.25);
    color: var(--tc-theme2-color);
    font-size: 14px;
}
.widget-info .i-name { display: block; font-size: 11px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 2px; }
.widget-info a { color: rgba(255,255,255,.75); font-size: 13px; text-decoration: none; }
.subscribe-form { display: flex; gap: 8px; flex-direction: column; }
.subscribe-form input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
    width: 100%;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,.4); }
.social-area a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    text-decoration: none;
    transition: all .25s;
}
.social-area a:hover {
    background: var(--tc-theme-color);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom-area {
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.45);
    font-size: 13px;
}
.footer-bottom-area a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom-area a:hover { color: var(--tc-theme2-color); }

/* ── Offcanvas menu ── */
.offcanvas__info {
    position: fixed;
    right: -340px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: #0f0035;
    z-index: 9999;
    transition: right .35s ease;
    overflow-y: auto;
}
.offcanvas__info.info-open { right: 0; }
.offcanvas__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
    display: none;
}
.offcanvas__overlay.overlay-open { display: block; }
.offcanvas__wrapper { padding: 30px; }
.offcanvas__close button {
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    color: #fff;
    cursor: pointer;
}
.offcanvas__contact h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.offcanvas__contact ul { list-style: none; padding: 0; }
.offcanvas__contact li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.offcanvas__contact-icon { color: var(--tc-theme2-color); font-size: 16px; margin-top: 2px; }
.offcanvas__contact-text a { color: rgba(255,255,255,.7); font-size: 13px; text-decoration: none; }

/* ── Back to top ── */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px; height: 44px;
    background: var(--tc-theme-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }

/* ── Preloader ── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--tc-dark-bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s;
}
.preloader.loaded { opacity: 0; pointer-events: none; }
.spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(255,255,255,.15);
    border-top-color: var(--tc-theme-color);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Dropdown nav custom ── */
.custom-dropdown .dropdown-button {
    background: none;
    border: none;
    color: rgba(255,255,255,.8);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    transition: color .2s;
}
.custom-dropdown .dropdown-button:hover { color: var(--tc-theme2-color); }
.custom-dropdown .dropdown-content {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    min-width: 180px;
    padding: 8px;
    display: none;
    z-index: 100;
}
.custom-dropdown .dropdown-content.show { display: block; }
.custom-dropdown .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--tc-text);
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
}
.custom-dropdown .dropdown-content a:hover { background: #f3f0ff; color: var(--tc-theme-color); }

/* ── Navigation submenu ── */
.main-menu nav > ul > li { position: relative; display: inline-block; }
.main-menu nav > ul > li > a {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    font-weight: 500;
    padding: 30px 16px;
    display: inline-block;
    text-decoration: none;
    transition: color .2s;
}
.main-menu nav > ul > li > a:hover,
.main-menu nav > ul > li.active > a { color: var(--tc-theme2-color); }
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    min-width: 200px;
    padding: 8px;
    list-style: none;
    display: none;
    z-index: 99;
}
.submenu li a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--tc-text);
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
}
.submenu li a:hover { background: #f3f0ff; color: var(--tc-theme-color); }
.main-menu nav > ul > li:hover .submenu { display: block; }

/* ── Text utils ── */
.white-clr  { color: #fff !important; }
.black-clr  { color: #111827 !important; }
.text-clr   { color: var(--tc-text-light) !important; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-28 { font-size: 28px; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.txt-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-overflow: hidden;
    overflow: hidden;
}
.d-center { display: flex; align-items: center; justify-content: center; }
.white-bg { background: #fff; }
.space-bottom { padding-bottom: 80px; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .hero-section { padding: 90px 0 60px; }
    .hero-section h1 { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
    .mb-60 { margin-bottom: 40px; }
    .main-menu { display: none; }
}
/* ── Pagination ────────────────────────────────────────────────── */
.pagination .page-link {
    color: var(--tc-theme-color);
    border-color: #e5e7eb;
    border-radius: 6px;
    margin: 0 2px;
    min-width: 36px;
    text-align: center;
    transition: background .2s, color .2s, border-color .2s;
}
.pagination .page-link:hover,
.pagination .page-link:focus {
    background: #f9eded;
    color: var(--tc-theme-color);
    border-color: var(--tc-theme-color);
    box-shadow: none;
}
.pagination .page-item.active .page-link {
    background: var(--tc-theme-color);
    border-color: var(--tc-theme-color);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    border-color: #e5e7eb;
    background: transparent;
}
