/* modern-custom.css - Combined styles for Hakkimizda and Iletisim pages */

/* ===== Hakkimizda Sayfa Stilleri ===== */

/* Sabit arka plan - mevcut yapÄ± korundu */
.bcgrndlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 10, 30, 0.72) 0%, rgba(10, 30, 60, 0.80) 100%),
                url('/images/backgroundindex.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Hero alanÄ± */
.about-hero {
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.about-hero-badge .bi {
    font-size: 0.9rem;
}

/* BaÅŸlÄ±k - mevcut #AboutUsH1 ID Ã¼zerine kurulu */
#AboutUsH1 {
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #e2e8f0 0%, #93c5fd 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 auto !important; /* site.css'ten gelen margin-left:27% engelini kaldÄ±rÄ±yoruz */
    text-shadow: none;
    text-align: center !important;
    width: 100%;
    display: block;
}

.about-hero-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    border-radius: 4px;
    margin: 22px auto 0;
}

/* Ä°Ã§erik kartÄ± */
.about-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 44px 52px;
    margin-top: 36px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Sol dekoratif Ã§izgi */
.about-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: linear-gradient(180deg, #60a5fa, #a78bfa, #f472b6);
    border-radius: 0 4px 4px 0;
}

/* SaÄŸ Ã¼st dekoratif daire */
.about-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Paragraf icon satÄ±rÄ± */
.about-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    margin-top: 32px;
}

.about-section-label:first-of-type {
    margin-top: 0;
}

.about-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
    border: 1px solid rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #93c5fd;
}

.about-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
}

/* Paragraflar - mevcut #AboutUsP ve #AboutUsP1 ID'leri Ã¼zerine kurulu */
#AboutUsP,`n#AboutUsP1 {`n    color: #f1f5f9 !important;
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
    text-align: justify;
    text-indent: 0 !important;
    font-weight: 400 !important;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Paragraf ayÄ±rÄ±cÄ± */
.about-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
    margin: 28px 0;
}

/* Alt istatistik / Ã¶zellik kartlarÄ± */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.about-stat-card {
    background: rgba(15, 23, 42, 0.50);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(96, 165, 250, 0.08);
}

.about-stat-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.about-stat-icon.blue   { color: #60a5fa; }
.about-stat-icon.purple { color: #a78bfa; }
.about-stat-icon.pink   { color: #f472b6; }

.about-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-top: 6px;
}

.about-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-top: 4px;
}

@keyframes aboutFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.about-animate {
    animation: aboutFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.about-animate-delay-1 { animation-delay: 0.1s; }
.about-animate-delay-2 { animation-delay: 0.22s; }
.about-animate-delay-3 { animation-delay: 0.34s; }
.about-animate-delay-4 { animation-delay: 0.48s; }

/* Responsive */
@media (max-width: 768px) {
    .about-card {
        padding: 30px 22px;
    }

    #AboutUsH1 {
        font-size: 2.1rem !important;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #AboutUsH1 {
        font-size: 1.7rem !important;
    }

    .about-card {
        padding: 24px 16px;
    }
}


/* ===== Iletisim Sayfa Stilleri ===== */

/* Sabit arka plan */
.contact-bg {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(5, 10, 30, 0.75) 0%, rgba(10, 30, 60, 0.82) 100%),
                url('/images/Iletisim.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Hero */
.contact-hero {
    padding: 72px 0 36px;
    text-align: center;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

#contactH1 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #e2e8f0 0%, #93c5fd 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

.contact-hero-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    border-radius: 4px;
    margin: 20px auto 0;
}

/* Ana kart stili */
.contact-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

.contact-card::before {
    content: '';
    position: absolute;
    left: 0; top: 30px; bottom: 30px;
    width: 4px;
    background: linear-gradient(180deg, #60a5fa, #a78bfa, #f472b6);
    border-radius: 0 4px 4px 0;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Grid dÃ¼zeni */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

/* Harita */
.contact-map-img {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    border: 1px solid rgba(148,163,184,0.15);
    transition: opacity 0.3s;
}

.contact-map-img:hover { opacity: 0.85; }

/* BÃ¶lÃ¼m etiketleri */
.contact-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-section-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(96,165,250,0.2), rgba(167,139,250,0.2));
    border: 1px solid rgba(96,165,250,0.3);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #93c5fd;
}

.contact-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
}

/* Ä°letiÅŸim bilgi satÄ±rlarÄ± */
.contact-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148,163,184,0.1);
    color: #cbd5e1;
    text-decoration: none !important;
    word-break: break-word; /* Uzun E-posta veya adreslerin taşmasını önler */
}

