/* styles.css – Турецкий чай стиль: тёплые тона, элегантность, контраст и читаемость */
/* Шрифты: системные, без Google Fonts */

:root {
    --tea-red: #A83232;        /* Глубокий турецкий чай */
    --tea-gold: #D4A017;       /* Золотистый оттенок чайной ложки */
    --tea-cream: #F5E6D3;      /* Кремовый, как молоко в чае */
    --tea-dark: #2C1810;       /* Тёмный чайный настой */
    --tea-light: #FFF8F0;      /* Светлый фон, как пар от чая */
    --tea-accent: #8B5A2B;     /* Деревянная подставка под чайник */
    --text-dark: #2C1810;
    --text-light: #FFF8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--tea-light);
    color: var(--text-dark);
    line-height: 1.7;
    max-width: 1090px;
    margin: 0 auto;
    padding: 0 15px;
    min-height: 100vh;
}

/* Общие блоки */
.block {
    margin: 40px 0;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.1);
    position: relative;
    overflow: hidden;
}

/* Контрастное чередование фонов */
.block:nth-child(odd) {
    background: var(--tea-cream);
    color: var(--text-dark);
}

.block:nth-child(even) {
    background: var(--tea-dark);
    color: var(--text-light);
}

/* Первый блок — акцентный */
#teklif {
    min-height: 470px;
    background: linear-gradient(135deg, var(--tea-red) 0%, var(--tea-dark) 100%);
    color: var(--text-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    border: 3px solid var(--tea-gold);
}

#teklif h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

#teklif p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 15px auto;
}

#teklif strong {
    color: var(--tea-gold);
    font-weight: 700;
}

/* Кнопка-ссылка в первом блоке */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 36px;
    background: var(--tea-gold);
    color: var(--tea-dark);
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(212, 160, 23, 0.4);
    border: 2px solid transparent;
}

.btn:hover {
    background: var(--tea-cream);
    color: var(--tea-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 160, 23, 0.5);
    border: 2px solid var(--tea-gold);
}

/* Заголовки */
h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: var(--tea-gold);
    border-radius: 2px;
}

h3 {
    font-size: 1.7rem;
    margin: 30px 0 20px;
    color: var(--tea-red);
    font-weight: 600;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--tea-gold);
}

/* Списки продуктов */
.products {
    list-style: none;
    margin: 25px 0;
}

.products li {
    padding: 14px 0;
    border-bottom: 1px dashed rgba(139, 90, 43, 0.3);
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
}

.products li:last-child {
    border-bottom: none;
}

.products strong {
    color: var(--tea-red);
}

/* Статья — выделение */
article {
    background: rgba(245, 230, 211, 0.7);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
    border-left: 6px solid var(--tea-gold);
    font-size: 1.05rem;
    line-height: 1.8;
    backdrop-filter: blur(3px);
}

article p {
    margin-bottom: 18px;
}

article strong {
    color: var(--tea-red);
    font-weight: 600;
}

/* Форма подписки */
form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

form label {
    font-weight: 600;
    color: inherit;
}

form input[type="email"] {
    padding: 14px 18px;
    border: 2px solid var(--tea-accent);
    border-radius: 12px;
    font-size: 1.1rem;
    background: rgba(255, 248, 240, 0.9);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

form input[type="email"]:focus {
    outline: none;
    border-color: var(--tea-gold);
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.2);
}

form button {
    padding: 16px;
    background: var(--tea-red);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(168, 50, 50, 0.3);
}

form button:hover {
    background: var(--tea-gold);
    color: var(--tea-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 160, 23, 0.4);
}

/* Специалисты и отзывы */
.specialist,
.review {
    background: rgba(255, 248, 240, 0.6);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--tea-accent);
    transition: transform 0.2s ease;
}

.specialist:hover,
.review:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(44, 24, 16, 0.15);
}

.review p {
    font-style: italic;
    position: relative;
    padding-left: 28px;
}

.review p::before {
    content: '“';
    font-size: 3rem;
    color: var(--tea-gold);
    position: absolute;
    left: 0;
    top: -10px;
    font-family: Georgia, serif;
}

/* Адрес и карта */
#iletisim p {
    margin: 15px 0;
    font-size: 1.1rem;
}

iframe {
    border-radius: 16px;
    border: 3px solid var(--tea-gold);
    margin-top: 20px;
}

/* Футер */
footer {
    text-align: center;
    padding: 30px;
    background: var(--tea-dark);
    color: var(--text-light);
    border-radius: 16px;
    font-size: 0.95rem;
    margin-top: 50px;
}

footer p {
    opacity: 0.9;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    .block {
        padding: 25px 20px;
        margin: 25px 0;
    }

    #teklif {
        min-height: 400px;
        padding: 40px 20px;
    }

    #teklif h1 {
        font-size: 2.2rem;
    }

    #teklif p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    form {
        max-width: 100%;
    }

    form input[type="email"],
    form button {
        font-size: 1rem;
    }

    .products li {
        flex-direction: column;
        gap: 8px;
        font-size: 1rem;
    }

    article {
        padding: 20px;
        font-size: 1rem;
    }

    iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #teklif h1 {
        font-size: 1.9rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .specialist,
    .review {
        padding: 15px;
    }
}
