@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --ana-renk: #002E5D;      /* Logo Laciverti */
    --arkaplan: #d5cbc2;      /* Sıcak Bej */
    --beyaz: #ffffff;
}

/* --- 1. BASİT VE GARANTİ STICKY FOOTER --- */
html {
    height: 100%;
}

body {
    background-color: var(--arkaplan);
    font-family: 'Open Sans', sans-serif;
    color: var(--ana-renk);
    
    margin: 0;
    padding: 0;
    
    /* Sticky Footer Yapısı */
    display: flex;
    flex-direction: column;
    
    /* BURASI ÇOK ÖNEMLİ (iOS FIX) */
    min-height: 100vh;       /* Eski tarayıcılar için */
    min-height: 100dvh;      /* Yeni iOS ve Android için (Adres çubuğunu hesaplar) */
}

/* İçerik Alanı: Footer'ı aşağı iter */
main {
    flex: 1;
    width: 100%;
}

/* Footer Ayarı */
footer {
    background-color: var(--ana-renk) !important; 
    color: var(--beyaz);
    font-size: 0.9rem;
    
    /* Büzüşmeyi engeller */
    flex-shrink: 0; 
}

/* --- 2. NAVBAR (HEADER) --- */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--ana-renk);
    text-transform: uppercase;
}

.navbar {
    background-color: var(--arkaplan) !important;
    padding: 0.5rem 0;
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--ana-renk) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #4a6fa5 !important;
    text-decoration: none;
}

.navbar-nav .nav-link.btn-nav-teklif {
    background-color: var(--ana-renk) !important;
    color: var(--beyaz) !important;
    border-radius: 4px;
    padding: 8px 25px !important;
    margin-left: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 1 !important;
}

.navbar-nav .nav-link.btn-nav-teklif:hover {
    background-color: #001f3f !important;
    color: #ffc107 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.navbar-brand img {
    height: 125px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-toggler {
    border-color: var(--ana-renk);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 46, 93, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- 3. SLIDER (BASİTLEŞTİRİLMİŞ HERO) --- */
.hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Mobilde de tam ekran olsun, karışıklık çıkmasın */
    height: 100vh; 
    height: 100dvh; /* iOS Fix */
    min-height: 600px;
}

.absolute-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Slider Yazı Boyutları */
@media (min-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .hero-lead { font-size: 1.3rem; }
    .hero-btn { padding: 12px 30px; font-size: 1.1rem; }
    .hero-content-col { padding-left: 3rem; }
}

@media (max-width: 991px) {
    .hero-title { 
        font-size: 2rem; 
        margin-bottom: 0.5rem !important;
        line-height: 1.2;
    }
    .hero-lead { 
        font-size: 1rem; 
        margin-bottom: 1rem !important;
    }
    .hero-btn { 
        padding: 10px 15px; 
        font-size: 1rem;
        width: 100%; 
        margin-bottom: 8px;
    }
    .hero-buttons { 
        flex-direction: column; 
        gap: 5px !important; 
    }
}

/* --- 4. HİZMET KARTLARI --- */
.mt-n5 {
    margin-top: -5rem !important;
    position: relative;
    z-index: 2;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--ana-renk) !important;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ana-renk);
}

.icon-box svg {
    fill: currentColor;
    opacity: 1 !important;
}

/* --- 5. DİĞER EFEKTLER --- */
.gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.modal-backdrop.show {
    opacity: 0.85;
}

.hover-light:hover {
    opacity: 1 !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.2);
    transition: transform 0.2s;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--arkaplan);
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        border: 1px solid rgba(0, 46, 93, 0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 5px;
    }
    .navbar-nav .nav-item:last-child { border-bottom: none; }
    
    .navbar-nav .nav-link.btn-nav-teklif {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 10px;
    }
}