/* WebKasedi - Professional Vintage Style 
   Version: 22.0 (Advanced Profile Submission & Category Support)
   Guiding Principle: Admin panel and site core structure will never be broken.
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Montserrat:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #fcfaf7;
    --primary-brown: #5d4037;
    --light-brown: #8d6e63;
    --accent-tan: #d7ccc8;
    --text-dark: #3e2723;
    --card-white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-color); color: var(--text-dark); font-family: 'Montserrat', sans-serif; line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- TOAST NOTIFICATION --- */
#toast-container { position: fixed; top: 100px; right: 30px; z-index: 10000; }
.toast-msg { background: var(--card-white); border-left: 5px solid var(--primary-brown); padding: 15px 25px; margin-bottom: 15px; box-shadow: 0 10px 30px rgba(93, 64, 55, 0.15); min-width: 300px; transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); border-radius: 4px; display: flex; flex-direction: column; }
.toast-msg.show { transform: translateX(0); }
.toast-content strong { display: block; color: var(--primary-brown); font-size: 0.85rem; text-transform: uppercase; margin-bottom: 4px; }

/* --- NAVIGATION --- */
.main-nav { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); padding: 15px 0; border-bottom: 1px solid var(--accent-tan); position: sticky; top: 0; z-index: 9999; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--primary-brown); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 20px; }
.nav-link { text-decoration: none; color: var(--light-brown); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.nav-add-btn { text-decoration: none; background-color: var(--primary-brown); color: #fff !important; padding: 10px 22px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; transition: var(--transition); border: none; cursor:pointer; }

/* USER & ADMIN MENU */
.user-menu { display: flex; align-items: center; gap: 12px; padding-left: 15px; border-left: 1px solid var(--accent-tan); }
.user-name-link { color: var(--primary-brown) !important; font-weight: 800 !important; text-decoration: none; }
.logout-link { color: #a44c41 !important; text-decoration: none; font-size: 0.75rem; font-weight: 600; }

/* --- HERO & AUTH INTRO (BENEKLİ ARKA PLAN) --- */
.hero { 
    padding: 120px 0; 
    background-color: #f5f0e6; 
    background-image: radial-gradient(var(--accent-tan) 1px, transparent 1px); 
    background-size: 30px 30px; 
    border-bottom: 1px solid var(--accent-tan); 
    margin-bottom: 60px;
}

.auth-intro { 
    padding: 40px 0; 
    background-color: #f5f0e6; 
    background-image: radial-gradient(var(--accent-tan) 1px, transparent 1px); 
    background-size: 30px 30px; 
    border-bottom: 1px solid var(--accent-tan); 
    margin-bottom: 10px; 
}

.main-slogan { 
    font-family: 'Playfair Display', serif; 
    font-size: 4.5rem; 
    line-height: 1.1; 
    color: var(--primary-brown); 
    margin-bottom: 25px; 
    font-weight: 700;
}
.main-slogan span { font-style: italic; color: var(--light-brown); }

/* --- AVANTAJLAR (Üyelik Sayfası) --- */
.auth-features { 
    display: flex !important; 
    flex-direction: row !important;
    justify-content: space-between; 
    gap: 30px; 
    text-align: center; 
}
.feature-item { flex: 1; padding: 5px; }
.feature-icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.feature-item h3 { font-family: 'Playfair Display', serif; color: var(--primary-brown); margin-bottom: 5px; font-size: 1.3rem; }
.feature-item p { font-size: 0.85rem; color: var(--light-brown); }

/* --- PROFILE SIDEBAR --- */
.profile-sidebar { width: 280px; background: var(--card-white); border: 1px solid var(--accent-tan); padding: 30px 0; position: sticky; top: 100px; }
.user-info-brief { text-align: center; padding: 0 20px 25px; border-bottom: 1px solid #f0efeb; margin-bottom: 20px; }
.user-avatar-circle { width: 60px; height: 60px; background: var(--primary-brown); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; margin: 0 auto 15px; }
.profile-nav-link { display: block; padding: 12px 25px; text-decoration: none; color: var(--light-brown); font-size: 0.8rem; font-weight: 600; border-left: 4px solid transparent; }
.profile-nav-link:hover, .profile-nav-link.active { background: #fdfcfb; color: var(--primary-brown); border-left: 4px solid var(--primary-brown); }

/* AUTH WRAPPER & FORMS */
.auth-wrapper { display: flex; gap: 60px; justify-content: space-between; padding: 20px 0; }
.auth-box { flex: 1; background: var(--card-white); padding: 40px; border: 1px solid var(--accent-tan); box-shadow: 0 15px 40px rgba(93, 64, 55, 0.08); }
.auth-divider { width: 1px; background: var(--accent-tan); align-self: stretch; }

/* Gelişmiş Form Elemanları */
.vintage-form .form-group { margin-bottom: 20px; }
.vintage-form label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--light-brown); margin-bottom: 8px; }
.vintage-form input, .vintage-form textarea, .vintage-form select { 
    width: 100%; padding: 12px; border: 1px solid var(--accent-tan); outline: none; font-family: 'Montserrat', sans-serif; transition: var(--transition); 
}
.vintage-form input:focus, .vintage-form textarea:focus, .vintage-form select:focus { border-color: var(--primary-brown); }

/* Sürükle Bırak Alanı */
.drop-zone {
    border: 2px dashed var(--accent-tan);
    padding: 30px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: var(--transition);
}
.drop-zone:hover { background: #f0ede9; border-color: var(--primary-brown); }
.drop-zone span { color: var(--light-brown); font-size: 0.8rem; font-weight: 600; }

/* GRID & CARDS */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; padding-bottom: 80px; }
.site-card { background: var(--card-white); border: 1px solid #f0efeb; padding: 15px; transition: var(--transition); }
.site-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(93, 64, 55, 0.1); }
.site-image { width: 100%; height: 200px; overflow: hidden; position: relative; margin-bottom: 15px; background: #eee; }
.site-image img { width: 100%; height: 100%; object-fit: cover; }
.rating-tag { position: absolute; top: 10px; right: 10px; background: var(--primary-brown); color: #fff; padding: 5px 10px; font-weight: 700; font-size: 0.7rem; }

footer { text-align: center; padding: 60px 0; background-color: #f5f0e6; border-top: 1px solid var(--accent-tan); color: var(--light-brown); }

@media (max-width: 992px) {
    .main-slogan { font-size: 2.8rem; }
    .auth-features { flex-direction: column !important; }
    .auth-wrapper { flex-direction: column; }
    .profile-sidebar { width: 100%; position: static; margin-bottom: 30px; }
}
/* v22.1 - Galeri Ön İzleme Stilleri */
#gallery-preview div {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.drop-zone.highlight {
    border-color: var(--primary-brown);
    background: #f0ede9;
}
/* v22.4 - Modal & Dropzone Fix */
.modal-overlay {
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.drop-zone.highlight {
    border-color: var(--primary-brown);
    background: #fdfaf7;
}

#gallery-preview img {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* detay.php - Tape Detail Styles */

/* Hero Section */
.tape-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti */
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-flex { display: flex; align-items: center; }

.cat-badge {
    background: var(--primary-brown);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tape-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin: 15px 0;
    line-height: 1;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: var(--primary-brown);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: var(--transition);
    margin-right: 15px;
}
.btn-primary:hover { transform: scale(1.05); background: var(--accent-tan); }

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 700;
}

/* Gallery Grid */
.tape-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--accent-tan);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img { transform: scale(1.1); }

/* Spec List */
.spec-list { list-style: none; padding: 0; }
.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.sticky-info { position: sticky; top: 100px; }