/* 
  Arda Ertan Studio - Premium Minimalist Architectural Stylesheet
  Aynı tasarım DNA'sı: beyaz zemin, ince çizgiler, grayscale→renkli hover, elegant spacing.
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Syne:wght@400..800&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #fdfdfd;
  --text-dark: #000000;
  --text-muted: #666666;
  --text-light-muted: #999999;
  --border-color: #e5e5e5;
  --border-dark: #000000;

  --font-primary: 'Syne', 'Montserrat', 'Outfit', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;

  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-secondary);
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Header Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: lowercase;
}

.logo span {
  font-weight: 300;
  color: var(--text-muted);
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav li {
  display: flex;
  align-items: center;
}

nav li:not(:last-child)::after {
  content: '|';
  margin: 0 1rem;
  color: var(--border-color);
  font-weight: 300;
}

nav a {
  text-decoration: none;
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dark);
  transition: var(--transition-fast);
  text-transform: capitalize;
}

nav a:hover {
  color: var(--text-muted);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 200;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-dark);
  position: absolute;
  left: 0;
  transition: var(--transition-fast);
}

.mobile-nav-toggle span:nth-child(1) { top: 6px; }
.mobile-nav-toggle span:nth-child(2) { top: 12px; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; }

.mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 12px; }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 12px; }

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-left h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-transform: none;
}

/* Mission Block */
.mission-block {
  border-top: 1px solid var(--border-color);
  padding-top: 1.8rem;
  max-width: 460px;
}

.mission-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mission-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}

.mission-text strong {
  font-weight: 700;
}

.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 0;
  margin: 0 0 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.mission-no {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  min-width: 22px;
  padding-top: 2px;
}

.mission-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mission-meta-row {
  display: flex;
  font-size: 0.8rem;
  line-height: 1.5;
}

.mission-meta-key {
  width: 130px;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.mission-meta-val {
  color: var(--text-muted);
}

/* Hero Right — Photo Container */
.hero-right {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}


.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.hero-right:hover .hero-photo-placeholder {
  filter: grayscale(0%);
}

.hero-photo-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    hsl(220, 15%, 88%) 0%,
    hsl(220, 10%, 82%) 30%,
    hsl(220, 8%, 75%) 60%,
    hsl(220, 12%, 85%) 100%
  );
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2rem;
}

/* Blueprint grid overlay on hero image */
.photo-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pg-line {
  position: absolute;
  background: rgba(0,0,0,0.08);
}

.pg-h1 { top: 33%; left: 0; right: 0; height: 1px; }
.pg-h2 { top: 66%; left: 0; right: 0; height: 1px; }
.pg-v1 { left: 33%; top: 0; bottom: 0; width: 1px; }
.pg-v2 { left: 66%; top: 0; bottom: 0; width: 1px; }

.pg-circle {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.pg-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%,-50%);
}

.pg-cross::before,
.pg-cross::after {
  content: '';
  position: absolute;
  background: rgba(0,0,0,0.15);
}

.pg-cross::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.pg-cross::after {
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
}

.hero-photo-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hpl-tag {
  font-family: var(--font-secondary);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
}

.hpl-sub {
  font-family: var(--font-secondary);
  font-size: 0.65rem;
  font-style: italic;
  color: rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 140px;
  }
  .hero-right {
    height: auto;
  }
}

/* Section Structures */
.section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
}

.section-text {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.section-para {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.section-para strong {
  color: var(--text-dark);
}

.section-quote-col {
  display: flex;
  align-items: start;
  justify-content: start;
  padding-top: 3.5rem;
}

.italic-quote {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light-muted);
  max-width: 320px;
}

/* Technical Drawing / Blueprint Container */
.technical-block {
  margin-top: 4rem;
  border: 1px solid var(--border-color);
  background-color: #fafafa;
  padding: 0;
  display: flex;
  overflow: hidden;
  max-height: 420px;
}

.blueprint-svg {
  width: 100%;
  max-width: 700px;
  height: auto;
  stroke: #cccccc;
  fill: none;
}

.blueprint-gif {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.technical-block:hover .blueprint-gif {
  filter: grayscale(0%);
}

/* ─── Photo Placeholder Cards ─── */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(
    135deg,
    hsl(var(--ph-hue, 220), 20%, 88%) 0%,
    hsl(var(--ph-hue, 220), 15%, 78%) 40%,
    hsl(var(--ph-hue, 220), 10%, 70%) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.25) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 29px,
      rgba(0,0,0,0.04) 29px,
      rgba(0,0,0,0.04) 30px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 29px,
      rgba(0,0,0,0.04) 29px,
      rgba(0,0,0,0.04) 30px
    );
  pointer-events: none;
}

