/* =========================================================
   Sarus Finansal Hizmetler — main.css
   ========================================================= */

:root {
  --sarus-navy:        #0A1F44;
  --sarus-navy-light:  #14305F;
  --sarus-gold:        #C9A227;
  --sarus-gold-light:  #E8C766;
  --sarus-ivory:       #F8F6F0;
  --sarus-white:       #FFFFFF;
  --sarus-text:        #1A2332;
  --sarus-text-muted:  #5A6478;
  --sarus-border:      #E3DFD3;
  --max-width: 1180px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--sarus-text);
  background: var(--sarus-white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--sarus-navy);
  line-height: 1.25;
}

.section { padding: 100px 0; scroll-margin-top: 80px; }
.section-light { background: var(--sarus-white); }
.section-dark {
  background: linear-gradient(160deg, var(--sarus-navy), var(--sarus-navy-light));
  color: rgba(255,255,255,0.88);
}
.section-dark h2, .section-dark h3 { color: var(--sarus-white); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sarus-gold);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  position: relative;
  padding-bottom: 20px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--sarus-gold);
}
.section-subtitle { color: var(--sarus-gold); font-weight: 600; font-size: 18px; margin-top: 8px; }
.section-lead { color: var(--sarus-text-muted); font-size: 17px; max-width: 720px; margin: 16px auto 0; }
.section-dark .section-lead { color: rgba(255,255,255,0.75); }

/* ---------------- Scroll fade-in ---------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.fade-in-up.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ---------------- Crane divider ---------------- */
.crane-divider {
  width: 90px;
  height: auto;
  color: var(--sarus-gold);
  margin: 0 auto 20px;
  display: block;
}

/* ---------------- Section background watermark (turna silüeti) ---------------- */
.section { position: relative; }
.section > .container,
.section > .story-container { position: relative; z-index: 1; }
.section-watermark {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.section-watermark svg {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: clamp(360px, 42vw, 640px);
  height: auto;
  color: var(--sarus-gold);
  opacity: 0.06;
}
.section-dark .section-watermark svg { opacity: 0.08; }
.section-watermark.watermark-left svg { right: auto; left: -6%; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 31, 68, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  box-shadow: 0 2px 18px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; line-height: 1.15; }
.brand-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--sarus-white);
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sarus-gold-light);
  margin-top: 2px;
}
.custom-logo { max-height: 48px; width: auto; }

