/* Main Styles for JayFitness
-------------------------------------------------- */

:root {
    --primary-color: #ff0000;
    --primary-color-darker: #cc0000;
    --dark-bg: #111111;
    --darker-bg: #000000;
    --light-text: #ffffff;
    --gray-light: #aaaaaa;
    --accent-red: #ff0000;
    --card-bg: rgba(30, 30, 30, 0.7);
    --stat-bg: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    position: relative;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 50, 50, 0.15) 0%, rgba(255, 0, 0, 0) 70%);
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

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

/* Logo */
.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-square {
    width: 36px;
    height: 36px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 40px;
    margin-right: 10px;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

.dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    transition: color 0.3s ease;
}

.nav-item {
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
}

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

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-danger:hover {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #111111 30%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 69, 0, 0.4) 0%, rgba(255, 0, 0, 0) 70%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: 10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.3) 0%, rgba(255, 0, 0, 0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-image-container {
    position: relative;
    z-index: 5;
}

.hero-image-container img {
    border-radius: 10px;
    max-height: 600px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 0, 0, 0.3), transparent 70%);
    border-radius: 10px;
    z-index: 5;
}

.circular-image-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(255, 69, 0, 0.8) 0%, rgba(139, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.9) 100%);
}

.circular-image-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at center, rgba(255, 140, 0, 0.7) 0%, rgba(255, 69, 0, 0.4) 60%, transparent 80%);
    z-index: 1;
    border-radius: 50%;
}

.circular-image-container::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.6) 0%, rgba(139, 0, 0, 0.4) 40%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
}

/* Stat Bubbles */
.stat-bubble {
    position: absolute;
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 0.8rem;
    z-index: 10;
    transition: transform 0.3s ease;
    width: 110px;
    height: 110px;
}

.stat-bubble:hover {
    transform: scale(1.05);
}

.stat-bubble .number {
    font-weight: 700;
    font-size: 1.5em;
    color: var(--primary-color);
}

.stat-bubble .label {
    font-size: 0.8em;
    text-align: center;
    opacity: 0.8;
    margin-top: 5px;
}

/* Statistics Section */
.stats-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0;
}

.stat-box {
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease;
    text-align: center;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-box small {
    display: block;
    line-height: 1.4;
}

/* Services */
.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-darker));
}

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

.service-card h4 {
    margin: 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* Pricing Cards */
.pricing-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.plan-name {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-light);
}

/* Original price styling */
.original-price {
    text-decoration: line-through;
    color: var(--gray-light);
    font-size: 1.5rem;
    margin-right: 8px;
    opacity: 0.8;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li i {
    margin-right: 0.5rem;
}

/* Goal Cards */
.goal-card {
    background-color: var(--darker-bg);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.goal-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--darker-bg);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.testimonial-text {
    font-style: italic;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.rating i {
    margin-right: 0.2rem;
}

/* Trainer Cards */
.trainer-card {
    background-color: var(--darker-bg);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trainer-card:hover {
    transform: translateY(-10px);
}

.trainer-card img {
    border-radius: 10px;
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--gray-light);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Blog Cards */
.blog-card {
    background-color: var(--darker-bg);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card img {
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

/* Sign Up Form */
.signup-card {
    background-color: var(--darker-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background-color: var(--dark-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
    color: white;
}

.testimonial-mini {
    background-color: var(--darker-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
    height: 100%;
}

.testimonial-mini h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-mini p {
    font-style: italic;
    color: var(--gray-light);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(255, 0, 0, 0.1);
    color: var(--light-text) !important;
    border-color: rgba(255, 0, 0, 0.2);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
}

footer a.text-white {
    transition: color 0.3s ease;
}

footer a.text-white:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .stat-bubble {
        width: 100px;
        height: 100px;
        padding: 0.8rem;
    }
    
    .stat-bubble .number {
        font-size: 1.2em;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .stat-bubble {
        width: 80px;
        height: 80px;
        padding: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .stat-bubble {
        width: 70px;
        height: 70px;
        padding: 0.5rem;
    }
    
    .stat-bubble .number {
        font-size: 1em;
    }
    
    .stat-bubble .label {
        font-size: 0.6em;
    }
}

/* Fix form input focus color */
.form-control:focus {
    background-color: rgba(75, 75, 75, 0.8);
    color: var(--light-text);
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
}

/* Ensure all input placeholders are visible */
::placeholder {
    color: rgba(200, 200, 200, 0.7) !important;
}

/* Ensure dropdown menus have visible text */
.dropdown-menu {
    background-color: var(--darker-bg);
}

.dropdown-item {
    color: var(--light-text);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(255, 0, 0, 0.1);
    color: var(--primary-color);
}

/* Additional Accordion Styling */
.accordion-item {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.accordion-body {
    background-color: rgba(20, 20, 20, 0.8);
    color: var(--light-text);
}

.accordion-button {
    color: var(--light-text);
}

.accordion-button:hover {
    color: var(--primary-color);
}

/* Fix card backgrounds to ensure text contrast */
.service-card, .pricing-card, .testimonial-card, 
.trainer-card, .blog-card, .signup-card {
    background-color: var(--card-bg);
} 