/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2c5530;
}

/* Шапка */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d97824;
}

.nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #d97824;
}

/* Герой */
.hero {
    background: linear-gradient(135deg, #e6f2e6 0%, #fef8e6 100%);
    padding: 100px 0 50px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #2c5530;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn {
    display: inline-block;
    background-color: #d97824;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #b8631f;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.character-img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Обо мне */
.about-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-facts {
    flex: 1;
    min-width: 250px;
    background-color: #f0f7f0;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #d97824;
}

.about-facts h3 {
    color: #2c5530;
    margin-bottom: 15px;
}

.about-facts ul {
    list-style: none;
}

.about-facts li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Философия */
.philosophy {
    background-color: #f0f7f0;
}

.philosophy-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    color: #2c5530;
    margin-bottom: 15px;
}

/* Контакты */
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-info a {
    color: #d97824;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d97824;
}

#formMessage {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

/* Подвал */
.footer {
    background-color: #2c5530;
    color: #eee;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .nav a {
        margin-left: 15px;
        font-size: 0.9rem;
    }
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}