/* ============================================================
   BEŞKÖY - GLOBAL STİLLER
   Tüm sayfalarda ortak kullanılan stiller
   ============================================================ */

/* --- CSS Değişkenleri --- */
:root {
    --primary: #15803d;
    --primary-hover: #166534;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
}

/* --- Genel Body --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #e2e8f0; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* --- Üst Bilgi Çubuğu --- */
.top-bar { background: var(--dark); color: #cbd5e1; font-size: 0.85rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar a { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.top-bar a:hover { color: #fff; }

/* --- Navigasyon --- */
.navbar { background: rgba(255,255,255,0.98); padding: 18px 0; transition: 0.4s; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.03); position: relative; }
.navbar.sticky { position: fixed; top: 0; width: 100%; padding: 12px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.08); animation: slideDown 0.5s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.navbar-brand { font-weight: 900; font-size: 1.7rem; letter-spacing: -0.5px; color: var(--dark); }
.navbar-brand span { color: var(--primary); }
.nav-link { font-weight: 700; color: #475569; padding: 10px 20px !important; border-radius: 10px; transition: 0.3s; font-size: 0.95rem; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(21,128,61,0.05); transform: translateY(-2px); }
.dropdown-menu { border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); padding: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.dropdown-item { font-weight: 700; color: #475569; border-radius: 8px; padding: 10px 20px; transition: 0.3s; }
.dropdown-item:hover, .dropdown-item.active { background: rgba(21,128,61,0.05); color: var(--primary); transform: translateX(5px); }

/* --- Ortak Buton --- */
.btn-custom { background: var(--primary); color: #fff; font-weight: 800; padding: 12px 28px; border-radius: 12px; text-decoration: none; transition: 0.4s; display: inline-flex; align-items: center; gap: 8px; border: none; }
.btn-custom:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(21,128,61,0.3); color: #fff; }

/* --- Sayfa Başlığı (Base) --- */
.page-header { padding: 100px 0; color: #fff; text-align: center; background-size: cover; background-position: center; }
.page-title { font-weight: 900; font-size: 3rem; letter-spacing: -1px; margin-bottom: 15px; }

/* --- Section Başlığı --- */
.section-title { font-weight: 900; font-size: 2.2rem; color: var(--dark); letter-spacing: -1px; margin-bottom: 30px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 50px; height: 4px; background: var(--primary); border-radius: 10px; }

/* --- Form Elementleri --- */
.form-control { border-radius: 12px; padding: 14px 20px; border: 1px solid #e2e8f0; font-weight: 500; background: #f8fafc; transition: 0.3s; }
.form-control:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21,128,61,0.1); outline: none; }
.input-group-text { background: #f8fafc; border: 1px solid #e2e8f0; border-right: none; color: #94a3b8; border-radius: 12px 0 0 12px; padding-left: 20px; }
.form-control.with-icon { border-left: none; padding-left: 10px; }
.form-label { font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 0.95rem; }

/* --- Arama Kutusu (Ortak) --- */
.search-wrapper { max-width: 600px; margin: -30px auto 40px auto; position: relative; z-index: 10; padding: 0 15px; }
.search-box { background: #fff; border-radius: 50px; padding: 8px; display: flex; align-items: center; box-shadow: 0 15px 35px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.05); }
.search-input { border: none; padding: 12px 20px; width: 100%; border-radius: 50px; outline: none; font-weight: 500; font-size: 1.05rem; }
.search-btn { background: var(--primary); color: #fff; border: none; padding: 12px 30px; border-radius: 50px; font-weight: 800; transition: 0.3s; }
.search-btn:hover { background: var(--dark); }

/* --- Footer --- */
footer { background: var(--dark); color: #cbd5e1; padding: 60px 0 30px 0; margin-top: 80px; }
.f-title { color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 25px; }
.f-link { color: #94a3b8; text-decoration: none; display: block; margin-bottom: 12px; font-weight: 600; transition: 0.3s; }
.f-link:hover { color: var(--primary); transform: translateX(5px); }

/* --- Modal Ortak --- */
.modal-content { border-radius: 24px; border: none; box-shadow: 0 25px 50px rgba(0,0,0,0.2); }
.modal-header { border-bottom: 1px solid #f1f5f9; padding: 25px; }
.modal-title { font-weight: 800; color: var(--dark); }
.modal-body { padding: 30px 25px; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .navbar-collapse { background: #fff; padding: 20px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); position: absolute; top: 100%; left: 15px; right: 15px; border: 1px solid rgba(0,0,0,0.05); }
    .nav-link { text-align: center; padding: 15px !important; border-bottom: 1px solid #f1f5f9; font-size: 1.1rem; }
    .nav-link:last-child { border-bottom: none; }
    .dropdown-menu { border: none; box-shadow: none; background: #f8fafc; margin-top: 10px; }
    .btn-custom { display: flex; width: 100%; justify-content: center; padding: 15px; font-size: 1.1rem; margin-top: 15px; }
    .page-title { font-size: 2.5rem; }
    footer { padding: 40px 0 20px 0; text-align: center; }
    .f-title { margin-top: 20px; }
    .search-box { flex-direction: column; border-radius: 20px; padding: 15px; }
    .search-input { margin-bottom: 10px; }
    .search-btn { width: 100%; border-radius: 12px; }
}

/* --- Footer WhatsApp Link --- */
.footer-phone { transition: 0.3s ease; }
.footer-phone:hover { color: #25d366 !important; transform: translateX(5px); }
