/* Taşımacılık firması - Özel stiller */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --dark-color: #1a1a2e;
    --accent-color: #e94560;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

/* Sabit navbar için üst boşluk */
body.pt-nav {
    padding-top: 76px;
}

/* Mobil uyumlu menü */
.navbar {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .nav-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-link i.nav-icon {
    margin-right: 0.35rem;
    font-size: 1.1em;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.75rem;
    }

    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

/* Menü–başlık arası boşluk kaldırıldı: header üst padding azaltıldı */
.taşımacılık-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
}

.company-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

@media (min-width: 768px) {
    .company-name {
        font-size: 2rem;
    }
}

/* Ana kartlar alanı */
.main-cards {
    flex: 1;
}

/* 3x3 Kart grid - Arka plan görseli + koyu overlay, beyaz yazı/ikon */
.card-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: opacity 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
    position: relative;
    overflow: hidden;
    background-image: url('images/button-background.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

/* Koyu overlay – yazı ve ikonların okunaklı olması için */
.card-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 16px;
    transition: background 0.3s ease;
}

.card-menu:hover::before {
    background: rgba(0, 0, 0, 0.45);
}

.card-menu.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-menu:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.card-menu.card-visible:hover {
    transform: translateY(-6px);
}

.card-menu .card-body {
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 1;
}

/* Büyük ikonlar – beyaz, hafif gölge */
.card-icon {
    font-size: 2rem;
    color: #fff;
    display: block;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-menu:hover .card-icon {
    transform: scale(1.15);
}

/* WhatsApp kartı – yeşil ikon (koyu zeminle zıt) */
.card-whatsapp .card-icon {
    color: #4ade80;
}

.card-whatsapp:hover .card-icon {
    color: #86efac;
}

/* İkon altı yazı – beyaz, hafif gölge */
.card-label {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive: Mobil için küçük, desktop için büyük */
.card-menu {
    min-height: 120px;
}

@media (min-width: 576px) {
    .card-icon {
        font-size: 2.3rem;
    }

    .card-label {
        font-size: 0.75rem;
    }

    .card-menu {
        min-height: 90px;
    }
}

@media (min-width: 768px) {
    .card-icon {
        font-size: 3rem;
    }

    .card-label {
        font-size: 1.1rem;
    }

    .card-menu {
        min-height: 160px;
    }
}

/* Alt sayfa başlığı – menü ile bitişik, boşluk yok */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
}

/* Galeri görselleri */
.galeri-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .galeri-img {
    transform: scale(1.05);
}

/* Hizmetlerimiz kart görselleri */
.hizmet-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .hizmet-img {
    transform: scale(1.05);
}

/* İletişim kartları */
.contact-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Honeypot (bot koruması): kullanıcı görmez, botlar doldurur */
.hp-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.hp-input {
    position: absolute;
    left: -9999px;
}

/* Footer – sosyal medya + hızlı iletişim */
.taşımacılık-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.footer-top {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-quick-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

@media (min-width: 768px) {
    .footer-quick-contact {
        justify-content: flex-start;
    }
}

.footer-quick-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-quick-contact a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-bottom {
    padding: 1rem 0;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Tüm cihazlarda 3x3 grid */
.row.g-4 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobilde kart padding'i küçült */
@media (max-width: 575.98px) {
    .card-menu .card-body {
        padding: 1rem 0.75rem;
    }
}