/* Temel Sıfırlama */
* { margin: 0; padding: 0; box-sizing: border-box; }


html {
    scroll-behavior: smooth;
}

/* Navigasyonun sayfa tepesinde sabit kalmasını isterseniz (Opsiyonel) */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Çapa linki tıklandığında başlığın altında kalmaması için boşluk bırakır */
section {
    scroll-margin-top: 80px; 
}



body {
    background-color: #f2f2f0; /* Görseldeki açık krem tonu */
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }

/* Font Stilleri */
h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin-bottom: 20px;
    color: #555;
    text-align: center;
}

/* Header */

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; font-size: 1.2rem; font-weight: bold; }
.logo img { height: 150px; margin-right: 10px; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { text-decoration: none; color: #666; font-size: 0.8rem; letter-spacing: 1px; }

/* Section Ayarları */
section { padding: 80px 0; background: #fff; margin-bottom: 10px; }
.section-subtitle { font-size: 0.7rem; letter-spacing: 2px; color: #999; margin-bottom: 10px; }

/* Galeri (Grid) */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 sütunlu yapı */
    gap: 10px;
}
.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    filter: grayscale(100%); /* Görseldeki siyah-beyaz hava için */
    transition: 0.3s;
}
.gallery-item img:hover { filter: grayscale(0%); }

/* İletişim */
.fake-map {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-image img {
	width: 100%;
}
li {
	list-style: none;
}




/* Modal (Arka Plan) */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Siyah transparan arka plan */
    backdrop-filter: blur(5px); /* Arkayı hafif bulanıklaştırır */
}

/* Modal İçerik (Görsel) */
.modal-content {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 80%;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoom 0.3s ease-out;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Kapatma Butonu */
.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Navigasyon Okları */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    text-decoration: none;
    transition: 0.3s;
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Masaüstünde gizle */
.menu-toggle, .hamburger {
    display: none;
}

/* Mobil Ayarları */
@media (max-width: 992px) {
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 2001;
    }

    /* Hamburger Çizgileri */
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: 0.4s;
    }

    /* Navigasyonu Mobil Menüye Dönüştür */
    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Başlangıçta ekranın sağında gizli */
        width: 70%;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.5s ease-in-out;
        z-index: 2000;
        padding-top: 100px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 20px 0;
    }

    /* Menü Açıldığında (Checkbox seçiliyken) */
    .menu-toggle:checked ~ nav {
        right: 0;
    }

    /* Hamburger İkonu Animasyonu (X'e dönüşme) */
    .menu-toggle:checked + .hamburger span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked + .hamburger span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .menu-toggle {
        display: none;
    }
}



/* Hero Bölümü Düzenlemesi */
.hero {
    padding-top: 100px; /* Header sabitse boşluk */
    padding-bottom: 50px;
}

/* Main Slider Ana Konteyner */
.main-slider-container {
    position: relative;
    /*max-width: 1100px;  Galeri genişliğiyle aynı */
    margin: 0 auto; /* Ortala */
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Hafif gölge */
}

/* Slider Alanı */
.main-slider {
    position: relative;
    height: 60vh; /* Yüksekliği ekrana göre ayarla */
    min-height: 400px;
}

/* Slide'lar */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Geçiş efekti */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli bozmadan sığdır */
}

/* Gezinme Okları */
.main-prev, .main-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.2); /* Arka plan */
}

.main-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.main-prev:hover, .main-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Noktalar (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #fff;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .main-slider { height: 40vh; }
    .main-prev, .main-next { padding: 10px; font-size: 18px; }
    .pupa-text {display: none}
}


#iletisim {
	padding-bottom: 50px;
}



#portfolyo .section-subtitle {
	margin-bottom: 50px;
	text-align: center;
}


.close {
    position: fixed; /* absolute yerine fixed kullanarak ekranın üstünde kalmasını sağlarız */
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px; /* Mobilde daha kolay dokunulması için büyüttük */
    font-weight: bold;
    cursor: pointer;
    z-index: 1100; /* Modal-content'ten daha yüksek bir değer olmalı */
    padding: 10px; /* Dokunma alanını genişletmek için */
}

/* Mobilde butonun konumu bazen görsellerle çakışabilir */
@media (max-width: 768px) {
    .close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}