/* BookingWellness - Ana CSS Dosyası */

:root {
    --primary-color: #5a9e6f;
    --primary-dark: #478a5a;
    --primary-light: #e8f5e9;
    --secondary-color: #6c757d;
    --success-color: #4caf50;
    --danger-color: #e57373;
    --warning-color: #ffb74d;
    --info-color: #4fc3f7;
    --light-color: #f5f9f6;
    --dark-color: #2c3e2f;
    --spa-gradient: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    --wellness-gradient: linear-gradient(135deg, #43a047 0%, #66bb6a 50%, #a5d6a7 100%);
    --sage-gradient: linear-gradient(135deg, #8fbc8f 0%, #5a9e6f 50%, #3e7c4f 100%);
    --mint-color: #e0f2e9;
    --sage-color: #8fbc8f;
    --forest-color: #3e7c4f;
    --cream-color: #faf8f5;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream-color);
    color: #333;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
}

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

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: var(--sage-gradient);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.png') repeat;
    opacity: 0.05;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 124, 79, 0.85) 0%, rgba(90, 158, 111, 0.75) 100%);
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.search-box .form-control,
.search-box .form-select {
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(90, 158, 111, 0.15);
}

.search-box .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 10px;
}

/* Package Cards */
.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

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

.package-card .card-body {
    padding: 1.5rem;
}

.package-card .company-name {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.package-card .package-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.package-card .package-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.package-card .package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.package-card .original-price {
    text-decoration: line-through;
    color: var(--secondary-color);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.package-card .badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--wellness-gradient);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.package-card .badge-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--danger-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    background: var(--sage-gradient);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(90, 158, 111, 0.25);
}

.category-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-card:hover .icon {
    color: white;
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Company Card */
.company-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
}

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

.company-card .company-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

/* Rating Stars */
.rating {
    color: var(--warning-color);
}

.rating .empty {
    color: #dee2e6;
}

/* Booking Form */
.booking-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.booking-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
}

.booking-form .price-summary {
    background: var(--light-color);
    border-radius: 10px;
    padding: 1.5rem;
}

.booking-form .total-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Dashboard Styles */
.sidebar {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar .nav-link {
    color: var(--dark-color);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.25rem;
}

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

.sidebar .nav-link i {
    width: 25px;
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stats-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stats-card .icon.bg-primary-soft {
    background: rgba(90, 158, 111, 0.1);
    color: var(--primary-color);
}

.stats-card .icon.bg-success-soft {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
}

.stats-card .icon.bg-warning-soft {
    background: rgba(255, 193, 7, 0.1);
    color: #cc9a00;
}

.stats-card .icon.bg-danger-soft {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.stats-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

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

/* Data Tables */
.data-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.data-table .table {
    margin-bottom: 0;
}

.data-table .table th {
    background: var(--light-color);
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.data-table .table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #f1f3f5;
}

/* Referral Code Box */
.referral-code-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.referral-code-box .code {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    background: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    display: inline-block;
    margin: 1rem 0;
}

/* Commission Chart */
.commission-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.commission-summary .item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.commission-summary .item .value {
    font-size: 1.5rem;
    font-weight: 700;
}

.commission-summary .item .label {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Form Styles */
.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(90, 158, 111, 0.15);
}

.btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #f1f3f5;
}

.modal-footer {
    border-top: 1px solid #f1f3f5;
}

/* Pagination */
.pagination .page-link {
    border-radius: 10px;
    margin: 0 0.25rem;
    border: none;
    color: var(--dark-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state .icon {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
}

.empty-state h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .stats-card .value {
        font-size: 1.5rem;
    }
    
    .sidebar {
        margin-bottom: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Utility Classes */
.text-gradient {
    background: var(--spa-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.bg-gradient-success {
    background: var(--wellness-gradient);
}

/* Bootstrap Primary Color Override */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 158, 111, 0.35);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

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

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

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero with Background Image */
.hero-section.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Spa Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(90, 158, 111, 0.15);
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--mint-color);
}

.testimonial-card .stars {
    color: #ffb74d;
    font-size: 0.875rem;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* Spa Stats Section */
.spa-stats {
    background: var(--sage-gradient);
    padding: 60px 0;
    color: white;
}

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

.spa-stats .stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.spa-stats .stat-item .label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Spa Companies/Centers Section */
.spa-center-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.spa-center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 158, 111, 0.2);
}

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

.spa-center-card .card-body {
    padding: 1.5rem;
}

.spa-center-card .location {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.spa-center-card .rating-badge {
    background: var(--mint-color);
    color: var(--forest-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Region Tags */
.region-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: white;
    border: 2px solid var(--mint-color);
    border-radius: 25px;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.region-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 158, 111, 0.3);
}

/* Influencer Cards */
.influencer-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.influencer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(90, 158, 111, 0.15);
}

.influencer-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--mint-color);
    margin-bottom: 1rem;
}

.influencer-card .platform-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.influencer-card .platform-badge.instagram { background: #fce4ec; color: #e91e63; }
.influencer-card .platform-badge.youtube { background: #ffebee; color: #f44336; }
.influencer-card .platform-badge.tiktok { background: #e8eaf6; color: #3f51b5; }
.influencer-card .platform-badge.blog { background: #e8f5e9; color: #4caf50; }

/* Featured Section BG */
.bg-soft-green {
    background-color: var(--light-color);
}

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

/* Navbar Active */
.navbar-brand {
    color: var(--primary-color) !important;
}

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

.shadow-soft {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.rounded-xl {
    border-radius: 15px;
}