.contact-info-row:last-child { border-bottom: none; }

.contact-info-row a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 0.95rem;
    transition: color 0.2s;
    word-break: break-all; /* Özellikle boşluksuz metinler için çok önemli */
}

.contact-info-row a:hover { color: #93c5fd !important; border-bottom: none !important; }

.contact-info-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(30,41,59,0.6);
    border: 1px solid rgba(148,163,184,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #93c5fd;
}

.contact-info-icon img {
    width: 22px; height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.75);
}

.contact-info-text { font-size: 0.95rem; color: #cbd5e1; }
.contact-info-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 2px;
}

/* Form stilleri */
.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.contact-form-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 28px;
}

.contact-form-group { margin-bottom: 18px; }

.contact-form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #93c5fd;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
    text-indent: 0 !important;
}

.contact-form-control {
    width: 100%;
    background: rgba(15,23,42,0.6) !important;
    border: 1px solid rgba(148,163,184,0.2) !important;
    border-radius: 10px !important;
    color: #e2e8f0 !important;
    padding: 10px 14px !important;
    font-size: 0.92rem !important;
    transition: border-color 0.25s, box-shadow 0.25s !important;
    text-indent: 0 !important;
}

.contact-form-control::placeholder { color: #475569 !important; }

.contact-form-control:focus {
    border-color: rgba(96,165,250,0.5) !important;
    box-shadow: 0 0 0 3px rgba(96,165,250,0.12) !important;
    outline: none !important;
    background: rgba(15,23,42,0.75) !important;
}

.contact-form-control option { background: #0f172a; color: #e2e8f0; }

.contact-check-row {
    display: flex;
    align-items: flex-start; /* mobilde metin alt satıra geçerse checkbox yukarda kalsın */
    gap: 10px;
    margin-bottom: 12px;
}

.contact-check-row input[type="checkbox"] {
    width: 17px; height: 17px;
    accent-color: #60a5fa;
    flex-shrink: 0;
    cursor: pointer;
    margin-top: 3px;
}

.contact-check-row label {
    font-size: 0.85rem;
    color: #94a3b8;
    cursor: pointer;
    text-indent: 0 !important;
    line-height: 1.4;
    word-break: break-word; /* dar ekranda sağa taşmaları önler */
}

.contact-check-row label a {
    color: #60a5fa !important;
    border-bottom: none !important;
    font-style: italic;
}

.contact-check-row label a:hover { color: #93c5fd !important; }

.contact-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.2), transparent);
    margin: 20px 0;
}

/* Butonlar */
.contact-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 11px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
    text-decoration: none !important;
}

.contact-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(59,130,246,0.4);
}

.contact-btn-newsletter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    text-decoration: none !important;
    white-space: nowrap;
}

.contact-btn-newsletter:hover { opacity: 0.88; transform: translateY(-1px); }

/* Newsletter input grubu */
.newsletter-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-input-group .contact-form-control {
    flex: 1;
    min-width: 200px;
}

