:root {
  --bg: #faf8f6;
  --soft-pink: #efd9d1;
  --rose: #d8a7a0;
  --mocha: #b79f94;
  --brown: #4a3933;
  --dark: #2f2522;
  --white: #ffffff;
  --muted: #7f6c66;
  --line: rgba(74, 57, 51, 0.12);
  --shadow: 0 24px 70px rgba(74, 57, 51, 0.12);
  --radius: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--brown);
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 246, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--soft-pink), var(--rose));
  display: grid;
  place-items: center;
  box-shadow: 0 12px 35px rgba(216, 167, 160, 0.35);
  font-family: "Cormorant Garamond", serif;
  font-size: 25px;
  color: var(--white);
}

.brand-text span {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.brand-text small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.menu a:hover {
  color: var(--dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown);
  font-size: 22px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brown), var(--rose));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(74, 57, 51, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(74, 57, 51, 0.28);
}

.btn-light {
  background: rgba(255, 255, 255, 0.76);
  color: var(--brown);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  padding: 76px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 217, 209, 0.9), transparent 68%);
  top: 20px;
  right: -140px;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(239, 217, 209, 0.52);
  border: 1px solid rgba(216, 167, 160, 0.36);
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "✦";
  color: var(--rose);
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--dark);
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.88;
  max-width: 710px;
  margin-bottom: 28px;
}

.hero p {
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 42px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 620px;
}

.stat {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 4px;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.hero-card {
  position: relative;
  min-height: 650px;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(to top, rgba(47, 37, 34, 0.70), rgba(47, 37, 34, 0.06)),
    url("https://images.unsplash.com/photo-1604654894610-df63bc536371?auto=format&fit=crop&w=1100&q=85") center/cover;
}

.floating-card {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: var(--dark);
  margin-bottom: 8px;
}

.floating-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

section {
  padding: 90px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.compact-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  max-width: 620px;
}

.section-head p {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(74, 57, 51, 0.07);
  overflow: hidden;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(239, 217, 209, 0.55);
  right: -70px;
  bottom: -70px;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--soft-pink), var(--rose));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 31px;
  line-height: 1;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.why {
  background: linear-gradient(135deg, rgba(239, 217, 209, 0.58), rgba(255, 255, 255, 0.7));
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.why-photo {
  min-height: 560px;
  border-radius: 42px;
  background:
    linear-gradient(to top, rgba(47, 37, 34, 0.48), transparent),
    url("https://images.unsplash.com/photo-1610992015732-2449b76344bc?auto=format&fit=crop&w=1000&q=85") center/cover;
  box-shadow: var(--shadow);
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-item {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.72);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.why-number {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: var(--brown);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.why-item h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-auto-rows: 240px;
  gap: 18px;
}

.gallery-card {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 48px rgba(74, 57, 51, 0.08);
}

.gallery-card:nth-child(1) {
  background-image: url("https://images.unsplash.com/photo-1632345031435-8727f6897d53?auto=format&fit=crop&w=900&q=85");
}

.gallery-card:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1607779097040-26e80aa78e66?auto=format&fit=crop&w=900&q=85");
}

.gallery-card:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1604654894610-df63bc536371?auto=format&fit=crop&w=900&q=85");
}

.gallery-card:nth-child(4) {
  background-image: url("https://images.unsplash.com/photo-1610992015732-2449b76344bc?auto=format&fit=crop&w=900&q=85");
}

.gallery-card:nth-child(5) {
  background-image: url("https://images.unsplash.com/photo-1604902396830-aca29e19b067?auto=format&fit=crop&w=900&q=85");
}

.gallery-card.big {
  grid-row: span 2;
}

