/* İRM Tesisat - Premium Modern Tasarım */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --ana-lacivert: #002d5b;
    --acik-mavi: #00aaff;
    --arka-plan: #f4f7fa;
    --beyaz: #ffffff;
    --yazi-koyu: #2d3748;
    --gecis: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --altin-sari: #FFD700;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--arka-plan);
    color: var(--yazi-koyu);
    display: flex;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 85px; /* PC'de varsayılan dar hal */
    height: 100vh;
    background: var(--ana-lacivert);
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    z-index: 9999;
    transition: var(--gecis);
    overflow: hidden;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

/* PC'de Hover veya Mobilde .active class'ı gelince genişle */
.sidebar:hover, .sidebar.active {
    width: 280px;
    align-items: flex-start; /* İçeriği sola hizalar */
}

.logo-alani {
    width: 100%;
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    transition: var(--gecis);
}

.logo-alani img {
    width: 50px;
    height: auto;
    transition: var(--gecis);
}

.sidebar:hover .logo-alani img, .sidebar.active .logo-alani img {
    width: 100px;
}

.sidebar nav { width: 100%; }
.sidebar nav ul { list-style: none; padding: 0; margin: 0; width: 100%; }

.sidebar nav ul li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 18px 25px;
    transition: var(--gecis);
    white-space: nowrap;
}

.sidebar nav ul li a i {
    font-size: 24px;
    min-width: 35px;
    text-align: center;
}

/* Menü Yazıları Başlangıçta Gizli */
.sidebar nav ul li a span {
    font-size: 16px;
    font-weight: 500;
    margin-left: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.sidebar:hover nav ul li a span, .sidebar.active nav ul li a span {
    opacity: 1;
    visibility: visible;
}

.sidebar nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--altin-sari);
}

/* --- ANA İÇERİK --- */
.ana-icerik {
    margin-left: 85px; /* Sidebar'ın dar hali kadar boşluk */
    width: calc(100% - 85px);
    transition: var(--gecis);
    padding-bottom: 100px;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .sidebar {
        width: 0; /* Mobilde tamamen gizli başlar */
        left: -10px;
    }
    .sidebar.active {
        width: 260px;
        left: 0;
    }
    .ana-icerik {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Menü Butonu (Mobilde sol üstte görünür) */
    .menu-ac-btn {
        position: fixed;
        top: 20px;
        left: 20px;
        background: var(--ana-lacivert);
        color: white;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        z-index: 10001;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
}

/* --- DİĞER TASARIMLAR (Lokaldeki gibi dokunulmadı) --- */
.hero-section {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,45,91,0.9) 0%, rgba(0,26,51,0.9) 100%);
    color: white;
    text-align: center;
    padding: 40px;
}

.hero-logo-large {
    width: 160px;
    background: white;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-name {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Genel Bölüm Stilleri */
.bolum {
    padding: 80px 10%;
}

.baslik-merkez {
    text-align: center;
    margin-bottom: 50px;
}

.baslik-merkez h2 {
    font-size: 2.2rem;
    color: var(--ana-lacivert);
    margin: 0;
    position: relative;
    display: inline-block;
}

.baslik-merkez h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--acik-mavi);
    border-radius: 2px;
}

/* Hakkımızda Bölümü */
.hakkimizda-bolumu {
    background: var(--beyaz);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    line-height: 1.8;
}

/* --- YENİ EKLENEN PREMİUM SAAT KARTI --- */
.saat-kart-premium {
    background: var(--beyaz);
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 45, 91, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.saat-ikon-wrapper {
    background: var(--altin-sari);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 25px;
    margin: 0 auto 25px;
    color: white;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.saat-badge {
    display: inline-block;
    background: #DCFCE7;
    color: #15803D;
    padding: 10px 30px;
    border-radius: 100px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.saat-metin {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 30px;
}

.saat-aksiyon-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ana-lacivert);
    color: white;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.saat-aksiyon-btn i { animation: sallan 2s infinite; }

@keyframes sallan {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(15deg); }
    20%, 40% { transform: rotate(-15deg); }
}

/* Hizmet Kartları */
.hizmet-galeri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.hizmet-kart {
    background: var(--beyaz);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform var(--gecis), box-shadow var(--gecis);
}

.hizmet-kart:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hizmet-resim-wrapper {
    height: 220px;
    overflow: hidden;
}

.hizmet-resim-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.hizmet-kart:hover .hizmet-resim-wrapper img {
    transform: scale(1.1);
}

.hizmet-kart h4 {
    padding: 20px;
    text-align: center;
    margin: 0;
    color: var(--ana-lacivert);
    font-size: 1.2rem;
    font-weight: 600;
}
/* Videoların resimler gibi küçük kartlarda yan yana durması için */
.hizmet-kart video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16; /* Telefon formatını korur */
    object-fit: cover;    /* Siyah boşlukları önler */
    border-radius: 12px;
    background: #000;
}

/* Hizmet kartlarının içindeki wrapper'ın videoyu kısıtlamaması için */
.hizmet-resim-wrapper {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hizmet-resim-wrapper {
    width: 100%;
    height: 350px; /* Tüm kutuları aynı boya sabitler */
    overflow: hidden;
    background: #000;
}

.hizmet-resim-wrapper img, 
.hizmet-resim-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görüntüyü kutuya tam yayar */
}
/* Yorum Kartları */
.yorum-kart {
    background: var(--beyaz);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.yorum-profil i {
    font-size: 40px;
    color: var(--acik-mavi);
}

.yorum-icerik strong {
    font-size: 1.1rem;
    color: var(--ana-lacivert);
}

.yorum-icerik p {
    margin-top: 5px;
    font-style: italic;
    color: #555;
}

/* Yorum Formu */
.yorum-form-alani h3 {
    margin-bottom: 20px;
    color: var(--ana-lacivert);
}

.form-satir input, .form-satir textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    margin-bottom: 15px;
}

.yorum-btn {
    background: var(--ana-lacivert);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.yorum-btn:hover {
    background: var(--acik-mavi);
    color: var(--ana-lacivert);
}

/* --- FLOATING ACTIONS --- */
.floating-btns {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.f-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.f-btn:hover {
    transform: scale(1.15) rotate(10deg);
}

.wp-btn { background: #25D366; }
.call-btn { background: var(--ana-lacivert); }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .sidebar { width: 0; }
    .ana-icerik { margin-left: 0; width: 100%; }
    .hero-title { font-size: 1.8rem; }
}