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

:root {
    --primary-color: #dc3545;
    --primary-hover: #b02a37;
    --primary-glow: rgba(220, 53, 69, 0.15);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.custom-navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

.custom-nav-link {
    color: #475569 !important;
    font-weight: 600;
    font-size: 14px !important;
    padding: 8px 10px !important;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap !important;
}

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

/* Desktop navigation hover active indicator */
@media (min-width: 992px) {
    .custom-nav-link::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 10px;
        right: 10px;
        height: 2px;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .custom-nav-link:hover::after,
    .custom-nav-link.active::after {
        transform: scaleX(1);
    }
}

/* Mobile responsive navigation overrides and float card */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff !important;
        padding: 20px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        margin-top: 12px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .custom-nav-link {
        padding: 12px 16px !important;
        border-left: 3px solid transparent;
        display: block;
        width: 100%;
    }
    
    .custom-nav-link.active {
        border-left-color: var(--primary-color) !important;
        background-color: rgba(220, 53, 69, 0.03);
        padding-left: 20px !important;
    }
}

.nav-register-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c52b39 100%);
    color: #ffffff !important;
    font-weight: 600;
    padding: 8px 18px !important;
    font-size: 14px !important;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap !important;
}

.nav-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.3);
    background: linear-gradient(135deg, #e04f5f 0%, var(--primary-hover) 100%);
}

.navbar-brand img {
    max-height: 55px;
    width: auto;
}

/* ==========================================
   HERO / BANNER
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    right: -50px;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==========================================
   FLOATING SEARCH CARD
   ========================================== */
.search-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
    padding: 24px;
}

.search-input,
.search-select {
    height: 52px;
    border-radius: 12px !important;
    border: 1px solid var(--border-color);
    padding-left: 16px;
    font-size: 14px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.search-input:focus,
.search-select:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-glow);
    outline: none;
}

.search-btn {
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
    transition: all 0.25s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #e04f5f 0%, var(--primary-hover) 100%);
    box-shadow: 0 6px 18px rgba(220, 53, 69, 0.25);
    transform: translateY(-2px);
}

/* ==========================================
   CARDS & GRIDS
   ========================================== */
.premium-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.01);
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    border-color: rgba(220, 53, 69, 0.12);
}

.card-logo-wrapper {
    height: 80px;
    width: 80px;
    background-color: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

@media (min-width: 992px) {
    .card-logo-wrapper {
        height: 100px;
        width: 100%;
        margin-bottom: 16px;
    }
}

.card-logo-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px;
}

.card-logo-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

.premium-card:hover .card-logo-wrapper img {
    transform: scale(1.06);
}
.card-title {
    font-size: 15px !important;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .card-title {
        min-height: 42px; /* Keeps card titles uniform on desktop */
    }
}

.min-w-0 {
    min-width: 0 !important;
}

.card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-btn {
    display: inline-block;
    width: 100%;
    padding: 8px 0;
    border-radius: 10px;
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
}

.premium-card:hover .card-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
}

/* ==========================================
   STAT COUNTER
   ========================================== */
.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   MEMBER DETAILS / PROFILE
   ========================================== */
.profile-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    padding: 24px;
    text-align: center;
}

.profile-logo {
    border-radius: 16px;
    padding: 8px;
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.02);
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.profile-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.profile-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.profile-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

.profile-list li a {
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.profile-list li a:hover {
    color: var(--primary-color);
}

.profile-list li i {
    color: var(--primary-color);
    font-size: 16px;
}

.profile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.profile-socials a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

/* ==========================================
   STAR RATING & REVIEWS
   ========================================== */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 32px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0 4px;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #fbbf24;
}

/* ==========================================
   FOOTER
   ========================================== */
.custom-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
}

.footer-widget-title::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 6px;
    border-radius: 2px;
}

