/* Av. Ali Altın Hukuk & Danışmanlık — CSS Tasarım Sistemi */

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

/* Tasarım Değişkenleri */
:root {
  --primary: #0f172a;       /* Derin Lacivert (Slate 900) */
  --primary-light: #1e293b; /* Açık Lacivert (Slate 800) */
  --primary-dark: #020617;  /* En Koyu Lacivert (Slate 950) */
  --accent: #c5a880;        /* Prestijli Altın / Gold */
  --accent-light: #dfcbb5;  /* Açık Altın */
  --accent-hover: #b3946d;  /* Koyu Altın */
  --bg-light: #f8fafc;      /* Arka Plan Açık Gri (Slate 50) */
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-body: #334155;     /* Gövde Metni Koyu Gri (Slate 700) */
  --text-muted: #64748b;    /* Yardımcı Metin (Slate 500) */
  --border-color: #e2e8f0;  /* Kenarlık Rengi (Slate 200) */
  --success: #10b981;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Sıfırlama (Reset) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Genel Sınıflar (Layout Utilities) */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-bg-dark {
  background-color: var(--primary);
  color: var(--bg-light);
}

.section-bg-dark h2, .section-bg-dark h3 {
  color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.section-bg-dark .section-header p {
  color: var(--accent-light);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--bg-white);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--accent);
  color: var(--primary);
}

/* Header & Navbar */
header {
  background-color: var(--primary-dark);
  color: var(--bg-white);
}

.top-bar {
  border-bottom: 1px solid var(--primary-light);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

.top-bar-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.top-bar-social a {
  margin-left: 1rem;
}

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

.navbar {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-light);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  color: var(--bg-light);
}

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

.nav-links a:hover, .nav-links li.active a {
  color: var(--accent);
}

.nav-links a:hover::after, .nav-links li.active a::after {
  width: 100%;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('https://www.alialtin.av.tr/wp-content/uploads/2020/12/default-lawyer-2992-1571-c-scaled.jpg') no-repeat center center/cover;
  padding: 8rem 0;
  color: var(--bg-white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--accent-light);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Hakkımda (Kısa Tanıtım) */
.about-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.about-text h4 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--accent);
  font-size: 1.25rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--accent);
}

/* Faaliyet Alanları Kartları */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.practice-card {
  background-color: var(--bg-white);
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.practice-icon {
  background-color: var(--bg-light);
  color: var(--accent);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.practice-card:hover .practice-icon {
  background-color: var(--accent);
  color: var(--primary);
}

.practice-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.practice-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.practice-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.practice-link:hover {
  color: var(--accent-hover);
}

/* Makaleler & Dilekçeler Listesi */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  padding: 1.5rem 2rem 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
}

.blog-card-content {
  padding: 1rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* İletişim & Randevu Bölümü */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item-box {
  display: flex;
  gap: 1.5rem;
}

.contact-item-icon {
  background-color: var(--accent-light);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-item-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-form-card {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-light);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

/* Alt Sayfa Header (Page Top Banner) */
.page-top {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

.page-top h1 {
  font-size: 2.5rem;
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--accent-light);
}

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

/* Detay Sayfaları (Makale, Faaliyet, Dilekçe) */
.detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 4rem;
}

.detail-content {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

.detail-content h2, .detail-content h3 {
  margin: 1.5rem 0 1rem;
}

.detail-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.detail-content ul, .detail-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.detail-content li {
  margin-bottom: 0.5rem;
}

.detail-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  display: flex;
  gap: 1.5rem;
}

.copy-button-container {
  margin-bottom: 2rem;
}

.copy-box {
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.5rem;
  font-family: monospace;
  white-space: pre-wrap;
  font-size: 0.9rem;
  max-height: 400px;
  overflow-y: auto;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.95rem;
}

.sidebar-list a:hover {
  color: var(--accent);
  padding-left: 5px;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--bg-light);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-contact-info span {
  display: flex;
  gap: 0.75rem;
}

.footer-contact-info i {
  color: var(--accent);
}

/* Harita */
.map-container {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--primary-light);
  height: 250px;
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  border-top: 1px solid var(--primary-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* Yüzen WhatsApp Butonu */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--bg-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Çerez İzin Onayı (Cookie Banner) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 1.5rem 0;
  box-shadow: 0 -10px 25px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
  border-top: 2px solid var(--accent);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cookie-text {
  font-size: 0.9rem;
  max-width: 800px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 1rem;
}

/* Mobil Menü Responsive CSS */
@media (max-width: 992px) {
  .about-summary {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .top-bar-contact {
    justify-content: center;
    width: 100%;
  }
  
  .top-bar-social {
    display: none;
  }
  
  .burger-menu {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    transition: 0.4s ease;
    border-top: 1px solid var(--primary-light);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}
