h1, h2, h3, h4, h5, h6, [tabindex] {
    outline: none !important;
}

#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}


/* Contact page: absolute transparent navbar with dark (solid) elements */
#navbar.navbar-contact {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/*
 * Contact page layout (plain CSS so desktop 50/50 is reliable even if some Tailwind
 * width utilities are missing from the bundle).
 * Mobile: column — map first, then content. Desktop: row — map left, text right.
 */
.contact-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
}

/* iframe is position:absolute — wrapper needs explicit height on small screens */
.contact-page-map {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 280px;
}

.contact-page-map-column,
.contact-page-content-column {
    width: 100%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .contact-layout {
        flex-direction: row;
    }

    .contact-page-map-column {
        display: flex;
        flex-direction: column;
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-height: 100vh;
    }

    .contact-page-content-column {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-height: 100vh;
    }

    .contact-page-map {
        height: auto;
        flex: 1 1 auto;
        min-height: 0;
    }
}

/*
 * Home — route map PNGs (tasarım boyutu 832×450). Oran korunur; mobilde genişliğe göre
 * yükseklik otomatik, masaüstünde en fazla 832px genişlik.
 */
.route-map-frame {
    width: 100%;
    max-width: 832px;
    margin-left: auto;
    margin-right: auto;
}

.route-map-frame-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 832 / 450;
    background: #fff;
    overflow: hidden;
}

.route-map-frame-inner img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.7s ease;
}

.group:hover .route-map-frame-inner img {
    transform: scale(1.02);
}

/*
 * Home — Hizmetlerimiz slider: Safari, flex satırında min()/Tailwind arbitrary width
 * ile kartın şişmesini engellemek için sabit hesap (Chrome ile aynı görünüm).
 */
.service-slider-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: max-content;
    max-width: none;
}

.service-slider-card {
    box-sizing: border-box;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    width: min(350px, calc(100vw - 2rem));
    max-width: min(350px, calc(100vw - 2rem));
    min-width: 0;
}

.service-slider-card > .relative {
    width: 100%;
    max-width: 100%;
}

.service-slider-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}


.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

@keyframes scrollSmooth {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes bounceX {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.animate-scroll-smooth {
    animation: scrollSmooth 2s ease-in-out infinite;
}

.animate-arrow-bounce {
    animation: arrowBounce 2s ease-in-out infinite;
}

.animate-bounce-x {
    animation: bounceX 1.5s ease-in-out infinite;
}

.bg-green-50 { background-color: #f0fdf4; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-purple-50 { background-color: #faf5ff; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-blue-600 { color: #2563eb; }
.text-purple-500 { color: #a855f7; }
.text-purple-600 { color: #9333ea; }
.text-purple-800 { color: #6b21a8; }
.border-purple-500 { border-color: #a855f7; }
.list-disc { list-style-type: disc; }

.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }

.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }

