@font-face {
    font-family: "Inter-Regular";
    src: url("fonts/Inter-Regular.ttf");
}
@font-face {
    font-family: "Inter-Light";
    src: url("fonts/Inter-Light.ttf");
}
@font-face {
    font-family: "Inter-Medium";
    src: url("fonts/Inter-Medium.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter-Regular", Arial, sans-serif;
    color: #3e2723;
    background: #fdf6f0;
    font-size: 18px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #3e2723;
}

/*ШАПКА*/
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-height: 70px;
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    padding: 10px 20px;
    position: sticky;
    top: 0px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo {
    margin-right: 20px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.site-title {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    border-left: 2px solid #c44569;
    padding-left: 20px;
}

.site-title h1 {
    font-family: "Inter-Medium", Arial, sans-serif;
    font-size: 26px;
    color: #5d4037;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.site-title .subtitle {
    font-family: "Inter-Light", Arial, sans-serif;
    font-size: 14px;
    color: #8d6e63;
    font-style: italic;
}

.navigation {
    display: flex;
    gap: 40px;
    margin-left: 40px;
}

.navigation a {
    font-family: "Inter-Medium", Arial, sans-serif;
    font-size: 18px;
    color: #5d4037;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.navigation a:hover {
    color: #c44569;
    border-bottom: 2px solid #c44569;
}

/*СЛОГАН*/
.slogan {
    min-height: 85vh;
    width: 100%;
    background: linear-gradient(145deg, #fdf6f0 0%, #fce4ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.slogan-about {
    max-width: 900px;
    text-align: center;
}

.slogan-about h2 {
    font-family: "Inter-Medium", Arial, sans-serif;
    font-size: 42px;
    color: #5d4037;
    margin-bottom: 20px;
}

.slogan .slogan-about hr {
    width: 400px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c44569, transparent);
    border: none;
    margin: 20px auto;
}

.slogan-about p {
    font-size: 20px;
    line-height: 1.6;
    color: #5d4037;
}

/*ИКОНКИ ЦВЕТОВ*/
.icon-section {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
}

.icon-section hr {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8d5c4, transparent);
    border: none;
}

.icon-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.icon-grid img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    padding: 15px;
}

.symbol-table {
    padding: 20px 40px;
}

.symbol-table h2 {
    padding: 30px 0px;
    text-align: center;
    font-family: "Inter-Medium", Arial, sans-serif;
    color: #5d4037;
}

/*ТАБЛИЦА*/
table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 20px;
    border-collapse: collapse;
    font-size: 16px;
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(196, 69, 105, 0.1);
}

table th {
    font-weight: bold;
    padding: 16px 12px;
    background: #e8d5c4;
    color: #3e2723;
    text-align: left;
}

table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0e0d6;
}

table tbody tr:last-child td {
    border-bottom: none;
}

table tbody tr:nth-child(even) {
    background: #fdf6f0;
}

table tbody tr:hover {
    background: #fce4ec;
}

/*СЕЛЕКТОР*/
main section.icon-section div.symbol-table table tbody tr:nth-child(odd) td:first-child {
    font-weight: bold;
    color: #c44569;
}

/*БЛОК С ЦИТАТОЙ*/
.quote-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8bbd0, #fce4ec);
    margin: 40px 0;
}

.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.quote-icon {
    font-size: 48px;
    color: #c44569;
    opacity: 0.6;
}

.quote-text {
    font-family: "Inter-Light", Arial, sans-serif;
    font-size: 32px;
    line-height: 1.4;
    color: #5d4037;
    font-style: italic;
}

.quote-author {
    font-family: "Inter-Regular", Arial, sans-serif;
    font-size: 18px;
    color: #8d6e63;
}

/*ГАЛЕРЕЯ БУКЕТОВ*/
.gallery {
    width: 100%;
    padding: 40px 20px 60px;
}

.section-title {
    text-align: center;
    font-family: "Inter-Medium", Arial, sans-serif;
    font-size: 32px;
    color: #5d4037;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    box-shadow: 0 15px 35px rgba(196, 69, 105, 0.2);
}

/*ПОДВАЛ*/
footer {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    width: 100%;
    min-height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    flex-wrap: wrap;
}

footer > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo_footer {
    align-items: flex-start;
}

.logo_footer img {
    width: 45px;
    height: 45px;
}

footer p {
    color: #5d4037;
    margin: 0;
    text-align: center;
}

#live-clock {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin-top: 5px;
    color: #8d6e63;
}

