/* ============================================================
   GÜRPINAR GRUP — Ortak Stil Dosyası
   Tüm sayfalar bu dosyayı import eder.
   Google Fonts: Playfair Display + DM Sans
   ============================================================ */

/* ── CSS DEĞİŞKENLERİ ── */
:root {
  --teal:       #3D8F93;
  --teal-light: #A1C3C6;
  --teal-dark:  #2a6568;
  --teal-bg:    #eef5f5;
  --charcoal:   #1C2B2D;
  --white:      #ffffff;
  --offwhite:   #f7fafa;
  --text:       #2d3e40;
  --text-muted: #607b7d;
  --border:     #d6e8e9;
  --success:    #22c55e;
  --error:      #ef4444;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(28,43,45,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(161,195,198,0.15);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark {
  width: 40px; height: 40px; background: var(--teal); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: white;
}
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: white; line-height: 1.1; }
.nav-logo-text span { display: block; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 400; color: var(--teal-light); letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > span {
  display: flex; align-items: center; gap: 4px; padding: 8px 14px;
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 14px; font-weight: 500; border-radius: 6px; cursor: pointer; transition: all 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li:hover > span { color: white; background: rgba(161,195,198,0.12); }
.nav-links > li > a.active { color: var(--teal-light); }
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 210px; background: var(--charcoal);
  border: 1px solid rgba(161,195,198,0.2); border-radius: 10px; padding: 8px 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.nav-links > li:hover .dropdown { display: block; }

/* Dropdown gap bridge — fare nav item ile dropdown arası boşlukta kaybolmasın */
.nav-links > li::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0;
  height: 10px; background: transparent; display: none;
}
.nav-links > li:hover::after { display: block; }
.dropdown a { display: block; padding: 9px 18px; color: rgba(255,255,255,0.78); text-decoration: none; font-size: 13.5px; transition: all 0.15s; }
.dropdown a:hover { background: rgba(61,143,147,0.2); color: var(--teal-light); padding-left: 24px; }
.nav-cta { background: var(--teal) !important; color: white !important; border-radius: 8px; padding: 9px 18px !important; font-weight: 600 !important; font-size: 13.5px !important; }
.nav-cta:hover { background: var(--teal-dark) !important; }
.chevron { font-size: 10px; opacity: 0.6; transition: transform 0.2s; }
li:hover .chevron { transform: rotate(180deg); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; cursor: pointer;
  background: none; border: none; border-radius: 8px; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBİL MENÜ ── */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(28,43,45,0.98); z-index: 999;
  overflow-y: auto; padding: 24px 24px 48px;
  flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; padding: 13px 16px; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 16px; font-weight: 500; border-radius: 10px; transition: background 0.15s; }
.mobile-nav a:hover { background: rgba(61,143,147,0.2); color: white; }
.mob-group-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal-light); padding: 20px 16px 4px; display: block; cursor: default; }
.mob-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 8px 0; }
.mobile-nav .nav-cta { background: var(--teal) !important; color: white !important; text-align: center; margin-top: 16px; font-weight: 700; }

/* ── PAGE HERO (İç sayfalar için) ── */
.page-hero {
  background: var(--charcoal);
  padding: 140px 48px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(61,143,147,0.15) 0%, transparent 60%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61,143,147,0.2); border: 1px solid rgba(161,195,198,0.3);
  padding: 5px 16px; border-radius: 100px; font-size: 11px; font-weight: 700;
  color: var(--teal-light); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px,5vw,64px); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--teal-light); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 540px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: rgba(255,255,255,0.75); }

/* ── LAYOUT YARDIMCILAR ── */
.container { max-width: 1200px; margin: 0 auto; }
.page-section { padding: 64px 48px; max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block; background: var(--teal-bg); color: var(--teal);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; border: 1px solid var(--border);
}
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px,3.5vw,44px); font-weight: 700; color: var(--charcoal); line-height: 1.15; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-muted); line-height: 1.75; max-width: 560px; }

/* ── BUTONLAR ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white; text-decoration: none;
  padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 2px solid var(--teal); cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,143,147,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white; text-decoration: none;
  padding: 14px 28px; border-radius: 10px; font-weight: 500; font-size: 15px;
  border: 2px solid rgba(255,255,255,0.3); transition: all 0.2s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ── FORM ELEMANLARI ── */
label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
label .req { color: var(--teal); margin-left: 2px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text);
  background: white; transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(61,143,147,0.1); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23607b7d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 120px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group.full { grid-column: 1 / -1; }

.submit-btn {
  width: 100%; padding: 15px; background: var(--teal); color: white; border: none;
  border-radius: 12px; font-size: 16px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.submit-btn:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,143,147,0.3); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.kvkk-row { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 20px; }
.kvkk-row input[type=checkbox] { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--teal); cursor: pointer; }
.kvkk-row label { font-size: 13px; color: var(--text-muted); line-height: 1.5; cursor: pointer; font-weight: 400; }
.kvkk-row label a { color: var(--teal); }

/* ── FOOTER ── */
footer { background: var(--charcoal); padding: 64px 48px 32px; border-top: 1px solid rgba(161,195,198,0.12); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; transition: background 0.2s; color: rgba(255,255,255,0.7); }
.social-btn:hover { background: var(--teal); color: white; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-light); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--teal-light); text-decoration: none; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  section, .page-section { padding: 64px 24px; }
  .page-hero { padding: 120px 24px 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer { padding: 48px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { top: 64px; }

  .page-hero { padding: 104px 20px 56px; }
  .page-hero::after { font-size: 80px !important; }

  section, .page-section { padding: 48px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 36px 20px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .btn-primary, .btn-outline { padding: 13px 22px; font-size: 14px; }
}

/* ── COOKIE CONSENT BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(28, 43, 45, 0.97);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner p { margin: 0; line-height: 1.5; }
.cookie-link { color: #A1C3C6; text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btn {
  padding: .45rem 1.2rem;
  border-radius: 6px;
  border: none;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn-accept { background: #3D8F93; color: #fff; }
.cookie-btn-accept:hover { background: #2a6568; }
.cookie-btn-reject { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cookie-btn-reject:hover { border-color: #fff; }

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
