/* ===== YOLCU AVUKATLIK BÜROSU — MAIN STYLESHEET ===== */

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

/* ===== CSS VARIABLES ===== */
:root {
  --gold:        #B8965A;
  --gold-light:  #D4AF7A;
  --gold-dark:   #8B6F3E;
  --navy:        #1A2340;
  --navy-mid:    #243055;
  --navy-light:  #2E3D6E;
  --cream:       #FAF8F5;
  --cream-dark:  #F0EDE6;
  --dark:        #111827;
  --text-main:   #2D3748;
  --text-sub:    #64748B;
  --white:       #FFFFFF;
  --border:      #E2DDD4;
  --shadow-sm:   0 2px 8px rgba(26,35,64,.08);
  --shadow-md:   0 8px 32px rgba(26,35,64,.12);
  --shadow-lg:   0 20px 60px rgba(26,35,64,.18);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all .35s cubic-bezier(.4,0,.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-16 { gap: 16px; }

/* ===== GOLD DIVIDER ===== */
.divider {
  display: flex; align-items: center; gap: 16px; margin-bottom: 48px;
}
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-icon { color: var(--gold); font-size: 18px; }

/* ===== SECTION HEADER ===== */
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy); margin-bottom: 20px;
}
.section-desc {
  font-size: 17px; color: var(--text-sub);
  max-width: 600px; line-height: 1.8;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; font-size: 15px; font-weight: 600;
  border-radius: var(--radius); cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
  letter-spacing: .03em;
}
.btn-gold {
  background: var(--gold); color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark); border-color: var(--gold-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,150,90,.35);
}
.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12); border-color: var(--white);
  transform: translateY(-2px);
}

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(26,35,64,.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
}
/* LOGO */
.logo {
  display: flex; align-items: center; gap: 14px;
  color: var(--white);
}
.logo-icon {
  width: 46px; height: 46px; flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  letter-spacing: .04em;
}
.logo-sub {
  font-size: 10px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); opacity: .9;
}
/* NAV LINKS */
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .03em;
  position: relative; padding-bottom: 4px;
  transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1.5px; background: var(--gold);
  transition: right .3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { right: 0; }
/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--navy);
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 12px 0;
  font-size: 15px; color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); padding-left: 8px; }

/* ===================================================
   HERO
=================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1d2f5e 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(184,150,90,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(184,150,90,.08) 0%, transparent 70%);
}
.hero-bg-text {
  position: absolute; right: -20px; bottom: -40px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 700; line-height: 1;
  color: rgba(255,255,255,.03);
  user-select: none; pointer-events: none;
  letter-spacing: -.02em;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,150,90,.15);
  border: 1px solid rgba(184,150,90,.35);
  color: var(--gold-light);
  padding: 8px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--gold);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .6; }
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  color: var(--white); margin-bottom: 24px;
  font-weight: 700; line-height: 1.15;
}
.hero-title span { color: var(--gold); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.7);
  margin-bottom: 40px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: 13px; color: rgba(255,255,255,.55);
  margin-top: 4px; letter-spacing: .04em;
}
/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: rgba(255,255,255,.4); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  animation: fadeInUp 2s ease 1.5s both;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px; display: flex; justify-content: center;
  padding-top: 6px;
}
.scroll-mouse::after {
  content: ''; width: 3px; height: 8px;
  background: var(--gold); border-radius: 2px;
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===================================================
   PRACTICE AREAS
=================================================== */
.practice { background: var(--white); }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 48px;
}
.practice-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  transition: var(--transition);
}
.practice-card:hover .practice-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}
.practice-card h3 {
  font-size: 18px; font-weight: 600;
  color: var(--navy); margin-bottom: 12px;
}
.practice-card p {
  font-size: 14px; color: var(--text-sub); line-height: 1.7;
}

/* ===================================================
   ABOUT
=================================================== */
.about { background: var(--cream); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-placeholder {
  width: 100%;
  max-width: 460px; /* Tasarımı bozmaması için genişliği sınırlandırdık */
  margin: 0 auto;
  aspect-ratio: 1 / 1; /* Kare form daha dengeli duracaktır */
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  background: var(--navy-mid);
  box-shadow: var(--shadow-md);
}
.about-img {
  width: 90%; /* Kutunun içinde hafif boşluk bırakarak 'büyük' ama zarif durmasını sağladık */
  height: 90%;
  object-fit: contain; /* Görselin kesilmeden tamamının görünmesini sağlar */
  transition: var(--transition);
}
.about-img-placeholder:hover .about-img {
  transform: scale(1.08);
}
.about-badge-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  min-width: 180px;
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1;
}
.about-badge-label {
  font-size: 13px; color: var(--text-sub); line-height: 1.4;
}
.about-tag-list {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.about-tag {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
}


/* ===================================================
   CONTACT
=================================================== */
.contact { background: var(--white); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.contact-info h2 { font-size: 32px; color: var(--navy); margin-bottom: 20px; }
.contact-info p { color: var(--text-sub); margin-bottom: 36px; line-height: 1.8; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-detail-label {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 15px; color: var(--text-main); line-height: 1.5;
}

/* FORM */
.contact-form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-card h3 {
  font-size: 22px; color: var(--navy); margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-main); margin-bottom: 8px; letter-spacing: .02em;
}
.form-input, .form-textarea {
  width: 100%; padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px; font-family: 'Inter', sans-serif;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,90,.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border: none; border-radius: var(--radius);
  font-size: 16px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer; transition: var(--transition);
  letter-spacing: .03em;
}
.form-submit:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,150,90,.35);
}
/* Success */
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success-icon { font-size: 56px; margin-bottom: 16px; }
.form-success h3 {
  font-size: 22px; color: var(--navy); margin-bottom: 10px;
}
.form-success p { color: var(--text-sub); }
/* Error */
.form-error {
  background: #fef2f2; border: 1px solid #fecaca;
  color: #dc2626; border-radius: var(--radius);
  padding: 12px 16px; font-size: 14px; margin-bottom: 16px;
}

/* ===================================================
   FOOTER
=================================================== */
.footer {
  background: var(--dark);
  padding: 48px 0 24px;
  color: rgba(255,255,255,.5);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 40px;
  flex-wrap: wrap;
}
.footer-logo .logo-title { font-size: 20px; }
.footer-desc {
  font-size: 14px; line-height: 1.8;
  max-width: 320px; margin-top: 12px;
  color: rgba(255,255,255,.4);
}
.footer-links h4 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 8px;
}
.footer-bottom span { color: var(--gold); }

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero-stats { gap: 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .hero-badge { font-size: 11px; }
  .contact-form-card { padding: 24px 20px; }
  .about-badge-card { right: 0; bottom: -16px; }
}
