/* 
   Тіла у Гармонії - Styles
   Updated color palette:
   - Background: Lighter gradient from #E0F0FF to #FFF5EC
   - Main accent: #E54B4B (deeper coral)
   - Secondary elements: #5BD0B6 (deeper teal)
   - Text: #171717 (near black) and #FFFFFF (white)
   - Buttons and forms: #D9E82A (less bright yellow)
   - Headers: #5800D9 (deeper indigo)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #E0F0FF;
    --bg-secondary: #FFF5EC;
    --accent: #E54B4B;
    --secondary: #5BD0B6;
    --text-dark: #171717;
    --text-light: #FFFFFF;
    --btn-color: #D9E82A;
    --header-color: #5800D9;
    --font-main: 'Ubuntu', 'Arial', sans-serif;
    --font-headers: 'Montserrat', 'Arial', sans-serif;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --container-width: 1200px;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    color: var(--header-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--header-color);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: var(--shadow);
}

.primary-btn {
    background-color: var(--btn-color);
    color: var(--text-dark);
}

.primary-btn:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-3px);
    text-decoration: none;
}

.secondary-btn {
    background-color: var(--secondary);
    color: var(--text-dark);
}

.secondary-btn:hover {
    background-color: var(--header-color);
    color: var(--text-light);
    transform: translateY(-3px);
    text-decoration: none;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #222e3a;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: filter 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .logo img {
        filter: brightness(1.2);
    }
}

/* Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--header-color);
    background-color: rgba(91, 208, 182, 0.15);
    text-decoration: none;
}

/* Main Sections */
section {
    padding: 80px 0;
}

/* Hero Banner */
.hero-banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/uSHE8u.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 0;
}

.hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-banner p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 500;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #222e3a;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
}

.benefit-icon.flexibility {
    background-color: var(--secondary);
    position: relative;
}

.benefit-icon.energy {
    background-color: var(--btn-color);
    position: relative;
}

.benefit-icon.stress {
    background-color: var(--accent);
    position: relative;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #222e3a;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3,
.service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card .price {
    font-weight: 700;
    color: var(--accent);
    margin: 10px 0 20px;
}

.service-card .btn {
    margin: 0 20px 20px;
}

/* Signup Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #222e3a;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    opacity: 0.1;
    z-index: -1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary);
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #222e3a;
    color: var(--text-dark);
}

.form-group textarea {
    border-radius: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(229, 75, 75, 0.2);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #222e3a;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-image {
    height: 150px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
}

.testimonial-content h3 {
    margin-top: 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 15px 20px;
    background-color: #222e3a;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    background-color: var(--secondary);
    border-radius: var(--radius) var(--radius) 0 0;
}

.faq-toggle:checked + .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #222e3a;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 300px;
    padding: 15px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: rgba(23, 23, 23, 0.95);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    margin-top: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-light);
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-column p {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    color: var(--text-dark);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.5s ease;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin-bottom: 0;
}

/* Theme Toggle */
.theme-toggle {
    display: none;
}

.theme-toggle-label {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 26px;
    background-color: var(--text-dark);
    border-radius: 50px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.theme-toggle-label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:checked + .theme-toggle-label {
    background-color: var(--accent);
}

.theme-toggle:checked + .theme-toggle-label::after {
    transform: translateX(24px);
}

/* Page Header for inner pages */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    margin-bottom: 0;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    max-width: 800px;
    margin: 0 auto;
}

/* Policy Content Styles */
.policy-content {
    padding: 60px 0;
}

.policy-container {
    background-color: #222e3a;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.policy-container h2 {
    color: var(--header-color);
    margin-top: 30px;
    text-align: left;
}

.policy-container h2::after {
    margin-left: 0;
}

.policy-container h3 {
    color: var(--accent);
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thankyou-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.thankyou-box {
    background-color: #222e3a;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    font-weight: bold;
}

.buttons-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .nav-toggle-label {
        display: block;
        font-size: 1.5rem;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #222e3a;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .nav-toggle:checked ~ nav {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .about-content,
    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        gap: 20px;
    }
    
    .logo img {
        max-height: 40px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .thankyou-box {
        padding: 30px 20px;
    }
    
    .buttons-group {
        flex-direction: column;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
    
    .logo img {
        max-height: 35px;
    }
} 