@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif !important;
}

body, p {
    font-family: 'Open Sans', sans-serif !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    background-image: url('../img2/fon/f2.jpg') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #2c3e2c;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* ========== шапка ========== */
.hero-header {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-header .hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-header .hero-slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-header .hero-slides .slide.active {
    opacity: 1;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-header > *:not(.hero-slides) {
    position: relative;
    z-index: 2;
}

/* ========== навигация ========== */
.navbar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.brand-text .art-red {
    color: #2ecc71;
}

.brand-text .art-star {
    color: #ffffff;
    font-size: 1.3rem;
}

.brand-text .art-green {
    color: #e63946;
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 1.1rem;
    }
    .brand-text .art-star {
        font-size: 1rem;
    }
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 12px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #3cb371 !important;
    transform: translateY(-2px);
}

.btn-order {
    background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
    color: #fff;
    border: none;
    padding: 8px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-order:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(46, 139, 86, 0.4);
    color: #fff;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-title .highlight {
    color: #3cb371;
}

.hero-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 30px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.btn-hero {
    background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
    color: #fff;
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 139, 86, 0.4);
    color: #fff;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.section-title .accent {
    color: #3cb371;
}

.section-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== каталог ========== */
.catalog {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    margin: 20px 0;
    border-radius: 30px;
}

.catalog .section-desc {
    color: #2c3e2c;
}

.catalog .section-desc {
    color: #ffffff;
}

.catalog .section-title {
    color: #ffffff;
}

.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
    color: #fff;
    padding: 5px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e2c;
    text-align: center;
}

.kitchen-desc {
    font-size: 14px;
    color: #4a6a4a;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

/* ========== кружочки с цветами :р ========== */
.color-dots {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.color-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.15s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.color-dot-split {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.15s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.color-dot-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color1);
}

.color-dot-split::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color2);
}

.color-dot-split:hover {
    transform: scale(1.1);
    border-color: #3cb371;
}

.color-label {
    font-size: 10px;
    color: #4a6a4a;
    font-weight: 500;
    text-align: center;
    max-width: 75px;
    line-height: 1.2;
}

.color-info {
    text-align: center;
    margin-top: 8px;
}

.selected-color-name {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #2e8b57;
    background: rgba(46, 139, 87, 0.1);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    width: auto;
}

/* ========== качества ========== */
.quality {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    margin: 20px 0;
    border-radius: 30px;
}

.quality-card {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: 0.3s;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quality-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.25);
    border-color: #3cb371;
}

.quality-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.quality-icon i {
    font-size: 38px;
    color: #3cb371;
}

.quality-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #3cb371;
}

.quality-card p {
    color: #c8e6c8;
    line-height: 1.5;
    font-size: 14px;
}

.about-company {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-company h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #3cb371;
}

.about-company .lead {
    color: #3cb371;
}

.about-company p {
    color: rgba(255, 255, 255, 0.85);
}

.stat-number {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Georgia', serif;
}

.stat-label {
    font-size: 13px;
    color: #c8e6c8;
}

/* ========== материалы ========== */
.materials {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    margin: 20px 0;
    border-radius: 30px;
}

.materials .section-desc {
    color: #fff;
}

.material-card {
    background: rgba(38, 44, 38, 0.4);
    border-radius: 20px;
    padding: 28px 24px;
    height: 100%;
}

.material-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #ffffff;
}

.material-card h3 i {
    color: #ffffff;
    margin-right: 12px;
}

.material-card ul {
    list-style: none;
    padding: 0;
}

.material-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(38, 44, 38, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
}

.material-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
}

.furniture-block {
    background: rgba(38, 44, 38, 0.4);
    border-radius: 25px;
    padding: 40px;
}

.furniture-block h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #ffffff;
}

.furniture-block h3 i {
    color: #ffffff;
}

.furniture-block p {
    color: rgba(255, 255, 255, 0.8);
}

.furniture-list {
    list-style: none;
    padding: 0;
}

.furniture-list li {
    padding: 8px 0;
    color: #ffffff;
}

.furniture-list li i {
    color: #ffffff;
    margin-right: 10px;
}

/* ========== отзывы яндекс ========== */
.reviews-widget-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    width: 100%;
}

.reviews-widget-wrapper > div {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.reviews-widget-wrapper iframe {
    display: block;
    margin: 0 auto;
}

/* ========== карта яндекс и контакты ========== */
.contacts {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    margin: 20px 0;
    border-radius: 30px;
}

.contacts .section-title {
    color: #013234;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-item i {
    font-size: 28px;
    color: #2e8b57;
}

.contact-item h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2c3e2c;
}

.contact-item p {
    color: #6a6a6a;
    margin: 0;
}

.btn-contact {
    background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-contact:hover {
    color: #fff;
}

.map-container {
    border-radius: 25px;
    overflow: hidden;
}

/* ========== модальные окошки ========== */
.modal-kitchen-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-header {
    background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-color-dots {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.modal-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.modal-color-dot-split {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: 0.15s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-color-dot-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color1);
}

.modal-color-dot-split::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color2);
}

.modal-color-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: 0.15s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.modal-color-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
    max-width: 80px;
    word-break: keep-all;
}

.modal-color-dot:hover {
    transform: scale(1.1);
    border-color: #3cb371;
}

.modal-selected-color {
    background: rgba(60, 179, 113, 0.2);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #3cb371;
    display: inline-block;
}

.modal-color-info {
    text-align: center;
    margin-bottom: 15px;
}

/* ========== кнопочки чтобы листать модальные окошки ========== */
.modal-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 40px;
    font-weight: bold;
    width: 50px;
    height: 80px;
    cursor: pointer;
    border-radius: 10px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.modal-nav-btn:hover {
    background: #3cb371;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.modal-image-counter {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* ========== подвал ========== */

.footer {
    background: #013234;
    color: #aaa;
    padding: 60px 0 20px;
    position: relative;
    margin-top: 40px;
}

.footer * {
    backdrop-filter: none !important;
    opacity: 1 !important;
}

.footer-brand {
    text-align: left;
    margin-bottom: 15px;
    margin-top: -15px;
}

.footer-brand img {
    max-height: 450px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer h5 {
    color: #3cb371;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #3cb371;
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: #3cb371;
    padding-left: 5px;
}

.contact-list li i {
    margin-right: 12px;
    color: #3cb371;
    width: 24px;
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #3cb371;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.footer-bottom a {
    color: #8bc34a;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #3cb371;
}

/* ========== крутой адаптив ========== */
@media (max-width: 992px) {
    .hero-title { font-size: 44px; }
    .section-title { font-size: 34px; }
    section { padding: 60px 0; }
    .modal-kitchen-img { height: 350px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 34px; }
    .hero-header { min-height: 70vh; }
    .card-img-top { height: 200px; }
    .modal-kitchen-img { height: 280px; }
    .modal-nav-btn { width: 36px; height: 60px; font-size: 28px; }
    .reviews-widget-wrapper iframe { height: 480px !important; }
    .color-dot, .color-dot-split { width: 24px; height: 24px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 28px; }
    .section-title { font-size: 26px; }
    .hero-text { font-size: 15px; }
    .modal-kitchen-img { height: 220px; }
    .brand-text { font-size: 18px; }
    .reviews-widget-wrapper iframe { height: 420px !important; }
    .color-dot, .color-dot-split { width: 20px; height: 20px; }
    .selected-color-name { font-size: 10px; }
}