/* header.css - লোগোর ব্যাকগ্রাউন্ড ছাড়া + সার্চ বক্স */

header.header-container {
    background: linear-gradient(to bottom, #5E841F, #5E841F);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin: 0;
}

/* হেডারের ভিতরের র‍্যাপার */
.header-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* লোগো র‍্যাপার */
.logo-wrapper {
    flex-shrink: 0;
}

.site-logo {
    height: 80px;
    width: auto;
    /* ব্যাকগ্রাউন্ড সরানো হয়েছে */
    /* background: white; */
    /* padding: 5px; */
    /* border-radius: 10px; */
}

/* লোগো প্লেসহোল্ডার (যদি লোগো না থাকে) */
.logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder i {
    font-size: 40px;
    color: #2c5c1c;
}

/* টাইটেল র‍্যাপার */
.title-wrapper {
    flex: 1;
    padding-left: 0;
}

.header-title {
    font-size: 38px;
    font-weight: bold;
    margin: 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-align: left;
    line-height: 1.2;
}

.header-subtitle {
    font-size: 22px;
    margin: 5px 0 0;
    color: white;
    opacity: 0.95;
    text-align: left;
    font-weight: 500;
}

/* ============================================
   সার্চ বক্স স্টাইল - ডান পাশের উপরের কোনায়
   ============================================ */

/* সার্চ বক্স কন্টেইনার */
.header-search {
    margin-left: auto;
    flex-shrink: 0;
}

/* সার্চ ফর্ম */
.search-form {
    display: inline-block;
}

/* সার্চ র‍্যাপার */
.search-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 40px;
    padding: 5px 8px 5px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.search-wrapper:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* সার্চ ইনপুট */
.search-input {
    border: none;
    padding: 8px 0;
    width: 180px;
    outline: none;
    font-size: 13px;
    color: #333;
    background: transparent;
    font-family: 'Hind Siliguri', sans-serif;
}

.search-input::placeholder {
    color: #94a3b8;
    font-size: 12px;
}

/* সার্চ বাটন */
.search-btn {
    background: #2c5c1c;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-left: 8px;
    font-size: 13px;
}

.search-btn:hover {
    background: #1e3f14;
    transform: scale(1.02);
}

.search-btn i {
    font-size: 13px;
}

/* ============================================
   রেস্পন্সিভ ডিজাইন
   ============================================ */

/* ডেস্কটপ ভিউ (1200px এর উপরে) */
@media (min-width: 1200px) {
    .header-wrapper {
        gap: 20px;
    }
    
    .site-logo {
        height: 90px;
    }
    
    .logo-placeholder {
        width: 90px;
        height: 90px;
    }
    
    .header-title {
        font-size: 42px;
    }
    
    .header-subtitle {
        font-size: 24px;
    }
    
    .search-input {
        width: 220px;
    }
}

/* ট্যাবলেট ভিউ (768px - 992px) */
@media (max-width: 992px) {
    .header-search {
        margin-left: 0;
        width: 100%;
        margin-top: 10px;
    }
    
    .search-wrapper {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .search-input {
        width: 100%;
    }
}

/* ট্যাবলেট ভিউ (max-width: 768px) */
@media (max-width: 768px) {
    header.header-container {
        padding: 10px 0;
    }
    
    .header-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .site-logo {
        height: 60px;
    }
    
    .logo-placeholder {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .logo-placeholder i {
        font-size: 30px;
    }
    
    .title-wrapper {
        text-align: center;
    }
    
    .header-title {
        font-size: 22px;
        text-align: center;
    }
    
    .header-subtitle {
        font-size: 16px;
        text-align: center;
    }
    
    .header-search {
        width: 100%;
        margin-top: 10px;
    }
    
    .search-wrapper {
        padding: 4px 6px 4px 15px;
    }
    
    .search-input {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .search-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .search-btn i {
        font-size: 12px;
    }
}

/* ছোট মোবাইল ভিউ (480px এর নিচে) */
@media (max-width: 480px) {
    .header-wrapper {
        gap: 8px;
    }
    
    .site-logo {
        height: 50px;
    }
    
    .logo-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .logo-placeholder i {
        font-size: 25px;
    }
    
    .header-title {
        font-size: 18px;
    }
    
    .header-subtitle {
        font-size: 14px;
    }
    
    .search-wrapper {
        padding: 3px 5px 3px 12px;
    }
    
    .search-input {
        font-size: 11px;
    }
    
    .search-btn {
        padding: 5px 10px;
    }
}