/* Скидання стилів та базові налаштування */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    overflow-x: hidden;
    background: #1a1a1a;
}

/* Хедер */
.header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffd700;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.2);
    border-bottom: 2px solid #ffd700;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 1.5rem; font-weight: bold; color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.header-phone { display: flex; gap: 15px; font-size: 0.95rem; }
.header-phone a { color: #ffd700; text-decoration: none; transition: all 0.3s; }
.header-phone a:hover { color: #ffed4e; text-shadow: 0 0 10px rgba(255, 215, 0, 0.7); }

/* Головний екран (Hero) */
.hero {
    background: linear-gradient(135deg, #000000 0%, #2a2a2a 50%, #1a1a1a 100%);
    color: #e0e0e0;
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #ffd700;
}
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.3); animation: fadeInUp 1s ease; }
.hero p { font-size: 1.3rem; margin-bottom: 30px; opacity: 0.95; color: #d4d4d4; animation: fadeInUp 1s ease 0.2s backwards; }

/* Кнопки */
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s ease 0.4s backwards; }
.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}
.btn-primary { background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); color: #000; box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4); }
.btn-primary:hover { background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6); }
.btn-secondary { background: transparent; color: #ffd700; border: 2px solid #ffd700; }
.btn-secondary:hover { background: #ffd700; color: #000; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4); }

/* Загальні секції */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: linear-gradient(90deg, transparent, #ffd700, transparent); margin: 20px auto 0; border-radius: 2px; box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }

/* Особливості */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #333;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3); border-color: #ffd700; }
.feature-icon { font-size: 3.5rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #ffd700; }
.feature-card p { color: #b0b0b0; line-height: 1.8; }

/* Продукція */
.products { background: #0f0f0f; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    transition: all 0.3s;
    border: 1px solid #333;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: scale(1.03); box-shadow: 0 15px 50px rgba(255, 215, 0, 0.2); border-color: #ffd700; }
.product-image {
    height: 200px;
    background: linear-gradient(135deg, #2a2a2a 0%, #000000 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    border-bottom: 2px solid #ffd700;
}
.product-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: #ffd700; }
.product-card p { color: #b0b0b0; margin-bottom: 20px; line-height: 1.7; flex-grow: 1; }

/* Галерея */
.gallery { background: #1a1a1a; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.gallery-item {
    height: 250px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    transition: all 0.3s;
    border: 2px solid #333;
    position: relative; overflow: hidden;
}
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.8); color: #ffd700;
    padding: 15px; transform: translateY(100%); transition: 0.3s;
    font-weight: 600; text-align: center;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-item:hover { border-color: #ffd700; }

/* Відгуки */
.testimonials { background: #0f0f0f; border-top: 1px solid #333; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 30px; border-radius: 15px; border: 1px solid #333; position: relative;
}
.testimonial-quote { font-size: 3rem; color: #ffd700; opacity: 0.3; position: absolute; top: 10px; left: 20px; }
.testimonial-text { margin: 30px 0 20px; color: #b0b0b0; font-style: italic; }
.testimonial-author { color: #ffd700; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.testimonial-stars { color: #ffd700; font-size: 1.2rem; }

/* Переваги */
.advantages {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-top: 2px solid #ffd700;
    border-bottom: 2px solid #ffd700;
}
.advantage-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.advantage-item {
    padding: 30px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.6) 0%, rgba(26, 26, 26, 0.8) 100%);
    border-radius: 15px;
    border: 1px solid #333;
    transition: all 0.3s;
}
.advantage-item:hover { transform: translateY(-5px); border-color: #ffd700; }
.advantage-item h3 { font-size: 1.3rem; margin-bottom: 15px; color: #ffd700; }
.advantage-item p { color: #b0b0b0; }

/* Карта */
.map-section { background: #1a1a1a; border-top: 1px solid #333; }
.map-container {
    width: 100%; height: 400px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    border: 2px solid #333; color: #ffd700; font-size: 1.5rem; margin-bottom: 30px;
}

/* Контакти */
.contact { background: #0f0f0f; border-top: 1px solid #333; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.contact-info, .contact-form {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px; border-radius: 15px; border: 1px solid #333;
}
.contact-item { margin-bottom: 25px; }
.contact-item h4 { color: #ffd700; margin-bottom: 5px; }
.contact-item p, .contact-item a { color: #b0b0b0; text-decoration: none; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #ffd700; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px; border: 2px solid #333; border-radius: 8px;
    background: #2a2a2a; color: #e0e0e0;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #ffd700; }

/* Футер */
.footer { background: #000000; color: #b0b0b0; text-align: center; padding: 40px 20px; border-top: 2px solid #ffd700; }

/* Кнопка Вгору */
.scroll-to-top {
    position: fixed; bottom: 30px; right: 30px;
    background: #ffd700; color: #000;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transition: all 0.3s; z-index: 999;
    font-size: 1.5rem; pointer-events: none;
}
.scroll-to-top.visible { opacity: 1; pointer-events: auto; }

/* Анімації та адаптив */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 15px; }
    .hero h1 { font-size: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
