/* =========================
   HEADER STİLLERİ
========================= */

/* Header Top - Blog Duyurusu */
.header-top {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: left;
    font-size: 0.95rem;
    padding: 6px 25px;
}

.header-top a {
    color: #B5C1CF;
    text-decoration: none;
    transition: color 0.3s;
}

.header-top a:hover {
    color: var(--accent-color);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    border-radius: 35%;
    font-family: var(--font-family);
    color: var(--badge-color);
    font-weight: 600;
    font-size: 14px;
    gap: 8px;
    background: transparent;
    box-shadow: inset 120px 0 55px -45px rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(2px);
}

/* Header Middle - Logo ve Butonlar */
.header-middle {
    background: var(--body-bg);
    padding: 2px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-middle-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-middle .logo img {
    height: 90px;
    width: auto;
}

/* Telefon Butonu */
.phone-btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #d4af37, #b88a2d);
    color: var(--text-color-light);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
    padding: 10px 20px;
    border-radius: 1px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.phone-btn i {
    font-size: 1.1rem;
}

.phone-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* WhatsApp Butonu */
.wphone-btn {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25D366;
    color: var(--text-color-light);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
    padding: 10px 20px;
    border-radius: 1px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.wphone-btn i {
    font-size: 1.1rem;
}

.wphone-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Responsive Logo & Buton */
@media (max-width: 768px) {
    .header-middle .logo img {
        height: 70px;
    }

    .phone-btn,
    .wphone-btn {
        display: none;
    }
}

/* Header Bottom - Menü */
.header-bottom {
    background-color: var(--body-bg);
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
}

.header-bottom.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.5s ease forwards;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-placeholder {
    height: 85px;
    display: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

/* Dropdown Menü */
.dropdown {
    position: relative;
}

.dropbtn {
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 20px;
    font-weight: 500;
    color: var(--primary-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--body-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    z-index: 100;
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background: var(--body-bg);
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Ana Menü */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 20px 10px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Hamburger */
.hamburger-box {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background-color: var(--body-bg);
    cursor: pointer;
    box-sizing: border-box;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 15px;
}

.hamburger-lines span {
    display: block;
    width: 35px;
    height: 1.5px;
    background-color: #545E69;
    border-radius: 2px;
}

/* Mobil Menü */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--body-bg);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.4s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.mobile-logo {
    width: auto;
    height: 75px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-content {
    padding: 20px;
    overflow-y: auto;
}

.mobile-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.mobile-content p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mobile-content ul {
    list-style: none;
    padding: 0;
}

.mobile-content li {
    margin: 10px 0;
}

.mobile-content a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.mobile-content a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1050px) {

    .main-nav,
    .dropdown,
    .header-top {
        display: none;
    }

    .mobile-menu {
        max-width: 100%;
    }
}