:root {
  --bordo: #6e1423;
  --bordo-light: #8c1c30;
  --bordo-dark: #4a0d18;
  --cream: #faf6f1;
  --paper: #ffffff;
  --ink: #2b2b2b;
  --muted: #8a7d7d;
  --gold: #c2a25a;
  --line: #ead9d2;
  --shadow: 0 10px 30px rgba(74, 13, 24, 0.12);
  --radius: 16px;
}

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

body {
  font-family: "Jost", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 40%),
    linear-gradient(135deg, var(--bordo-dark), var(--bordo) 55%, var(--bordo-light));
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.35;
}

.hero__plane {
  position: absolute;
  top: 14%;
  left: -10%;
  font-size: 3rem;
  opacity: 0.5;
  animation: fly 16s linear infinite;
}

@keyframes fly {
  0%   { transform: translate(0, 0) rotate(8deg); }
  100% { transform: translate(130vw, -120px) rotate(8deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem;
  max-width: 760px;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero__names {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero__names span {
  display: inline-block;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0.2em;
}

.hero__quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-style: italic;
  margin: 1.6rem auto 2.4rem;
  max-width: 560px;
  color: rgba(255,255,255,0.92);
}

.hero__meta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.meta-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 1rem 1.6rem;
  min-width: 180px;
}

.meta-card__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.62rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.meta-card__value {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.meta-card__sub {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}

/* ---------- Layout ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-head { text-align: center; margin-bottom: 2.2rem; }

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--bordo);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "✈";
  display: block;
  font-size: 1rem;
  color: var(--gold);
  margin-top: 0.4rem;
}

.section-desc {
  max-width: 540px;
  margin: 0.6rem auto 0;
  color: var(--muted);
}

/* ---------- Dropzone ---------- */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 3rem 1.5rem;
  background: var(--paper);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.dropzone:hover { border-color: var(--bordo-light); transform: translateY(-2px); }
.dropzone.is-dragover {
  border-color: var(--bordo);
  background: #fff4f0;
  transform: scale(1.01);
}

.dropzone__icon { font-size: 2.8rem; }
.dropzone__title { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.dropzone__or { color: var(--muted); font-size: 0.85rem; }
.dropzone__hint { color: var(--muted); font-size: 0.8rem; margin-top: 0.6rem; }

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn--primary {
  background: var(--bordo);
  color: #fff;
  box-shadow: 0 6px 16px rgba(110, 20, 35, 0.3);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(110, 20, 35, 0.38); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }

.btn--ghost {
  background: #fff;
  color: var(--bordo);
  border: 1px solid var(--bordo);
}
.btn--ghost:hover { background: #fff4f0; transform: translateY(-2px); }

/* Seçim / yükleme çubuğu */
.tray {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}
.tray[hidden] { display: none; }
.tray__info { font-weight: 500; color: var(--ink); }
.tray__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.tray .btn { padding: 0.6rem 1.3rem; font-size: 0.9rem; }

.notice {
  margin-top: 1.2rem;
  background: #fff7ef;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  color: #6b5c52;
}

/* ---------- Gallery ---------- */
.gallery-section { margin-top: 4rem; }

.gallery-count { color: var(--muted); font-size: 0.95rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #efe6e0;
  box-shadow: var(--shadow);
  cursor: pointer;
  animation: pop 0.35s ease;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(74, 13, 24, 0.85);
  color: #fff;
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.gallery-item__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.gallery-item:hover .gallery-item__remove { opacity: 1; }
.gallery-item__remove:hover { background: var(--bordo); }

/* Yüklenirken görünen kart */
.gallery-item.is-uploading,
.gallery-item.is-error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4ece6;
  cursor: default;
}

.upload-card { text-align: center; padding: 0.9rem; width: 100%; }

.upload-card__name {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-card__icon { font-size: 1.6rem; }
.upload-card__msg { font-size: 0.7rem; color: var(--bordo); margin-top: 0.3rem; }
.upload-card__status { font-size: 0.66rem; color: var(--gold); margin-top: 0.35rem; min-height: 0.8rem; }

.upload-card__spinner {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  border: 3px solid #e3d5cd;
  border-top-color: var(--bordo);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.progress {
  height: 6px;
  background: #e3d5cd;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.6rem;
}
.progress__bar {
  height: 100%;
  width: 0;
  background: var(--bordo);
  transition: width 0.2s ease;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
}

.empty-state__plane { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 5, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}

.lightbox[hidden] { display: none; }

.lightbox__content { max-width: 90vw; max-height: 86vh; }
.lightbox__content img,
.lightbox__content video {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 10px;
  display: block;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover { background: var(--bordo); }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  background: linear-gradient(135deg, var(--bordo-dark), var(--bordo));
  color: #fff;
  padding: 3rem 1.5rem;
}

.footer__names {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}
.footer__names span { color: var(--gold); }
.footer__date { color: rgba(255,255,255,0.8); margin-top: 0.3rem; }
.footer__families {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
