:root {
  --bg-dark: #14110f;
  --surface-dark: #1f1916;
  --bg-cream: #faf6f0;
  --surface-white: #ffffff;
  --crimson: #b8291e;
  --crimson-dark: #8e1c14;
  --gold: #d99b26;
  --gold-soft: #f5e6c4;
  --text-dark: #1c1714;
  --text-muted: #645952;
  --text-light: #f8f4ee;
  --border-soft: rgba(28, 23, 20, 0.1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 14px 36px rgba(20, 17, 15, 0.08);
  --shadow-hover: 0 22px 48px rgba(184, 41, 30, 0.16);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(20, 17, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 155, 38, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  color: rgba(248, 244, 238, 0.84);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(217, 155, 38, 0.18);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--crimson), #d1382a);
  color: #fff;
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(184, 41, 30, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 41, 30, 0.45);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(184, 41, 30, 0.28), transparent 48%),
              radial-gradient(circle at 15% 85%, rgba(217, 155, 38, 0.18), transparent 45%),
              var(--bg-dark);
  color: var(--text-light);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(217, 155, 38, 0.15);
  border: 1px solid rgba(217, 155, 38, 0.38);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.12;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(248, 244, 238, 0.82);
  max-width: 540px;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson), #d1382a);
  color: #fff;
  box-shadow: 0 10px 26px rgba(184, 41, 30, 0.36);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(184, 41, 30, 0.5);
}

.btn-whatsapp {
  background: #25d366;
  color: #0b2414;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid rgba(28, 23, 20, 0.22);
}

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

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(248, 244, 238, 0.78);
}

.hero-visual-wrap {
  perspective: 1100px;
}

.hero-card-3d {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217, 155, 38, 0.32);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  background: var(--surface-dark);
}

.hero-card-3d img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-caption {
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(20, 17, 15, 0.82), rgba(20, 17, 15, 0.98));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.hero-card-caption strong {
  color: var(--gold);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--crimson);
  margin-bottom: 0.5rem;
}

.section-dark .section-kicker {
  color: var(--gold);
}

.section-header h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.section-dark .section-header p {
  color: rgba(248, 244, 238, 0.76);
}

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark), #2b1815);
  color: #fff;
  padding: 3.5rem 0 3.25rem;
  border-bottom: 2px solid rgba(217, 155, 38, 0.25);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(248, 244, 238, 0.7);
  margin-bottom: 0.9rem;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.page-hero p {
  max-width: 640px;
  color: rgba(248, 244, 238, 0.82);
  margin: 0;
}

/* Cards & 3D Tilt */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem;
}

.card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-style: preserve-3d;
}

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

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-dark);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.card-body p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--crimson);
  font-size: 0.92rem;
}

.card-link:hover {
  color: var(--crimson-dark);
}

/* Highlights Band */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-box {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184, 41, 30, 0.12), rgba(217, 155, 38, 0.2));
  color: var(--crimson);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.pillar-box h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.pillar-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 860px;
}

.faq-item {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20, 17, 15, 0.04);
}

.faq-item summary {
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--crimson);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.25rem;
  align-items: start;
}

.info-card,
.form-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-soft);
}

.info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--crimson);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(28, 23, 20, 0.18);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(184, 41, 30, 0.14);
}

.alert-success {
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  background: #e6f7ed;
  color: #135c31;
  border: 1px solid #a8e2bf;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.alert-error {
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  background: #fdeceb;
  color: #8f1d14;
  border: 1px solid #f5b9b3;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Gallery & Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-dark);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  padding: 0.95rem 1.1rem;
  background: #fff;
}

.gallery-caption h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(12, 10, 9, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 920px;
  width: 100%;
  text-align: center;
  color: #fff;
}

.lightbox-inner img {
  max-height: 78vh;
  margin: 0 auto 1rem;
  border-radius: 14px;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #100d0b;
  color: rgba(248, 244, 238, 0.8);
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(217, 155, 38, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
}

/* MB-Code Yazılım RGB/Neon Signature (GPU-friendly, lightweight) */
.mbcode-signature {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #ff4d6d, #ffbe0b, #00f5d4, #3a86ff, #c77dff, #ff4d6d);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(58, 134, 255, 0.28);
  animation: mbcodeRgbFlow 6s linear infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.mbcode-signature:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.55));
}

@keyframes mbcodeRgbFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}

/* Floating Bottom-Right WhatsApp & Call Buttons */
.floating-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 980;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.fab-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.fab-call {
  background: linear-gradient(135deg, var(--crimson), #d94326);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Prose & Detail Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.prose p {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  color: #362e29;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(184, 41, 30, 0.12);
  color: var(--crimson);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card-grid-3,
  .pillars-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mobile-toggle {
    display: inline-flex;
  }
  .header-cta {
    display: none;
  }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(20, 17, 15, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4%;
    border-bottom: 1px solid rgba(217, 155, 38, 0.25);
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .card-grid-3,
  .card-grid-2,
  .pillars-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .fab-btn span {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mbcode-signature {
    animation: none;
  }
}
