/* assets/css/style.css */

:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;

    /* Brand Colors */
    --accent: #e61a50;
    --accent-glow: rgba(230, 26, 80, 0.4);
    --secondary-accent: #ffffff;

    /* Typography */
    --font-heading: 'Geologica', sans-serif;
    --font-body: 'Rubik', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utility */
.accent {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links li a:hover {
    color: var(--accent);
}

.btn-nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../../Контент/фото/487994412_1067529918727335_8316178147887096898_n.jpg') no-repeat center center/cover;
}

.hero-bg .overlay {
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(10, 10, 10, 0.6) 100%);
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-date {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Category Accordion (New Style) */
.categories-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.3s;
}

.category-item:hover {
    border-color: rgba(230, 26, 80, 0.3);
}

.category-header {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: 0.3s ease;
}

.category-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
}

.category-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 25px;
    flex: 1;
    text-align: left;
}

.category-toggle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent);
    transition: 0.3s;
    width: 40px;
    text-align: center;
}

.category-item.active .category-toggle {
    transform: rotate(45deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.3);
}

.category-item.active .category-content {
    padding: 25px 30px;
}

.exercise-group {
    margin-bottom: 20px;
}

.exercise-group:last-child {
    margin-bottom: 0;
}

.exercise-group h4 {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.exercise-group p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tasks Section */
.tasks {
    text-align: center;
}

.tasks-box {
    display: inline-block;
    padding: 40px 80px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    background: rgba(230, 26, 80, 0.05);
}

.tasks-box p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Register */
.register {
    text-align: center;
    background: radial-gradient(circle at center, rgba(230, 26, 80, 0.08) 0%, var(--bg-dark) 70%);
}

.register-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--accent);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.register-box h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin: 10px 0;
}

.pack-info {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 50px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.socials a {
    color: var(--text-secondary);
    transition: 0.3s;
}

.socials a:hover {
    color: var(--accent);
}

.socials svg {
    vertical-align: middle;
}

.copyright {
    text-align: center;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: grayscale(100%);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-outline {
        margin-left: 0;
    }

    .category-header {
        flex-wrap: wrap;
        padding: 20px;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .category-subtitle {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
    }

    .register-box {
        padding: 40px 20px;
        margin: 0 15px;
    }

    .register-box h2 {
        font-size: 2.2rem;
    }

    .btn-large {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .category-title {
        margin-right: 10px;
    }

    .tasks-box {
        padding: 30px 40px;
    }

    .tasks-box p {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}