
/* Підключення шрифту Montserrat з Google Fonts (різної товщини: від тонкого до жирного) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Застосування шрифту до всього сайту */


/* Опціонально: щоб гарантувати, що заголовки та кнопки теж наслідують цей шрифт */
h1, h2, h3, h4, h5, h6, button, input, textarea, select {
    font-family: 'Montserrat', sans-serif;
}

html{
    font-family: 'Montserrat', sans-serif;
}
.contact-icon {
    width: 20px; /* Вкажіть бажаний розмір іконки */
    height: 20px;
    vertical-align: middle; /* Вирівнює іконку по центру тексту */
    /* margin-right: 8px; Якщо потрібен відступ між іконкою та текстом, але це можна налаштувати і в класі .icon-gold */
}

.service-icon {
    width: 60px;  /* Налаштуйте розмір під ваш дизайн */
    height: 60px;
    object-fit: contain; /* Щоб картинка не розтягувалася і зберігала пропорції */
    display: block;
    margin: 0 auto; /* Щоб іконка стояла рівно по центру */
}

.header-icon {
    width: 16px; /* Невеликий розмір для шапки сайту */
    height: 16px;
    vertical-align: middle; /* Вирівнює іконку по центру тексту */
    margin-right: 5px; /* Додає трохи простору між іконкою та текстом */
    /* margin-bottom: 2px; - іноді корисно додати, щоб ідеально відцентрувати відносно тексту */
}

.about-icon {
    width: 48px;  /* Розмір можна підкоригувати під розмір шрифту заголовка */
    height: 48px;
    vertical-align: middle; /* Вирівнює іконку по центру відносно тексту */
    margin-right: 8px; /* Робить невеликий відступ від іконки до слова */
}

.custom-info-icon {
    width: 32px; /* Змініть розмір, якщо потрібно, щоб він відповідав дизайну */
    height: 32px;
    object-fit: contain; /* Зберігає пропорції зображення */
    display: block;
}

/* Якщо іконка має бути по центру кружечка або квадрата, переконайтеся, що батьківський клас має правильне вирівнювання: */
.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-contact-icon {
    width: 28px; /* Розмір іконки, можна налаштувати */
    height: 28px;
    object-fit: contain;
    display: block;
}

/* Якщо .info-icon раніше був розрахований на текст, варто переконатись, що він відцентровує картинку */
.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Щоб іконка не стискалася, якщо тексту багато */
}


.btn-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px; /* Відступ між іконкою та текстом кнопки */
}
/* Загальні стилі */
body {
    
    margin: 0;
    padding: 0;
    color: #4D4D4D;
    line-height: 1.6;
    background-color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

/* Шапка сайту */
header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 32px;
    font-weight: bold;
    color: #181A1C;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-size: 12px;
    text-transform: uppercase;
    color: #FCD739;
    font-weight: bold;
}

.header-info {
    text-align: right;
    font-size: 14px;
}

.header-info p {
    margin: 2px 0;
}

.header-info a {
    color: #181A1C;
    text-decoration: none;
    font-weight: bold;
}

/* Навігація */
nav {
    background-color: #181A1C;
}

menu {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
}

menu a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 25px;
    display: block;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

menu a:hover {
    background-color: #FCD739;
    color: #181A1C;
}

/* Головний контент */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Банер */
.hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), 
                url('hero-bg.jpg') no-repeat center/cover;
    padding: 60px 40px;
    text-align: left;
    border-left: 8px solid #FCD739;
    margin: 40px 0;
}

.hero h1 {
    font-size: 42px;
    color: #181A1C;
    margin: 0;
}

.hero-sub {
    font-size: 24px;
    color: #4D4D4D;
}

.highlight {
    color: #FCD739;
    font-weight: bold;
}

/* Список переваг */
.benefits {
    background-color: #181A1C;
    color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
}