/* Dark variant for graphic design section */
.photo-placeholder.pp-dark {
  background: linear-gradient(
    135deg,
    hsl(var(--ph-hue, 220), 25%, 18%) 0%,
    hsl(var(--ph-hue, 220), 20%, 12%) 60%,
    hsl(var(--ph-hue, 220), 15%, 8%) 100%
  );
}

.ph-tag {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.ph-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  line-height: 1.2;
  margin-bottom: 0.2rem;
  position: relative;
  z-index: 1;
}

.ph-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

/* Horizontal Gallery Slider */
.slider-wrapper {
  position: relative;
  width: 100%;
  margin: 4rem 0 2rem 0;
  container-type: inline-size;
}

.slider-window {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-track .gallery-card {
  flex: 0 0 100%;
  min-width: 100%;
}

.slider-arrow {
  position: absolute;
  top: 21.43cqw;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.slider-arrow:hover {
  background-color: var(--text-dark);
  color: var(--bg-primary);
  border-color: var(--text-dark);
}

.slider-arrow.prev { left: -22px; }
.slider-arrow.next { right: -22px; }

.slider-arrow:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.gallery-card {
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery-img-wrapper {
  overflow: hidden;
  margin-bottom: 1rem;
}

.gallery-img-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 21/9;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-img-wrapper img {
  filter: grayscale(0%);
  transform: scale(1.01);
}

/* Grayscale on placeholder cards, color on hover */
.gallery-img-wrapper .photo-placeholder {
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-img-wrapper .photo-placeholder {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.gallery-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.gallery-card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.gallery-card-link {
  display: none;
}

.centered-caption {
  text-align: center;
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section-quote-col {
    padding-top: 0;
  }
}

@media (max-width: 576px) {
  .slider-arrow.prev { left: 4px; }
  .slider-arrow.next { right: 4px; }
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    z-index: 30;
    opacity: 1 !important;
  }

  .technical-block {
    max-height: 240px;
    overflow: hidden;
  }

  .blueprint-gif {
    width: 100%;
    height: 240px;
    max-height: 240px;
    object-fit: contain;
  }
}

/* Contact Section */
.contact-grid {
  grid-template-columns: auto 1.2fr 1fr;
  align-items: start;
  gap: 4rem;
}

.contact-photo-col {
  display: flex;
  align-items: flex-start;
}

.contact-photo {
  width: 220px;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.contact-photo-col:hover .contact-photo {
  filter: grayscale(0%);
}

.flat-contact-block {
  margin-top: 3rem;
}

.flat-cta-link {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 5px;
  transition: var(--transition-fast);
}

.flat-cta-link:hover {
  color: var(--text-muted);
  border-color: var(--text-muted);
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-row {
  display: flex;
  font-size: 0.8rem;
  line-height: 1.5;
}

.contact-key {
  width: 130px;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.contact-val {
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-photo {
    width: 160px;
  }
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  padding: 5rem 0;
  background-color: var(--bg-primary);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a, .footer-col span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
}

.footer-col a:hover {
  color: var(--text-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-light-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.footer-disclaimer {
  max-width: 50%;
  text-align: right;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header .nav-container {
    height: 90px;
  }

  .mobile-nav-toggle {
    display: block;
  }

  #nav-menu {
    position: fixed;
    top: 90px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--bg-primary);
    transition: var(--transition-smooth);
    padding: 3rem 2.5rem;
    z-index: 999;
    border-top: 1px solid var(--border-color);
  }

  #nav-menu.active {
    left: 0;
  }

  #nav-menu ul {
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
  }

  #nav-menu li:not(:last-child)::after {
    display: none;
  }

  #nav-menu a {
    font-size: 1.4rem;
    font-weight: 300;
  }

  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .footer-disclaimer {
    max-width: 100%;
    text-align: left;
  }
}