/* Alert - inline durum mesajlarÄ± */
.contact-alert {
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.contact-alert-success {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    color: #6ee7b7;
}

.contact-alert-danger {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}

/* Newsletter kartÄ± */
.contact-newsletter-card {
    text-align: center;
    margin-bottom: 60px;
}

.contact-newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.contact-newsletter-sub {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 24px;
    text-indent: 0 !important;
}

@keyframes contactFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact-animate { animation: contactFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both; }
.contact-animate-d1 { animation-delay: 0.08s; }
.contact-animate-d2 { animation-delay: 0.18s; }
.contact-animate-d3 { animation-delay: 0.28s; }
.contact-animate-d4 { animation-delay: 0.40s; }

/* Responsive */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    #contactH1 { font-size: 2.2rem !important; }
    .contact-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
    #contactH1 { font-size: 1.7rem !important; }
    .contact-card { padding: 20px 14px; }
    
    /* Mobil cihazlarda Google reCAPTCHA'nın sağa taşmasını önleme */
    .g-recaptcha {
        transform: scale(0.85); /* Genişliği 304px'ten ~258px'e düşürür */
        transform-origin: 0 0;
    }
}

/* En dar ekranlar için (eski iPhone'lar vb. <350px) ekstra küçültme */
@media (max-width: 350px) {
    .g-recaptcha {
        transform: scale(0.72);
        transform-origin: 0 0;
    }
}

/* Navbar Görsel Geliştirmeleri */
#navy {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%) !important;
    border-bottom: none !important;
    box-shadow: none !important;
    height: 70px !important;
    transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease !important;
}

#navy.nav-scrolled {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

/* Menü Butonu (Hamburger Icon) Genel Görünürlük Düzeltmesi */
/* Normal (koyu arka planlı) durumda beyaz ve belirgin bir ikon atıyoruz */
#navy .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%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#navy .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 6px 10px;
}

/* Sayfa aşağı kaydırıldığında (Nav beyazken) menü butonunu koyu renk yap */
#navy.nav-scrolled .navbar-toggler-icon {
    filter: none !important;
    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, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#navy.nav-scrolled .navbar-toggler {
    border-color: rgba(0,0,0,0.15) !important;
}




/* ===== Genel Yardimci Siniflar (Utility Classes) ===== */

.section-whitesmoke {
    width: 100%;
    max-width: 100%;
    background-color: whitesmoke;
}

.flex-center-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.red-line-container {
    width: 100%;
    max-width: 100%;
    border-left: solid 5px red;
}

.section-title-h1 {
    margin-bottom: 20px;
}

.home-menu-image {
    width: 100% !important;
    max-width: 570px !important;
    height: auto !important;
    min-height: 250px !important;
    aspect-ratio: 3/2;
    background-size: cover !important;
    background-position: center !important;
    margin: 0 auto !important;
    min-width: 0 !important; /* site.css'ten gelen 325px limitini eziyoruz */
}

/* Page Backgrounds and Specific Components */
.bg-fixed-galeri {
    background: url('/images/galeriarkaplan.webp') center center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.gallery-title-resimler {
    color: #fefae0;
    font-family: 'Amita', cursive;
    margin: 20px auto;
    width: 100%;
    max-width: 450px;
    font-size: 3rem;
    text-align: center;
    border-bottom: 10px double #bc6c25;
}

.gallery-img-item {
    width: 450px;
    height: 300px;
    margin: 10px;
    border: 10px solid #fefae0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-img-item:hover {
    border: 5px solid #fff;
    transform: scale(1.05);
}

.carousel-min-width {
    min-width: 400px;
}

/* Bilisim Sistemleri specific */
.animated-bg-custom {
    background-size: cover !important;
    background-position: center !important;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-oblique-black {
    font-style: oblique;
    color: black;
    text-decoration: none;
}



/* ===== Index Sayfasi Modern Bileşenler ===== */

/* --- Root Font --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Carousel İyileştirmeleri --- */
.carousel-custom-img {
    height: 75%;
    margin: auto;
}

.carousel-custom-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-custom-caption {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.carousel-caption-modern .carousel-headline {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
    margin-bottom: 6px;
    text-indent: 0;
}

.carousel-caption-modern .carousel-subline {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.92;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    margin-bottom: 18px;
    text-indent: 0;
}

.carousel-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(59,130,246,0.4);
    border-bottom: none !important;
}

.carousel-cta-btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59,130,246,0.5);
    color: #fff !important;
    border-bottom: none !important;
}

