/* 
   DT Mühendislik - Architectural Design System & Enhanced UI Components
   Color Palette: Deep Slate Navy (#0f172a), Deep Forest Emerald (#0d5c3a), Warm Champagne (#c5a880), Off-White (#f8fafc)
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --header-height: 84px;
  --header-height-mobile: 70px;
  --feature-band-height: 110px;

  --bg-dark: #0f172a;
  --bg-slate: #1e293b;
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;

  --color-emerald: #0d5c3a;
  --color-emerald-dark: #074028;
  --color-emerald-light: #e6f4ed;
  --color-emerald-border: rgba(13, 92, 58, 0.2);

  --color-gold: #c5a880;
  --color-gold-dark: #a38253;
  --color-gold-light: #fefce8;
  --color-gold-border: rgba(197, 168, 128, 0.3);

  --color-navy: #0f172a;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;

  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);

  --font-display: 'Cinzel', serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
}

.display-title {
  font-family: var(--font-display);
}

.emerald-text { color: var(--color-emerald); }
.gold-text { color: var(--color-gold-dark); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-emerald {
  background: var(--color-emerald-light);
  color: var(--color-emerald);
  border: 1px solid var(--color-emerald-border);
}

.badge-gold {
  background: var(--color-gold-light);
  color: var(--color-gold-dark);
  border: 1px solid var(--color-gold-border);
}

.badge-green {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* Clean Header & Nav (No top-bar needed) */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .logo-img {
  height: 42px;
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-emerald);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-emerald);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Mobile nav contact block - ALWAYS hidden on desktop */
.mobile-nav-contact,
.mobile-drawer-contact {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-navy);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.98rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.header-action-icon:hover {
  color: #ffffff;
  background: var(--color-emerald);
  border-color: var(--color-emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-emerald {
  background: var(--color-emerald);
  color: #ffffff;
  border: 1px solid var(--color-emerald);
}

.btn-emerald:hover {
  background: var(--color-emerald-dark);
  border-color: var(--color-emerald-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-emerald {
  background: transparent;
  color: var(--color-emerald);
  border: 1px solid var(--color-emerald);
}

.btn-outline-emerald:hover {
  background: var(--color-emerald-light);
  transform: translateY(-1px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
}

.btn-outline-navy:hover {
  background: var(--color-navy);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--color-gold-dark);
  color: #ffffff;
  border: 1px solid var(--color-gold-dark);
}

.btn-gold:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--color-navy);
  padding: 6px;
  cursor: pointer;
}

/* Cinematic Hero Section - Scaled for 100% viewport visibility */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--feature-band-height));
  max-height: 680px;
  display: flex;
  align-items: center;
  padding: 36px 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.48) 100%),
              url('../images/toprak-suites/ChatGPT_Image_15_Eyl_2026_13_57_18__1_.png') center/cover no-repeat;
  color: #ffffff;
}

.hero-content {
  max-width: 640px;
}

.hero-tag {
  color: var(--color-gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.hero-title {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.18;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.55;
}

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

/* Feature Band below Hero */
.feature-band {
  background: var(--color-navy);
  color: #ffffff;
  min-height: var(--feature-band-height);
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-band-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
  align-items: center;
  width: 100%;
}

.feature-band-item {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 10px;
}

.feature-band-item:last-child {
  border-right: none;
}

.feature-band-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.feature-band-lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

/* 3-Column Discovery Band for index.html */
.discovery-band {
  background: var(--color-navy);
  color: #ffffff;
  min-height: var(--feature-band-height);
  display: flex;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.discovery-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.discovery-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.discovery-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.discovery-badge.badge-completed {
  color: #4ade80;
}

.discovery-badge.badge-expertise {
  color: #60a5fa;
}

.discovery-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.discovery-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 14px;
}

.discovery-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.discovery-card:hover .discovery-link i {
  transform: translateX(4px);
}

/* In-Page Sub-Navigation for toprak-suites.html */
.project-subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-subnav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  overflow-x: auto;
  padding: 12px 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.project-subnav-menu::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  padding: 4px 0;
  position: relative;
  transition: var(--transition);
}

.subnav-link:hover,
.subnav-link.active {
  color: var(--color-emerald);
}

.subnav-link.highlight {
  color: var(--color-emerald);
  font-weight: 700;
  padding: 4px 12px;
  background: var(--color-emerald-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-emerald-border);
}

.subnav-link.highlight:hover {
  background: var(--color-emerald);
  color: #ffffff;
}

/* Scroll Offset for In-Page Anchor Navigation */
section[id], div[id] {
  scroll-margin-top: calc(var(--header-height) + 55px);
}

/* Section Common */
.section {
  padding: 90px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-subtitle {
  color: var(--color-emerald);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Toprak Suites Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.story-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.story-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition);
}

.story-img-wrap:hover img {
  transform: scale(1.03);
}

.story-content h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.story-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* Mia Office Section */
.mia-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.editorial-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.gallery-main-card {
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.gallery-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-side-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-side-card {
  height: 182px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.gallery-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Timeline Component (Mia Office) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding-left: 30px;
  border-left: 3px solid var(--color-emerald);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-emerald);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px var(--color-emerald-light);
}

.timeline-content {
  background: #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-emerald);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.timeline-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Engineering Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-emerald-border);
}

.service-card-img-wrap {
  overflow: hidden;
  height: 200px;
}

.service-card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.service-card-body {
  padding: 24px;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.engineer-quote-box {
  background: var(--color-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.engineer-quote-box blockquote {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  max-width: 850px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.engineer-quote-author {
  font-size: 0.9rem;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Process Steps (Hizmetler) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-emerald-light);
  color: var(--color-emerald);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* References Section */
.references-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
}

.reference-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.reference-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-emerald-border);
}

.reference-card img {
  max-height: 55px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: var(--transition);
}

.reference-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Filter Tabs Component (Projeler) */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--color-navy);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-emerald);
  color: #ffffff;
  border-color: var(--color-emerald);
  box-shadow: var(--shadow-sm);
}