.footer-links {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 12px !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.footer-links li a {
    color: #475569;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.footer-links li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

/* ==========================================
   PAGINATION
   ========================================== */
.custom-pagination .page-link {
    border-radius: 8px !important;
    margin: 0 3px;
    color: #475569;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    font-weight: 500;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.custom-pagination .page-item.active .page-link,
.custom-pagination .page-link:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.15);
}

/* ==========================================
   PREMIUM STAT CARDS
   ========================================== */
.stat-card-premium {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.stat-card-premium:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(220, 53, 69, 0.15) !important;
}

.stat-icon-wrapper {
    transition: all 0.3s ease !important;
}

.stat-card-premium:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(5deg) !important;
}

.stat-number {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
}

.stat-label {
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

/* ==========================================
   MEMBERS LIST (job-card)
   ========================================== */
.job-section {
    background-color: #f8fafc !important;
    padding: 60px 0 !important;
}

.job-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-left: 4px solid transparent !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(220, 53, 69, 0.12) !important;
    border-left-color: var(--primary-color) !important;
}

.thumb-img {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
    width: 110px !important;
    height: 110px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.job-card:hover .thumb-img {
    transform: scale(1.05) rotate(-2deg) !important;
    border-color: rgba(220, 53, 69, 0.15) !important;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.08) !important;
}

/* ==========================================
   SECTORS PAGE (sektorler.blade.php) SPECIFICS
   ========================================== */
.blog-widget.blog-category {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-left: 4px solid var(--primary-color) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    padding: 24px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.blog-widget.blog-category:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(220, 53, 69, 0.12) !important;
}

.blog-widget.blog-category h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.03) !important;
    padding-bottom: 12px !important;
    margin-bottom: 15px !important;
}

.blog-widget.blog-category h3 a {
    color: var(--text-dark) !important;
    transition: color 0.2s ease !important;
}

.blog-widget.blog-category h3 a:hover {
    color: var(--primary-color) !important;
}

.blog-widget.blog-category ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.blog-widget.blog-category ul li {
    margin-bottom: 6px !important;
    padding: 0 !important;
    list-style: none !important;
}

.blog-widget.blog-category ul li a {
    color: #475569 !important;
    font-size: 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 12px !important;
    background-color: #f8fafc !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.01) !important;
}

.blog-widget.blog-category ul li a:hover {
    color: var(--primary-color) !important;
    background-color: rgba(220, 53, 69, 0.04) !important;
    padding-left: 16px !important;
    border-color: rgba(220, 53, 69, 0.1) !important;
}

.blog-widget.blog-category ul li a span.badge {
    background-color: #e2e8f0 !important;
    color: #475569 !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.blog-widget.blog-category ul li a:hover span.badge {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* ==========================================
   SEARCH TABS & CUSTOM COMPONENT ADDITIONS
   ========================================== */
.search-tab-btn {
    background-color: #ffffff !important;
    color: #475569 !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.2s ease !important;
}

.search-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2) !important;
}

.search-tab-btn:hover:not(.active) {
    background-color: #f1f5f9 !important;
    color: var(--text-dark) !important;
}

.hover-danger:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 576px) {
    .brand-title {
        font-size: 0.9rem !important;
    }
    .brand-subtitle {
        font-size: 0.72rem !important;
    }
    .brand-logo {
        height: 48px !important;
    }
}

/* ==========================================
   GLOBAL TOM SELECT STYLING
   ========================================== */
.ts-wrapper.form-select {
    border: none !important;
    padding: 0 !important;
    background-image: none !important;
}
.ts-control {
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    height: 48px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    background-color: rgba(248, 250, 252, 0.5) !important;
    display: flex;
    align-items: center;
}
.input-group .ts-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.ts-control input {
    font-size: 14px !important;
}
.ts-dropdown {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid var(--border-color) !important;
    padding: 6px !important;
    z-index: 1050 !important;
}
.ts-dropdown .option {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    white-space: normal !important; /* Enable word wrapping for long sector names! */
}
.ts-dropdown .active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