/* --- Hero Alanı (Ana başlık) --- */
.index-hero-area {
    text-align: center;
    padding: 50px 20px 30px;
}

.index-main-h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.index-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 16px;
    line-height: 1.7;
    text-indent: 0;
    text-align: center;
}

.index-hero-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    margin: 0 auto;
}

/* --- Hizmet Kartları Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 30px 0 50px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(59,130,246,0.12);
}

.service-card-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(99,102,241,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #3b82f6;
    margin-bottom: 14px;
    border: 1px solid rgba(59,130,246,0.15);
}

.service-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.service-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    flex: 1;
    text-indent: 0;
    text-align: left;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #3b82f6 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: color 0.2s, gap 0.3s;
    padding-bottom: 0 !important;
    margin-top: auto;
}

.service-card-link:hover {
    color: #1d4ed8 !important;
    gap: 10px;
    border-bottom: none !important;
}

/* --- Teklif Formu Sayfa Rengi (Light) --- */
.teklif-form-card {
    background: whitesmoke;
    border: 1px solid rgba(0,0,0,0.05); /* Çok hafif bir sınır konturu */
    border-radius: 20px; /* Köşeleri yuvarlatılmış modern görünüm */
    padding: 20px 20px 40px;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Yumuşak gölge efekti */
}

.teklif-form-card::before, 
.teklif-form-card::after {
    display: none;
}

.teklif-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.teklif-form-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    border: 1px solid rgba(59,130,246,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #3b82f6;
    margin: 0 auto 16px;
}

.teklif-form-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

/* Light Theme Input Overrides */
.teklif-form-card .contact-form-label {
    color: #334155;
}

.teklif-form-card .contact-form-control {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

.teklif-form-card .contact-form-control::placeholder {
    color: #94a3b8 !important;
}

.teklif-form-card .contact-form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
    background: #ffffff !important;
}

.teklif-form-card .contact-check-row label {
    color: #475569;
}

.teklif-form-card .contact-check-row label a {
    color: #3b82f6 !important;
}

.teklif-form-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    text-indent: 0;
    text-align: center;
}

.teklif-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.teklif-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* --- Scroll Animasyonları --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive (Hizmet Kartları) --- */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .index-main-h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .index-main-h1 {
        font-size: 1.6rem;
    }
    .index-hero-subtitle {
        font-size: 0.95rem;
    }
    .carousel-caption-modern .carousel-headline {
        font-size: 1.4rem;
    }
    .carousel-caption-modern .carousel-subline {
        font-size: 0.9rem;
    }
    .carousel-cta-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .teklif-form-card {
        padding: 28px 20px;
    }
    .teklif-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .index-main-h1 {
        font-size: 1.35rem;
    }
    .carousel-caption-modern .carousel-headline {
        font-size: 1.1rem;
    }
    .carousel-caption-modern .carousel-subline {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .carousel-cta-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
    .teklif-form-card {
        padding: 22px 14px;
    }
}

/* Eski home-section-container'ı koru (diğer sayfalar kullanıyor olabilir) */
.home-section-container {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: whitesmoke;
    gap: 30px;
}

/* site.css'ten gelen ve mobil görünümlerde taşmaya/kaymaya sebep olan ayarları eziyoruz */
.home-section-container #menu,
.home-section-container #content {
    margin: 0 !important;
    flex: 1 1 45%;
    min-width: 250px !important; /* mobil taşmasını engellemek için küçültüldü */
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 992px) {
    .home-section-container {
        flex-direction: column;
        padding: 1.5rem 1rem;
    }
    
    .home-section-container #menu,
    .home-section-container #content {
        flex: 1 1 100%;
        text-align: center;
    }
    
    .home-section-container #menu p {
        text-align: justify;
    }
}



