/* 
* Netoco Yoga - Main Stylesheet
* Color Palette:
* - Main background: #B2DFDB (туманно-бирюзовый)
* - Accents: #FF6F61 (кораллово-оранжевый)
* - Text: #2E2E2E (угольно-серый)
* - Buttons and forms: #512DA8 (насыщенный фиолетово-синий)
* - Hover effects: #FFF176 (пастельно-жёлтый)
*/

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #fff;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #512DA8;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #B2DFDB;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #512DA8;
    color: #fff;
    box-shadow: 0 4px 10px rgba(81, 45, 168, 0.3);
}

.primary-btn:hover {
    background-color: #FFF176;
    color: #2E2E2E;
    transform: translateY(-3px);
}

.cookie-btn {
    background-color: #512DA8;
    color: #fff;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.cookie-btn:hover {
    background-color: #FFF176;
    color: #2E2E2E;
}

/* === Header === */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 150px;
}

.logo-img {
    width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list li a {
    color: #2E2E2E;
    font-weight: 500;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #FF6F61;
}

.nav-btn {
    background-color: #512DA8;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-btn:hover {
    background-color: #FFF176;
    color: #2E2E2E !important;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2E2E2E;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* === Main Section === */
.main-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/main-bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 100px 0;
}

.main-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* === Content Sections === */
.content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.text-content, .image-content {
    flex: 1;
}

.rounded-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rounded-img:hover {
    transform: scale(1.02);
}

/* === Cards === */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 20px 20px 10px;
    color: #512DA8;
}

.card p {
    padding: 0 20px 20px;
}

/* === Benefits === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
}

.benefit-item h3 {
    color: #512DA8;
    margin-bottom: 15px;
}

/* === Schedule === */
.schedule-table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.schedule-table th, .schedule-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.schedule-table thead {
    background-color: #512DA8;
    color: #fff;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* === Form Section === */
.form-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/form-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    position: relative;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    color: #2E2E2E;
}

.form-container h2 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #512DA8;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* === Reviews === */
.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.review-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-text {
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer-name {
    font-weight: 600;
    color: #512DA8;
    text-align: right;
}

/* === Footer === */
.site-footer {
    background-color: #2E2E2E;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
}

.footer-logo-img {
    width: 100%;
}

.footer-contact h3,
.footer-nav h3 {
    margin-bottom: 20px;
    color: #FF6F61;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #B2DFDB;
}

.footer-contact a:hover {
    color: #FFF176;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #B2DFDB;
}

.footer-nav ul li a:hover {
    color: #FFF176;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-legal {
    flex: 1;
    min-width: 300px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.legal-links a {
    color: #B2DFDB;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: #FFF176;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 46, 46, 0.95);
    color: #fff;
    z-index: 9999;
    padding: 15px 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: #FFF176;
    text-decoration: underline;
}

.cookie-content a:hover {
    color: #FF6F61;
}

/* === Responsive Styles === */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .content-flex {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .nav-list {
        max-height: 500px;
    }
    
    .nav-list li {
        margin: 10px 0;
    }
    
    .main-section h1 {
        font-size: 3rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .cards-container {
        justify-content: center;
    }
    
    .card {
        width: 100%;
        max-width: 350px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .main-section h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

/* === Page-specific styles === */
.policy-content {
    max-width: 800px;
    margin: 120px auto 40px;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    margin-bottom: 30px;
    color: #512DA8;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    text-align: left;
}

.policy-content ul,
.policy-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li,
.policy-content ol li {
    margin-bottom: 10px;
    list-style-position: outside;
}

.policy-content ul {
    list-style-type: disc;
}

.policy-content ol {
    list-style-type: decimal;
}

.thank-you-message {
    text-align: center;
    margin-top: 120px;
    padding: 60px 20px;
}

.thank-you-message h1 {
    color: #512DA8;
    margin-bottom: 20px;
}

.thank-you-message p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.back-home {
    display: inline-block;
    margin-top: 20px;
} 