/* Nataly Cake Landing - light pink theme */
:root {
    --bg: #fff0f6;
    --card: #ffffff;
    --text: #2d2d2d;
    --muted: #6a5a63;
    --primary: #f8d7da;
    --primary-strong: #f2a8cb;
    --accent: #e91e63;
    --header-gradient: linear-gradient(135deg, rgba(233, 30, 99, 0.55) 0%, rgba(194, 24, 91, 0.55) 100%);
    --white: #ffffff;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    /* Animated soft pink gradient background like catalog */
    background: linear-gradient(-45deg, #fff0f6, #ffd6e7, #ffcce5, #ffe3ee);
    background-size: 400% 400%;
    animation: gradientFlow 18s ease infinite;
    color: var(--text);
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px
}

.center {
    text-align: center
}

.btn {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--primary-strong);
    color: #7a3a59;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: .2s ease;
    cursor: pointer
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(226, 109, 165, .15)
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

.btn.primary:hover {
    background: #d75e9b
}


/* Banner header like catalog */
.site-header {
    background-image: var(--header-gradient), url('/static/images/header-bg.jpg');
    background-size: cover, cover;
    background-position: center 30%, center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 1.1rem 0.8rem 1.2rem 0.8rem;
    text-align: center;
    border-radius: 0 0 1.4rem 1.4rem;
    box-shadow: 0 4px 18px rgba(233, 30, 99, 0.18);
    margin-bottom: 0.5rem;
}

.header-inner {
    display: grid;
    /* Симметричная сетка: логотип по центру (колонка 2) на десктопе */
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
}


.logo {
    font-family: 'Great Vibes', cursive;
    font-size: calc(1.6rem * 1.3 * 1.2 * 1.4);
    /* +30% и ещё +20%, дополнительно увеличено на 40% для десктопа */
    font-weight: 400;
    margin-bottom: 0.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.2px;
    color: #fff;
    grid-column: 2;
    justify-self: center;
}

.tagline {
    font-size: 0.96rem;
    opacity: 0.9;
    font-weight: 300;
    color: #fff;
    display: block;
    text-align: center;
    margin: 0.2rem auto 0;
}

/* Убрали кнопку мобильного меню */

.nav {
    grid-column: 3;
    justify-self: end;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 14px;
    font-weight: 500;
}

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

.hero-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-text h1 {
    margin: 0 0 10px;
    font-size: 34px
}

.hero-text p {
    margin: 0 0 18px;
    color: #fff;
    opacity: 0.95
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

/* Убрали эмодзи справа для аккуратности */

@media(max-width:920px) {
    .header-inner {
        grid-template-columns: 1fr auto 1fr;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
    }

    .hero-art {
        font-size: 64px;
    }
}

@media(max-width:768px) {
    .nav {
        position: static;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero-inner {
        align-items: flex-start;
        text-align: left;
    }

    /* Лого в верхний левый угол на мобиле */
    .logo {
        grid-column: 1;
        justify-self: start;
        font-size: calc(1.6rem * 1.3 * 1.2);
    }

    .tagline {
        text-align: left;
        margin: 0.2rem 0 0;
        font-size: 0.9rem;
    }

    .hero-text .hero-actions {
        justify-content: flex-start;
    }

    .hero-text h1 {
        font-size: 28px
    }

    .hero-text p {
        font-size: 15px
    }
}

@media(max-width:540px) {
    .hero-inner {
        gap: 18px
    }

    .hero-text h1 {
        font-size: 28px
    }

    .hero-art {
        font-size: 56px
    }
}

.section {
    padding: 36px 0
}

.features .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.features .card {
    background: var(--card);
    border: 1px solid #f3dbe7;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(201, 95, 149, .08)
}

.features .icon {
    font-size: 22px;
    margin-bottom: 8px
}

@media(max-width:920px) {
    .features .grid {
        grid-template-columns: 1fr
    }
}

.gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px
}

.gallery .g-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f3dbe7;
    background: #fff
}

.gallery .g-item img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #fff;
}

.gallery .g-placeholder {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #c95f95
}

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

.cta {
    background: linear-gradient(180deg, rgba(242, 168, 203, .15) 0%, rgba(255, 255, 255, 0) 100%)
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px
}

@media(max-width:920px) {
    .cta-inner {
        flex-direction: column;
        align-items: flex-start
    }
}

.testimonials .testi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.testimonials .testi {
    background: var(--card);
    border: 1px solid #f3dbe7;
    border-radius: 12px;
    padding: 12px;
    color: var(--muted);
    font-style: italic
}

@media(max-width:920px) {
    .testimonials .testi-row {
        grid-template-columns: 1fr
    }
}

.contacts .links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.contacts .link {
    background: #fff;
    border: 1px solid #f3dbe7;
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #7a3a59
}

.contacts .link:hover {
    color: #c95f95
}

.contacts .link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 16px;
}

.contacts .link-with-icon .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.contacts .link-with-icon .icon-wrap img {
    width: 100%;
    height: 100%;
    display: block;
}

.site-footer {
    border-top: 1px solid #f3dbe7;
    padding: 18px 0;
    color: var(--muted)
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.mini {
    font-size: 12px
}