/* Modern minimalist black and white styling */
:root {
    --primary-color: #212529;
    --secondary-color: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    --text-color: #333333;
    --text-muted: #666666;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Base button styling */
.btn {
    font-weight: 400;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

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

.btn-dark:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

.btn-outline-dark {
    background-color: transparent;
    border-color: var(--medium-gray);
    color: var(--text-color);
}

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

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

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

.btn-outline-light {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

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

/* Card styling */
.card {
    background: white;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Image styling */
.card-img-top {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    background-color: #fafafa;
    padding: 20px;
    border: none;
    transition: all 0.3s ease;
}

.card:hover .card-img-top {
    background-color: #f5f5f5;
}

/* Typography */
.display-4, .display-5, .display-6 {
    font-weight: 500;
    color: var(--text-color);
}

.lead {
    color: var(--text-muted);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

/* Navbar styling */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background-color: white !important;
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

/* Utility classes */
.text-dark {
    color: var(--text-color) !important;
}

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

.bg-light {
    background-color: #fafafa !important;
}

/* Grid spacing */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .card-img-top {
        height: 240px;
        padding: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 200px;
        padding: 12px;
    }
    
    .card-body {
        padding: 0.875rem;
    }
}

/* Custom CSS for HairChef */

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Custom Bootstrap overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a1e21;
    border-color: #1a1e21;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(44, 62, 80, 0.9)),
                url('/static/images/hero-bg.jpg') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Service Selection Cards */
.service-selection {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card .icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

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

.product-card .compare-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
    margin-left: 0.5rem;
}

.product-card .discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Treatment Cards */
.treatment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 2rem;
}

.treatment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.treatment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.treatment-card .duration {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

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

/* Staff Cards */
.staff-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

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

.staff-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.staff-card h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.staff-card .specialties {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Cart */
.cart-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border: none;
}

.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Badges */
.badge {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom Admin Styles */
.admin-custom {
    font-family: 'Inter', sans-serif;
}

/* Utility Classes */
.text-gold {
    color: #212529 !important;
}

.bg-gold {
    background-color: #212529 !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

.shadow-hover-custom {
    box-shadow: var(--shadow-hover) !important;
} 