.main-nav-list { display: flex; gap: 34px; }
.main-nav-list a {
  color: var(--sarus-white);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav-list a:hover,
.main-nav-list a:focus-visible {
  border-color: var(--sarus-gold);
  color: var(--sarus-gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--sarus-white); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 200px;
  background: linear-gradient(150deg, var(--sarus-navy) 0%, var(--sarus-navy-light) 100%);
  color: var(--sarus-white);
  overflow: hidden;
}
.hero.has-hero-photo {
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(10,31,68,0.94) 0%, rgba(10,31,68,0.82) 38%, rgba(10,31,68,0.42) 68%, rgba(10,31,68,0.2) 100%);
}
.hero:not(.has-hero-photo) .hero-overlay { display: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.hero-cranes {
  width: min(60vw, 720px);
  height: auto;
  color: rgba(201, 162, 39, 0.28);
  transform: translateX(8%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 640px; text-align: left; }
.hero-copy .eyebrow { color: var(--sarus-gold-light); }
.hero-copy h1 {
  color: var(--sarus-white);
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.btn-gold {
  background: var(--sarus-gold);
  color: var(--sarus-navy);
}
.btn-gold:hover { background: var(--sarus-gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--sarus-white);
}
.btn-outline-light:hover { border-color: var(--sarus-gold); color: var(--sarus-gold-light); }

/* ---------------- About ---------------- */
.about-copy { max-width: 820px; margin: 0 auto 56px; color: var(--sarus-text-muted); font-size: 16.5px; }
.about-copy p + p { margin-top: 16px; }

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.about-card {
  background: var(--sarus-ivory);
  border: 1px solid var(--sarus-border);
  border-top: 3px solid var(--sarus-gold);
  border-radius: 6px;
  padding: 30px 26px;
}
.about-card h3 { font-size: 18px; }
.about-card p { color: var(--sarus-text-muted); font-size: 15px; margin: 0; }

/* ---------------- Services ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--sarus-white);
  border: 1px solid var(--sarus-border);
  border-radius: 6px;
  padding: 32px 28px;
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.service-card:hover { box-shadow: 0 20px 40px rgba(10,31,68,0.12); transform: translateY(-4px); border-color: rgba(201,162,39,0.4); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sarus-ivory);
  color: var(--sarus-gold);
  margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-slogan { color: var(--sarus-gold); font-style: italic; font-weight: 600; font-size: 14.5px; margin: 0 0 16px; }

.service-details { border-top: 1px solid var(--sarus-border); padding-top: 12px; }
.service-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sarus-navy);
  list-style: none;
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after { content: "+"; float: right; color: var(--sarus-gold); font-weight: 700; text-transform: none; }
.service-details[open] summary::after { content: "–"; }
.service-body { margin-top: 14px; }
.service-body p { color: var(--sarus-text-muted); font-size: 14.5px; margin: 0 0 12px; }
.service-close { color: var(--sarus-gold) !important; font-weight: 700; font-size: 14.5px; margin: 0 !important; }

.services-emphasis-band {
  margin-top: 48px;
  background: linear-gradient(150deg, var(--sarus-navy), var(--sarus-navy-light));
  border-radius: 6px;
  padding: 26px 32px;
  text-align: center;
}
.services-emphasis-band p {
  margin: 0;
  color: var(--sarus-gold-light);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
}
.services-emphasis-band .emphasis-note { color: rgba(232,199,102,0.75); font-weight: 500; font-size: 14px; }

/* ---------------- Story ---------------- */
.story-section .container.story-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.story-visual { position: sticky; top: 120px; display: flex; justify-content: center; }
.story-crane { width: 160px; height: auto; color: var(--sarus-gold); opacity: 0.85; }
.story-head { text-align: left; margin: 0 0 32px; max-width: none; }
.story-head h2::after { left: 0; transform: none; }
.story-drop-intro {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.55;
  color: var(--sarus-navy);
  font-weight: 500;
  margin: 0 0 24px;
}
.story-drop-intro::first-letter {
  font-size: 58px;
  font-weight: 700;
  color: var(--sarus-gold);
  float: left;
  line-height: 0.85;
  padding-right: 10px;
  padding-top: 6px;
}
.story-body p { color: var(--sarus-text-muted); font-size: 16px; margin: 0 0 16px; }
.story-more { margin-top: 4px; }
.story-more summary {
  cursor: pointer;
  color: var(--sarus-gold);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  list-style: none;
  margin-bottom: 14px;
}
.story-more summary::-webkit-details-marker { display: none; }
.story-more summary::after { content: " →"; }
.story-more[open] summary::after { content: " ↑"; }
.story-quote {
  margin: 40px 0 0;
  padding: 24px 0 24px 28px;
  border-left: 3px solid var(--sarus-gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  color: var(--sarus-navy);
}

/* ---------------- Industry ---------------- */
.industry-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 48px;
}
.industry-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 4px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}
.industry-highlight {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 17px;
  font-style: italic;
  color: var(--sarus-gold-light);
  border-top: 1px solid rgba(201,162,39,0.4);
  border-bottom: 1px solid rgba(201,162,39,0.4);
  padding: 24px 0;
}
.industry-sectors { text-align: center; }
.industry-sectors-label { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 8px; }
.industry-sectors-list { font-size: 19px; font-weight: 700; color: var(--sarus-white); letter-spacing: 0.02em; }

/* ---------------- Team ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 36px;
}
.team-card {
  background: var(--sarus-ivory);
  border: 1px solid var(--sarus-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 3px solid var(--sarus-gold);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-body { padding: 28px 30px 32px; }
.team-name { font-size: 21px; margin-bottom: 4px; }
.team-title { color: var(--sarus-gold); font-weight: 600; font-size: 14px; margin-bottom: 20px; }

.team-accordion { border-top: 1px solid var(--sarus-border); padding: 14px 0; }
.team-accordion summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--sarus-navy);
  list-style: none;
}
.team-accordion summary::-webkit-details-marker { display: none; }
.team-accordion summary::after { content: "+"; float: right; color: var(--sarus-gold); font-weight: 700; }
.team-accordion[open] summary::after { content: "–"; }
.team-accordion ul { margin-top: 12px; padding-left: 0; }
.team-accordion li {
  font-size: 14px;
  color: var(--sarus-text-muted);
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}
.team-accordion li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sarus-gold);
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 6px;
  padding: 30px 28px;
}
.contact-card h3 { color: var(--sarus-gold-light); font-size: 17px; margin-bottom: 14px; }
.contact-card p { font-size: 15px; color: rgba(255,255,255,0.82); margin: 0 0 6px; }
.contact-label { color: var(--sarus-gold-light); font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--sarus-navy);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 36px;
  text-align: center;
}
.footer-copyright { font-size: 14px; margin: 0 0 6px; }
.footer-slogan { font-family: var(--font-serif); font-style: italic; color: var(--sarus-gold-light); font-size: 15px; margin: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-cranes { width: 80vw; opacity: 0.5; }
  .story-section .container.story-container { grid-template-columns: 1fr; gap: 24px; }
  .story-visual { position: static; }
  .story-crane { width: 90px; }
}

@media (max-width: 780px) {
  .hero { padding-top: 150px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--sarus-navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 400px; }
  .main-nav-list { flex-direction: column; gap: 0; }
  .main-nav-list a { display: block; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .section { padding: 72px 0; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}
