/* Temel Ayarlar ve Yumuşak Kaydırma (Smooth Scroll) */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fcfbf7;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* Linkleri Düzeltme (Mavi Renk İptali) */
a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

/* Navigasyon */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    font-weight: 300;
    color: #8e7f68;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

/* Linklerin Altını Çizme Efekti */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8e7f68;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #8e7f68;
}

/* Hero Bölümü */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Paralaks efekti */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #8e7f68;
    color: white;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #6d614f;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Ortak Bölüm Ayarları */
.section-padding {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

.line {
    width: 60px;
    height: 3px;
    background: #8e7f68;
    margin: 15px auto;
}

/* Galeri (Koleksiyon) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Hakkımızda & İletişim */
.about-content, .contact-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.contact-details {
    margin-top: 30px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-details p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-link {
    color: #8e7f68;
    font-weight: 600;
}

.contact-link:hover {
    color: #6d614f;
    text-decoration: underline;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px 0;
}/* --- DOKU BÜYÜTEÇ EFEKTİ --- */

/* Resim alanını ayarlama */
.card-img {
    position: relative; /* İçindeki pencerenin konumunu hizalamak için şart */
    overflow: hidden; /* Dışarı taşmaları engeller */
}

/* Arka planı hafif karartma (Dokunun öne çıkması için) */
.card-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Siyah transparan bir tül */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Küçük Doku Penceresi (Varsayılan olarak gizli) */
.texture-popup {
    position: absolute;
    top: 50%; /* Tam ortaya hizalar */
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5); /* Ortalar ve küçültür */
    width: 160px; /* Pencere boyutu */
    height: 160px;
    border-radius: 50%; /* Yuvarlak (büyüteç gibi) yapar. Kare istersen 10px yapabilirsin */
    border: 4px solid #fff; /* Beyaz şık bir çerçeve */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Tatlı bir yaylanma efekti */
    z-index: 2;
}

/* Fare ile üzerine gelince olacaklar (Hover) */
.card:hover .card-img::before {
    opacity: 1; /* Arka planı hafif karart */
}

.card:hover .texture-popup {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1); /* Pencereyi büyüterek göster */
}/* --- PROJE DETAY SAYFASI VE YÜKLEME EKRANI --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: #fcfbf7;
    overflow-y: auto;
}

/* Şık Yükleme Ekranı (Siyah arka plan) */
.modal-loader {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-color: #1a1a1a; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    z-index: 2001; 
    transition: opacity 0.5s ease;
}

/* Altın Rengi Yükleme Çemberi */
.spinner {
    width: 60px; height: 60px; 
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%; 
    border-top-color: #8e7f68; 
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.modal-content {
    opacity: 0; 
    transition: opacity 0.8s ease; 
    padding-bottom: 80px;
}

/* Kapatma Çarpısı */
.close-btn {
    position: fixed; 
    top: 20px; right: 40px; 
    font-size: 50px; 
    color: white; /* Resmin üzerinde beyaz dursun */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    cursor: pointer; 
    z-index: 2002; 
    transition: 0.3s;
}
.close-btn:hover { color: #8e7f68; transform: scale(1.1); }

/* Dev Görsel Alanı */
.modal-image {
    width: 100%; 
    height: 70vh; 
    background-size: cover; 
    background-position: center;
    position: relative;
}

/* Detaylar Kutusu */
.modal-details {
    max-width: 1000px; 
    margin: -80px auto 0; /* Resmin üzerine hafifçe biner, şık durur */
    background: white;
    padding: 50px; 
    border-radius: 10px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative; 
    z-index: 10;
}

.modal-details h2 { 
    font-size: 2.5rem; 
    margin-bottom: 40px; 
    text-align: center; 
}

.details-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
}

.detail-box h3 { 
    color: #8e7f68; 
    margin-bottom: 15px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .details-grid { grid-template-columns: 1fr; }
    .modal-details { margin: -30px 20px 0; padding: 30px; }
}