/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--light-gray);
}

main {
    flex: 1;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    position: relative;
    z-index: 1030;
}

.navbar-dark {
    background-color: #212529 !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0d6efd;
}

.navbar-dark .navbar-brand {
    color: #fff !important;
}

.nav-link {
    font-weight: 500;
    color: #212529;
    padding: .5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .nav-link {
    color: rgba(255,255,255,.75) !important;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
    color: #fff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.75);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

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

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section img {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

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

.card-text {
    color: #6c757d;
}

/* Model Cards */
.model-card {
    overflow: hidden;
    border-radius: 1rem;
    background-color: white;
    transition: transform 0.2s;
}

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

.model-image {
    height: 300px;
    object-fit: cover;
}

.model-info {
    padding: 1.5rem;
}

.model-info h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.model-info p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Model Links */
.model-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.model-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Profile Pictures */
.profile-picture {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #fff;
}

.profile-picture-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #fff;
}

.profile-picture-placeholder i {
    color: var(--dark-gray);
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    padding: .5rem 1.5rem;
    font-weight: 500;
    border-radius: .25rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-lg {
    padding: .75rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Features */
.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card h4 {
    margin: 1rem 0;
}

/* Footer */
.footer {
    background-color: #212529;
    color: #fff;
    padding: 4rem 0;
    margin-top: 4rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer li {
    margin-bottom: 0.5rem;
}

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

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

/* Utilities */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.text-primary {
    color: #0d6efd!important;
}

.bg-primary {
    background-color: #0d6efd!important;
}

.bg-opacity-10 {
    opacity: 0.1;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6!important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }
    .lead {
        font-size: 1.1rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom Spacing */
.gap-3 {
    gap: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.min-vh-80 {
    min-height: 80vh;
}

.z-index-1 {
    z-index: 1;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #0d6efd;
}

.badge {
    padding: .5em .8em;
    font-weight: 500;
}

/* Admin Panel Styles */
.admin-panel .sidebar {
    background-color: #212529;
    min-height: 100vh;
    padding: 2rem 0;
}

.admin-panel .sidebar .nav-link {
    color: rgba(255,255,255,.75);
    padding: 0.75rem 1.5rem;
    margin: 0.25rem 0;
    border-radius: 0.25rem;
}

.admin-panel .sidebar .nav-link:hover,
.admin-panel .sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,.1);
}

.admin-panel .sidebar .nav-link i {
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
}

.admin-panel .main-content {
    padding: 2rem;
}

/* Navbar Toggler */
.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.25rem;
    border: none;
    color: rgba(255,255,255,.75);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Booking Details Page */
.booking-details {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.booking-details h1 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.booking-details h2 {
    color: #444;
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.booking-status {
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-weight: bold;
}

.booking-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.booking-status.confirmed {
    background-color: #d4edda;
    color: #155724;
}

.booking-status.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.booking-status.completed {
    background-color: #cce5ff;
    color: #004085;
}

.details-table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.details-table th,
.details-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.details-table th {
    width: 30%;
    color: #666;
    font-weight: 600;
}

.payment-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-weight: 500;
}

.payment-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.payment-status.paid {
    background-color: #d4edda;
    color: #155724;
}

.payment-status.failed {
    background-color: #f8d7da;
    color: #721c24;
}

.requirements {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    white-space: pre-line;
}

.booking-actions {
    margin-top: 2rem;
    text-align: center;
}

.booking-actions .btn {
    margin: 0 0.5rem;
}
