/**
 * Ufuk Hayvancılık - Ana Stil Dosyası
 * Temel Renkler: #0a5864 (Koyu Yeşil), #5A8456 (Açık Yeşil), #d8e2dc (Arka Plan)
 */
/* ==========================================================================
   1. Genel Ayarlar (Main Section)
   ========================================================================== */
html *, body {
    font-family: "Google Sans Flex", sans-serif;
}
.bi { font-family: bootstrap-icons !important; }
html {
    background-color: #d8e2dc;
}
body {
    max-width: 1196px;
    margin: 0 auto;
    padding: 0;
    -webkit-user-select: none; /* Metin seçmeyi engelle */
    -ms-user-select: none;
    user-select: none;
}
body a {
    text-decoration: none;
    transition: color 0.3s ease;
}
body a:hover {
    color: #5A8456;
}
/* Özel Çizgi Tasarımı */
.featurette-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, red 25px, #0a5864 25px);
}
/* ==========================================================================
   2. Header & Navigasyon
   ========================================================================== */
header {
    background-color: #fff;
    padding: 20px;
}
#ut-block {
    background-color: #0a5864;
    color: #fff;
    height: 6px;
}
/* ==========================================================================
   3. Carousel (Sürgülü Görsel Alanı)
   ========================================================================== */
.carousel-item {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none; /* Görsel sürüklemeyi engelle */
}
.carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    text-align: center;
}
/* Caption Animasyonları */
.caption-bg {
    display: inline-block;
    background-color: rgba(17, 75, 95, 0.25);
    padding: 20px;
    border-radius: 0;
    backdrop-filter: blur(6px);
    opacity: 0;
}
.carousel-item.active .caption-bg {
    animation: zoomIn 0.8s forwards;
}
.caption-title {
    opacity: 0;
    font-size: 2.5rem;
}
.carousel-item.active .caption-title {
    animation: slideTopGlow 1s forwards;
    animation-delay: 0.3s;
}
.caption-sub {
    opacity: 0;
    font-size: 1.25rem;
}
.carousel-item.active .caption-sub {
    animation: slideFadeUp 1s forwards;
    animation-delay: 0.8s;
}
/* ==========================================================================
   4. İçerik Bölümleri (Info, Gallery, Map)
   ========================================================================== */
#info, #gallery {
    background-color: #ebf2fa;
    padding: 30px 20px;
}
#gallery {
    padding: 4px;
}
#contact {
    background-color: #fff;
    padding: 30px 20px;
    text-decoration: none;
}
/* Harita Filtresi */
.map-container iframe {
    filter: grayscale(90%) brightness(100%);
    width: 100%;
    height: 500px;
    margin-bottom: -7px;
    border: none;
}
/* ==========================================================================
   5. Footer & Alt Bilgi (Bottom Block)
   ========================================================================== */
footer {
    background-color: #fff;
    padding: 20px;
    font-size: 13px;
}
footer a {
    color: #000;
    text-decoration: none;
}
#ub-block {
    background-color: #0a5864;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
}
#tarih { text-align: right; }
#counter { text-align: left; }
/* ==========================================================================
   6. Animasyon Tanımları (Keyframes)
   ========================================================================== */
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideTopGlow {
    0%   { opacity: 0; transform: translateY(-40px); }
    60%  { opacity: 1; transform: translateY(0); text-shadow: 0 0 15px rgba(255,255,255,0.8); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
   7. Mobil Uyumluluk (Responsive)
   ========================================================================== */
@media (max-width: 768px) {
    .caption-bg { padding: 12px; border-radius: 6px; }
    .caption-title { font-size: 1.5rem; }
    .caption-sub { font-size: 0.9rem; }
    .map-container iframe { height: 340px; }
    #ut-block { background-color: #0a5864; color: #fff; padding: 8px 20px; height: auto; }
    #ut-block i, #ut-block span { color: #ffffff !important; text-decoration: none; }
}