/* ===== Galeri ve Resimler Ortak / Sayfa Ozel ===== */

.header-spacer-80 {
    height: 80px;
    background-color: transparent;
}

.galeri-navbar-white {
    background-color: white !important;
}

.galeri-navbar-white .nav-link {
    color: black !important;
}

.gallery-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-slide-item {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.gallery-slide-img {
    max-width: 430px;
    max-height: 245px;
    object-fit: cover;
}

.modal-custom-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation: animatetop 0.4s;
}

#slider img {
    width: 100%;
    display: none;
}

#slider img.active {
    display: block;
}

.form-textarea-fix {
    height: 150px;
}


/* ===== Bilisim Sistemleri Ozel ===== */

.bilisim-paragraf {
    font-family: serif;
    text-align: justify;
    font-size: 20px;
}

.bilisim-baslik {
    font-family: serif;
    font-size: 22px;
}

.bilisim-aciklama-wrapper {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.card-img-fix {
    max-height: 236px;
    object-fit: cover;
}

.input-overlay-bg {
    background-color: rgba(255,255,255,0.30);
}

.animated-background-wrapper {
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== Layout ve Ortak Bileşenler ===== */

.text-center-wrapper {
    text-align: center;
}

.navbar-logo {
    max-height: 60px;
    width: auto;
}

.no-overflow-x {
    overflow-x: hidden;
}

.main-content-reset {
    margin: 0;
    padding: 0;
}

.scroll-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

.footer-white {
    background-color: white !important;
}

.nav-link-dropdown-fix {
    border: none;
    background-color: transparent;
}


/* ===== Ekstra Yardimci Siniflar ===== */

.validation-text-small {
    font-size: .8rem;
}

.mt-20 {
    margin-top: 20px;
}

.justify-center {
    justify-content: center;
}

.display-none {
    display: none;
}

.pb-36 {
    padding-bottom: 36px;
}

.contact-icon-fix {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.newsletter-input-fix {
    justify-content: center;
}


/* ===== Ana Sayfa Orijinal Arka Planlar ve Gecisler ===== */

.index-bg-primary {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('/images/backgroundindex.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.index-bg-secondary {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('/images/daireDiafon.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.scrolling-div {
    height: 500px;
    background-color: rgba(255, 255, 255, 0);
}


/* ===== Footer ve Alt Alan Duzenlemeleri ===== */

.footer-white {
    background-color: white !important;
}

/* Index sayfasinda form ile footer arasindaki boslugu kaldirmak icin */
.section-whitesmoke.mb-0 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.section-whitesmoke.mb-0 + footer {
    margin-top: 0 !important;
}

#teklifindex.mb-0 {
    margin-bottom: 0 !important;
}

/* Scroll butonu ilk acilista kesin kapali olmali */
.scroll-top-btn {
    display: none;
}


/* ===== Kritik BoÅŸluk Resetleme ===== */

body {
    margin-bottom: 0 !important;
}

.footer {
    position: relative !important;
    bottom: auto !important;
    width: 100%;
    margin-top: 0 !important;
}

/* Index form bÃ¶lÃ¼mÃ¼nÃ¼n en alt dÄ±ÅŸ boÅŸluÄŸunu (margin) sÄ±fÄ±rla */
.section-whitesmoke.mb-0, 
#teklifindex.mb-0 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* ===== NIHAI BOSLUK COZUMU (ULTRA AGRESIF) ===== */

/* Tum ana kapsayicilarin alt bosluklarini sifirla */
body, html {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

main, .main-content-reset, .container-responsive {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Whitesmoke bolumlerinin altini sifirla */
.section-whitesmoke {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Footer'i yukari yapistir */
.footer {
    position: relative !important;
    margin-top: 0 !important;
    border-top: none !important;
    background-color: white !important;
}

#teklifindex {
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
    width: 100% !important;
    height: auto !important;
}

