/* ---------------------------
   TEMA RENKLERİ
----------------------------*/
:root {
    --brand-orange: #FF8A5B;
    --brand-orange-2: #FFB185;
    --brand-blue: #1976D2;
    --brand-green: #43A047;
    --brand-white: #ffffff;
    --bg-body: #F6F7FB;
    --text-strong: #0F172A;
    --text-soft: #475569;
}

/* ---------------------------
   GENEL STİL
----------------------------*/
body {
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--text-strong);
    line-height: 1.6;
}

/* Başlık tipografisi */
h1, h2, h3, .home-title {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------------------------
   NAVBAR STİLLERİ – Kaldırılan eski .pet-navbar kuralları (artık kullanılmıyor)
   Not: Global .navbar ve dropdown kuralları aşağıda konsolide edildi.
----------------------------*/

/* (Önceden .pet-navbar için olan responsive kurallar kaldırıldı) */

/* ---------------------------
   FOOTER
----------------------------*/
footer {
    background: linear-gradient(180deg, #0f172a, #111827);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 3rem;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #fcd25a;
    text-decoration: none;
}

/* ---------------------------
   ANASAYFA HERO BÖLÜMÜ
----------------------------*/
.home-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.home-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: .2px;
    margin-bottom: 1rem;
}

.home-subtitle {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 2rem;
}

/* ---------------------------
   BUTON STİLLERİ – PatiHotel
----------------------------*/
.btn {
    border-radius: 9999px !important;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.18s ease, transform .08s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-primary { background-color: var(--brand-orange); border: 2px solid var(--brand-orange); color: var(--brand-white); }
.btn-primary:hover, .btn-primary:focus { background-color: #ff7a3e; border-color: #ff7a3e; color: white; transform: translateY(-1px); }

.btn-secondary { background-color: var(--brand-blue); border: 2px solid var(--brand-blue); color: var(--brand-white); }
.btn-secondary:hover, .btn-secondary:focus { background-color: #1565c0; border-color: #1565c0; color: white; transform: translateY(-1px); }

/* ---------------------------
   KAYIT FORMU
----------------------------*/
.card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 650px;
    margin: 2rem auto;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    width: 180px;
    margin: 0;
}

.form-control {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #ffab60;
    box-shadow: 0 0 0 0.2rem rgba(255, 171, 96, 0.25);
}

.btn-register {
    background-color: var(--brand-orange);
    border: 2px solid var(--brand-orange);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    display: block;
    width: 100%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-register:hover {
    background-color: #e9693b;
    border-color: #e9693b;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #444;
}

.form-check-input {
    border-radius: 3px;
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.1rem;
}

.form-check-label a {
    color: #ff7f50;
    font-weight: 600;
    text-decoration: underline;
}

.form-check-label a:hover {
    text-decoration: none;
    color: #e9693b;
}

.form-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.password-warning {
    display: block;
    margin: 0 0 0 0;
    padding-left: 150px;
    padding-bottom: 6px;
    font-size: 0.875rem;
    color: #dc3545;
    clear: both;
}

.center-button {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.input-group-text.password-toggle {
    cursor: pointer;
    background-color: #f8f9fa;
    border-left: none;
    font-size: 1.1rem;
}

.progress {
    height: 6px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    transition: width 0.4s ease;
}

.bg-danger {
    background-color: #dc3545;
}

.bg-warning {
    background-color: #ffc107;
}

.bg-success {
    background-color: #28a745;
}

/* NAVBAR GENEL STİL */
.navbar {
    background: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
    padding: 0.35rem 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px; /* NAVBAR ile içerik arası boşluk */
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: padding .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* Logo ve linklerin alt çizgi/hizalama düzeltmesi */
.navbar .navbar-brand {
    text-decoration: none !important;
    border: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.navbar .navbar-brand img {
    display: block;
    vertical-align: middle;
    height: 32px;
    width: auto;
}

.navbar .nav-link,
.navbar a {
    text-decoration: none;
}

/* Erişilebilirlik: klavye ile odak görünür olsun */
.navbar a:focus-visible,
.dropdown-item-custom:focus-visible {
    outline: 3px solid rgba(30,136,229,.6);
    outline-offset: 2px;
    border-radius: 10px;
}

/* Scroll edildiğinde hafif küçülme ve gölge güçlendirme */
.navbar.is-scrolled {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

/* Menü konteyneri: mobilde yatay kaydırma + fade ipucu */
.navbar-menu {
    position: relative;
    overflow: visible; /* dropdown taşmalarını kesme */
}

.navbar-menu::before,
.navbar-menu::after {
    content: "";
    position: sticky;
    top: 0;
    width: 18px;
    height: 48px;
    pointer-events: none;
    z-index: 5;
    display: none; /* varsayılan kapalı, sadece mobilde göster */
}

.navbar-menu::before {
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.12), rgba(0,0,0,0));
}

.navbar-menu::after {
    float: right;
    right: 0;
    background: linear-gradient(270deg, rgba(0,0,0,0.12), rgba(0,0,0,0));
}

/* NAVBAR LİSTE STİLİ (TEK SATIR - ORTA HİZALI) */
.navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none; /* Nokta işareti kaldırıldı */
    margin: 0 auto;
    padding: 0;
}

/* Menü ve dropdown listelerinde nokta/dot kaldırma ve boşluk sıfırlama */
.navbar-nav li,
.dropdown-menu-custom,
.dropdown-menu-custom ul,
.dropdown-menu-custom li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* Marker'ı kesin olarak gizle (Safari vb.) */
.dropdown-menu-custom li::marker {
    content: '';
}

.navbar-nav > li {
    scroll-snap-align: start;
}

/* MENÜ LİNK STİLİ */
.menu-link {
    color: white;
    padding: 8px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    letter-spacing: .2px;
}

/* Aktif gösterge: (kurumsal tasarım pill stiliyle yönetiliyor) */

/* Dropdown caret stili */
.menu-caret {
    margin-left: 6px;
    transition: transform .2s ease;
}
.nav-item.dropdown[aria-expanded="true"] .menu-caret,
.nav-item.dropdown .menu-link[aria-expanded="true"] .menu-caret {
    transform: rotate(180deg);
}

/* Hover efekti kurumsal.css tarafından yönetiliyor */

/* AKTİF MENÜ */
.active-menu > .menu-link {
    background-color: transparent; /* Alt çizgi ile göstereceğiz */
    color: white;
    font-weight: 700;
}

/* DROPDOWN GENEL STİLİ */
.nav-item.dropdown {
    position: relative;
}

/* DROPDOWN GÖSTERİMİ */
/* (Dropdown hover behavior is handled in corporate.css) */

/* Dropdown görünüm kuralları corporate.css'de (açık tema) */

/* Dropdown item stilleri corporate.css'de yönetiliyor */

/* DROPDOWN AÇILMA ANİMASYONU */
/* (Animation moved to corporate.css) */

/* RESPONSIVE (MOBİL) */
@media (max-width: 991.98px) {
    /* Mobile navbar behavior is handled by corporate.css */
}
