/* TGYD Web Sitesi Ön Yüz Genel Stil Dosyası */

:root {
    --primary: #0d6efd;
    --primary-hover: #0b5ed7;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --body-bg: #f8fafc;
    --card-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-bg);
    color: #475569;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

/* Navigasyon / Navbar */
.navbar {
    transition: var(--transition);
}

.nav-link {
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary) !important;
}

.btn-contact {
    transition: var(--transition);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3) !important;
}

/* Top Bar */
.top-bar {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hover-white {
    transition: var(--transition);
}

.hover-white:hover {
    color: #fff !important;
}

/* Slider / Carousel */
.carousel-item {
    height: 75vh;
    min-height: 450px;
    background: #000;
}

.carousel-item img {
    object-fit: cover;
    opacity: 0.65;
}

.carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    z-index: 10;
    text-align: left;
}

.carousel-caption h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Kartlar ve Listeler */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    transition: var(--transition);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* İstatistik / Sayaç Bölümü */
.stats-section {
    background: linear-gradient(135deg, #0d6efd 0%, #063970 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Footer Sosyal Simgeleri */
.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary) !important;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff !important;
    padding-left: 5px;
}

.small-title {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Breadcrumb / Sayfa Başlığı Alanı */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.85)), url('../uploads/header-bg.jpg') center/cover;
    color: #fff;
    padding: 80px 0;
}

.page-header h1 {
    color: #fff;
    font-weight: 800;
    font-size: 2.75rem;
}

/* Animasyonlar & Hover Sınıfları */
.hover-shadow:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

#baguetteBox-overlay .full-image img {
    border-radius: 8px;
}

/* --- Responsive (Mobil Uyumluluk) Medya Sorguları --- */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 60vh;
        min-height: 380px;
    }
    .carousel-caption h2 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    .carousel-caption p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }
    .page-header {
        padding: 50px 0;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .navbar-collapse {
        margin-top: 15px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border: 1px solid #f1f5f9;
        background-color: #fff;
    }
    .nav-link {
        padding: 8px 12px !important;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 50vh;
        min-height: 320px;
    }
    .carousel-caption h2 {
        font-size: 1.55rem;
    }
    .carousel-caption p {
        display: none; /* Mobilde çok dar alanlar için açıklamayı gizle */
    }
    .carousel-caption .btn {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
    .stats-section {
        padding: 35px 0;
    }
    .stat-item h3 {
        font-size: 2.25rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    animation: slideUpFade 0.5s ease-out forwards;
}

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