/* ===========================================================
   Mucize Kareler — Doğum & Yenidoğan Fotoğrafçısı
   =========================================================== */

:root {
  --cream: #faf6ef;
  --cream-soft: #f3ebe0;
  --dark: #2b2823;
  --dark-soft: #4a453d;
  --muted: #7a7368;
  --accent: #bd8562;
  --accent-dark: #a56f4e;
  --whatsapp: #25d366;
  --border: #e6ddcf;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
}

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

section { padding: 110px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: #1fb857; }

/* ===== Announcement bar ===== */
.announcement {
  background: var(--dark);
  color: #efe7d8;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 11px 20px;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .5px;
  font-weight: 600;
}

nav.main-nav ul {
  display: flex;
  gap: 34px;
}

nav.main-nav a {
  font-size: 14px;
  letter-spacing: .3px;
  color: var(--dark-soft);
  transition: color .2s;
  position: relative;
}
nav.main-nav a:hover { color: var(--accent-dark); }

.nav-right { display: flex; align-items: center; gap: 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  display: block;
  transition: all .25s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 10px 32px 26px;
}
.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-nav .btn { margin-top: 16px; width: 100%; }

body.nav-open .mobile-nav { display: flex; }

/* ===== Hero ===== */
/* Full-bleed slideshow banner. Source photos are pre-cropped to a
   consistent landscape ratio so nothing is squeezed or distorted;
   object-fit: cover here only fills the frame edge-to-edge. */
.hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: #221f1a;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,17,13,.42) 0%, rgba(20,17,13,0) 30%, rgba(20,17,13,.08) 55%, rgba(20,17,13,.68) 100%);
  pointer-events: none;
}

.hero-credit {
  position: absolute;
  top: 40px;
  right: 40px;
  text-align: right;
  z-index: 2;
  font-family: var(--font-display);
  color: #fff;
}
.hero-credit .name { font-size: 20px; font-style: italic; }
.hero-credit .role {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #efe7d8;
  font-family: var(--font-body);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 2;
  max-width: 680px;
  padding: 0 40px;
}

.hero-location {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #f1e6d3;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-content h1 em { font-style: italic; font-weight: 400; }

.hero-tagline {
  font-size: 18px;
  color: #f3ede1;
  max-width: 460px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: #fff; }

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
}
.about-image {
  overflow: hidden;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.about-image img { width: 100%; height: 100%; object-fit: contain; }

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px;
}
.about-text p { color: var(--dark-soft); margin-bottom: 20px; font-size: 17px; }
.about-cta { display: flex; align-items: center; gap: 22px; margin-top: 14px; flex-wrap: wrap; }
.about-cta .insta { color: var(--accent-dark); font-size: 15px; }

/* ===== Services ===== */
.services { background: var(--cream-soft); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
}
.service-card .thumb {
  height: 300px;
  overflow: hidden;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.service-card:hover .thumb img { transform: scale(1.04); }

.service-body { padding: 30px 30px 34px; }
.service-body h3 {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.service-icon { font-size: 20px; }
.service-body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.service-link {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid transparent;
}
.service-link:hover { border-color: var(--accent-dark); }

/* ===== Portfolio ===== */
.filters {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.filter-btn {
  padding: 13px 28px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--dark); }
.filter-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* True masonry: each photo keeps its own natural aspect ratio, nothing cropped */
.gallery {
  columns: 4 260px;
  column-gap: 20px;
  min-height: 80px;
}
.gallery-loading {
  columns: initial;
  text-align: center;
  color: var(--muted, #8a8478);
  font-size: 14px;
  padding: 40px 0;
  width: 100%;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 20px;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%);
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover::before, .gallery-item:hover .tag { opacity: 1; }

.gallery-item.hidden { display: none; }

.portfolio-more { text-align: center; margin-top: 56px; }

/* ===== Süreç (Process) ===== */
.process { background: var(--cream-soft); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent-dark);
  margin: 0 auto 22px;
  background: var(--cream);
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; }

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: 20px;
  cursor: pointer;
  color: var(--dark);
}
.faq-question .icon {
  font-size: 22px;
  color: var(--accent-dark);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer p {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 640px;
}

/* ===== Contact ===== */
.contact { background: var(--dark); color: #f1ebdd; }
.contact .eyebrow { color: #d8b892; }
.contact .section-title { color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-info p { color: #cfc6b6; margin-bottom: 28px; font-size: 17px; }
.contact-block { margin-bottom: 26px; }
.contact-block .label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b7a385;
  display: block;
  margin-bottom: 6px;
}
.contact-block .value { font-size: 18px; font-family: var(--font-display); }
.contact-block a.value:hover { color: var(--accent); }
.contact-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  background: #37332b;
  border: 1px solid #4d473c;
  color: #fff;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: var(--radius);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form ::placeholder { color: #a89d8a; }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.form-hint { font-size: 12.5px; color: #a89d8a; }

/* ===== Footer ===== */
footer {
  background: #201d18;
  color: #b9b0a0;
  padding: 60px 0 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid #34302a;
}
.footer-logo { font-family: var(--font-display); font-size: 24px; color: #fff; margin-bottom: 12px; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; color: #b9b0a0; font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
  color: #8a8071;
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 600;
  background: var(--whatsapp);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 340px; }
  .about-text { padding: 56px 36px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .gallery { columns: 2 220px; }
  .hero { height: 72vh; min-height: 480px; }
  .hero-content { max-width: 560px; padding: 0 32px; bottom: 60px; }
}

@media (max-width: 760px) {
  section { padding: 76px 0; }
  nav.main-nav, .nav-right .btn-primary { display: none; }
  .hamburger { display: flex; }
  .hero { height: 82vh; min-height: 460px; }
  .hero-content { padding: 0 22px; bottom: 46px; max-width: 100%; }
  .hero-credit { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { flex: 1; }
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { gap: 36px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .container { padding: 0 20px; }
  .nav-wrap { padding: 16px 20px; }
  .gallery { columns: 1 100%; }
}
