/* --- ОСНОВНІ СТИЛІ --- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: #e8d7a5;
    padding-bottom: 70px; /* Для sticky-cta на мобільних */
}

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    z-index: 10;
}

.nav-left { display: flex; align-items: center; }
.logo { width: 36px; }
.brand { color: #d4af37; margin-left: 10px; font-weight: bold; }
.menu a { color: #e8d7a5; margin-left: 20px; text-decoration: none; }

/* --- HERO СЕКЦІЯ --- */
.hero {
    height: 100vh;
    background: url("/assets/img/logo.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-inner {
    background: rgba(0,0,0,0.2);
    padding: 60px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo { width: 110px; margin-bottom: 20px; }
.hero h1 { color: #d4af37; font-size: 64px; margin: 0; }

/* --- КНОПКИ ТА ЕЛЕМЕНТИ --- */
.btn, .btn-strong {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.btn { margin-top: 20px; background: #d4af37; color: black; }

.btn-strong {
    margin-top: 15px;
    background: #C9A96E;
    color: #000;
}

.btn-strong:hover { background: #fff; }

.trust {
    margin-top: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}
.trust p { margin: 5px 0; }

/* --- СЕКЦІЇ ТА СІТКИ --- */
.section { padding: 90px 20px; max-width: 1000px; margin: auto; text-align: center; }
.dark { background: #000; max-width: 100%; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card, .price { padding: 25px; border-radius: 10px; }
.card { background: #1a1a1a; }
.price { background: #d4af37; color: black; }

/* --- ГАЛЕРЕЯ ТА АНІМАЦІЯ --- */
.gallery-wrapper { overflow: hidden; position: relative; }

.gallery {
    display: flex;
    gap: 20px;
    animation: scrollGallery 40s linear infinite;
}

.gallery-wrapper:hover .gallery { animation-play-state: paused; }

.gallery-item {
    position: relative;
    min-width: 280px;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img { transform: scale(1.1); filter: brightness(0.8); }

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- ГАРАНТІЯ ЛОТОС (TOOLTIP) --- */
.lotos-guarantee-container {
    display: inline-block;
    position: relative;
    cursor: help;
    padding: 5px 15px;
    background-color: #fdfaf6;
    border: 1px dashed #d4a373;
    border-radius: 20px;
    margin: 10px 0;
}

.guarantee-label {
    color: #4a5d4e;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guarantee-tooltip {
    visibility: hidden;
    width: 320px;
    background-color: #4a5d4e !important;
    color: #ffffff !important;
    text-align: left;
    border-radius: 12px;
    padding: 20px;
    position: absolute;
    z-index: 9999;
    bottom: 135%;
    left: 50%;
    margin-left: -160px;
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    transform: translateY(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    font-size: 0.95rem;
    line-height: 1.5;
    text-transform: none;
}

.guarantee-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #4a5d4e transparent transparent transparent;
}

.lotos-guarantee-container:hover .guarantee-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- ПЛАВАЮЧІ КНОПКИ ТА УБЕР-НАВІГАЦІЯ --- */
.call, .tg, .waze-float {
    position: fixed;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    z-index: 999;
    transition: 0.25s;
    font-size: 26px;
}

.call { bottom: 20px; background: #fff; color: #000; }
.tg { bottom: 90px; background: #C9A96E; color: #000; font-weight: 600; }
.waze-float { bottom: 160px; background: #33ccff; color: #000; }

.nav-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: linear-gradient(145deg, gold, #c9a200);
    color: black;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 999;
    transition: 0.3s;
}

.uber-nav {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    padding: 20px;
    border-radius: 25px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(25px);
    z-index: 9999;
    box-shadow: 0 0 50px rgba(255,215,0,0.2);
}

/* --- МЕДІА ЗАПИТИ (MOBILE) --- */
@media (max-width: 768px) {
    .hero { padding: 60px 20px 140px; }
    .hero h1 { font-size: 22px; }
    .hero-inner img { max-width: 90%; }
    .trust { font-size: 13px; }
    
    .btn, .btn-strong { width: 100%; max-width: 320px; font-size: 15px; }

    .sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #000;
        padding: 10px;
        display: flex;
        gap: 8px;
        z-index: 999;
    }
    
    .sticky-cta a {
        flex: 1;
        text-align: center;
        padding: 12px;
        border-radius: 8px;
        font-size: 14px;
        text-decoration: none;
    }
    .sticky-call { background: #fff; color: #000; }
    .sticky-tg { background: #C9A96E; color: #000; font-weight: 600; }
}

@media (max-width: 480px) {
    .guarantee-tooltip {
        width: 260px;
        margin-left: -130px;
        bottom: 125%;
    }
}


  .button-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 400px; /* Трохи розширили для іконок */
    padding: 20px;
  }

  .contact-btn {
    display: flex; /* Змінено на flex для кращого вирівнювання іконки та тексту */
    align-items: center;
    justify-content: flex-start; /* Вирівнювання по лівому краю */
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  /* Стиль для іконок всередині кнопок */
  .contact-btn i {
    font-size: 20px; /* Трохи більша іконка */
    margin-right: 15px; /* Відступ між іконкою та текстом */
    width: 25px; /* Фіксована ширина для іконок, щоб текст починався з одного рівня */
    text-align: center;
  }

  .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }

  .contact-btn:active {
    transform: translateY(0);
  }

  /* Кольори для кожної кнопки */
  .btn-telegram {
    background-color: #2AABEE;
  }
  .btn-telegram:hover {
    background-color: #2298D6;
  }

  .btn-phone {
    background-color: #28a745;
  }
  .btn-phone:hover {
    background-color: #218838;
  }

  .btn-map {
    background-color: #dc3545;
  }
  .btn-map:hover {
    background-color: #c82333;
  }