/* 
 * XYDO ATHLETIC PROGRAMS
 * Main Stylesheet
 */

/* Variables */
:root {
    --primary-blue: #0a3161;
    --secondary-blue: #1e4b8d;
    --primary-gold: #ffd700;
    --secondary-gold: #d4af37;
    --dark-bg: #121212;
    --light-text: #ffffff;
    --gray-text: #cccccc;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    --gold-gradient: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    --blue-gradient: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
    position: relative;
}

/* Fixed Background Logo for Entire Site */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    max-width: 2100px;
    max-height: 2100px;
    background-image: url('../images/xydo_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-gold);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Header */
header {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: none; /* Hide small logo - we'll use background logo instead */
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: var(--light-text);
    font-weight: 500;
    text-decoration: none;
}

nav a:hover {
    color: var(--primary-gold);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: var(--dark-bg);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: var(--primary-gold);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 2rem 10vh 2rem;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

/* Hero Tagline at Bottom */
.hero-tagline {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.hero-tagline h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-text);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:not(.hero) {
    margin-top: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.content-section {
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold-gradient);
}

/* Path Selection */
.path-selection {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.path-option {
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    padding: 2rem;
    width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.path-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.path-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all 0.3s ease;
}

.path-option:hover .path-icon {
    background-color: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.path-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.path-title {
    margin-bottom: 1rem;
}

.path-description {
    margin-bottom: 1.5rem;
    color: var(--gray-text);
}

.path-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.path-features span {
    color: var(--gray-text);
}

.path-features i {
    color: var(--primary-gold);
    margin-right: 0.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-gold);
}

/* Case Studies */
.case-study {
    display: flex;
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.case-study-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    flex: 2;
    padding: 2rem;
}

.case-study-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.case-study-stats span {
    display: flex;
    align-items: center;
    color: var(--primary-gold);
    font-weight: 600;
}

.case-study-stats i {
    margin-right: 0.5rem;
}

.case-study-author {
    font-style: italic;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(10, 49, 97, 0.9), rgba(18, 18, 18, 0.95)), url('../images/testimonials-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-gold);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.testimonial-rating {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 1rem;
    color: var(--primary-gold);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.blog-image {
    height: 200px;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold-gradient);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-text);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 0.5rem;
}

.featured-post {
    grid-column: span 2;
}

.section-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(10, 49, 97, 0.8), rgba(18, 18, 18, 0.18)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-text);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Referral Program */
.referral-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 2rem;
    overflow: hidden;
}

.referral-info {
    flex: 1;
}

.referral-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.referral-benefits li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.referral-benefits i {
    color: var(--primary-gold);
    margin-right: 0.8rem;
}

.referral-image {
    flex: 1;
    text-align: center;
}

.referral-image img {
    max-width: 100%;
    height: auto;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-method h4 {
    margin-bottom: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--primary-blue);
    padding: 3rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
}

.newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    padding: 4rem 0 1rem;
    border-top: 5px solid var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-gold);
    color: var(--dark-bg);
}

.footer-links h4, .footer-contact h4 {
    color: var(--primary-gold);
    margin-bottom: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-text);
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--gray-text);
}

.footer-contact i {
    color: var(--primary-gold);
    margin-right: 0.8rem;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
}

/* Authentication Pages */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    background-color: rgba(18, 18, 18, 0.18);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary-gold);
    border-bottom: 3px solid var(--primary-gold);
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
}

.auth-links p {
    margin-bottom: 0.5rem;
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .case-study {
        flex-direction: column;
    }
    
    .case-study-image {
        max-width: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-post {
        grid-column: span 1;
    }
    
    .referral-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        display: none;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0.5rem;
    }
    
    .hero {
        min-height: 100vh;
        padding: 0 1rem 8vh 1rem;
    }
    
    /* Adjust fixed background logo for mobile */
    body::before {
        max-width: 1225px;
        max-height: 1225px;
        opacity: 0.8;
    }
    
    .hero-tagline h2 {
        font-size: 2.5rem;
        letter-spacing: 0.05em;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .section-cta {
        flex-direction: column;
    }
    
    .section-cta .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}


/* Content sections have transparent backgrounds to show the fixed logo */
.content-section,
.dashboard-container,
.auth-container {
    position: relative;
    background-color: rgba(18, 18, 18, 0.17);
}

