/* style.css */

/* Базові стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Хедер */
header {
    background-color: #1a1a1a;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Логотип */
.logo {
    flex: 1;
    text-align: left;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
}

/* .logo-text {
    font-size: 1.6rem;
    font-weight: bold;
    color: #4CAF50;
} */

/* Десктопне меню */
.desktop-nav {
    flex: 2;
    text-align: center;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: #4CAF50;
}

/* Бургер-меню (тільки на мобілці) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 2px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -2px);
}

/* Мобільне меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu li {
    margin: 2.5rem 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #4CAF50;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .header-container {
        justify-content: center;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .desktop-nav {
        display: none;
    }

    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    /* Логотип на мобілці трохи менший */
    .logo-img {
        height: 65px;
    }
}
/* Великий банер замість слайдера */
.hero-banner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    bottom: 60px;

    text-align: center;
    color: white;
    background: rgba(0,0,0,0.55);
    padding: 30px 50px;
    border-radius: 12px;

}

.banner-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.banner-text p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

/* Мобільна адаптація для банера */
@media (max-width: 768px) {
    .hero-banner {
        height: 400px;
    }
    .banner-text {
        bottom: 30px;
        padding: 20px 30px;
    }
    .banner-text h1 {
        font-size: 2.2rem;
    }
    .banner-text p {
        font-size: 1.2rem;
    }
}


@media (min-width: 768px) {
    .banner-text{
    left: 50%;
    transform: translateX(-50%);
        max-width: 90%;
}}


@media (max-width: 480px) {
    .hero-banner {
        height: 320px;
    }
    .banner-text {
        padding: 15px 20px;
        bottom: 20px;
    }
    .banner-text h1 {
        font-size: 1.8rem;
    }
}
/* Сучасний блок "Як користуватися" — варіант 1 */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto;
}

.step-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.step-number {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(76,175,80,0.4);
}

.step-icon {
    font-size: 3.5rem;
    margin: 16px 0 20px;
}



/* Hero / вступний блок */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: #222;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76,175,80,0.35);
}

/* Товари */
.products-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.4rem;
    color: #222;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    padding: 20px;
    background: #f9f9f9;
}

.product-card h3 {
    font-size: 1.4rem;
    margin: 15px 15px 8px;
}

.product-card p {
    color: #666;
    margin: 0 15px 12px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e91e63;
    margin: 12px 0;
}

.product-card button {
    width: 100%;
    padding: 14px;
    background: #4CAF50;
    color: white;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.product-card button:hover {
    background: #45a049;
}

/* Переваги */
.advantages {
    padding: 80px 20px;
    background: #f5f7fa;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.4rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    background: white;
    padding: 40px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-8px);
}

.advantage-item .icon {
    font-size: 3.8rem;
    margin-bottom: 20px;
}

.advantage-item h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

/* Як користуватися */
.how-to {
    padding: 60px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.how-to h2 {
    margin-bottom: 30px;
}

.how-to p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.how-to-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Модальне вікно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    padding-top: 80px;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 36px;
    color: #888;
    cursor: pointer;
}

.close:hover {
    color: #222;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

label {
    font-weight: 500;
    margin-bottom: -10px;
}

input, button {
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.2);
}

form button {
    background: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

form button:hover {
    background: #45a049;
}

/* Футер */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 60px;
}

footer p {
    margin: 8px 0;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .slider { height: 380px; }
    .slide-text { 
        bottom: 20px; 
        left: 20px; 
        padding: 15px; 
        font-size: 0.95rem;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    nav ul { gap: 1rem; }
    .products-section h2,
    .advantages h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .slider { height: 300px; }
    .slide-text { 
        bottom: 15px; 
        left: 15px; 
        padding: 12px; 
    }
    .hero h1 { font-size: 1.8rem; }
}

/* Сторінка Про нас */
.about-page {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    padding-bottom: 40px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.lead {
    font-size: 1.4rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 24px;
    color: #222;
}

.about-text h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #4CAF50;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    font-size: 1.15rem;
    margin: 16px 0;
    padding-left: 32px;
    position: relative;
}

.about-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-size: 1.4rem;
}

