/* ============================================== */
/*          GLOBAL VE HEADER STİLLERİ (SADE TEMA) */
/* ============================================== */

:root {
    --primary-text: #222222;
    --secondary-text: #6c757d;
    --background-color: #ffffff;
    --light-gray-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --header-footer-bg: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--primary-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 85px; 
}

body.no-scroll {
    overflow: hidden;
}

.header {
    background-color: var(--header-footer-bg);
    padding: 15px 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    box-sizing: border-box; 
}

.header .logo h1 {
    margin: 0;
    font-size: 1.8em;
    color: var(--primary-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-text-link, .header-icon-link, .separator, .nav-links .btn {
    transition: opacity 0.3s ease;
}

.nav-text-link {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
}

.header-icon-link {
    font-size: 1.4rem;
    color: var(--primary-text);
    text-decoration: none;
    position: relative;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-text);
    border-radius: 50%;
    border: 2px solid var(--header-footer-bg);
}

.separator {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.nav-links .btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    border: 1px solid var(--primary-text);
    font-weight: 500;
}

.nav-links .btn-primary {
    background-color: var(--primary-text);
    color: white;
}

.nav-links .btn-secondary {
    background-color: transparent;
    color: var(--primary-text);
}

.close-icon {
    font-size: 2.2rem;
    font-weight: 300;
    display: none;
}

.search-active-logo {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header.search-is-active .logo,
.header.search-is-active .nav-text-link,
.header.search-is-active .separator,
.header.search-is-active #search-icon,
.header.search-is-active .notification-link,
.header.search-is-active .btn {
    opacity: 0;
    pointer-events: none;
}

.header.search-is-active .search-active-logo {
    display: block;
}

.header.search-is-active .close-icon {
    display: block;
}

.search-overlay {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    height: calc(100% - 85px);
    background-color: var(--background-color);
    z-index: 1050;
    padding-top: 40px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    visibility: visible;
    opacity: 1;
}

.search-overlay-content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--light-gray-bg);
    border-radius: 8px;
}

.search-input-container i {
    color: var(--secondary-text);
    font-size: 1.2rem;
}

.search-input-container .fa-microphone {
    position: absolute;
    left: 20px;
}

.search-input-container input {
    width: 100%;
    border: none;
    background: none;
    outline: none;
    font-size: 1.2rem;
    padding: 20px 60px;
    text-align: center;
}

.search-input-container button {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.suggested-searches {
    margin-top: 30px;
}

.suggested-searches h5 {
    color: var(--primary-text);
    font-weight: 500;
    margin-bottom: 20px;
}

.suggested-searches a {
    display: inline-block;
    text-decoration: none;
    color: var(--secondary-text);
    background-color: var(--light-gray-bg);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 0 5px 10px;
    transition: background-color 0.3s ease;
}

.suggested-searches a:hover {
    background-color: #e2e6ea;
}

.notification-modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #000;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    text-decoration: none;
    background-color: transparent;
    color: var(--primary-text);
    border: 1px solid var(--primary-text);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-button:hover {
    background-color: var(--primary-text);
    color: white;
}

.footer {
    background-color: #222;
    color: white;
    padding: 30px;
    text-align: center;
    margin-top: auto;
}

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.floating-buttons a:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366;
}

.livechat-btn {
    background-color: var(--primary-text);
}

@media (max-width: 992px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    body {
        padding-top: 150px;
    }
}