/* ============================================
   Performance-Driven Gym Community Design
   Modern, Dark, Sporty Theme
   ============================================ */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-primary);
}

:root {
    /* Dark theme colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-hover: #242424;
    
    /* Accent colors - Performance driven */
    --accent-primary: #ff6b35;
    --accent-secondary: #f7931e;
    --accent-tertiary: #ffd700;
    --accent-success: #00ff88;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6b6b6b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.9) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Navigation - Modern Dark Header
   ============================================ */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-logo i {
    margin-right: 0.75rem;
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-base);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    margin-top: 0;
    background-color: var(--bg-primary);
}

/* ============================================
   Hero Sections - Bold & Impactful
   ============================================ */
.hero, .training-hero, .contacts-hero {
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.6) 100%),
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero::before,
.training-hero::before,
.contacts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-light);
    line-height: 1.6;
}

/* ============================================
   Buttons - Modern CTA
   ============================================ */
.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 1.25rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.club-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform var(--transition-slow);
}

.club-image:hover {
    transform: scale(1.05);
}

.image-placeholder {
    background: var(--bg-card);
    height: 100%;
    width: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.placeholder-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        rgba(247, 147, 30, 0.1) 50%,
        rgba(255, 107, 53, 0.1) 100%);
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.image-placeholder p {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============================================
   Training Programs
   ============================================ */
.training-programs {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.training-programs h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.program-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--bg-card);
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-lg);
}

.program-header {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 2rem;
    text-align: center;
}

.program-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-content {
    padding: 2rem;
    background: var(--bg-card);
}

.program-content p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.program-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.program-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   Schedule
   ============================================ */
.schedule {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.schedule h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-day {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.schedule-day:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-md);
}

.schedule-day h3 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    font-size: 1.2rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: var(--font-weight-semibold);
    color: var(--accent-primary);
    font-size: 1rem;
}

.group {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   Registration
   ============================================ */
.registration {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.registration h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.registration-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.registration-info ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.registration-info li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

/* ============================================
   Forms - Modern Dark Style
   ============================================ */
.registration-form, .contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.registration-form h3, .contact-form h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-primary);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 100%;
    box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

/* ============================================
   Contact Info
   ============================================ */
.contact-info {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.contact-icon i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.contact-card p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-card a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-card a:hover {
    color: var(--accent-secondary);
}

.note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   Location
   ============================================ */
.location {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.location h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.transport-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.transport-item i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-top: 0.5rem;
}

.transport-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-semibold);
}

.transport-item p {
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
}

.map-placeholder {
    background: var(--bg-card);
    height: 400px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

.map-note {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.7;
}

/* ============================================
   Team
   ============================================ */
.team {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.team h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.team-grid .team-member {
    max-width: 400px;
    width: 100%;
}

.team-member {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    width: 140px;
    height: 140px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-primary);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-base);
}

.member-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.member-photo i {
    font-size: 3.5rem;
    color: var(--accent-primary);
    opacity: 0.5;
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.member-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.member-photo-placeholder i {
    font-size: 3.5rem;
    color: var(--accent-primary);
    opacity: 0.5;
}

.member-photo.has-image i {
    display: none;
}

.member-position {
    color: var(--accent-primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.member-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.member-contacts p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.member-contacts i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

.member-contacts a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.member-contacts a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ============================================
   Contact Form Section
   ============================================ */
.contact-form-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.contact-form-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.form-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.quick-contacts p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.quick-contacts i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

/* ============================================
   Footer - Dark & Modern
   ============================================ */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-section i {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

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

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all var(--transition-base);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--text-primary);
    background: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: left var(--transition-base);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .registration-content,
    .location-content,
    .contact-form-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid,
    .programs-grid,
    .contact-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero, .training-hero, .contacts-hero {
        padding: 8rem 0 4rem;
    }
    
    .features, .about, .cta, .training-programs, .schedule, 
    .registration, .contact-info, .location, .team, .contact-form-section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features h2, .about h2, .cta h2, .training-programs h2, 
    .schedule h2, .registration h2, .contact-info h2, .location h2, 
    .team h2, .contact-form-section h2 {
        font-size: 2rem;
    }
    
    .registration-form, .contact-form {
        padding: 2rem 1.5rem;
    }
}

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

.feature-card, .program-card, .contact-card, .team-member {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   Admin Panel Styles
   ============================================ */
body.admin-page {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.admin-header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-nav {
    display: flex;
    gap: 1rem;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* Скрываем обычное меню сайта на админ-страницах */
body:has(.admin-header) .navbar,
body:has(.admin-header) .footer {
    display: none;
}

body:has(.admin-header) .main-content {
    margin-top: 0;
    background-color: var(--bg-primary);
    min-height: 100vh;
}

body:has(.admin-header) {
    background-color: var(--bg-primary);
}

/* Admin Panel - Common Content Styles */
.admin-content {
    margin-top: 80px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-primary);
}

/* Admin Panel - Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Admin Panel - Sections */
.recent-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    margin: 0;
    color: #333;
}

.view-all-btn {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
}

.section-content {
    padding: 1.5rem;
}

.item-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-name {
    font-weight: 600;
    color: #333;
}

.item-date {
    color: #666;
    font-size: 0.9rem;
}

.item-details {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.item-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.logout-btn {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: #c0392b;
}

/* Admin Panel - Status Styles */
.status-new {
    background: #e3f2fd;
    color: #1976d2;
}

.status-contacted {
    background: #fff3e0;
    color: #f57c00;
}

.status-confirmed {
    background: #e8f5e8;
    color: #388e3c;
}

.status-rejected {
    background: #ffebee;
    color: #d32f2f;
}

.status-read {
    background: #f3e5f5;
    color: #7b1fa2;
}

.status-replied {
    background: #e0f2f1;
    color: #00796b;
}

.status-archived {
    background: #fafafa;
    color: #616161;
}

/* Admin Panel - Training Applications Styles */
.applications-grid {
    display: grid;
    gap: 1.5rem;
}

.application-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.application-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.application-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.application-meta {
    color: #666;
    font-size: 0.9rem;
}

.application-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.application-content {
    padding: 1.5rem;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: #666;
}

.application-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.notes-section {
    margin-top: 1rem;
}

.notes-textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
}

.back-btn {
    background: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Admin Panel - Club Info Page Specific Styles */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--bg-primary);
    min-height: calc(100vh - 80px);
}

.admin-page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.admin-page-header h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 2rem;
}

/* Override admin-content for club info page (two columns) */
.admin-container .admin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 0;
    padding: 0;
    background-color: var(--bg-primary);
}