.mission {
    font-size: 1.3rem;
    font-style: italic;
    color: #333;
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 5px solid #4CAF50;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.about-contact {
    text-align: center;
    padding: 60px 20px;
    background: #f5f7fa;
    border-radius: 16px;
}

.about-contact h2 {
    margin-bottom: 24px;
}

.about-contact p {
    font-size: 1.2rem;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero h1 {
        font-size: 2.4rem;
    }

    .lead {
        font-size: 1.2rem;
    }
}
/* Сторінка Оплата та доставка */
.payment-page {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero {
    text-align: center;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.lead {
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.payment-block, .delivery-block {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.payment-block h2, .delivery-block h2 {
    text-align: center;
    margin-bottom: 32px;
    color: #222;
}

.payment-methods, .delivery-methods {
    display: grid;
    gap: 30px;
}

.method-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.method-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.method-card p {
    color: #555;
    margin-bottom: 16px;
}

.method-card small {
    display: block;
    color: #777;
    font-size: 0.95rem;
}

.method-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 16px;
}

.method-card ul li {
    margin: 8px 0;
    padding-left: 24px;
    position: relative;
}

.method-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.important-note {
    margin-top: 40px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 12px;
    border-left: 5px solid #4CAF50;
    text-align: center;
}

.faq-section {
    margin-top: 60px;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 32px;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item h4 {
    margin-bottom: 8px;
    color: #222;
}

.faq-item p {
    color: #555;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .payment-block, .delivery-block {
        padding: 30px 20px;
    }

    .page-hero h1 {
        font-size: 2.4rem;
    }
}

/* Сторінка Контакти */
.contact-page {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero {
    text-align: center;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.lead {
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.contact-card h2 {
    text-align: center;
    margin-bottom: 32px;
    color: #222;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-item .icon {
    font-size: 2.8rem;
    margin-right: 20px;
    min-width: 50px;
    text-align: center;
}

.contact-item .info h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.contact-item a {
    color: #4CAF50;
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item small {
    display: block;
    color: #777;
    margin-top: 4px;
}

.messengers {
    text-align: center;
}

.messenger-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s;
}

.messenger-btn.telegram {
    background: #0088cc;
    color: white;
}

.messenger-btn.viber {
    background: #7360F2;
    color: white;
}

.messenger-btn.whatsapp {
    background: #25D366;
    color: white;
}

.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.map-note {
    margin-top: 40px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 12px;
    font-size: 1.1rem;
}

.trust-note {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.trust-note p {
    font-size: 1.2rem;
    margin: 12px 0;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .page-hero h1 {
        font-size: 2.4rem;
    }
}
/* Блок "Чому обирають нас" */
.why-choose-us {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e3f2fd 100%);
}

.why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.reason-item {
    background: white;
    padding: 40px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}

.reason-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.reason-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #4CAF50;
}

.reason-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #222;
}

.reason-item p {
    color: #555;
    font-size: 1.05rem;
}

.reason-item.highlight {
    background: #4CAF50;
    color: white;
}

.reason-item.highlight h3,
.reason-item.highlight p {
    color: white;
}

.reason-item.highlight .reason-icon {
    color: white;
}

/* Велика кнопка після блоку */
.cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.big-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 48px;
    background: #4CAF50;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(76,175,80,0.35);
    transition: all 0.4s ease;
}

.big-cta-btn:hover {
    background: #388E3C;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(76,175,80,0.45);
}

.big-cta-btn .arrow {
    font-size: 1.6rem;
    transition: transform 0.3s;
}

.big-cta-btn:hover .arrow {
    transform: translateX(8px);
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 20px;
    }

    .why-choose-us h2 {
        font-size: 2.2rem;
    }

    .big-cta-btn {
        font-size: 1.3rem;
        padding: 16px 40px;
    }
}

.common-mistakes {
    padding: 80px 20px;
    background: #fff; /* легкий червоний фон для "помилок" */
}

.common-mistakes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mistake-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-left: 6px solid #4CAF50;
}

.mistake-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e53935;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
}

.mistake-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.mistake-item strong {
    color: #4CAF50;
}

.cta-after-mistakes {
    text-align: center;
    margin-top: 60px;
}

.big-btn {
    padding: 18px 50px;
    font-size: 1.4rem;
    margin-top: 20px;
}