/* ============================================
   servisGola - Custom Stylesheet
   ============================================ */

:root {
    --sg-primary: #0d6efd;
    --sg-dark: #1a1a2e;
    --sg-gradient: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    background: var(--sg-gradient);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: #f8f9fa;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-section h1 {
    font-weight: 800;
    font-size: 2.8rem;
}

/* Cards */
.card {
    border-radius: 12px;
    transition: transform .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.1) !important;
}
.card-header {
    border-radius: 12px 12px 0 0 !important;
}

/* Feature Cards */
.feature-card {
    border: none;
    text-align: center;
    padding: 2rem 1.5rem;
}
.feature-card .icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Category Cards */
.category-card {
    cursor: pointer;
    border: 2px solid transparent;
}
.category-card:hover {
    border-color: var(--sg-primary);
}

/* How It Works Steps */
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

/* Sidebar */
.sidebar .list-group-item {
    border: none;
    border-radius: 8px !important;
    margin-bottom: 2px;
    padding: 10px 16px;
    color: #555;
    transition: all .2s;
}
.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
    background-color: #0d6efd;
    color: #fff;
}
.sidebar .list-group-item.active i {
    color: #fff;
}

/* Dashboard Stat Cards */
.stat-card {
    border: none;
    border-radius: 12px;
    transition: transform .2s;
}
.stat-card:hover {
    transform: scale(1.03);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Tables */
.table {
    border-radius: 12px;
    overflow: hidden;
}
.table thead th {
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #dee2e6;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--sg-primary);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

/* Buttons */
.btn-primary {
    background: var(--sg-primary);
    border-color: var(--sg-primary);
    border-radius: 8px;
    font-weight: 500;
    padding: 8px 20px;
}
.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: var(--sg-dark) !important;
}
footer a {
    color: rgba(255,255,255,.7) !important;
    text-decoration: none;
    transition: color .2s;
}
footer a:hover {
    color: #fff !important;
}

/* Auth Pages */
.auth-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    color: var(--sg-primary);
}
.pagination .page-item.active .page-link {
    background: var(--sg-primary);
    border-color: var(--sg-primary);
}

/* Notification */
.notification-unread {
    border-left: 3px solid var(--sg-primary) !important;
    background: #f0f7ff;
}

/* Rating Stars */
.text-warning .bi-star-fill {
    color: #ffc107;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,.12);
    border-radius: 10px;
}

/* ScrollTo Top */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section {
        padding: 60px 0 50px;
    }
    .sidebar {
        margin-bottom: 1.5rem;
    }
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(13,110,253,.2);
}
