/* ============================================
   Av. Kubra Ezgi Turan - Ozel Stiller
   Renk Paleti: Lacivert, Beyaz, Altin/Bakir
   ============================================ */

:root {
  --primary-dark: #1B2A4A;
  --primary: #2C3E6B;
  --primary-light: #3D5291;
  --accent: #C9A96E;
  --accent-dark: #B8860B;
  --accent-light: #D4BC8E;
  --white: #FFFFFF;
  --light-bg: #F8F9FA;
  --light-bg-2: #EDF2F7;
  --text-dark: #1a1a1a;
  --text: #333333;
  --text-light: #6B7280;
  --border: #E5E7EB;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--accent);
}

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  line-height: 1.3;
}

.navbar-brand span {
  color: var(--accent);
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
}

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  padding: 0.5rem;
  min-width: 240px;
}

.dropdown-item {
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: var(--light-bg-2);
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}

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

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Gold Accent Line */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border: none;
}

/* Buttons */
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,169,110,0.4);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,42,74,0.3);
}

/* Section Styles */
.section-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--primary-dark);
  font-weight: 700;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 600px;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text);
  display: block;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--accent);
  color: var(--text);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--light-bg-2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}

.service-card:hover .icon {
  background: var(--primary);
}

.service-card:hover .icon svg {
  stroke: var(--white);
}

.service-card .icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
}

.service-card h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--primary-dark);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Feature / Stat Cards */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card .number {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-card .label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.breadcrumb-nav {
  font-size: 0.9rem;
}

.breadcrumb-nav a {
  color: var(--accent-light);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb-nav span {
  color: rgba(255,255,255,0.6);
  margin: 0 0.5rem;
}

/* Content Typography */
.content-area h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--primary-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-bg-2);
}

.content-area h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-area p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.content-area ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.content-area ul li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  line-height: 1.6;
  color: var(--text);
}

.content-area ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.content-area blockquote {
  background: var(--light-bg);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: var(--text);
}

/* Sidebar */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.sidebar-card .card-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.05rem;
}

.sidebar-link {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--light-bg);
  transition: all 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--light-bg-2);
  color: var(--primary);
  padding-left: 1.5rem;
}

.sidebar-link.active {
  border-left: 3px solid var(--accent);
  font-weight: 600;
}

/* Contact Form */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,62,107,0.1);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.375rem;
  display: block;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
}

.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.scroll-top.visible {
  display: flex;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-menu .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
  }

  .close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
  }

  .hero {
    padding: 3rem 0 !important;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem !important;
  }
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Law Scale Icon for decoration */
.law-icon-bg {
  position: absolute;
  right: -5%;
  bottom: -10%;
  opacity: 0.05;
  font-size: 20rem;
  color: var(--white);
  pointer-events: none;
}
