/* XidmətTap.az - Main Stylesheet */

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    background-color: #fff;
    line-height: 1.6;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Search Panel */
.search-panel {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.search-panel .form-control,
.search-panel .form-select {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 12px 16px;
}

.search-panel .btn {
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sections */
.categories-section,
.vip-section,
.active-today-section,
.how-it-works-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Category Cards */
.category-card {
    display: block;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 40px;
    height: 40px;
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Provider Cards */
.provider-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.provider-card.vip {
    border-color: #f59e0b;
    background: linear-gradient(to bottom, #fffbeb 0%, white 30%);
}

.vip-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.provider-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--border-color);
}

.provider-image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.provider-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.profession {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.location {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Rating */
.rating {
    margin: 12px 0;
}

.star {
    color: #d1d5db;
    font-size: 1.2rem;
}

.star.filled {
    color: #f59e0b;
}

.rating-text {
    margin-left: 8px;
    color: #6b7280;
    font-size: 0.9rem;
}

.experience {
    display: inline-block;
    background: var(--light-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin: 8px 0;
}

/* Step Cards */
.step-card {
    text-align: center;
    padding: 32px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Filter Panel */
.filter-panel {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 80px;
}

.filter-panel h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.filter-panel label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Profile Page */
.profile-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    position: sticky;
    top: 80px;
}

.vip-badge-large {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 4px solid var(--border-color);
}

.profile-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.profile-card h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.rating-large {
    margin: 24px 0;
    padding: 20px;
    background: var(--light-color);
    border-radius: 8px;
}

.rating-large .stars {
    margin-bottom: 8px;
}

.rating-large .star {
    font-size: 1.5rem;
}

.contact-buttons {
    margin: 24px 0;
}

.contact-buttons .btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-list {
    text-align: left;
    margin: 24px 0;
}

.info-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 0.9rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat span {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Section Box */
.section-box {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.section-box h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

/* Reviews */
.review-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-rating .star {
    font-size: 1rem;
}

.review-date {
    color: #6b7280;
}

.review-text {
    color: #4b5563;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.site-footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

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

.footer-links a:hover {
    color: white;
}

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

    .search-panel {
        padding: 20px;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }

    .filter-panel {
        position: static;
        margin-bottom: 24px;
    }

    .profile-card {
        position: static;
        margin-bottom: 24px;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

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

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