.gallery-card::after {
  content: attr(data-title);
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  color: var(--dark);
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.about {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
}

.about h2,
.about h3 {
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.about-card {
  padding: 42px;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-card h2 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.95;
  margin-bottom: 24px;
}

.about-card p {
  line-height: 1.9;
  margin-bottom: 18px;
  font-size: 15px;
}

.about-photo {
  min-height: 580px;
  border-radius: 44px;
  background:
    linear-gradient(to top, rgba(47, 37, 34, 0.44), transparent),
    url("https://images.unsplash.com/photo-1596462502278-27bfdc403348?auto=format&fit=crop&w=1000&q=85") center/cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.contact {
  padding-bottom: 40px;
}

.contact-box {
  border-radius: 44px;
  background: linear-gradient(135deg, var(--soft-pink), rgba(255, 255, 255, 0.9));
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  margin-bottom: 16px;
}

.contact-box p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-weight: 700;
  font-size: 13px;
  color: var(--brown);
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .menu {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 15px;
    border-radius: 16px;
  }

  .menu a:hover {
    background: rgba(239, 217, 209, 0.42);
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .why-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-card,
  .why-photo,
  .about-photo {
    min-height: 480px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    height: 74px;
  }

  .menu {
    top: 74px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-stats,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 300px;
  }

  .gallery-card.big {
    grid-row: span 1;
  }

  .contact-box,
  .about-card {
    padding: 28px;
  }

  h1 {
    font-size: 58px;
  }
}

/* SERVICES */

.services {
  padding: 120px 8%;
  background:
    radial-gradient(circle at top left, rgba(234, 215, 211, 0.7), transparent 34%),
    linear-gradient(180deg, #fff8f7 0%, #f8f3f2 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ead7d3;
  color: #8d6f7b;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(38px, 5vw, 64px);
  color: #8f86b3;
  margin-bottom: 18px;
  font-weight: 600;
}

.section-head p {
  max-width: 760px;
  margin: auto;
  color: #8d8d8d;
  line-height: 1.8;
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  overflow: hidden;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(143,134,179,0.16);
  border-radius: 30px;
  box-shadow: 0 16px 45px rgba(143,134,179,0.08);
  transition: 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(143,134,179,0.18);
}

.service-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #ead7d3;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.07);
}

.service-content {
  padding: 28px;
}

.service-card h3 {
  font-size: 23px;
  color: #8f86b3;
  margin-bottom: 12px;
}

.service-card p {
  color: #777;
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 54px;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  background: #8f86b3;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.service-btn:hover {
  background: #746a99;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .services {
    padding: 80px 6%;
  }

  .service-img {
    height: 200px;
  }

  .service-content {
    padding: 24px;
  }
}


/* EXTRA PREMIUM POLISH */

.services {
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(234, 215, 211, 0.35);
  filter: blur(90px);
  top: -120px;
  left: -120px;
  border-radius: 50%;
}

.services::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: rgba(143, 134, 179, 0.12);
  filter: blur(90px);
  right: -100px;
  bottom: -100px;
  border-radius: 50%;
}

.services-grid {
  position: relative;
  z-index: 2;
}

.service-card {
  backdrop-filter: blur(14px);
}

.service-img {
  position: relative;
}

.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.28), transparent 55%);
}

.service-card h3 {
  font-weight: 600;
  letter-spacing: -0.4px;
}

.service-btn {
  width: 100%;
}

.service-btn::before {
  content: "✦";
  margin-right: 8px;
}


/* MOBILE FIXES + CONTACT PAGE */

.contact-page {
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 20% 10%, rgba(239, 217, 209, 0.72), transparent 30%),
    linear-gradient(180deg, #fff8f7 0%, #faf8f6 100%);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

.contact-hero-card,
.contact-detail-card,
.contact-note-box {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.contact-hero-card {
  padding: clamp(32px, 5vw, 64px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.20), rgba(255,255,255,0.82)),
    url("https://images.unsplash.com/photo-1632345031435-8727f6897d53?auto=format&fit=crop&w=1200&q=85") center/cover;
}

.contact-hero-card h1 {
  max-width: 760px;
  color: var(--dark);
}

.contact-hero-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-top: 20px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-detail-card {
  padding: clamp(28px, 4vw, 44px);
}

.contact-detail-card h2,
.contact-note-box h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--dark);
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 24px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(239, 217, 209, 0.28);
  border: 1px solid rgba(74, 57, 51, 0.08);
}

.contact-row strong {
  display: block;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-row small {
  color: var(--muted);
  font-size: 14px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--soft-pink), var(--rose));
  color: white;
  flex: 0 0 auto;
  box-shadow: 0 12px 28px rgba(216, 167, 160, 0.28);
}

.contact-note {
  padding: 40px 0 90px;
}

.contact-note-box {
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.contact-note-box p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.8;
}

/* These override previous blocks that were breaking mobile layout */
@media (max-width: 980px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-card {
    min-height: 460px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    overflow: visible;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 22px;
  }

  .brand-text span {
    font-size: 17px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .menu {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .hero,
  .services,
  #galeri,
  .about,
  .contact,
  .contact-page,
  .contact-note {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-grid,
  .why-grid,
  .about-grid,
  .contact-box,
  .contact-page-grid {
    gap: 22px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px) !important;
    line-height: 0.94;
  }

  .section-head {
    text-align: center;
    margin-bottom: 34px;
  }

  .section-head h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1;
  }

  .services {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .service-card {
    border-radius: 24px;
  }

  .service-img {
    height: 185px !important;
  }

  .service-content {
    padding: 20px !important;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-card p {
    min-height: auto;
    font-size: 14px;
    margin-bottom: 18px;
  }

  .service-btn,
  .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 230px !important;
    gap: 16px;
  }

  .hero-card,
  .why-photo,
  .about-photo,
  .contact-hero-card {
    min-height: 360px !important;
  }

  .about-card,
  .contact-box,
  .contact-hero-card,
  .contact-detail-card,
  .contact-note-box {
    padding: 24px !important;
    border-radius: 24px;
  }

  .contact-box {
    display: grid;
    gap: 24px;
  }

  .contact-info {
    display: grid;
    gap: 10px;
  }

  .pill {
    width: 100%;
    text-align: center;
  }

  .contact-row {
    padding: 15px;
    border-radius: 20px;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .footer-wrap {
    text-align: center;
    justify-content: center;
  }
}

/* Gerçek ByDilanÖz logosu */
.brand-logo {
  width: 150px;
  height: 68px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}
@media (max-width: 720px) {
  .brand-logo { width: 118px; height: 58px; }
}