/* Accordion Component (Toprak Suites SSS & Specs) */
.accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.accordion-icon {
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--color-emerald);
}

.accordion-body {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* Floor Plan Card */
.floor-plan-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.floor-plan-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

/* Map Container Frame */
.map-frame {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Instagram Showcase Section */
.instagram-section {
  background: #ffffff;
}

.instagram-banner {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.instagram-info h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.instagram-info p {
  color: var(--color-text-muted);
}

/* Closing CTA Banner */
.closing-cta {
  background: var(--color-navy);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.closing-cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #ffffff;
  margin-bottom: 12px;
}

.closing-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 36px;
}

.closing-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Contact Form Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-emerald-light);
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-emerald);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 92, 58, 0.12);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* 4 Step Engineering Process Cards */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-emerald-border);
}

.process-step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(13, 92, 58, 0.12);
}

.process-step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-emerald-light);
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.process-step-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Reference Meta & Trust Stats */
.reference-card-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reference-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-border);
}

.reference-card-item img {
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: grayscale(20%);
  transition: var(--transition);
}

.reference-card-item:hover img {
  filter: grayscale(0%);
}

.reference-meta-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-emerald);
  background: var(--color-emerald-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.trust-stats-band {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--bg-slate) 100%);
  color: #ffffff;
  padding: 48px 0;
  border-radius: var(--radius-lg);
  margin: 50px 0;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.trust-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.trust-stat-lbl {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* KVKK Checkbox & Map */
.kvkk-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.kvkk-checkbox-wrap input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-emerald);
}

.map-frame-wrap {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: var(--color-navy);
  color: #ffffff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 16px;
  max-width: 380px;
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-menu a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* Corporate Deep Green WhatsApp Pill Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--color-emerald);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float-btn:hover {
  background: var(--color-emerald-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1080px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.modal-title {
  font-size: 1.25rem;
  color: var(--color-navy);
}

.modal-close {
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-navy);
}

.modal-body {
  flex: 1;
  background: #f1f5f9;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Page Hero for Interior Pages */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 55px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.page-hero-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.55;
}

/* Feature Band Grid (6 items) */
.feature-band-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Responsive Header & Navigation & Drawer Core                               */
/* -------------------------------------------------------------------------- */

.mobile-phone-btn {
  display: none;
}

.mobile-drawer-contact-wrap {
  display: none;
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1490;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

body.nav-open .whatsapp-float-btn {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Tablet & Mobile Breakpoint (< 1024px) */
@media (max-width: 1023px) {
  .header {
    height: var(--header-height-mobile);
  }

  .header-inner {
    padding: 0;
  }

  .logo-img {
    height: 44px;
    max-height: 44px;
  }

  .desktop-only-icon,
  .desktop-only-btn {
    display: none !important;
  }

  .mobile-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-emerald-light);
    color: var(--color-emerald);
    border: 1px solid var(--color-emerald-border);
    font-size: 0.95rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
    margin-right: 6px;
  }

  .mobile-phone-btn:hover {
    background: var(--color-emerald);
    color: #ffffff;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: var(--color-navy);
    cursor: pointer;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--color-navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 80px 24px 40px;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 1500;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    list-style: none;
  }

  .nav-link {
    display: block;
    width: 100%;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link:hover, .nav-link.active {
    color: var(--color-gold);
    padding-left: 6px;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-drawer-contact-wrap {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .mobile-drawer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word;
  }

  .mobile-drawer-contact-link i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 0.85rem;
    flex-shrink: 0;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    max-height: none;
    padding: 44px 0 40px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.65) 100%),
                url('../images/toprak-suites/ChatGPT_Image_15_Eyl_2026_13_57_18__1_.png') center 30%/cover no-repeat;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    color: var(--color-gold);
    display: inline-block;
  }

  .hero-title {
    font-size: clamp(2.1rem, 7.5vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    color: #ffffff;
    padding: 0 8px;
    word-break: break-word;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    padding: 0 8px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    height: 50px;
    min-height: 50px;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 600;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius-sm);
  }

  .discovery-band {
    padding: 32px 0;
    background: var(--color-navy);
  }

  .discovery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .discovery-card {
    padding: 22px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 168, 128, 0.25);
    min-height: auto;
  }

  .feature-band {
    min-height: auto;
    padding: 20px 0;
  }

  .feature-band-grid,
  .feature-band-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-band-grid-6 .feature-band-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
  }

  .editorial-gallery, .floor-plan-card, .process-grid, .process-steps-grid, .story-grid, .services-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-main-card {
    height: 280px;
  }

  .references-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .references-grid .reference-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 65%;
    margin: 0 auto;
  }

  .whatsapp-float-btn {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 20px;
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float-btn span {
    display: none !important;
  }

  .whatsapp-float-btn i {
    font-size: 1.6rem;
  }

  .modal-overlay {
    padding: 12px;
  }

  .modal-container {
    height: 92vh;
    max-width: 96vw;
  }
}

/* Extra Small Screens (< 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 7vw, 2.4rem);
  }

  .hero-actions .btn {
    width: 100%;
    height: 48px;
    min-height: 48px;
  }
}
