/* --- RESET & TEMEL AYARLAR --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #c0a062;       /* Altın Sarısı (Marka Rengi) */
    --primary-dark: #a3864d;  /* Koyu Altın */
    --black: #1a1a1a;
    --dark: #222222;
    --white: #ffffff;
    --gray: #f4f4f4;
    --font-heading: 'Montserrat', sans-serif;
    --font-main: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER TASARIMI --- */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky; /* Sayfa kayınca üstte kalır */
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* --- LOGO AYARLARI --- */
.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Navigasyon Menüsü (Masaüstü) */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    position: relative;
    padding: 5px 0;
}

/* Menü Hover Efekti (Alt Çizgi) */
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
}

/* Giriş / Üye Ol Butonları */
.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    background: transparent;
    color: var(--black);
    border: 1px solid #ddd;
}
.btn-login:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.btn-register {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}
.btn-register:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Hamburger Menü (Varsayılan olarak gizli) */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--black);
}

/* =========================================
   1. FOOTER TASARIMI
   ========================================= */
footer {
    background-color: var(--black);
    color: #b0b0b0;
    padding: 70px 0 25px 0;
    margin-top: auto;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: 0.3s;
    font-size: 16px;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #b0b0b0;
    transition: 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 4px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* =========================================
   2. OFF-CANVAS MOBİL MENÜ (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    
    /* 1. Hamburger Menüyü Göster */
    .hamburger {
        display: block;
        z-index: 1003; /* En üst katman */
        position: relative;
        transition: 0.3s;
    }

    /* 2. Menü Kutusu (Sağdan Kayarak Gelecek) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Ekran dışına it */
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column; /* Alt alta diz */
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 30px 30px 30px; /* Üstten boşluk */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
        gap: 0; /* Boşlukları resetle */
        display: flex;
    }
    
    /* Menü Aktifken (İçeri girer) */
    .nav-menu.active {
        right: 0;
    }

    /* Menü Linkleri Stili */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child { 
        border-bottom: none; 
    }
    
    .nav-menu li a { 
        font-size: 16px; 
        display: block; 
        width: 100%; 
        color: var(--black); 
        padding: 15px 0;
    }
    
    /* Hover efektini mobilde sadeleştir */
    .nav-menu li a::after {
        display: none;
    }

    /* 3. Arka Plan Perdesi (Overlay) */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        backdrop-filter: blur(3px);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hamburger Aktifken (X işareti) */
    .hamburger.active {
        transform: rotate(90deg);
        color: var(--primary);
    }
    .hamburger.active i::before {
        content: "\f00d";
    }

    /* Mobilde Butonları Gizle (Menü içine alabiliriz istersen) */
    .auth-buttons { display: none; }
}
/* Resimleri tıklanamaz ve seçilemez yapar */
.protected-img, .gallery-item img, .main-image-container img {
    pointer-events: none; /* Tıklama olaylarını yok sayar */
    user-select: none;    /* Metin/resim seçimini engelle */
    -webkit-user-drag: none; /* Tarayıcı tabanlı sürüklemeyi kapatır */
}