/* GENEL AYARLAR */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { color: #333; line-height: 1.6; padding-top: 80px; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 80px 0; text-align: center; }
.bg-light { background: #f8f9fa; }
.section-title { font-size: 2.5rem; color: #004085; margin-bottom: 40px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: #FF007F; margin: 10px auto; }

/* NAVBAR */
.navbar { background: white; height: 80px; position: fixed; top: 0; width: 100%; z-index: 2000; box-shadow: 0 2px 15px rgba(0,0,0,0.1); display: flex; align-items: center; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 28px; font-weight: 800; color: #004085; text-decoration: none; }
.logo span { color: #FF007F; }
.nav-links { display: flex; list-style: none; }
.nav-links a { text-decoration: none; color: #004085; font-weight: 600; margin-left: 25px; transition: 0.3s; }
.nav-links a:hover { color: #FF007F; }

/* HERO */
.hero { height: 80vh; background: url('ana-resim.jpg') no-repeat center center/cover; position: relative; display: flex; align-items: center; justify-content: center; color: white; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 64, 133, 0.4); }
.hero-content { position: relative; z-index: 10; text-align: center; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

/* BUTONLAR */
.btn { padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-location { background: #FF007F; color: white; margin-left: 15px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* HİZMETLER DÜZENİ */
.services-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-category { background: white; padding: 25px; border-radius: 20px; border: 1px solid #eee; text-align: left; transition: 0.3s; }
.service-category:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.service-category h3 { color: #004085; margin-bottom: 20px; border-bottom: 2px solid #FF007F; padding-bottom: 10px; }
.s-item { background: #f9f9f9; padding: 12px; margin-bottom: 8px; border-radius: 8px; font-weight: 500; transition: 0.3s; border: 1px solid #f0f0f0; }
.s-item:hover { background: #FF007F; color: white; padding-left: 20px; }

/* GALERİ VE VİDEO */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.video-grid video { width: 100%; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.carousel-container { position: relative; width: 100%; overflow: hidden; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.carousel-slide { display: flex; transition: transform 0.6s ease-in-out; }
.carousel-slide img {
    max-width: 100%;
    width: 1000%;           /* Her resim kabın %100'ünü kaplasın */
    min-width: 100%;       /* Küçülmesini kesin olarak engeller */
    height: 500px;         /* Yüksekliği sabit tutar */
    object-fit: cover;     /* Resmi bozmadan çerçeveye sığdırır */
    flex-shrink: 0;        /* Resimlerin büzüşmesini önler, yan yana dizer */
}
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; padding: 15px; cursor: pointer; font-size: 20px; border-radius: 50%; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* --- SOSYAL SIDEBAR GÜNCEL KOD --- */
.social-sidebar { 
    position: fixed; 
    right: 0; 
    top: 60%; 
    transform: translateY(-50%); 
    z-index: 9999; 
}

.side-link { 
    width: 60px; /* Kapalıyken genişlik */
    height: 55px; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; /* İçeriği soldan başlatır */
    color: white; 
    text-decoration: none; 
    margin-bottom: 5px; 
    transition: width 0.3s ease-in-out; 
    border-radius: 30px 0 0 30px; 
    overflow: hidden; 
    position: relative; 
}

.side-link i {
    min-width: 60px; /* İkonun yerini kapalıyken de açıkken de sabit tutar */
    text-align: center;
    font-size: 22px;
    z-index: 5;
}

.side-link span { 
    position: absolute; 
    left: 60px; /* Yazıyı ikonun tam bittiği yerden başlatır, üst üste binmeyi önler */
    white-space: nowrap; 
    opacity: 0; 
    font-weight: 600; 
    font-size: 15px;
    transition: opacity 0.2s ease;
}

/* Üzerine gelince buton genişlesin ve yazı görünsün */
.side-link:hover { 
    width: 170px; 
}

.side-link:hover span { 
    opacity: 1; 
}

/* Renkler */
.call { background: #004085; }
.whatsapp { background: #25D366; }
.instagram { background: #E4405F; }
.youtube { background: #FF0000; }

/* Mobilde ekranı kapatmaması için ayar */
@media (max-width: 768px) {
    .side-link:hover { 
        width: 60px; /* Mobilde yana açılmayı iptal eder */
    }
    .side-link span { 
        display: none; /* Yazıları mobilde gizler */
    }
}
/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .navbar .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 10px; }
    .btn-location { margin-left: 0; }
    .carousel-slide img { height: 250px; }
    .side-link:hover { width: 60px; } /* Mobilde yana açılmasın */
}