/* =============================================================================
   CONTACT PAGE (İLETİŞİM): 100% VIEWPORT HEIGHT - NO SCROLL
   ============================================================================= */

html.contact-html,
body.contact-body {
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body.contact-body .site-wrapper {
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  background-color: #141311;
}

/* 1. Transparent Header (Identical to Homepage transparent header) */
body.contact-body .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
  padding: 16px 2.5%;
  z-index: 100;
}

body.contact-body .site-header .brand-logo.logo-white {
  display: block;
  height: clamp(50px, 4vw, 68px);
}

/* 2. Middle Content Area (Fills space between header & footer) */
body.contact-body main {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-page-main {
  flex: 1 1 0%;
  min-height: 0;
  height: 100%;
  width: 100%;
  padding: clamp(75px, 11vh, 105px) clamp(24px, 5vw, 84px) clamp(14px, 2vh, 26px);
  color: #f6f3eb;
  background-color: #141311;
  background-image:
    linear-gradient(rgba(18, 16, 14, 0.74), rgba(12, 11, 10, 0.84)),
    url("images/contact-us-banner-mirror.jpg");
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 75% 50%, rgba(194, 127, 22, 0.08) 0%, transparent 60%),
    rgba(8, 7, 6, 0.22);
  pointer-events: none;
}

.contact-page-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 500px);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}

/* Left Column: Heading, Lead & Contact Details */
.contact-page-copy {
  max-width: 580px;
  justify-self: end;
}

.contact-page-copy .section-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-gold-bright);
}

.contact-page-copy h1 {
  margin: clamp(8px, 1.4vh, 14px) 0 clamp(8px, 1.4vh, 14px);
  color: #f7f4ed;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.contact-page-copy h1 span {
  color: var(--brand-gold-bright);
}

.contact-page-lead {
  max-width: 460px;
  margin: 0;
  color: #cfcac0;
  font-size: clamp(13.5px, 1vw, 15px);
  line-height: 1.62;
  text-wrap: pretty;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(16px, 2.2vh, 24px);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  color: var(--brand-gold-bright);
  background: rgba(194, 127, 22, 0.15);
  border: 1px solid rgba(216, 154, 54, 0.32);
  border-radius: 9px;
}

.contact-detail-label {
  display: block;
  margin-bottom: 3px;
  color: #e5b364;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-detail-value {
  color: #f5f2e9;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
}

.contact-detail-value a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.contact-detail-value a:hover {
  color: var(--brand-yellow);
}

/* Right Column (Dark Bronze / Charcoal Glass Location Card) */
.contact-form-card {
  width: 100%;
  max-width: 500px;
  justify-self: start;
  padding: clamp(20px, 2.5vh, 26px) clamp(20px, 2.2vw, 26px);
  background: rgba(26, 23, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f5eedc;
  border-radius: 22px;
  border: 1.5px solid rgba(168, 126, 75, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.contact-form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: clamp(10px, 1.3vh, 14px);
  margin-bottom: clamp(12px, 1.6vh, 16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  color: #c28435;
  background: rgba(45, 36, 26, 0.75);
  border: 1px solid rgba(179, 125, 55, 0.4);
  border-radius: 11px;
}

.contact-form-kicker {
  display: block;
  margin-bottom: 3px;
  color: #c28435;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.4vw, 21px);
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

/* Google Maps Frame Wrapper */
.contact-map-frame-wrapper {
  position: relative;
  width: 100%;
  height: clamp(205px, 26vh, 255px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(168, 126, 75, 0.45);
  background: #eee5d7;
  margin-bottom: clamp(12px, 1.6vh, 16px);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
}

#leafletMap {
  width: 100%;
  height: 100%;
  display: block;
}

.map-open-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ffffff;
  color: #1a73e8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.map-open-link:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.map-open-link:active {
  transform: translateY(0);
}

.map-open-link svg {
  color: #1a73e8;
  flex-shrink: 0;
}

/* Action Buttons below Map (Outlined Bronze Buttons on Dark Card) */
.contact-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(28, 25, 21, 0.75);
  color: #ffffff;
  border: 1.5px solid rgba(168, 126, 75, 0.65);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.contact-action-btn svg {
  color: #c28435;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-action-btn:hover {
  background: rgba(168, 126, 75, 0.22);
  border-color: #c28435;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(194, 132, 53, 0.25);
}

.contact-action-btn:active {
  transform: translateY(0);
}

/* 3. Compact Bottom Footer */
body.contact-body .site-footer {
  min-height: auto;
  padding: clamp(10px, 1.6vh, 16px) clamp(24px, 5vw, 84px);
  background: rgba(14, 13, 11, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
  z-index: 10;
}

body.contact-body .footer-logo {
  height: clamp(26px, 3vh, 32px);
}

body.contact-body .site-footer > p {
  margin: 0;
  font-size: 13px;
  color: #b5b0a6;
}

body.contact-body .copyright {
  font-size: 12px;
  color: #969186;
}

/* =============================================================================
   RESPONSIVE ADJUSTMENTS (TABLET & MOBILE)
   ============================================================================= */
@media (max-width: 900px) {
  html.contact-html,
  body.contact-body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.contact-body .site-wrapper {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  body.contact-body main {
    flex: 1 0 auto;
    height: auto;
    min-height: auto;
  }

  .contact-page-main {
    flex: 1 0 auto;
    height: auto;
    min-height: auto;
    padding: 100px 20px 48px;
    align-items: flex-start;
  }

  .contact-page-container {
    grid-template-columns: 1fr;
    gap: 32px;
    max-height: none;
    overflow-y: visible;
    padding-bottom: 0;
  }

  .contact-page-copy {
    justify-self: stretch;
    max-width: 100%;
    text-align: center;
  }

  .contact-page-copy h1 {
    font-size: clamp(26px, 6.5vw, 36px);
    margin: 8px 0 14px;
    line-height: 1.2;
  }

  .contact-page-lead {
    margin: 0 auto;
    font-size: 14.5px;
    max-width: 520px;
    line-height: 1.6;
  }

  .contact-details {
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
  }

  .contact-detail {
    justify-content: center;
  }

  .contact-form-card {
    max-width: 520px;
    margin: 0 auto;
    justify-self: center;
    padding: 24px 20px;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }

  .contact-form-heading {
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .contact-form-heading h2 {
    font-size: 20px;
  }

  .contact-map-frame-wrapper {
    height: 250px;
    margin-bottom: 14px;
  }

  .contact-actions-row {
    gap: 12px;
  }

  .contact-action-btn {
    min-height: 48px;
    font-size: 14px;
  }

  body.contact-body .site-footer {
    position: relative;
    padding: 20px 24px;
  }

  body.contact-body .site-footer > p {
    display: block;
    font-size: 12.5px;
  }
}

@media (max-width: 600px) {
  .contact-page-main {
    padding: 88px 16px 40px;
  }

  .contact-page-container {
    gap: 28px;
  }

  .contact-page-copy h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .contact-page-lead {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .contact-detail {
    justify-content: flex-start;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: left;
  }

  .contact-detail-value {
    font-size: 14.5px;
  }

  .contact-form-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .contact-form-heading {
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .contact-form-symbol {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .contact-form-heading h2 {
    font-size: 18px;
  }

  .contact-map-frame-wrapper {
    height: 220px;
    margin-bottom: 12px;
  }

  .contact-actions-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-action-btn {
    min-height: 48px;
    font-size: 14.5px;
    border-radius: 10px;
  }

  body.contact-body .site-footer {
    padding: 16px 16px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
