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

:root {
  --outer: 24px;
  --gap: 24px;
  --accent: #764ba2;
  --accent-light: #667eea;
  --dark: #1a1a2e;
  --text: #4a5568;
  --text-light: #64748b;
  --white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-page: #eef2f7;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= NAVBAR ================= */
.topbar {
  width: 100%;
  padding: 16px var(--outer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

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

.logo {
  height: 70px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.03);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlink {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 50px;
  transition: var(--transition);
}

.navlink:hover {
  color: var(--accent);
  background: rgba(118, 75, 162, 0.08);
}

.navlink.accent {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}

.navlink.accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(118, 75, 162, 0.3);
}

/* ================= MAIN ================= */
.wrap {
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  flex: 1;
}

/* GRID - SINGLE COLUMN STACKED */
.hero-grid {
  display: flex;
  gap: 16px;
  height: calc(100vh - 230px);
  min-height: 400px;
}

/* CARD - FILL AVAILABLE SPACE */
.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
  flex: 1;
  min-height: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

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

/* FOTO */
.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* OVERLAY */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(26, 26, 46, 0.85) 0%,
      rgba(26, 26, 46, 0.3) 50%,
      transparent 100%);
  z-index: 1;
  transition: var(--transition);
}

/* ALT BAR */
.card-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  text-align: center;
  z-index: 2;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  background: var(--accent);
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(118, 75, 162, 0.35);
  text-transform: uppercase;
}

.cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(118, 75, 162, 0.4);
}

.cta::after {
  content: '→';
  font-size: 16px;
  transition: var(--transition);
}

.card:hover .cta::after {
  transform: translateX(4px);
}

/* ================= PAGE TITLE ================= */
.page-title {
  width: 100%;
  text-align: center;
  margin: 40px auto 30px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--dark);
}

/* ================= FOOTER ================= */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 60px;
  height: auto;
  border-radius: 8px;
  opacity: 0.9;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ================= CONTENT PAGE ================= */
.content-page {
  flex: 1;
  padding: 0 24px 40px;
}

.page-header {
  text-align: center;
  padding: 40px 0 30px;
}

/* HERO BANNER - Büyük Görsel */
.hero-banner {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}

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

.hero-banner:hover .hero-banner-img {
  transform: scale(1.03);
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(26, 26, 46, 0.9) 0%,
      rgba(26, 26, 46, 0.4) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 50px;
  text-align: center;
}

.hero-banner-overlay h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-banner-overlay p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  font-style: italic;
}

/* IFRAME CONTAINER - Sanal Tur */
.iframe-container {
  width: 100%;
  margin-bottom: 40px;
}

.virtual-tour-frame {
  width: 100%;
  height: calc(100vh - 250px);
  min-height: 500px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.page-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* CONTENT CARDS */
.content-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.content-card .card-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.content-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 12px;
}

.content-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.content-card.highlight-card {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
}

.content-card.highlight-card h2,
.content-card.highlight-card p {
  color: var(--white);
}

.cta-inline {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.cta-inline:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-5px);
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(118, 75, 162, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  :root {
    --outer: 16px;
    --gap: 20px;
  }

  .hero-grid {
    height: calc(90vh - 280px);
    gap: 12px;
    flex-direction: column;
  }

  .wrap {
    padding: 30px var(--outer);
  }
}

@media (max-width: 520px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
  }

  .navlink {
    font-size: 10px;
    padding: 6px 10px;
  }

  .logo {
    height: 60px;
  }

  .hero-grid {
    height: calc(100vh - 340px);
    gap: 10px;
    min-height: 280px;
  }

  .card {
    border-radius: var(--radius);
  }

  .cta {
    font-size: 13px;
    padding: 12px 24px;
  }

  .card-footer {
    padding: 20px;
  }
}