/* Main styles for Yoga & Fitness website */

:root {
    --main-color: #20C997;
    --accent-color: #FF6B6B;
    --bg-color: #F5F5F5;
    --text-color: #212529;
    --heading-color: #000;
    --gradient: linear-gradient(135deg, #FFA17F 0%, #00223E 100%);
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --content-max-width: 1400px;
    --section-spacing: 100px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--main-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--main-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: var(--main-color);
}

/* Header styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo svg {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop ul li {
    margin-left: 25px;
}

.nav-desktop ul li a {
    font-weight: 500;
}

/* Mobile Menu */
.hamburger-menu {
    display: none;
}

#menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
    color: var(--main-color);
    font-size: 24px;
    transition: var(--transition);
}

.menu-btn:hover {
    color: var(--accent-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    z-index: 1001;
    padding: 70px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 2rem;
    color: var(--accent-color);
}

.mobile-nav ul {
    list-style: none;
    margin-top: 50px;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    color: var(--heading-color);
    transition: var(--transition);
}

.mobile-nav ul li a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

#menu-toggle:checked ~ .mobile-menu {
    right: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Section styling */
section {
    padding: var(--section-spacing);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--main-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--main-color);
}

/* Benefits section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 20px;
}

/* Training types */
.training-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.training-item {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.training-image {
    height: 200px;
    overflow: hidden;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.training-item:hover .training-image img {
    transform: scale(1.05);
}

.training-content {
    padding: 20px;
}

/* Investment section */
.investment-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.investment-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.investment-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 15px 0;
}

/* Reviews section */
.reviews-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.review-slides {
    display: flex;
    overflow: hidden;
}

.review-item {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 100%;
    display: none;
    text-align: center;
}

.review-content {
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 700;
}

.review-radio {
    display: none;
}

.review-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.review-control-item {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

#review-1:checked ~ .review-slides .review-item:nth-child(1),
#review-2:checked ~ .review-slides .review-item:nth-child(2),
#review-3:checked ~ .review-slides .review-item:nth-child(3) {
    display: block;
}

#review-1:checked ~ .review-controls .review-control-item:nth-child(1),
#review-2:checked ~ .review-controls .review-control-item:nth-child(2),
#review-3:checked ~ .review-controls .review-control-item:nth-child(3) {
    background-color: var(--main-color);
}

/* Gallery section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Form section */
.form-section {
    background-color: white;
    padding: var(--section-spacing);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--main-color);
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Contacts section */
.contacts {
    background-color: #f9f9f9;
}

.contacts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    color: var(--main-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.map-container {
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ddd;
}

.footer-links ul li a:hover {
    color: var(--main-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    color: white;
    padding: 15px 0;
    z-index: 9999;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

/* Media Queries */
@media (max-width: 1400px) {
    :root {
        --content-max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    :root {
        --content-max-width: 960px;
        --section-spacing: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    :root {
        --content-max-width: 720px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --content-max-width: 540px;
        --section-spacing: 60px 0;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-bottom: 15px;
        padding-right: 0;
    }
    
    .about-grid, 
    .benefits-container, 
    .training-container, 
    .investment-container,
    .contacts-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 50px 0;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .about-item, 
    .training-item, 
    .investment-item,
    .form-container {
        padding: 25px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .mobile-menu {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 10px;
    }
    
    .review-item {
        padding: 25px 15px;
    }
} 