/* Ufuk Dijital Fotoğrafçılık – Ana Stil
   Estetik: Luxury / Refined – Altın & Koyu ton, Serif başlıklar */

:root {
  --gold:     #b5924c;
  --gold-lt:  #d4af70;
  --dark:     #1a1a1a;
  --dark2:    #252525;
  --light:    #f7f4ef;
  --white:    #ffffff;
  --text:     #333333;
  --text-muted: #777;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Nunito', sans-serif;
  --radius:   8px;
  --shadow:   0 4px 24px rgba(0,0,0,.10);
  --transition: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-lt); }

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: .04em;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--white); }

.btn-primary { background: var(--dark); color: var(--white); }
.btn-primary:hover { background: var(--dark2); color: var(--white); }

.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }

.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5d; color: var(--white); }

/* HEADER / NAV */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,.96);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  transition: padding var(--transition);
}
#header.scrolled { padding: 8px 0; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img { height: 46px; width: auto; }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
nav ul li a {
  color: #ddd;
  padding: 7px 12px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 400;
}
nav ul li a:hover { color: var(--gold-lt); background: rgba(255,255,255,.06); }
nav ul li a.btn-primary { color: var(--white); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--dark);
  padding: 120px 20px 80px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(0,0,0,.7) 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 760px;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-lt);
  letter-spacing: .08em;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero h1 em { color: var(--gold-lt); font-style: italic; }
.hero-desc { font-size: 1.1rem; color: #ddd; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-dark { background: var(--dark); }
.section-light { background: var(--light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}
.section-title.light { color: var(--white); }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 52px;
  font-size: 1rem;
}
.section-sub.light { color: #aaa; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e8e0d4;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 2.4rem; margin-bottom: 14px; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.service-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 16px; }
.link-arrow { color: var(--gold); font-weight: 600; font-size: .9rem; }

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item { overflow: hidden; border-radius: 10px; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder, .img-placeholder {
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #666;
  height: 100%;
}

/* PLATOLARI */
.platos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.plato-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  background: var(--white);
  display: block;
  color: var(--text);
}
.plato-card:hover { transform: translateY(-4px); }
.plato-card img { width: 100%; height: 200px; object-fit: cover; }
.plato-img-placeholder {
  height: 200px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.plato-info { padding: 18px 20px; }
.plato-info h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 4px; }
.plato-info p { color: var(--text-muted); font-size: .85rem; }

/* PAKETLER */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.package-card {
  background: var(--white);
  border: 1px solid #e8e0d4;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition);
}
.package-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow);
}
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .05em;
}
.package-card h3 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 14px; }
.price { margin-bottom: 16px; }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: .95rem; display: block; }
.new-price { font-size: 1.9rem; font-weight: 700; color: var(--gold); font-family: var(--font-serif); }
.package-features { list-style: none; text-align: left; margin: 16px 0 24px; }
.package-features li { padding: 5px 0; color: var(--text); font-size: .9rem; border-bottom: 1px solid #f0ebe4; }
.package-features li:last-child { border: none; }

/* SSS */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e8e0d4;
  padding: 6px 0;
}
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  padding: 14px 4px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 4px 4px 16px; color: var(--text-muted); line-height: 1.7; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1f0e 100%);
  color: var(--white);
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-section p { color: #ccc; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
#footer { background: #111; color: #aaa; padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
}
.footer-col h4 {
  color: var(--gold-lt);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aaa; font-size: .9rem; }
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-col p { font-size: .9rem; line-height: 1.8; }
.footer-col address { font-style: normal; }
.social-links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.social-links a { color: #aaa; font-size: .9rem; }
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: .8rem;
  color: #555;
}
.footer-bottom p + p { margin-top: 4px; }

/* UTILS */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger { display: block; }

  nav ul {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(26,26,26,.98);
    flex-direction: column;
    padding: 20px;
    gap: 6px;
    align-items: stretch;
  }
  nav ul.open { display: flex; }
  nav ul li a { padding: 10px 16px; display: block; }

  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }

  .packages-grid, .services-grid, .gallery-grid, .platos-grid {
    grid-template-columns: 1fr;
  }
}

/* ADMIN PANEL GENEL */
.admin-body { font-family: var(--font-sans); background: #f0f2f5; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--dark);
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0;
  padding: 24px 0;
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar .logo { padding: 0 20px 24px; border-bottom: 1px solid #333; }
.admin-sidebar ul { list-style: none; padding: 16px 0; }
.admin-sidebar ul li a {
  display: block;
  padding: 11px 20px;
  color: #bbb;
  font-size: .9rem;
  transition: all var(--transition);
}
.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active { color: var(--white); background: rgba(181,146,76,.15); border-left: 3px solid var(--gold); }
.admin-main { margin-left: 240px; padding: 30px; }
.admin-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  margin-bottom: 24px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: .9rem; }
.admin-table th { background: #fafafa; font-weight: 700; color: var(--dark); }
.admin-table tr:hover td { background: #fafcfe; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(181,146,76,.15);
}

/* ===== DÜZELTMELER ===== */

/* Galeri görselleri yamuk gözükme düzeltmesi */
.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4/3;
  background: #1a1a1a;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Admin galeri thumb düzeltme */
.img-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Logo img */
.logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* Hero - /uploads/hero-bg.jpg yüklenince çalışır */
.hero {
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Admin - görsel yükleme alanı */
.upload-preview {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 8px;
  border: 1px solid #eee;
}

/* Site ayarları - hero bg yükleme */
.hero-upload-area {
  border: 2px dashed #b5924c;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: background .2s;
}
.hero-upload-area:hover { background: #fdf8f0; }
