/* --- head/home_style.css (მთავარი გვერდის სტილები) --- */


    /* ================================================================
   მთავარი გვერდის სათაური (Typography)
   ================================================================ */
.home-main-heading {
    text-align: center;
    margin: 40px 15px 30px;
    padding: 0;
}

.home-main-heading .brand-text {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-green, #4CBB8D);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.home-main-heading .tagline-text {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: #475569; /* ელეგანტური მუქი ნაცრისფერი */
    line-height: 1.5;
}

/* 📱 მობილურის ვერსია */
@media (max-width: 768px) {
    .home-main-heading {
        margin: 30px 15px 20px;
    }
    .home-main-heading .brand-text {
        font-size: 26px;
        margin-bottom: 5px;
    }
    .home-main-heading .tagline-text {
        font-size: 14px;
        padding: 0 10px; /* რომ კიდეებზე არ მიედოს */
    }
}

/* Hero Section (დიდი ბანერი) */
.hero-section {
    margin-top: 20px; 
    margin-bottom: 40px; 
    border-radius: 16px;
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    width: 100%;
}
.hero-section img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
}

/* ==========================================================
   Scroll Gallery (კატეგორიების სლაიდერი) - PREMIUM
   ========================================================== */
.scroll-gallery-wrapper { 
    position: relative; 
    width: 100%; 
    display: flex; 
    align-items: center; 
    padding: 0 5px; /* მცირე დაშორება კიდეებზე */
}

/* გალერეის კონტეინერი */
.scroll-gallery {
    display: flex; 
    overflow-x: auto; 
    gap: 16px; /* დაშორება ბარათებს შორის */
    padding: 15px 5px 25px 5px; /* ზედა და ქვედა padding ჩრდილებისთვის */
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch;
    width: 100%; 
    scrollbar-width: none; /* Firefox-სთვის */
    -ms-overflow-style: none; /* IE-სთვის */
}
.scroll-gallery::-webkit-scrollbar { 
    display: none; /* Chrome/Safari-სთვის */
}

/* ბარათების სქროლის ქცევა */
.scroll-gallery > div {
    scroll-snap-align: start;
}

/* -------------------------------------------
   ისრები (მხოლოდ დიდ ეკრანებზე!)
   ------------------------------------------- */
.scroll-btn {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 48px; 
    height: 48px;
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px); /* პრემიუმ ეფექტი */
    border: 1px solid rgba(76, 187, 141, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    color: #4CBB8D; 
    font-size: 18px;
    cursor: pointer; 
    z-index: 10; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.scroll-btn:hover {
    background-color: #4CBB8D; 
    color: #fff;
    transform: translateY(-50%) scale(1.08); 
    box-shadow: 0 8px 25px rgba(76, 187, 141, 0.3);
    border-color: transparent;
}

/* დეფოლტ პოზიციები Desktop-ისთვის */
.prev-btn { left: -10px; }
.next-btn { right: -10px; }

/* ==========================================================
   მობილურის ადაპტაცია (Responsive)
   ========================================================== */
@media (max-width: 768px) {
    
    /* 1. ვაქრობთ ისრებს მობილურზე (Premium UX) */
    .scroll-btn {
        display: none !important;
    }
    
    /* 2. გალერეის სქროლს ვაკეთებთ უფრო რბილს და განიერს */
    .scroll-gallery-wrapper {
        padding: 0; /* ეკრანის კიდემდე მიდის */
        margin-left: -10px; /* თუ მთავარ კონტეინერს padding აქვს, ვაბათილებთ */
        margin-right: -10px;
        width: calc(100% + 30px);
    }

    .scroll-gallery {
        padding: 20px 15px 30px 15px; /* შიდა დაშორება, რომ ბარათი არ მიეკრას კიდეს */
        gap: 15px;
        scroll-padding-left: 15px; /* სქროლისას ბარათი ზუსტად ამ დაშორებაზე ჩერდება */
    }
    
    /* 3. ბარათის სიგანის შეცვლა (რომ შემდეგი ბარათის კიდე ოდნავ გამოჩნდეს) */
    .scroll-gallery > div {
        flex: 0 0 75% !important; /* ეკრანის 75%-ს იკავებს */
        max-width: 300px !important;
    }
}

@media (max-width: 480px) {
    .scroll-gallery > div {
        flex: 0 0 80% !important; /* პატარა ეკრანზე 80% */
    }
}

/* კატეგორიის ბარათები სლაიდერში */
.category-card {
    flex: 0 0 150px; 
    width: 150px; 
    background: #ffffff; 
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    text-align: center;
    overflow: hidden; 
    scroll-snap-align: start; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.02); 
    display: flex; 
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(76, 187, 141, 0.15);
    border-color: #4CBB8D;
}

.category-card img {
    width: 100%; 
    height: 100px; 
    object-fit: contain; 
    padding: 10px; 
    background: #fff;
    transition: transform 0.3s;
}

.category-card:hover img { transform: scale(1.05); }

.category-card .title {
    padding: 5px 8px; 
    font-size: 12px; 
    font-weight: 600;
    color: #2c3e50; 
    background: #fdfdfd; 
    border-top: 1px solid #f0f0f0;
    height: 45px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    line-height: 1.2; 
    overflow: hidden; 
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

/* Benefits Grid (უპირატესობები - სატვირთო, მედალი და ა.შ.) */
.benefits-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; 
    margin: 30px 0; 
    padding: 25px; 
    background: #ffffff;
    border-radius: 16px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); 
    border: 1px solid rgba(0,0,0,0.02);
}
.benefit-item { display: flex; align-items: center; gap: 15px; }
.benefit-item i {
    font-size: 28px; 
    color: #4CBB8D; 
    background: #e8f8f1; 
    width: 55px; 
    height: 55px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    flex-shrink: 0;
}
/* 🔴 შეცვლილია h4 -> .benefit-title */
.benefit-item .benefit-title { 
    display: block; /* აუცილებელია, რომ პარაგრაფი ქვევით ჩამოაგდოს */
    margin: 0; 
    font-size: 15px; 
    font-weight: 700; 
    color: #2c3e50; 
}
.benefit-item p { 
    margin: 4px 0 0; 
    font-size: 13px; 
    color: #7f8c8d; 
    line-height: 1.4; 
}

/* Accordion (ინფორმაცია კომპანიის შესახებ) */
.accordion-section {
    margin: 20px 0 40px 0; 
    border: 1px solid #eee; 
    border-radius: 12px;
    overflow: hidden; 
    background: #fff; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.accordion-btn {
    width: 100%; 
    padding: 20px; 
    text-align: left; 
    background: #fff; 
    border: none; 
    outline: none;
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 700; 
    color: #333;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: 0.3s;
}
.accordion-btn:hover { background: #f9f9f9; color: #4CBB8D; }
.accordion-btn.active { background: #f9f9f9; color: #4CBB8D; border-bottom: 1px solid #eee; }
.accordion-icon { transition: 0.3s; font-size: 14px; color: #999; }
.accordion-btn.active .accordion-icon { transform: rotate(180deg); color: #4CBB8D; }

.accordion-content {
    padding: 0 25px; 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-out;
    background: #fff; 
    color: #555; 
    font-size: 14px; 
    line-height: 1.8;
}

@media (max-width: 480px) {
    .scroll-btn { display: none !important; }
    .category-card { flex: 0 0 120px; width: 120px; border-radius: 12px; }
    .category-card img { height: 70px; padding: 8px; }
    .category-card .title { font-size: 11px; height: 40px; padding: 2px 5px; line-height: 1.1; }
    .benefits-grid { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}