/* --- GENEL AYARLAR --- */
:root {
    --primary: #FFC107;
    --dark: #111;
    --text-dark: #333;
    --text-light: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #000; /* Alt kısımdaki beyaz boşluğu kapatmak için */
    margin-bottom: 0; /* Ekstra margin varsa sıfırla */
}

/* Footer için ek ayar */
footer {
    margin-bottom: 0 !important;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

/* --- NAVBAR --- */
.navbar {
    padding: 15px 0;
    transition: 0.3s;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Navbar Link Colors */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.6) !important; /* Default inactive color: light gray */
    transition: color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important; /* Active/Hover color: Gold */
}

/* Remove focus outline/bg */
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--primary) !important;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    background: url('../osmaniye-yol-yardim-kurtarici.jpg') no-repeat center center/cover;
    position: relative;
    /* margin-top removed to fix ScrollSpy issue */
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.fw-black {
    font-weight: 900;
}

/* --- BUTONLAR & EFEKTLER --- */
.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SAYAÇLAR --- */
.counter-box {
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .counter-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

.ls-2 { letter-spacing: 2px; }

/* --- HİZMET KARTLARI --- */
.divider {
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

.service-card {
    transition: 0.3s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
}

.service-card img {
    transition: 0.5s;
    height: 250px;
    object-fit: cover;
}

.service-card:hover img {
    transform: scale(1.1);
}

/* --- İLETİŞİM KUTUSU --- */
.cta-section {
    background: url('../toprakkale-oto-cekici-acil.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.opacity-90 {
    opacity: 0.9;
    background-color: rgba(0,0,0,0.85) !important;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-box {
    border: 2px solid var(--primary);
}

/* --- ACCORDION --- */
.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: var(--dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-button::after {
    filter: grayscale(100%);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0%);
}
