/* Ticaretin Kadınları - Main Stylesheet */

:root {
    --primary-color: #1e3a8a;
    --primary-hover: #1e40af;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --light-bg: #f8fafc;
    --bs-primary-rgb: 30, 58, 138;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: #fff;
    line-height: 1.6;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.site-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.site-header .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.site-header .nav-link:hover {
    color: var(--primary-color);
}

/* Admin filters and sortable headers */
.filters-row .form-control,
.filters-row .form-select {
    height: 38px;
}

.table thead th a {
    color: inherit;
    text-decoration: none;
}

.table thead th a:hover {
    text-decoration: underline;
}

/* Sort indicators for admin tables */
.table thead th a.sort-asc::after,
.table thead th a.sort-desc::after {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.table thead th a.sort-asc::after {
    content: '▲';
}

.table thead th a.sort-desc::after {
    content: '▼';
}

.pagination .page-item.disabled .page-link {
    color: var(--text-secondary);
}

.bg-primary {
    background: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Hero Section */

/* Search Box */

/* Cards */

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

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

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

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

/* Directory List */
.directory-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.directory-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

/* Clickable directory item */
.directory-item-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
}

.directory-item-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Clickable card links */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

.directory-item-logo {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.directory-item-info {
    flex-grow: 1;
}

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

.directory-item-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.directory-item-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: sticky;
    top: 20px;
}

.filter-sidebar h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.filter-sidebar .form-select,
.filter-sidebar .form-control {
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background: var(--light-bg);
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.profile-header .avatar-xl {
    width: 96px;
    height: 96px;
    object-fit: cover;
}

.profile-meta .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: #fff;
}

.profile-meta .item span {
    color: var(--text-secondary);
}

.profile-meta .item strong {
    color: var(--text-primary);
}

.dashboard-sidebar .nav-link {
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--primary-color);
    color: #fff;
}

/* Tables */
.table {
    background: #fff;
}

.table thead th {
    background: var(--light-bg);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.table tbody tr:hover {
    background: var(--light-bg);
}

/* Badges */
.badge {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
}

.badge-pending {
    background: var(--warning-color);
    color: #fff;
}

.badge-approved {
    background: var(--success-color);
    color: #fff;
}

.badge-rejected {
    background: var(--danger-color);
    color: #fff;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.site-footer h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
}

.auth-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 500px;
    width: 100%;
}

.auth-card h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

/* Alert Messages */
.alert {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

/* File input thumbnails */
.file-thumb-wrapper {
    background: #fff;
    cursor: pointer;
}

.file-thumb {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 0.25rem;
    display: block;
}

/* Form image preview (constrained size) */
.form-image-preview {
    max-width: 240px;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container .map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Full-width Turkey map */
.map-fullwidth {
    width: 100%;
}

.map-fullwidth object#turkey-map {
    width: 100%;
    height: auto;
    display: block;
}

/* Map tooltip for city hover (positioned within map container) */
.map-fullwidth {
    position: relative;
}

.map-tooltip {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Responsive */

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.rounded-lg {
    border-radius: 0.75rem !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Success Stories */
.success-story-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Home: Join Us icons */
.home-join-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* News Thumbnails */
.news-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

/* Quill integration for forms */
.ql-container {
    border-radius: 0.5rem;
    border: 1px solid var(--border-color) !important;
}

.ql-toolbar {
    border-radius: 0.5rem 0.5rem 0 0;
    border: 1px solid var(--border-color) !important;
    border-bottom: none !important;
}

.form-label {
    margin-bottom: 0rem !important;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Menu Management Styles */
.menu-item-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.menu-item-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-children {
    border-left: 2px solid #e9ecef;
    padding-left: 1rem;
    margin-left: 1rem;
}

.menu-children .menu-item-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.drag-handle {
    cursor: move;
    color: var(--text-secondary);
    transition: color 0.3s;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.drag-handle:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.menu-item-card.sortable-ghost {
    opacity: 0.4;
    background-color: var(--light-bg);
}

.menu-item-card.sortable-chosen {
    background-color: var(--light-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-item-card.sortable-drag {
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: rotate(1deg);
}



/* Nestable2 styling - Modern Design */
.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 4px;
}

.dd-list .dd-list {
    padding-left: 25px;
    margin-top: 4px;
    background: #fff;
    border-left: 3px solid #e9ecef;
    border-radius: 0 6px 6px 0;
}

.dd-item {
    display: block;
    position: relative;
    margin: 0 0 8px 0;
    padding: 0;
    min-height: 50px;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.dd-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.dd-item>button {
    display: block;
    position: absolute;
    cursor: pointer;
    width: 30px;
    height: 30px;
    top: 10px;
    left: 10px;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: #f8f9fa;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    z-index: 2;
}

.dd-item>button:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.dd-item>button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
}

.dd-item>button[data-action="collapse"]:before {
    content: '−';
}

.dd-placeholder {
    display: block;
    position: relative;
    margin: 0 0 8px 0;
    padding: 0;
    min-height: 50px;
    font-size: 14px;
    line-height: 1.5;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px dashed #2196f3;
    border-radius: 8px;
    margin: 0 0 8px 0;
    box-shadow: inset 0 2px 4px rgba(33, 150, 243, 0.1);
}

.dd-handle {
    display: block;
    min-height: 50px;
    margin: 0;
    padding: 15px 15px 15px 50px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border: none;
    background: transparent;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: move;
    transition: all 0.2s ease;
    position: relative;
}

.dd-handle:hover {
    background: rgba(0, 123, 255, 0.05);
    color: #007bff;
}

.dd-handle .d-flex {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.dd-handle strong {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.dd-handle small {
    color: #6c757d;
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

.dd-actions {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 10;
    background: rgba(255, 255, 255, 0.98);
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: flex-end;
}

.dd-item:hover .dd-actions {
    opacity: 1;
}

.dd-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    min-width: auto;
}

.dd-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dd-actions .btn-outline-primary {
    color: #007bff;
    border: 1px solid #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.dd-actions .btn-outline-primary:hover {
    background: #007bff;
    color: white;
}

.dd-actions .btn-outline-danger {
    color: #dc3545;
    border: 1px solid #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.dd-actions .btn-outline-danger:hover {
    background: #dc3545;
    color: white;
}

/* Drag and drop states */
.dd-item.dd-item-dragging {
    opacity: 0.8;
    transform: rotate(2deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dd-item.dd-item-dragging .dd-actions {
    display: none;
}

.dd-item.dd-item-dragging .dd-handle {
    background: rgba(0, 123, 255, 0.1);
    border: 2px dashed #007bff;
}

/* Badge styling */
.badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #adb5bd) !important;
}

/* Icon styling */
.dd-handle i {
    margin-right: 8px;
    font-size: 16px;
    color: #007bff;
}

/* Nested level styling */
.dd-list .dd-list .dd-item {
    background: #f8f9fa;
    border-left: 3px solid #007bff;
}

.dd-list .dd-list .dd-list .dd-item {
    background: #fff;
    border-left: 3px solid #28a745;
}

.dd-list .dd-list .dd-list .dd-list .dd-item {
    background: #f8f9fa;
    border-left: 3px solid #ffc107;
}

/* Nested menu styling */
.menu-children .menu-item-card {
    position: relative;
}

.menu-children .menu-item-card::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    width: 0.5rem;
    height: 1px;
    background-color: #dee2e6;
}

.menu-children .menu-item-card::after {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 50%;
    width: 1px;
    background-color: #dee2e6;
}

/* Menu form styles */
.link-type-fields {
    display: none;
}

.link-type-fields.active {
    display: block;
}

.icon-preview {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

/* Menu management tabs */
.nav-tabs .nav-link {
    border-radius: 0.5rem 0.5rem 0 0;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    border-color: var(--border-color);
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: var(--border-color) var(--border-color) #fff;
    color: var(--primary-color);
    font-weight: 600;
}

/* Menu item status indicators */
.menu-item-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.menu-item-status.active {
    color: var(--success-color);
}

.menu-item-status.inactive {
    color: var(--text-secondary);
}

/* Menu item actions */
.menu-item-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.menu-item-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Nested menu items */
.menu-item[data-level="1"] {
    margin-left: 1rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1rem;
}

.menu-item[data-level="2"] {
    margin-left: 2rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1rem;
}

.menu-item[data-level="3"] {
    margin-left: 3rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1rem;
}

/* Menu preview */
.menu-preview {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.menu-preview h6 {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.menu-preview .nav {
    margin-bottom: 0;
}

.menu-preview .nav-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .directory-item {
        flex-direction: column;
        text-align: center;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .menu-item-actions {
        flex-direction: column;
        gap: 0.25rem;
    }

    .menu-item-actions .btn {
        width: 100%;
        text-align: center;
    }

    .menu-item[data-level] {
        margin-left: 0.5rem;
    }

    .stat-card {
        padding: 2rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .success-story-avatar {
        width: 100px;
        height: 100px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .search-box {
        padding: 2rem;
        margin-top: -2rem;
    }

    #successStoriesCarousel .carousel-control-prev {
        left: -15px;
    }

    #successStoriesCarousel .carousel-control-next {
        right: -15px;
    }

    #successStoriesCarousel .carousel-control-prev,
    #successStoriesCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Home Page Redesign Styles */

/* Hero Section with Dynamic Background */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    padding: 4rem 0;
    position: relative;
}

.hero-section[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Map Container */
#map-container {
    display: block;
}

/* Success Story Cards */
.success-story-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.success-story-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Success Stories Section */
.success-stories-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.success-stories-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.success-stories-section h3::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 2px;
}

/* Stats Section */
.stats-section {
    margin: 3rem 0;
}


.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Event List Items */
.event-list-item {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
}

.event-list-item:hover,
a:hover .event-list-item {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Program Cards */
.program-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.program-card:hover,
a:hover .program-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Updated Search Box */
.search-box {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

/* Form Control Large */
.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
}

/* Remove borders from cards and add subtle shadows */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Updated Bize Katılın section */
.home-join-section .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.home-join-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Design Elements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.6) 100%);
    z-index: 1;
}

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

/* Enhanced Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Cards */
.enhanced-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: none;
    overflow: hidden;
    position: relative;
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
}

.enhanced-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Buttons */
.btn-enhanced {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

/* Enhanced Stats */
.stat-card {
    background: var(--primary-color);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Enhanced Search Box */
.search-box {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    padding: 3rem;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-radius: 1.5rem 1.5rem 0 0;
}


/* Success Stories Carousel */
#successStoriesCarousel {
    position: relative;
    overflow: visible;
    padding: 20px 0;
}

#successStoriesCarousel .carousel-inner {
    overflow: visible;
}

#successStoriesCarousel .success-story-card {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#successStoriesCarousel .success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

#successStoriesCarousel .carousel-control-prev,
#successStoriesCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

#successStoriesCarousel .carousel-control-prev {
    left: -25px;
}

#successStoriesCarousel .carousel-control-next {
    right: -25px;
}

#successStoriesCarousel .carousel-control-prev:hover,
#successStoriesCarousel .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
}

#successStoriesCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#successStoriesCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#successStoriesCarousel .carousel-indicators button.active {
    background-color: #0d6efd;
    transform: scale(1.2);
}

/* User Type Selection Styles */
.form-check {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.form-check:hover {
    border-color: var(--primary-color);
    background-color: rgba(30, 58, 138, 0.05);
}

.form-check-input:checked+.form-check-label {
    color: var(--primary-color);
}

.form-check-input:checked~.form-check {
    border-color: var(--primary-color);
    background-color: rgba(30, 58, 138, 0.1);
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
}

.form-check-label small {
    display: block;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Procurement Cards */
.procurement-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.procurement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

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

.procurement-card .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.procurement-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.procurement-card .card-text {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.procurement-card small {
    font-size: 0.75rem;
}

.procurement-card .bi {
    margin-right: 0.25rem;
}

/* Custom Lightbox Styles */
.custom-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.custom-lightbox-content {
    background: #fff;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.custom-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.custom-lightbox-body {
    padding: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* GLightbox Popup Styles */
.glightbox-popup-content {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.popup-header {
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.popup-body {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.popup-body p {
    margin-bottom: 1rem;
}

.popup-body p:last-child {
    margin-bottom: 0;
}

.popup-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.popup-footer .btn {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.popup-footer .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* GLightbox custom styling */
.glightbox-container {
    background: rgba(0, 0, 0, 0.8) !important;
}

.glightbox-container .glightbox-content {
    background: transparent !important;
    border-radius: 1rem !important;
    overflow: hidden;
}

.glightbox-container .glightbox-close {
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    top: 20px !important;
    right: 20px !important;
    color: var(--text-primary) !important;
    font-size: 18px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.glightbox-container .glightbox-close:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* Responsive popup styles */
@media (max-width: 768px) {
    .glightbox-popup-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: none;
    }

    .popup-title {
        font-size: 1.25rem;
    }

    .popup-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .popup-footer .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Custom Popup Modal Styles */
.custom-popup-modal {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.custom-popup-header {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.custom-popup-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
}

.custom-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.custom-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
}

.custom-popup-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.custom-popup-body {
    padding: 2rem;
    background: #fff;
    line-height: 1.6;
    color: var(--text-primary);
    border: none;
}

.custom-popup-body p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.custom-popup-body p:last-child {
    margin-bottom: 0;
}

/* Responsive popup */
@media (max-width: 768px) {
    .custom-popup-modal {
        margin: 1rem;
        border-radius: 0.75rem;
    }

    .custom-popup-header {
        padding: 1.25rem 1.5rem;
    }

    .custom-popup-title {
        font-size: 1.25rem;
    }

    .custom-popup-body {
        padding: 1.5rem;
    }
}

/* Sorumlu Management */
.sorumlu-management-section {
    margin-top: 2rem;
}

.sorumlu-member-row {
    transition: background-color 0.2s;
}

.sorumlu-member-row:hover {
    background-color: var(--light-bg);
}

.remove-sorumlu-btn {
    transition: all 0.2s;
}

.remove-sorumlu-btn:hover {
    transform: scale(1.1);
}