.accounts {
    flex-direction: row;
    justify-content: flex-end;
    gap: 15px;
}

.accounts img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.accounts img:hover {
    transform: scale(1.15);
}

/*СТРАНИЦЫ РАЗДЕЛОВ*/
.page-content {
    background-color: #fdf6f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.flower-category {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 40px;
}

.flower-description {
    padding: 20px 0;
    text-align: center;
}

.flower-description h1 {
    font-family: "Inter-Medium", Arial, sans-serif;
    font-size: 36px;
    color: #5d4037;
    margin-bottom: 20px;
}

.flower-description p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: #5d4037;
}

.flower-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.flower-card {
    background: white;
    padding: 20px 15px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flower-card:hover {
    box-shadow: 0 15px 35px rgba(196, 69, 105, 0.15);
}

.flower-card img {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 15px;
}

.flower-card p {
    font-size: 18px;
    margin: 10px 0 15px;
    color: #3e2723;
}

/* Кнопки подробнее */
.btn-detail {
    background: #e8d5c4;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    font-family: "Inter-Regular", Arial, sans-serif;
    font-size: 16px;
    color: #5d4037;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-detail:hover {
    background: #c44569;
    color: white;
    border-color: #c44569;
}

/*КОНТАКТЫ*/
.contacts-section {
    min-height: 80vh;
    padding: 60px 20px;
    background: #fdf6f0;
}

.contacts-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacts-card {
    background: white;
    padding: 35px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e0d6;
}

.contacts-card h1,
.contacts-card h2,
.contacts-card h3 {
    font-family: "Inter-Medium", Arial, sans-serif;
    color: #5d4037;
    text-align: center;
    margin-bottom: 25px;
}

.contacts-card h1 {
    font-size: 32px;
}

.contacts-card h2 {
    font-size: 28px;
}

.contacts-card h3 {
    font-size: 24px;
}

.contacts-text {
    font-size: 18px;
    line-height: 1.7;
    color: #5d4037;
    margin-bottom: 20px;
    text-align: center;
}

.contact-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px dashed #e8d5c4;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    width: 220px;
    font-weight: bold;
    color: #8d6e63;
}

.contact-value {
    flex: 1;
    color: #3e2723;
}

.contacts-socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.contacts-socials img {
    width: 55px;
    height: 55px;
    transition: transform 0.3s ease;
}

.contacts-socials img:hover {
    transform: scale(1.2);
}

/* Стили для формы подписки */
.subscription-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #fdf6f0, #fce4ec);
}

.subscription-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.subscription-card h3 {
    font-family: "Inter-Medium", Arial, sans-serif;
    color: #5d4037;
    margin-bottom: 15px;
}

.subscription-card p {
    color: #8d6e63;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #5d4037;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e8d5c4;
    border-radius: 8px;
    font-family: "Inter-Regular", Arial, sans-serif;
    font-size: 16px;
}

.subscribe-btn {
    background: #c44569;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Inter-Medium", Arial, sans-serif;
    transition: background 0.3s ease;
}

.subscribe-btn:hover {
    background: #a33452;
}

/* Секретная кнопка */
.secret-btn {
    background: transparent;
    border: 2px dashed #c44569;
    padding: 8px 20px;
    margin: 15px 0;
    cursor: pointer;
    font-family: "Inter-Regular", Arial, sans-serif;
    font-size: 14px;
    color: #c44569;
    border-radius: 30px;
}

.secret-btn:hover {
    background: #c44569;
    color: white;
}

/* Выпадающее меню */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    color: #5d4037;
    padding: 8px 0;
    font-family: "Inter-Medium", Arial, sans-serif;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.dropbtn:hover {
    color: #c44569;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-content a {
    color: #5d4037;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: "Inter-Regular", Arial, sans-serif;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #fce4ec;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*АДАПТИВ*/
@media (max-width: 1000px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .site-title {
        border-left: none;
        padding-left: 0;
        margin: 10px 0;
        text-align: center;
    }
    
    .navigation {
        margin-left: 0;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-grid,
    .flower-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid,
    .flower-grid {
        grid-template-columns: 1fr;
    }
    
    .slogan-about h2 {
        font-size: 32px;
    }
    
    .quote-text {
        font-size: 24px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-label {
        width: 100%;
    }
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    footer > div {
        align-items: center;
    }
    
    .logo_footer {
        align-items: center;
    }
    
    .accounts {
        justify-content: center;
    }
}