/* Основные стили для АСК - Академия спорта Куркино */

/* Переменные цветов */
:root {
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-200: #fbcfe8;
    --pink-300: #f9a8d4;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(135deg, var(--pink-50) 0%, var(--blue-50) 50%, var(--purple-50) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Градиентный текст */
.gradient-text {
    background: linear-gradient(45deg, var(--pink-500), var(--blue-500), var(--purple-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--purple-100);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
    }
}

.logo-section {
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .logo-section {
        text-align: left;
        margin-bottom: 0;
    }
}

.logo-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.logo-main {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

@media (min-width: 768px) {
    .logo-main {
        font-size: 3.75rem;
    }
}

.logo-subtitle {
    color: var(--purple-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation */
.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--purple-100);
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--purple-700);
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover {
    background: linear-gradient(45deg, var(--pink-500), var(--blue-500));
    color: white;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(59, 130, 246, 0.2) 50%, rgba(168, 85, 247, 0.2) 100%);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
}

.hero-decoration-1 {
    top: 2.5rem;
    right: 2.5rem;
    width: 8rem;
    height: 8rem;
    background-color: var(--pink-300);
}

.hero-decoration-2 {
    bottom: 2.5rem;
    left: 2.5rem;
    width: 6rem;
    height: 6rem;
    background-color: var(--blue-400);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 8rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--purple-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--purple-700);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

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

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--pink-500), var(--blue-500));
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--pink-600), var(--blue-600));
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.btn-secondary {
    background: white;
    color: var(--purple-700);
    border: 1px solid var(--purple-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--purple-50);
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-bg-light {
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--purple-800);
    text-align: center;
    margin-bottom: 3rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--purple-100);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.card-header {
    height: 0.75rem;
    background: linear-gradient(45deg, var(--pink-500), var(--blue-500), var(--purple-600));
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-800);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--pink-500);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    color: #374151;
    margin-bottom: 0.5rem;
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--blue-500);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    gap: 1rem;
}

.stats-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--purple-100);
}

.stats-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.stats-icon-pink {
    background: linear-gradient(45deg, var(--pink-500), var(--blue-500));
}

.stats-icon-blue {
    background: linear-gradient(45deg, var(--blue-500), var(--purple-600));
}

.stats-icon-purple {
    background: linear-gradient(45deg, var(--pink-500), var(--purple-600));
}

.stats-text {
    flex: 1;
}

.stats-label {
    font-weight: 600;
    color: var(--purple-800);
}

.stats-description {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Gradient Cards */
.gradient-card {
    border-radius: 1.5rem;
    padding: 2rem;
    color: white;
    text-align: center;
}

.gradient-card-pink {
    background: linear-gradient(135deg, var(--pink-400), var(--blue-500), var(--purple-600));
}

.gradient-card-blue {
    background: linear-gradient(135deg, var(--blue-500), var(--purple-600));
}

.gradient-card-pink-blue {
    background: linear-gradient(135deg, var(--pink-500), var(--blue-500));
}

.gradient-card-content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

/* Trainer Cards */
.trainer-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--purple-100);
    transition: all 0.3s ease;
}

.trainer-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trainer-photo {
    height: 12rem;
    background: linear-gradient(135deg, var(--pink-400), var(--blue-500), var(--purple-600));
    display: flex;
    align-items: center;
    justify-content: center;
}

.trainer-avatar {
    width: 6rem;
    height: 6rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.trainer-avatar-icon {
    font-size: 1.5rem;
    color: white;
}

.trainer-info {
    padding: 2rem;
}

.trainer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-800);
    margin-bottom: 0.5rem;
}

.trainer-specialization {
    color: var(--blue-500);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trainer-experience {
    color: #6b7280;
    margin-bottom: 1rem;
}

.trainer-achievements {
    color: #374151;
    font-size: 0.875rem;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background: white;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    ring: 2px;
    ring-color: var(--blue-500);
    border-color: transparent;
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background: white;
    transition: all 0.2s ease;
}

.form-select:focus {
    outline: none;
    ring: 2px;
    ring-color: var(--blue-500);
    border-color: transparent;
}

/* Footer */
.footer {
    background: linear-gradient(45deg, var(--purple-800), var(--blue-900));
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--purple-200);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-text {
    color: var(--purple-200);
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact {
    color: var(--purple-200);
    margin-bottom: 0.5rem;
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--purple-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    background: var(--purple-600);
}

.footer-divider {
    border-top: 1px solid var(--purple-700);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: var(--purple-300);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-16 {
    margin-top: 4rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}
.category-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(147, 51, 234, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
    color: #7e22ce;
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover {
    background: linear-gradient(45deg, #ec4899, #3b82f6);
    color: white;
    transform: translateY(-1px);
}

.nav-link.active {
    background: linear-gradient(45deg, #ec4899, #3b82f6);
    color: white;
}
