/* ============================================
   İmaj Beton — Custom CSS
   Zemin: Beyaz/Gri | Aksan: Lacivert, Sarı, Bordo
   ============================================ */

/* Genel */
body {
    background-color: #f8f9fb;
    color: #1a1a2e;
    font-family: 'Inter', sans-serif;
}

/* ── Navbar ── */
.nav-link {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-link:hover, .nav-link-active {
    color: #1a2744;
    background: #f0f4ff;
}
.mobile-nav-link {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    transition: background 0.15s, color 0.15s;
}
.mobile-nav-link:hover {
    background: #f0f4ff;
    color: #1a2744;
}

/* ── Butonlar ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1a2744;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(26,39,68,0.25);
}
.btn-primary:hover {
    background: #243460;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,39,68,0.3);
}
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f5c518;
    color: #1a2744;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover {
    background: #d4a900;
    transform: translateY(-1px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #1a2744;
    color: #1a2744;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: #1a2744;
    color: #fff;
}
.btn-bordo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #7c1e1e;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: background 0.2s;
}
.btn-bordo:hover { background: #5a1515; }

/* ── Kartlar ── */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e8ecf4;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.2s;
}
.card:hover {
    box-shadow: 0 10px 40px rgba(26,39,68,0.1);
    transform: translateY(-3px);
    border-color: #c5d0e8;
}
.card-navy {
    background: #1a2744;
    border-color: #243460;
    color: #fff;
}
.card-gold-accent {
    border-left: 4px solid #f5c518;
}
.card-bordo-accent {
    border-left: 4px solid #7c1e1e;
}

/* ── Başlıklar ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7c1e1e;
    background: #fdf0f0;
    border: 1px solid #f0c5c5;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a2744;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.section-title span.accent { color: #7c1e1e; }
.section-sub {
    color: #6b7280;
    font-size: 1rem;
    max-width: 40rem;
    margin-bottom: 2.5rem;
}
.gold-bar {
    width: 48px;
    height: 4px;
    background: #f5c518;
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

/* ── Hero ── */
.hero-bg {
    background: linear-gradient(135deg, #1a2744 0%, #243460 60%, #2d3f7a 100%);
}
.hero-pattern {
    background-image: radial-gradient(circle at 20% 50%, rgba(245,197,24,0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(124,30,30,0.08) 0%, transparent 50%);
}

/* ── Stats ── */
.stat-item {
    text-align: center;
    padding: 1.5rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a2744;
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.stat-divider {
    width: 1px;
    background: #e5e7eb;
    align-self: stretch;
}

/* ── Form ── */
.form-input {
    width: 100%;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus {
    border-color: #1a2744;
    box-shadow: 0 0 0 3px rgba(26,39,68,0.08);
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
}

/* ── Hizmet Kartı ── */
.hizmet-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1.5px solid #e8ecf4;
    transition: all 0.25s;
    text-decoration: none;
    display: block;
}
.hizmet-card:hover {
    border-color: #1a2744;
    box-shadow: 0 8px 30px rgba(26,39,68,0.1);
    transform: translateY(-3px);
}
.hizmet-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #f0f4ff;
    margin-bottom: 1rem;
    transition: background 0.2s;
}
.hizmet-card:hover .hizmet-icon {
    background: #1a2744;
}

/* ── İlçe Pill ── */
.ilce-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #fff;
    border: 1.5px solid #e8ecf4;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
    text-decoration: none;
}
.ilce-pill:hover {
    border-color: #1a2744;
    background: #f0f4ff;
    color: #1a2744;
}
.ilce-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c1e1e;
    flex-shrink: 0;
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, #1a2744 0%, #7c1e1e 100%);
    border-radius: 20px;
}

/* ── Breadcrumb ── */
.breadcrumb-wrap {
    background: #fff;
    border-bottom: 1px solid #e8ecf4;
    padding: 0.6rem 0;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #9ca3af;
}
.breadcrumb-list a { color: #6b7280; }
.breadcrumb-list a:hover { color: #1a2744; }
.breadcrumb-list .current { color: #1a2744; font-weight: 600; }

/* ── Sidebar ── */
.sidebar-box {
    background: #fff;
    border: 1.5px solid #e8ecf4;
    border-radius: 16px;
    padding: 1.5rem;
}
.sidebar-cta {
    background: #1a2744;
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
}

/* ── İletişim Bilgi Satırı ── */
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.contact-row:last-child { border-bottom: none; }
.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a2744;
}

/* ── Badge ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.badge-navy { background:#eef1f9; color:#1a2744; }
.badge-gold { background:#fff8e0; color:#8a6e00; border:1px solid #f5c518; }
.badge-bordo { background:#fdf0f0; color:#7c1e1e; border:1px solid #f0c5c5; }

/* ── Animasyonlar ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Footer ── */
.footer-bg {
    background: #1a2744;
    color: #cbd5e1;
}
.footer-bottom {
    background: #0f1b2d;
}
.footer-link {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: color 0.15s;
}
.footer-link:hover { color: #f5c518; }
.footer-heading {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 1rem;
}

/* ── Top Bar ── */
.top-bar {
    background: #1a2744;
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 0.45rem 0;
}
.top-bar a { color: #f5c518; font-weight: 700; }
.top-bar a:hover { color: #fff; }

/* ── WhatsApp Float ── */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99;
    width: 54px;
    height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ── Content Article ── */
.content-article h2 { color: #1a2744; font-size: 1.4rem; font-weight: 700; margin: 1.5rem 0 0.75rem; border-left: 4px solid #f5c518; padding-left: 0.75rem; }
.content-article h3 { color: #1a2744; font-size: 1.1rem; font-weight: 600; margin: 1.25rem 0 0.5rem; }
.content-article p  { color: #4b5563; line-height: 1.8; margin-bottom: 1rem; }
.content-article ul { color: #4b5563; padding-left: 1.25rem; margin-bottom: 1rem; }
.content-article li { margin-bottom: 0.4rem; }
.content-article strong { color: #1a2744; }
.content-article a  { color: #7c1e1e; text-decoration: underline; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #1a2744; }

/* ── Selection ── */
::selection { background: #1a2744; color: #f5c518; }

/* ── Spinner ── */
.spinner {
    border: 2px solid rgba(26,39,68,0.2);
    border-top-color: #1a2744;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navbar shadow on scroll ── */
.navbar-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

/* ── Phone pulse ── */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(26,39,68,0.3); }
    70% { box-shadow: 0 0 0 10px rgba(26,39,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(26,39,68,0); }
}
.pulse { animation: pulse-ring 2s infinite; }

/* ── Hero Slider ── */
#hero-slider-desk,
#hero-slider-mob {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
#hero-slider-desk > div,
#hero-slider-mob  > div {
    min-width: 100%;
    flex-shrink: 0;
}

/* Mobil slider yüksekliği */
@media (max-width: 1023px) {
    #hero-slider-mob {
        height: 260px;
    }
    #hero-slider-mob img {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }
}

/* Masaüstü slider min-height */
@media (min-width: 1024px) {
    #hero-slider-desk,
    #hero-slider-desk > div {
        min-height: 520px;
        height: 100%;
    }
    #hero-slider-desk img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Slider dot aktif */
.desk-dot.active { background: #fff; width: 1.5rem; }
.mob-dot.active  { background: #fff; transform: scale(1.2); }

/* Hero sol içerik max genişlik */
@media (min-width: 1024px) {
    section.bg-white > .max-w-7xl > .flex > .flex-1 {
        max-width: 560px;
    }
}
