/* ---------- ОБЩИЕ НАСТРОЙКИ ---------- */

body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
    background: #fdeef4; /* пастельно-розовый фон */
    color: #444;
    line-height: 1.6;
}

/* ---------- ХЕДЕР ---------- */

header {
    background: rgba(255, 192, 203, 0.6);
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.header-title {
    font-size: 2em;
    font-weight: bold;
    color: #b84e73;
}

/* ---------- НАВИГАЦИЯ ---------- */

.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 232, 240, 0.7);
    padding: 10px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #b84e73;
    font-weight: bold;
    font-size: 1.1em;
}

/* ---------- HERO ---------- */

.hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    background: linear-gradient(
        135deg,
        #ffe3eb,
        #ffd4e8
    );
}

.hero-content h1 {
    font-size: 3em;
    color: #b84e73;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #7a5265;
}

.button {
    padding: 12px 25px;
    background: #ff9ab8;
    border: none;
    color: white;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

.button:hover {
    background: #ff6f98;
}

/* ---------- КОНТЕНТНЫЕ СЕКЦИИ ---------- */

.section {
    padding: 50px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.3em;
    color: #b84e73;
    margin-bottom: 20px;
}

/* ---------- ОТДЕЛИТЕЛИ ---------- */

.divider {
    height: 1px;
    margin: 0 10%;
    background: #eec1d0;
}

/* ---------- ОТЗЫВЫ ---------- */

.testimonials {
    padding: 50px 20px;
    background: #fff5f9;
    text-align: center;
}

.testimonials h2 {
    color: #b84e73;
    margin-bottom: 30px;
}

.testimonials p {
    color: #8a6477;
    font-style: italic;
    margin-bottom: 20px;
}

/* ---------- ФУТЕР ---------- */

footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 192, 203, 0.6);
    color: #b84e73;
}

/* ---------- АДАПТИВ ---------- */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .nav a {
        font-size: 1em;
    }

    .section h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .button {
        width: 90%;
        font-size: 1em;
    }

    .header-title {
        font-size: 1.6em;
    }
}

/* ---------- ФОТОГРАФИИ ---------- */

.photos {
    padding: 60px 20px;
    text-align: center;
    background: #fff5f9;
}

.photos h2 {
    font-size: 2.3em;
    color: #b84e73;
    margin-bottom: 40px;
}

/* сетка */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* карточка */
.photo-card {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #ffe8f0;
    box-shadow: 0 10px 20px rgba(210, 150, 170, 0.2);

    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

/* задержки появления */
.photo-card:nth-child(1) { animation-delay: 0.1s; }
.photo-card:nth-child(2) { animation-delay: 0.25s; }
.photo-card:nth-child(3) { animation-delay: 0.4s; }

/* фото */
.photo-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.photo-card:hover img {
    transform: scale(1.05);
}

/* анимация плавного появления */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- АДАПТИВ ---------- */

@media (max-width: 900px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photos h2 {
        font-size: 2em;
    }
}
