/* Öz Keskin Yapı — Ana Stil */
:root {
  --gold: #C9A961;
  --gold-dark: #A8884A;
  --gold-light: #E5CC85;
  --navy: #1A2B4A;
  --navy-dark: #0F1A2E;
  --navy-light: #2E456B;
  --cream: #F5F2EA;
  --white: #FFFFFF;
  --gray-100: #F7F7F5;
  --gray-200: #E8E8E3;
  --gray-400: #9A9A94;
  --gray-600: #5A5A55;
  --gray-800: #2A2A26;
  --text: #1A2B4A;
  --muted: #6A7487;
  --success: #2E7D32;
  --danger: #C62828;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(26,43,74,.06);
  --shadow-md: 0 8px 24px rgba(26,43,74,.10);
  --shadow-lg: 0 20px 50px rgba(26,43,74,.15);
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p { margin-bottom: 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-cream { background: var(--cream); }
.bg-gray { background: var(--gray-100); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 18px rgba(26,43,74,.08);
  border-bottom: 1px solid rgba(201,169,97,.12);
  transition: all .3s;
}
.header.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(26,43,74,.10);
}
/* Sadece anasayfada şeffaf — scroll edilene kadar */
.header.transparent:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: transparent;
}

.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img {
  height: 80px;
  width: auto;
  transition: height .3s;
}
.header.scrolled .logo img { height: 60px; }
@media (max-width: 700px) {
  .logo img { height: 60px; }
  .header.scrolled .logo img { height: 50px; }
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--navy); position: relative; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .3s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header.transparent:not(.scrolled) .nav a { color: var(--white); }

.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.menu-toggle span { display: block; width: 28px; height: 2px; background: var(--navy); margin: 6px 0; transition: all .3s; }
.header.transparent:not(.scrolled) .menu-toggle span { background: var(--white); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
    background: var(--navy); flex-direction: column; justify-content: center; gap: 24px;
    padding: 40px; transition: right .4s var(--ease);
  }
  .nav.open { right: 0; }
  .nav a { color: var(--white); font-size: 1.2rem; }
  .nav a::after { background: var(--gold); }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--white); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--white); }
}

/* Hero */
.hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: center; background: var(--navy); }
.hero-3d { position: absolute; inset: 0; z-index: 1; }
.hero-3d canvas { width: 100% !important; height: 100% !important; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(120deg, rgba(15,26,46,.85) 0%, rgba(15,26,46,.4) 50%, rgba(15,26,46,.7) 100%);
}
.hero-content { position: relative; z-index: 3; color: var(--white); padding: 120px 0 80px; max-width: 780px; }
.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-content h1 .gold { color: var(--gold); font-style: italic; }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .2em;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .line { width: 1px; height: 40px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-scroll .line::after {
  content: ''; position: absolute; top: -40px; left: 0; width: 1px; height: 40px;
  background: var(--gold); animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -40px; } 100% { top: 40px; } }

/* Section headers */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--gold); font-weight: 700; line-height: 1; }
.stat-num::after { content: '+'; color: var(--gold); margin-left: 4px; }
.stat-label { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.bg-navy .stat-label { color: rgba(255,255,255,.7); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* Service cards — 3 sütun zorunlu */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white); padding: 40px 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); transition: all .4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  color: var(--gold); transition: all .4s var(--ease);
}
.service-card:hover .service-icon { background: var(--gold); color: var(--white); transform: scale(1.1); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--muted); margin: 0; }

/* Project cards */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.project-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/5; cursor: pointer; background: var(--navy);
}
.project-card .img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .8s var(--ease); filter: brightness(.75);
}
.project-card:hover .img { transform: scale(1.08); filter: brightness(.5); }
.project-card .overlay {
  position: absolute; inset: 0; padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--white);
  background: linear-gradient(180deg, transparent 40%, rgba(15,26,46,.85) 100%);
}
.project-card .tag {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 4px 12px; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; border-radius: 4px; align-self: flex-start; margin-bottom: 12px;
}
.project-card h3 { color: var(--white); margin-bottom: 6px; }
.project-card .loc { font-size: .85rem; opacity: .8; }
.project-card .arrow {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transform: rotate(-45deg); opacity: 0; transition: all .4s var(--ease);
}
.project-card:hover .arrow { opacity: 1; transform: rotate(0deg); }

/* Project filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px; border: 1px solid var(--gray-200); background: transparent;
  border-radius: 40px; cursor: pointer; font-family: inherit; font-size: .9rem;
  color: var(--muted); transition: all .3s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 8px; letter-spacing: .05em;
}
.form-control {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem;
  background: var(--white); color: var(--text); transition: border-color .2s;
}
.form-control:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,97,.15); }
textarea.form-control { min-height: 140px; resize: vertical; }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer h4 { color: var(--white); font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin-bottom: 24px; letter-spacing: .05em; text-transform: uppercase; }
.footer h4::after { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); margin-top: 10px; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: .92rem; }
.footer .logo-text strong { color: var(--white); }
.footer .brand-desc { margin: 20px 0; font-size: .92rem; line-height: 1.7; }
.footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.footer .socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center; transition: all .3s;
}
.footer .socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer .socials svg { width: 18px; height: 18px; }
.footer .contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: .92rem; }
.footer .contact-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; font-size: .85rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy); color: var(--white);
  padding: 180px 0 80px; position: relative; overflow: hidden;
  background-image: linear-gradient(135deg, rgba(15,26,46,.95), rgba(26,43,74,.9)), url('../img/pattern.svg');
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 680px; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span.sep { opacity: .5; }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; gap: 32px; } .section { padding: 64px 0; } }

/* Fade-in reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Rich content (blog/hizmet/proje detay) */
.rich-content p { margin-bottom: 1.2em; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content strong { color: var(--navy); font-weight: 700; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: 1.5em 0 .6em; }

/* Flash messages */
.flash { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 16px; font-size: .95rem; }
.flash-success { background: #E7F5E9; color: #1B5E20; border-left: 4px solid #2E7D32; }
.flash-error { background: #FFEBEE; color: #B71C1C; border-left: 4px solid #C62828; }
.flash-info { background: #E3F2FD; color: #0D47A1; border-left: 4px solid #1976D2; }

/* Loader */
.loader {
  position: fixed; inset: 0; background: var(--navy); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s, visibility .6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  width: 80px; height: 80px; border: 3px solid rgba(201,169,97,.2); border-top-color: var(--gold);
  border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
