:root {
    --brand: #0ea5e9;
    --brand-dark: #0369a1;
    --ink: #0b1220;
    --muted: #5b6576;
    --bg-gradient: linear-gradient(135deg, #e0f7ff 0%, #ffffff 100%);
    --glass: rgba(255, 255, 255, 0.75);
}

/* Genel Ayarlar */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    color: var(--ink);
    overflow-x: hidden;
}

/* Navbar */
.navbar-brand img {
    height: 53px;
    width: auto;
    border-radius: 12px;
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.navbar .fs-5 {
    letter-spacing: -0.3px;
}


/* Butonlar */
.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transition: 0.3s ease;
}

.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

/* --- MENÜ (OFFCANVAS) TASARIMI --- */
.offcanvas {
    background: linear-gradient(180deg, #f9fcff 0%, #e7f6ff 100%);
    color: var(--ink);
    border-left: 2px solid rgba(14, 165, 233, 0.15);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    backdrop-filter: blur(6px);
}

/* Başlık Alanı */
.offcanvas-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: linear-gradient(135deg, #0ea5e9, #36c1ff);
    color: #fff;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.offcanvas-header img {
    width: 180px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}

.offcanvas-title {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

/* Menü İçeriği */
.offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

/* --- ÜSTTE TELEFON VE HARİTA --- */
.menu-top {
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-top p {
    margin: 0.4rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.menu-top a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
}

.menu-top a:hover {
    text-decoration: underline;
    color: #0369a1;
}

.menu-top iframe {
    border: none;
    width: 100%;
    height: 150px;
    border-radius: .75rem;
    margin-top: .6rem;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.15);
}

/* --- MENÜ LİSTESİ --- */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.menu-list li a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 0.85rem 1.25rem;
    color: #0b1220;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.25s;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
}

.menu-list li a:hover {
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
    transform: translateX(4px);
}

.menu-list li:last-child a {
    border-bottom: none;
}

/* Emoji’ler */
.menu-list li a span {
    font-size: 1.2rem;
    line-height: 1;
}

.menu-list li a span.blue {
    color: #0ea5e9;
}

.menu-list li a span.pink {
    color: #ec4899;
}

.menu-list li a span.green {
    color: #22c55e;
}

.menu-list li a span.gold {
    color: #facc15;
}

.menu-list li a span.red {
    color: #ef4444;
}

.menu-list li a span.purple {
    color: #8b5cf6;
}

/* --- Alt Bilgi --- */
.menu-footer {
    padding: .8rem 1.25rem;
    font-size: .8rem;
    color: #64748b;
    border-top: 1px solid rgba(0, 0, 0, .05);
    text-align: center;
}

/* Kartlar */
.card {
    border: 1px solid rgba(2, 132, 199, .12);
    border-radius: 1rem;
}

.card-hover:hover {
    transform: translateY(-4px);
    transition: .25s ease;
    box-shadow: 0 16px 40px rgba(3, 105, 161, .15);
}

/* ---------------------------------------------------- */
/* KAYAN İLETİŞİM BUTONLARI (Floating Buttons) */
/* ---------------------------------------------------- */

/* Ortak Stil: Hatalı .wa-float/.tel-float ve float-btn etiket seçicileri kaldırıldı. */
.float-btn {
    position: fixed;
    right: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    /* color: #fff; <-- Genel renk buradan kaldırıldı, sınıflara taşındı. */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 1055;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* WhatsApp altta (Yeşil Arka Plan, Beyaz İkon) */
.float-btn.wa {
    bottom: 22px;
    background: #25D366;
    color: #fff;
}

/* Telefon hemen üstte (Mavi Arka Plan, Beyaz İkon - Son İstenen Ayar) */
.float-btn.tel {
    bottom: 85px;
    background: var(--brand); /* Mavi arka plan */
    color: #fff; /* Beyaz ikon */
}

/* Hover efekti */
.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    /* color: #fff; Bu satır artık yukarıdaki .float-btn.wa/.tel'de tanımlı olduğu için teknik olarak gereksizdir, ancak bırakmak sorun yaratmaz. */
}

/* Footer */
.footer {
    background: #f9fafb;
}
.footer-link {
    color: #5b6576;
    text-decoration: none;
    transition: all 0.25s ease;
}
.footer-link:hover {
    color: #0ea5e9;
    text-decoration: underline;
}
.social-link {
    font-size: 1.25rem;
    color: #0b1220;
    transition: all 0.25s ease;
}
.social-link:hover {
    color: #0ea5e9;
    transform: translateY(-2px);
}


/* İletişim Listesi Simgeleri */
.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    transition: all 0.3s ease;
}
.contact-list a:hover {
    color: #0ea5e9;
}
.icon-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

/* WhatsApp Bilgi Kutusu */
.wp-box {
    background: linear-gradient(135deg, #f8fffb, #e9fdf1);
    border: 1px solid rgba(16, 185, 129, .15);
    transition: all .3s ease;
}

.wp-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, .15);
}

/* Responsive (Menü) */
@media (max-height: 750px) {
    .menu-top iframe {
        height: 120px;
    }
}

/* --- MENÜ AÇILMA ANİMASYONU (Fade + Slide) --- */
.offcanvas.showing,
.offcanvas.hiding {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.35s ease;
}

.offcanvas.show,
.offcanvas.showing {
    opacity: 1;
    transform: translateX(0);
}

.offcanvas-backdrop.show {
    opacity: 0.4;
    background: rgba(0, 0, 0, 0.45);
    transition: opacity 0.35s ease;
}

.menu-top .btn {
    border-radius: .75rem;
    padding: 0.6rem 1rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

.menu-top .btn-success {
    background: #25D366;
    border: none;
}

.menu-top .btn-success:hover {
    background: #1da851;
}

.menu-top .btn-outline-primary:hover {
    background: #0ea5e9;
    color: #fff;
}

.menu-top .ratio iframe {
    min-height: 190px;
}

.menu-list a span {
    font-size: 1.3rem;
}

/* Offcanvas menüdeki butonlar için alt çizgi ve hover düzeni */
.offcanvas .menu-top a.btn {
    text-decoration: none !important;
    font-weight: 600;
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
    transition: all .3s ease;
}

.offcanvas .menu-top a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.15);
}

.offcanvas .menu-top a.btn-success {
    background: #25D366;
    border: none;
}

.offcanvas .menu-top a.btn-success:hover {
    background: #1da851;
}

.offcanvas .menu-top a.btn-outline-primary:hover {
    background: #0ea5e9;
    color: #fff;
}