/* Основні скидання стилів та шрифти */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-main {
    color: #1e3c72;
}

.logo-sub {
    color: #0072ff;
}

.nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #0072ff;
}

.header-phone a {
    text-decoration: none;
    color: #1e3c72;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Головний банер (Hero) */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-container {
    max-width: 800px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 400;
    opacity: 0.9;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3c72, #0072ff);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: #fff;
    color: #1e3c72;
}

/* Каталог */
.catalog-section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #1e3c72;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 350px;
    background-color: #eaeaea;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.badge-premium { background-color: #ff9800; }
.badge-eco { background-color: #4caf50; }

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-desc {
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-buy {
    background-color: #f1f5f9;
    color: #1e3c72;
    width: 100%;
    text-align: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #1e3c72, #0072ff);
    color: #fff;
border-color: transparent;
}

/* Контакти та Карта */
.contacts-section {
    background-color: #1e3c72;
    color: #fff;
    padding: 80px 0;
}

/* Робимо сітку: текст ліворуч, карта праворуч */
.contacts-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts-info {
    text-align: left;
}

.contacts-info h2 {
    font-size: 34px;
    margin-bottom: 20px;
    font-weight: 700;
}

.contacts-info p {
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 24px;
    color: #0072ff;
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.contact-item div {
    text-align: left;
}

.contact-item span {
    display: block;
    font-size: 12px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a, .contact-item p {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin: 0;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-btn {
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.tg { background-color: #0088cc; }
.vb { background-color: #7360f2; }

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Стилі для карти */
.contacts-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 400px;
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Адаптація під мобільні пристрої */
@media (max-width: 992px) {
    .contacts-grid-layout {
        grid-template-columns: 1fr; /* На мобільних карта падає під текст */
        gap: 40px;
    }
    .contacts-info {
        text-align: center;
    }
    .contact-item {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}