/* Global Styles */
:root {
    --primary-color: #D73E91;
    --secondary-color: #bc4749;
    --accent-color: #f2cc8f;
    --dark-color: #A32670;
    --light-color: #f8f9fa;
    --text-dark: #2d3748;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Use Personal Training image as global background */
body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-color);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
}

.navbar .btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: url('/img/studiopic.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 0;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: none;
}
.hero-section .container { position: relative; z-index: 2; }

.hero-section h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    /* Use layered shadows for readability without cutting into white text */
    text-shadow:
        0 1px 0 rgba(0,0,0,0.85),
        0 2px 4px rgba(0,0,0,0.6),
        0 0 8px rgba(0,0,0,0.35);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #fff;
    /* Use layered shadows for readability without cutting into white text */
    text-shadow:
        0 1px 0 rgba(0,0,0,0.85),
        0 2px 4px rgba(0,0,0,0.6),
        0 0 8px rgba(0,0,0,0.35);
}

/* Make small/lead text more readable over busy images */
.hero-section .lead,
.hero-section .sublead {
    display: inline-block;
    background: rgba(0,0,0,0.45);
    padding: 0.35rem 0.6rem;
    border-radius: 0.25rem;
}

@media (max-width: 767.98px) {
    .hero-section::before { background: rgba(0,0,0,0.6); }
    .hero-section .lead,
    .hero-section .sublead { background: rgba(0,0,0,0.65); padding: 0.45rem 0.8rem; }
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-title {
    color: var(--dark-color);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
}

/* Features */
.feature-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Instructor Cards */
.instructor-card {
    text-align: center;
    margin-bottom: 2rem;
}

.instructor-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--primary-color);
}

.instructor-card h5 {
    margin-bottom: 0.5rem;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.quote-section blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-section cite {
    font-size: 1.1rem;
    font-style: normal;
}

/* Testimonials */
.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(215, 62, 145, 0.25);
}

/* Footer */
footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand img {
        max-height: 45px !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Schedule Widget */
.schedule-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Pricing Tables */
.pricing-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
    color: white;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Responsive video embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
