/* ============================================
   SARAÇOĞLU KENT MİMARİ — Ana Stil Dosyası
   Modern & Canlı Tema
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #f5f0e8;
  --white: #ffffff;
  --dark: #111111;
  --charcoal: #1e1e1e;
  --accent: #c8a96e;       /* altın/bronz */
  --accent2: #2d6a4f;      /* derin yeşil */
  --accent-light: #e8d5b0;
  --text-main: #222222;
  --text-muted: #666666;
  --border: rgba(200,169,110,0.25);
  --nav-height: 80px;
  --radius: 4px;
  --shadow: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.16);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }

.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(245,240,232,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.nav-logo img {
  height: 42px;
  width: 42px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.nav-logo-text span {
  display: block;
  font-size: 0.62rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--dark) !important; transform: translateY(-1px); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- MOBILE NAV ---- */
.mobile-nav {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 24px 5%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
}

.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { font-size: 1.1rem; font-weight: 500; padding: 4px 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-white:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- SECTION COMMONS ---- */
section { padding: 100px 5%; }

.section-header { margin-bottom: 60px; }
.section-header .label { margin-bottom: 14px; }
.section-header h2 { max-width: 560px; }
.section-header p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

/* ---- DIVIDER ---- */
.divider {
  width: 50px; height: 3px;
  background: var(--accent);
  margin: 18px 0;
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 70px 5% 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: var(--accent); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  padding-left: 5%;
  padding-right: 5%;
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.06;
}

.page-hero .label { color: var(--accent-light); }
.page-hero h1 { color: var(--white); margin-top: 12px; }
.page-hero p {
  color: rgba(255,255,255,0.65);
  margin-top: 18px;
  font-size: 1.1rem;
  max-width: 560px;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-up { animation: fadeUp 0.8s ease forwards; }
.anim-up-2 { animation: fadeUp 0.8s 0.15s ease both; }
.anim-up-3 { animation: fadeUp 0.8s 0.3s ease both; }
.anim-up-4 { animation: fadeUp 0.8s 0.45s ease both; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  section { padding: 70px 5%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
