/* ==========================================================
   Çiloğlu Şirketler Grubu - İç Sayfalar Ortak CSS
   (hakkımızda, vizyon, misyon, iş ortaklarımız, haberler,
    galeri, iletişim, ortak-detay, 404 sayfalarında kullanılır)
   ========================================================== */

/* Kurumsal Renk Paleti */
        :root {
            --brand-blue: #0A2440; /* Koyu Lacivert */
            --brand-gold: #C2A059; /* Altın/Dore Tonu */
            --light-bg: #f8f9fa;
        }

        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            color: #333;
            overflow-x: hidden;
            margin-top: 0;
            background-color: #fff;
        }

        /* İÇ SAYFA NAVBAR (SABİT BEYAZ) */
        .navbar {
            background-color: #fff !important;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1050;
            padding: 8px 0;
        }

        .navbar-logo {
            filter: none;
        }

        .navbar-toggler {
            border-color: rgba(10, 36, 64, 0.2) !important;
            padding: 6px 10px;
        }

        .navbar .nav-link {
            color: var(--brand-blue) !important;
            font-weight: 600;
            transition: color 0.3s ease;
            padding: 8px 15px !important;
        }

        .navbar .dropdown-toggle::after {
            color: var(--brand-blue);
        }

        .navbar .nav-link:hover {
            color: var(--brand-gold) !important;
        }

        @media (min-width: 992px) {
            .navbar .nav-item.dropdown:hover .dropdown-menu {
                display: block;
                margin-top: 0;
                animation: smoothFadeIn 0.3s ease forwards;
            }
        }

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

        /* İÇ SAYFA BANNER ALANI */
        .page-banner {
            background-size: cover;
            background-position: center;
            background-color: var(--brand-blue);
            padding: 160px 0 80px 0;
            color: #fff;
            text-align: center;
        }

        .page-banner h1 {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .breadcrumb-wrap a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: color 0.2s;
        }
        .breadcrumb-wrap a:hover { color: var(--brand-gold); }
        .breadcrumb-wrap span { color: var(--brand-gold); }

        /* Başlıklar */
        h2.section-title {
            color: var(--brand-blue);
            font-weight: bold;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }
        h2.section-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--brand-gold);
        }

        /* SOSYAL MEDYA BUTONLARI */
        .social-media-box { margin-top: 20px; }
        .social-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background-color: #fff;
            color: var(--brand-blue);
            font-size: 1.3rem;
            margin-right: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.06);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            text-decoration: none;
            border: 1px solid #eef2f5;
        }
        .social-btn.facebook:hover { background-color: #1877F2; color: #fff; transform: translateY(-4px); }
        .social-btn.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; transform: translateY(-4px); }

        .site-map-links a { transition: color 0.2s ease, padding-left 0.2s ease; }
        .site-map-links a:hover { color: var(--brand-gold) !important; padding-left: 5px; }

        /* MOBİL SABİT BUTONLAR */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: #fff;
            border-radius: 50%;
            text-align: center;
            font-size: 32px;
            box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.25);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .whatsapp-float:hover { transform: scale(1.1); color: #fff; }

        footer {
            background-color: var(--brand-blue);
            color: white;
            padding: 30px 0;
            border-top: 3px solid var(--brand-gold);
        }

        /* RESPONSIVE */
        @media (max-width: 991.98px) {
            .page-banner { padding: 130px 0 60px 0; }
            .page-banner h1 { font-size: 2rem; }
            .navbar-offcanvas { width: 280px !important; background-color: var(--brand-blue) !important; border-left: 2px solid var(--brand-gold); }
            .navbar-offcanvas .nav-link { color: #fff !important; font-size: 1.1rem; padding: 12px 15px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 5px; }
            .navbar.scrolled .navbar-offcanvas .nav-link, .navbar .navbar-offcanvas .nav-link { color: #fff !important; }
            .navbar-offcanvas .dropdown-menu { background-color: rgba(0, 0, 0, 0.15) !important; border: none; padding-left: 15px; }
            .navbar-offcanvas .dropdown-item { color: rgba(255,255,255,0.85) !important; }
            .whatsapp-float { width: 50px; height: 50px; font-size: 26px; bottom: 20px; right: 20px; }
        }

/* ===== vizyon.php - sayfaya özel bileşen stilleri ===== */
.vision-card {
            border: none;
            box-shadow: 0 10px 30px rgba(10, 36, 64, 0.04);
            border-radius: 16px;
            transition: transform 0.3s;
            background: #fff;
        }

.vision-card:hover { transform: translateY(-5px); }


/* ===== misyon.php - sayfaya özel bileşen stilleri ===== */
.value-box {
            padding: 30px;
            background-color: var(--light-bg);
            border-radius: 12px;
            border-left: 4px solid var(--brand-gold);
            height: 100%;
        }


/* ===== is-ortaklarimiz.php - sayfaya özel bileşen stilleri ===== */
.partner-card {
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #fff;
            height: 100%;
            display: flex;
            flex-direction: column;
            border: 1px solid #f0f0f0;
        }

.partner-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(10, 36, 64, 0.1);
        }

.partner-logo-wrap {
            padding: 30px;
            background-color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 160px;
            border-bottom: 1px solid #f5f5f5;
        }

.partner-logo-wrap img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

.partner-card:hover .partner-logo-wrap img {
            transform: scale(1.05);
        }

.btn-partner-view {
            background-color: var(--brand-blue);
            color: #fff;
            font-weight: 600;
            border: none;
            padding: 10px 20px;
            width: 100%;
            transition: all 0.3s;
        }

.btn-partner-view:hover {
            background-color: var(--brand-gold);
            color: #fff;
        }


/* ===== haberler.php - sayfaya özel bileşen stilleri ===== */
.news-card {
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #fff;
            height: 100%;
        }

.news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(10, 36, 64, 0.1);
        }

.news-img-wrap {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16/10;
        }

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

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

.news-date {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: var(--brand-gold);
            color: #fff;
            padding: 5px 12px;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 4px;
        }

.news-card .card-title a {
            color: var(--brand-blue);
            text-decoration: none;
            font-weight: 700;
            transition: color 0.2s;
        }

.news-card .card-title a:hover {
            color: var(--brand-gold);
        }


/* ===== galeri.php - sayfaya özel bileşen stilleri ===== */
.gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            aspect-ratio: 4/3;
            box-shadow: 0 6px 20px rgba(0,0,0,0.04);
            cursor: pointer;
        }

.gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

.gallery-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(10, 36, 64, 0.9), rgba(10, 36, 64, 0.2));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

.gallery-overlay i {
            color: #fff;
            font-size: 2rem;
            transform: scale(0.7);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item:hover .gallery-overlay i { transform: scale(1); }


/* ===== iletisim.php - sayfaya özel bileşen stilleri ===== */
.contact-info-card {
            padding: 25px;
            background-color: var(--light-bg);
            border-radius: 12px;
            border-top: 4px solid var(--brand-blue);
            height: 100%;
        }

.contact-info-card i {
            color: var(--brand-gold);
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

.form-control:focus {
            border-color: var(--brand-gold);
            box-shadow: 0 0 0 0.25rem rgba(194, 160, 89, 0.2);
        }

.btn-brand-submit {
            background-color: var(--brand-blue);
            color: #fff;
            font-weight: 600;
            padding: 10px 30px;
            border-radius: 6px;
            transition: all 0.3s;
            border: none;
        }

.btn-brand-submit:hover {
            background-color: var(--brand-gold);
            color: #fff;
        }


/* ===== ortak-detay.php - sayfaya özel bileşen stilleri ===== */
.partner-detail-img {
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

.info-spec-box {
            background-color: var(--light-bg);
            border-left: 4px solid var(--brand-gold);
            padding: 20px;
            border-radius: 0 12px 12px 0;
        }

.btn-web-visit {
            background-color: var(--brand-blue);
            color: white;
            font-weight: 600;
            padding: 10px 24px;
            border-radius: 6px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s;
        }

.btn-web-visit:hover { background-color: var(--brand-gold); color: white; }

.app-download-btn {
            background-color: #111;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            font-size: 0.85rem;
            transition: background-color 0.2s;
        }

.app-download-btn:hover { background-color: var(--brand-gold); color: white; }

.app-download-btn i { font-size: 1.6rem; margin-right: 10px; }

/* Özel sayfa içerik alanı (admin panelde oluşturulan sayfalar) */
.custom-page-content { line-height: 1.8; color: #333; }
.custom-page-content h2, .custom-page-content h3 { color: var(--brand-blue); font-weight: 700; margin-top: 1.5rem; }
.custom-page-content img { max-width: 100%; border-radius: 10px; margin: 15px 0; }
.custom-page-content a { color: var(--brand-gold); }
