/* Custom Styles for Personal Trainer Pro */
:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --accent: #ff6b6b;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    padding-top: 76px;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

.hero-image-container {
    position: relative;
}

.hero-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--accent);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.badge-content {
    text-align: center;
}

.badge-content .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.badge-content .text {
    display: block;
    font-size: 0.8rem;
}

/* Trainer Cards */
.trainer-card {
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    overflow: hidden;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.trainer-img {
    height: 250px;
    overflow: hidden;
}

.trainer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.trainer-card:hover .trainer-img img {
    transform: scale(1.1);
}

.trainer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Section Headers */
section {
    padding: 80px 0;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-badge {
        top: -10px;
        right: -10px;
        width: 80px;
        height: 80px;
    }
    
    .badge-content .number {
        font-size: 1.2rem;
    }
    
    .badge-content .text {
        font-size: 0.7rem;
    }
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1050;
}

.toast {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}