/* 
 * Java HEADER CSS
 * java.zamkinos.com/assets/css/header.css
 * Header bileşeni için özel stil dosyası
 */

/* HEADER STYLES */
.main-header {
    background: radial-gradient(circle at 20% 20%, #002c1e, #003f2a, #005235);
    color: white;
    padding: 0.8rem 0;
    border-bottom: 2px solid rgba(243, 173, 26, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Aşağıdaki satırı ekleyin: Header'ın asla sabitlenmemesini sağlar */
    position: static !important;
    top: auto !important;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.logo-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(243, 173, 26, 0.4);
    box-shadow: 0 0 15px rgba(243, 173, 26, 0.3);
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.logo-container:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(243, 173, 26, 0.5);
    border-color: rgba(243, 173, 26, 0.6);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.1);
}

.brand-text {
    color: white;
}

.brand-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 200, 0, 0.8);
    background: linear-gradient(90deg, #ffd700, #ffa500, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.brand-text .subtitle {
    font-size: 14px;
    color: #f3ad1a;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(243, 173, 26, 0.4);
    margin: 0;
    line-height: 1;
}

/* PILL BUTON STİLLERİ */
.pill-buttons {
    display: flex;
    gap: 8px;
    margin-right: 20px;
    align-items: center;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
    min-width: 70px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    line-height: 1.2;
    height: 28px;
}

/* Home Butonu */
.pill-home {
    background: linear-gradient(90deg, #223240, #223240);
    color: #93D94E; /* Görünen yazı rengi */
    border-color: rgba(147, 217, 78, 0.5);
}

.pill-home:hover {
    background: linear-gradient(90deg, #00150e, #002419);
    color: #ffa500;
    transform: none;
}

/* Blackboard Butonu */
.pill-blackboard {
    background: linear-gradient(90deg, #223240, #223240);
    color: #93D94E; /* Görünen yazı rengi */
    border-color: rgba(147, 217, 78, 0.5);
}

.pill-blackboard:hover {
    background: linear-gradient(90deg, #00150e, #002419);
    color: #ffa500;
    transform: none;
}

/* Arcanus Butonu */
.pill-arcanus {
    background: linear-gradient(90deg, #223240, #223240);
    color: #93D94E; /* Görünen yazı rengi */
    border-color: rgba(147, 217, 78, 0.5);
}

.pill-arcanus:hover {
    background: linear-gradient(90deg, #00150e, #002419);
    color: #ffa500;
    transform: none;
}

/* ARAMA KUTUSU PILL STİLİ - CLASSIC */
.search-box {
    display: flex;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-box input {
    border: none;
    background: transparent;
    color: #e0e0e0;
    outline: none;
    flex: 1;
    min-width: 180px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #b0b8c0;
}

.search-box button {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

/* Classic Golden Pill */
.search-box.pill-classic {
    border-radius: 25px;
    border: 2px solid rgba(243, 173, 26, 0.4);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.search-box.pill-classic:hover {
    border-color: #f3ad1a;
    box-shadow: 0 5px 20px rgba(243, 173, 26, 0.3);
}

.search-box.pill-classic input {
    padding: 8px 20px 8px 20px;
    background: transparent;
    font-size: 14px;
}

.search-box.pill-classic button {
    padding: 8px 25px;
    border-radius: 0 25px 25px 0;
    background: linear-gradient(90deg, #f3ad1a, #ffd700);
    color: #003f2a;
    font-size: 14px;
    font-weight: 700;
}

.search-box.pill-classic button:hover {
    background: linear-gradient(90deg, #d6950a, #f3ad1a);
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .pill-buttons {
        margin-right: 0;
        order: 2;
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }
    
    .pill-btn {
        padding: 6px 15px;
        font-size: 13px;
        min-width: 85px;
        height: 26px;
    }
    
    .logo-container {
        width: 50px;
        height: 50px;
    }
    
    .brand-text h1 {
        font-size: 20px;
    }
    
    .brand-text .subtitle {
        font-size: 12px;
    }
    
    .search-box {
        width: 100%;
        order: 3;
        margin-top: 10px;
    }
    
    .search-box.pill-classic {
        height: 36px;
    }
    
    .search-box input {
        min-width: auto;
        flex: 1;
        font-size: 13px;
    }
    
    .search-box.pill-classic input {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .search-box.pill-classic button {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* Tablet görünümü */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-container {
        padding: 0 15px;
    }
    
    .pill-btn {
        padding: 7px 16px;
        font-size: 13px;
        min-width: 90px;
    }
    
    .search-box input {
        min-width: 180px;
    }
}