/* Base Styles */
:root {
    --primary-bg: linear-gradient(to bottom, #fdf1f2, #f9e6e1);
    --accent-color: #ff6f61;
    --accent-secondary: #fbbd99;
    --text-color: #3d3d3d;
    --button-color: #2ed3c9;
    --block-bg: #dcf3ee;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: var(--text-color);
    background: var(--primary-bg);
    line-height: 1.6;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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: var(--accent-color);
    margin: 10px auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--button-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #25b5ad;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--button-color);
    border: 2px solid var(--button-color);
}

.btn-secondary:hover {
    background-color: var(--button-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    width: 150px;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Скрываем элементы мобильного меню по умолчанию */
.mobile-toggle-input {
    display: none;
}

.mobile-nav-label {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background: var(--primary-bg);
    padding: 120px 0 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: rotate(2deg);
}

.logo-container {
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.values {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-item {
    background-color: var(--block-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: 20px;
}

/* Packages Section */
.packages-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.package-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 350px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-header {
    padding: 20px;
    background-color: var(--block-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.package-features {
    list-style-type: none;
    margin: 20px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-card .btn-secondary,
.package-card .btn-primary {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
}

.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    position: absolute;
    top: 15px;
    right: -35px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    width: 150px;
    text-align: center;
}

/* Gallery Section */
.gallery {
    background-color: var(--block-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.gallery-item img {
    transition: transform 0.5s ease;
    border-radius: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: var(--block-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 350px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: rgba(0,0,0,0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info {
    line-height: 1.3;
}

.author-info strong {
    display: block;
    color: var(--accent-color);
}

.author-info span {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.6);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--white);
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item:target .faq-question::after {
    content: "-";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    background-color: var(--block-bg);
}

.faq-item:target .faq-answer {
    max-height: 500px;
    padding: 15px;
    opacity: 1;
}

/* Order Section */
.order {
    background-color: var(--block-bg);
}

.order-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.1);
    font-family: inherit;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.link {
    text-decoration: underline;
    cursor: pointer;
}

/* Contacts Section */
.contacts {
    background-color: var(--white);
    padding-bottom: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item svg {
    margin-right: 15px;
}

/* Policy Pages */
.policy {
    padding: 120px 0 60px;
}

.policy-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.policy h1 {
    text-align: center;
}

.policy h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    text-align: left;
}

.policy h2::after {
    margin-left: 0;
    width: 40px;
}

.policy h3 {
    font-size: 1.3rem;
    margin-top: 20px;
}

.policy ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy li {
    margin-bottom: 8px;
}

.policy .btn-secondary {
    display: block;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .policy {
        padding: 100px 0 40px;
    }
    
    .policy-content {
        padding: 20px;
    }
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* CSS Animation for Scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 1s ease-out;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content, .hero-image {
        flex: 100%;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-text, .values {
        flex: 100%;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
        flex-direction: column;
    }
    
    .nav-item {
        margin: 10px 0;
        text-align: center;
    }
    
    /* Показываем мобильный переключатель */
    .mobile-nav-label {
        display: block;
    }
    
    /* При активации чекбокса показываем меню */
    #mobile-nav-toggle:checked ~ nav .nav-menu {
        display: flex;
    }
    
    .benefits-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card {
        width: 100%;
    }
    
    .featured {
        transform: scale(1);
    }
    
    .featured:hover {
        transform: scale(1.03);
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .testimonial {
        max-width: 100%;
    }
    
    .order-form {
        padding: 20px;
    }
} 