/* ================================================== */
/* LOREFIX NAKLİYE HİZMETLERİ STİLLERİ - TEMİZ SÜRÜM  */
/* ================================================== */

:root {
    --color-blue: #007bff;          /* LOREFIX Mavi */
    --color-pink: #ff69b4;          /* LOREFIX Pembe */
    --color-dark: #333;
    --color-light: #f4f4f4;
    --color-white: #fff;
    --header-height: 70px;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--color-light);
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.main-header {
    background: var(--color-white);
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo Stili */
.logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: bold; flex-shrink: 0;text-decoration: none !important; }
.logo-circle {
    display: inline-flex; justify-content: center; align-items: center;
    width: 22px; height: 22px; border-radius: 50%; color: var(--color-white);
    margin-right: 2px; font-size: 0.85rem; font-weight: 900;
}
.logo-circle.blue { background-color: var(--color-blue); }
.logo-circle.pink { background-color: var(--color-pink); }
.logo-text { color: var(--color-dark); margin-left: 5px; }

/* Navigasyon (Masaüstü) */
.nav-links { list-style: none; display: flex; gap: 5px; align-items: center; }
.nav-links li a {
    color: var(--color-dark);
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--transition-speed);
}
.nav-links li a:hover { 
    background-color: var(--color-blue);
    color: var(--color-white);
}

.user-status-item { display: none; }
.header-right { display: flex; gap: 10px; align-items: center; }

/* Butonlar */
.btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    white-space: nowrap;
}
.btn-primary { background-color: var(--color-blue); color: #fff; }
.btn-secondary { background-color: var(--color-pink); color: #fff; }
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
    color: var(--color-dark);
}

/* --- ANA İÇERİK --- */
.main-content {
    flex: 1;
    padding: 50px 0;
    text-align: center;
}

.main-content h1 {
    font-size: 2.5rem;
    color: var(--color-blue);
    margin-bottom: 15px;
}

.hizmet-aciklama {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Hizmet Butonları Grid */
.service-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.service-buttons button {
    background: var(--color-white);
    border: 2px solid var(--color-blue);
    border-radius: 12px;
    padding: 40px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-dark);
    transition: all var(--transition-speed);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-buttons button i {
    font-size: 3rem;
    color: var(--color-pink);
    transition: transform var(--transition-speed);
}

.service-buttons button:hover {
    border-color: var(--color-pink);
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
    background-color: #f0f7ff;
}

.service-buttons button:hover i {
    transform: scale(1.1);
}

/* --- FOOTER --- */
.main-footer {
    background: var(--color-dark);
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

.footer-links a { color: #fff; margin: 0 10px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .header-right { display: none !important; }
    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active { display: flex; }

    .user-status-item {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        padding-top: 15px;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .main-content h1 { font-size: 1.8rem; }
    .service-buttons { grid-template-columns: 1fr; gap: 15px; }
    .service-buttons button { padding: 30px 15px; }
    
    .user-status-item { flex-direction: column; }
    .user-status-item .btn { width: 100%; text-align: center; }
}

* =======================================================
    LOREFIX AÇILIR MENÜ (DROPDOWN) EK STİLLERİ
======================================================= */

.header-profile-container {
    position: relative;
    user-select: none;
}

/* Profil Tetikleyici Alan (Hizalama ve Hover) */
.header-profile-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 4px 4px 4px 15px;
    border-radius: 50px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-profile-trigger:hover {
    background: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.drop-arrow {
    font-size: 10px;
    color: #999;
    margin-left: 5px;
    transition: 0.3s;
}

/* Açılır Pencere Tasarımı */
.profile-dropdown-menu {
    display: none; /* JS ile açılacak */
    position: absolute;
    top: 55px;
    right: 0;
    background: var(--white-color);
    min-width: 220px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1001;
    padding: 10px 0;
    border: 1px solid #f0f0f0;
    animation: fadeInSlide 0.3s ease;
}

/* Açma Sınıfı */
.show-dropdown {
    display: block !important;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Menü İçindeki Başlık (İsim ve Rol) */
.dropdown-header {
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
}

.dropdown-header strong {
    font-size: 14px;
    color: var(--dark-color);
}

.user-role-text {
    font-size: 11px;
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

/* Menü Linkleri */
.profile-dropdown-menu a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 14px;
    transition: 0.2s;
}

.profile-dropdown-menu a i {
    width: 16px;
    color: #888;
}

.profile-dropdown-menu a:hover {
    background-color: #fcfcfc;
    color: var(--primary-color);
}

.profile-dropdown-menu a:hover i {
    color: var(--primary-color);
}

/* Çıkış Yap Linki Özel Rengi */
.h-logout-link {
    color: #e74c3c !important;
}

.h-logout-link:hover {
    background-color: #fff5f5 !important;
}

/* Mobil Uyumluluk Düzenlemesi */
@media (max-width: 600px) {
    .profile-dropdown-menu {
        right: -10px; /* Mobilde taşmayı önlemek için */
        width: calc(100vw - 40px);
        max-width: 280px;
    }
}

/* Header Sağ Taraf Kayıt Butonları */
.header-right-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auth {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #ffffff !important; /* Yazı rengini beyaza zorla */
}

/* Üye Kayıt Butonu (Mavi) */
.auth-user {
    background-color: var(--color-blue) !important;
}

/* Hizmet Veren Kayıt Butonu (Pembe) */
.auth-pro {
    background-color: var(--color-pink) !important;
}

.btn-auth:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}