/* Admin Panel - Contact Messages Styles */
.messages-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.messages-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.filters select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.messages-table {
    overflow-x: auto;
}

.messages-table table {
    width: 100%;
    border-collapse: collapse;
}

.messages-table th,
.messages-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.messages-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.messages-table tr:hover {
    background-color: #f8f9fa;
}

.message-preview {
    max-width: 200px;
    margin-bottom: 5px;
}

.view-full-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
}

.view-full-btn:hover {
    color: #0056b3;
}

.edit-btn,
.delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 2px;
    font-size: 12px;
}

.edit-btn {
    background-color: #007bff;
    color: white;
}

.edit-btn:hover {
    background-color: #0056b3;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

.delete-btn:hover {
    background-color: #c82333;
}

.no-email {
    color: #6c757d;
    font-style: italic;
}

/* Admin Panel - Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 30px;
}

.modal-content form {
    padding: 30px;
}

.message-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-row label {
    min-width: 120px;
    font-weight: 500;
    color: #333;
}

.detail-row span,
.detail-row select,
.detail-row textarea {
    flex: 1;
}

.message-text {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
}

.save-btn {
    background-color: #28a745;
    color: white;
}

.save-btn:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .messages-section .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .messages-table {
        font-size: 14px;
    }
    
    .messages-table th,
    .messages-table td {
        padding: 10px;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-row label {
        min-width: auto;
    }
}

.form-container {
    background: var(--bg-card) !important;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted) !important;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 12px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.submit-btn,
.cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn {
    background-color: #28a745;
    color: white;
}

.submit-btn:hover {
    background-color: #218838;
}

.cancel-btn {
    background-color: #dc3545;
    color: white;
}

.cancel-btn:hover {
    background-color: #c82333;
}

.preview-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.preview-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2em;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Users Management Page Styles */
.users-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.add-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.add-user-btn:hover {
    background-color: #218838;
}

.users-table {
    overflow-x: auto;
}

.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.users-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.users-table tr:hover {
    background-color: #f8f9fa;
}

.role-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.role-badge.super-admin {
    background-color: #dc3545;
    color: white;
}

.role-badge.admin {
    background-color: #fd7e14;
    color: white;
}

.role-badge.user {
    background-color: #6c757d;
    color: white;
}

.delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background-color: #c82333;
}

.current-user {
    color: #6c757d;
    font-style: italic;
    font-size: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .admin-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .users-table {
        font-size: 14px;
    }
    
    .users-table th,
    .users-table td {
        padding: 10px;
    }
}

/* Summernote Editor Styles */
.note-editor {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-top: 10px;
    background-color: var(--bg-secondary);
}

.note-editor .note-toolbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.note-editor .note-editable {
    min-height: 300px;
    padding: 15px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.note-editor .note-statusbar {
    background-color: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.note-editor .note-toolbar .note-btn-group .note-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 2px;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.note-editor .note-toolbar .note-btn-group .note-btn:hover {
    background-color: var(--bg-hover);
    color: var(--accent-primary);
}

/* Стили для страницы управления командой */
.team-section {
    padding: 20px 0;
}

.add-trainer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.add-trainer-btn:hover {
    background-color: #218838;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.trainer-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.trainer-photo-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.trainer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
}

.change-photo-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    opacity: 0;
    transition: opacity 0.3s;
}

.trainer-photo-container:hover .change-photo-btn {
    opacity: 1;
}

.change-photo-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.trainer-info {
    padding: 20px;
}

.trainer-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #333;
}

.trainer-position {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.trainer-description {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.trainer-contact {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trainer-contact i {
    color: #667eea;
}

.trainer-actions {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.edit-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.edit-btn:hover {
    background-color: #5568d3;
}

.trainer-actions .delete-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
}

.no-trainers {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.photo-preview {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-align: center;
}

.photo-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Адаптивность для страницы команды */
@media (max-width: 768px) {
    .trainers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trainer-photo-container {
        height: 250px;
    }
    
    .trainer-actions {
        flex-direction: column;
    }
    
    .edit-btn,
    .trainer-actions .delete-btn {
        width: 100%;
    }
}