.benefits h2 {
    color: #FCD739;
    margin-bottom: 25px;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits li {
    padding: 12px 0;
    border-bottom: 1px solid #4D4D4D;
    position: relative;
    padding-left: 30px;
}

.benefits li::before {
    content: "•";
    color: #FCD739;
    font-size: 25px;
    position: absolute;
    left: 0;
    top: 5px;
}

/* Футер */
footer {
    text-align: center;
    padding: 30px;
    background-color: #181A1C;
    color: #4D4D4D;
    margin-top: 50px;
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/main_image.jpg") no-repeat center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 50px;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-overlay p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons .btn-primary, .hero-buttons .btn-secondary {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
}

.btn-primary { background-color: #FCD739; color: #181A1C; }
.btn-primary:hover { background-color: #FCD739; opacity: 0.9; }
.btn-secondary { border: 2px solid #FFFFFF; color: #FFFFFF; }
.btn-secondary:hover { background-color: #FFFFFF; color: #181A1C; }

/* Grid Блок */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.underline {
    width: 60px;
    height: 4px;
    background: #FCD739;
    margin: 10px auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.grid-item {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.grid-item:hover { transform: translateY(-10px); }
.grid-item .icon { font-size: 40px; margin-bottom: 15px; display: block; }

/* Dark Benefits Блок */
.dark-benefits {
    background-color: #181A1C;
    color: #FFFFFF;
    padding: 80px 5%;
    margin: 50px 0;
}

.benefits-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.benefit-card {
    flex: 1;
    min-width: 280px;
    padding: 20px;
}

.benefit-num {
    font-size: 40px;
    color: #FCD739;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #FCD739;
    color: #181A1C;
    border-radius: 10px;
    margin-bottom: 50px;
}

.cta-section h2 { margin-bottom: 10px; }
.cta-section .btn-primary {
    background-color: #181A1C;
    color: #FFFFFF;
    margin-top: 20px;
}

/* Стилі сторінки продукції */
.products-header {
    text-align: center;
    padding: 40px 0;
    background: #FFFFFF;
    margin-bottom: 30px;
    border-bottom: 3px solid #FCD739;
}

.products-header h1 {
    font-size: 36px;
    color: #181A1C;
    margin-bottom: 10px;
}

/* Контейнер для карток */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 5%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Картка товару */
.product-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #4D4D4D;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FCD739;
    color: #181A1C;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 12px;
    text-transform: uppercase;
    color: #FCD739;
    font-weight: bold;
    letter-spacing: 1px;
}

.product-info h3 {
    margin: 10px 0;
    font-size: 20px;
    color: #181A1C;
}

.product-info p {
    font-size: 14px;
    color: #4D4D4D;
    margin-bottom: 15px;
}

.specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #181A1C;
}

.specs li {
    padding: 4px 0;
    border-bottom: 1px dashed #4D4D4D;
}

/* Футер картки з ціною та кнопкою */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #4D4D4D;
}

.price {
    font-weight: bold;
    font-size: 18px;
    color: #181A1C;
}

.btn-order {
    background-color: #181A1C;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-order:hover {
    background-color: #FCD739;
    color: #181A1C;
}

/* Активне посилання в меню */
menu a.active {
    background-color: #FCD739;
    color: #181A1C;
}

/* Блок Hero (Про компанію) */
.about-hero {
    padding: 60px 5%;
    background-color: #FFFFFF;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h1 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #181A1C;
}

.about-text p {
    font-size: 18px;
    color: #4D4D4D;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px #FCD739;
}

/* Контактна сітка */
.contact-section {
    padding: 60px 5%;
    background-color: #FFFFFF;
    text-align: center;
}

.contact-section h2, .map-section h2 {
    margin-bottom: 40px;
    font-size: 32px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.contact-card:hover {
    border-top: 4px solid #FCD739;
    transform: translateY(-5px);
}

.contact-card .icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: #181A1C;
}

.contact-card p, .contact-card a {
    color: #4D4D4D;
    text-decoration: none;
    font-size: 15px;
}

.contact-card a:hover {
    color: #FCD739;
}

/* Секція карти */
.contacts-integrated {
    padding: 60px 5%;
    background-color: #FFFFFF;
}

.integrated-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #4D4D4D;
}

/* Ліва колонка з текстом */
.contacts-info-side {
    flex: 1;
    padding: 50px;
    min-width: 350px;
}

.section-badge {
    color: #FCD739;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contacts-info-side h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #181A1C;
}

.contacts-description {
    color: #4D4D4D;
    margin-bottom: 30px;
    font-size: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 24px;
    margin-right: 20px;
    background: #FFFFFF;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #FCD739;
}

.info-text strong {
    display: block;
    color: #181A1C;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.info-text span, .info-text a {
    color: #4D4D4D;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.info-text a:hover {
    color: #FCD739;
}

/* Права колонка з картою */
.map-side {
    flex: 1;
    min-height: 450px;
    background: #4D4D4D;
}

.map-side iframe {
    display: block;
}

/* Адаптивність для мобілок */
@media (max-width: 992px) {
    .integrated-container {
        flex-direction: column;
    }
    
    .map-side {
        height: 350px;
        min-width: 100%;
    }

    .contacts-info-side {
        padding: 30px;
        min-width: 100%;
    }
}





.main-footer {
    background-color: #181A1C;
    color: #FFFFFF;
    padding: 60px 5% 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* Налаштування ширини колонок */
    gap: 40px;
}

.footer-brand .footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #d1d1d1;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-icon img {
    width: 100%;
    height: 100%;
    filter: invert(0); /* Якщо хочеш білі іконки, можна змінити */
}

.social-icon:hover {
    transform: translateY(-3px);
}

.footer-nav h3, .footer-contacts h3 {
    color: #FCD739;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #FCD739;
}

.footer-contacts p {
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contacts a {
    color: #FFFFFF;
    text-decoration: none;
}

.icon-gold {
    color: #FCD739;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #4D4D4D;
    font-size: 12px;
    color: #4D4D4D;
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-contacts p {
        justify-content: center;
    }
}

.delivery-payment-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.delivery-payment-section h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #d4af37; /* Золотистий колір під стиль лого */
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

.info-card h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #222;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-card ul li strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
}

.info-card ul li span {
    color: #555;
}

.contact-cta {
    background: #222;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    filter: brightness(0) invert(1); /* Робимо іконку білою */
}

.cta-phone {
    display: block;
    font-size: 1.8rem;
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px;
}



/* ==========================================================================
   АДАПТИВНІСТЬ ДЛЯ СМАРТФОНІВ (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

    .contact-cta {
        flex-direction: column;
    }
    .cta-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    /* 1. Шапка сайту (Логотип та контакти стають в один стовпчик) */
    header .header-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px 10px;
    }

    header .header-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    header .header-info p {
        margin: 0;
        font-size: 14px;
    }

    nav {
        background: #181A1C; /* Темний фірмовий фон для контрасту */
        padding: 8px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    /* Навігаційне меню на мобільних */
    nav menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 5px 10px;
        margin: 0;
    }

    /* Кнопки меню — тепер вони чіткі та контрастні */
    nav menu a {
        display: inline-block;
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 600;
        color: #FFFFFF !important; /* Білий текст на темному фоні */
        text-decoration: none;
        background: #2d3033; /* Контрастний графітовий колір кнопки */
        border: 1px solid #4D4D4D;
        border-radius: 25px; /* Гарні округлі кнопки */
        transition: all 0.2s ease;
    }

    /* Активна сторінка (на якій зараз знаходиться користувач) */
    nav menu a.active {
        color: #181A1C !important; /* Темний текст для максимального читання */
        background: #FCD739 !important; /* Наш яскравий фірмовий жовтий */
        border-color: #FCD739 !important;
        box-shadow: 0 2px 6px rgba(252, 215, 57, 0.4);
    }

    /* Ефект при натисканні пальцем (користувач відразу бачить клік) */
    nav menu a:active {
        background: #FCD739 !important;
        color: #181A1C !important;
        border-color: #FCD739 !important;
    }

    /* 3. Головний контент та банери */
    .content {
        padding: 10px;
    }

    /* Проміжкове фото фірми та банери */
    .mid-banner {
        margin-bottom: 30px;
    }
    .mid-banner img {
        height: 200px; /* зменшуємо висоту великих фото, щоб не займали весь екран */
    }

    /* 4. Футер сайту */
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px;
        text-align: center;
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-contacts p {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}