:root {
  --primary: #0f172a;
  --secondary: #2563eb;
  --accent: #dc2626;
  --light: #f8fafc;
  --dark: #020617;
  --text: #334155;
  --radius: 12px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--light); line-height: 1.6; }
h1, h2, h3, h4 { color: var(--primary); font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); content-visibility: auto; }
.nav-links { display: flex; gap: 16px; align-items: center; min-height: 40px; }
.content-block { contain: layout style; }
.content-block img, .content-grid img { aspect-ratio: attr(width) / attr(height); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--secondary); display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.nav-links a:hover { color: var(--secondary); }

/* Dropdown Menu */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  z-index: 1000;
  border-radius: var(--radius);
  top: 100%;
  left: 0;
  padding: 10px 0;
  border: 1px solid #e2e8f0;
}
.dropdown-content a {
  color: var(--text);
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-content a:hover {
  background-color: var(--light);
  color: var(--secondary);
}
.dropdown:hover .dropdown-content { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius); font-weight: 600; transition: var(--transition); cursor: pointer; border: none; font-size: 1rem; }
.btn-accent { background: var(--accent); color: white; box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4); }
.btn-accent:hover { background: #b91c1c; transform: translateY(-2px); color: white; }
.btn-secondary { background: var(--secondary); color: white; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4); }
.btn-secondary:hover { background: #1d4ed8; transform: translateY(-2px); color: white;}

/* Hero */
.hero { padding: 160px 0 100px; background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); color: white; text-align: center; }
.hero h1 { color: white; font-size: 2.5rem; margin-bottom: 24px; }
.hero p { font-size: 1.15rem; color: #cbd5e1; max-width: 800px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; }

/* Sections */
.section { padding: 80px 0; }
.section-light { background: white; }
.section-title { text-align: center; font-size: 2.25rem; margin-bottom: 48px; }
.grid-3 { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Service Card */
.service-card { background: white; padding: 32px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); border: 1px solid #e2e8f0; }
.service-card:hover { transform: translateY(-5px); border-color: var(--secondary); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.service-card h3, .service-card h4 { font-size: 1.25rem; margin-bottom: 16px; color: var(--secondary); }
.service-card p { margin-bottom: 16px; font-size: 0.95rem; }

/* Content Blocks */
.content-block { margin-bottom: 32px; }
.content-block h2 { margin-bottom: 16px; font-size: 1.8rem; }
.content-block h3 { margin-bottom: 12px; font-size: 1.4rem; color: var(--secondary); margin-top: 24px; }
.content-block p { margin-bottom: 16px; }
.content-block ul { margin-left: 20px; margin-bottom: 16px; }
.content-block li { margin-bottom: 8px; }

/* Table */
.price-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.price-table th, .price-table td { padding: 16px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.price-table th { background: var(--primary); color: white; font-weight: 600; }
.price-table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: var(--radius); margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); border: 1px solid #e2e8f0; }
.faq-question { padding: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--primary); font-size: 1.1rem; }
.faq-answer { padding: 0 20px 20px; display: none; color: var(--text); }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { color: var(--secondary); }

/* Form */
.contact-form { background: white; padding: 40px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Fixed Contact Elements */
.fixed-call { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.whatsapp-btn, .phone-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition); }
.whatsapp-btn { background: #25D366; }
.phone-btn { background: var(--accent); }
.whatsapp-btn:hover, .phone-btn:hover { transform: scale(1.1); color: white; }

/* Footer */
.footer { background: var(--primary); color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 40px; }

/* Content Grid (görsel+metin bölümleri) */
.content-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.footer h4 { color: white; margin-bottom: 20px; }
.footer p, .footer a { color: #94a3b8; margin-bottom: 12px; display: block; }
.footer a:hover { color: white; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: #64748b; font-size: 0.9rem; }

.update-date { font-size: 0.85rem; color: #64748b; font-style: italic; margin-bottom: 24px; display: block; background: #f1f5f9; padding: 8px 16px; border-radius: 20px; display: inline-block; }

.mobile-menu-btn { display: none; cursor: pointer; color: var(--primary); }

@media (max-width: 768px) {
  .hero { padding: 110px 16px 50px !important; }
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  
  .header-inner { justify-content: space-between; }
  .header-inner .btn { display: none; }
  .mobile-menu-btn { display: block; }
  
  .nav-links { 
    display: none; 
    position: absolute; 
    top: 80px; 
    left: 0; 
    right: 0; 
    background: white; 
    flex-direction: column; 
    padding: 20px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    border-top: 1px solid #e2e8f0;
  }
  .nav-links.active { display: flex; gap: 15px; }
  .dropdown-content { position: static; box-shadow: none; border: none; padding: 10px 0 0 15px; background: transparent; }
  .dropdown:hover .dropdown-content { display: block; }
  
  .content-grid { grid-template-columns: 1fr; }
  
  .mobile-order-1 { order: -1; }
  .mobile-order-2 { order: 2; }
}

/* Logo responsive */
@media (max-width: 640px) {
  .header-logo-img { width: 48px !important; height: 48px !important; }
  .header-logo-text-1 { font-size: 16px !important; }
  .header-logo-text-2 { font-size: 12px !important; }
}

/* Küçük mobil */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 100px 16px 40px !important; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.9rem; }

  .grid-3 { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }

  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; text-align: center; }

  .fixed-call {
    bottom: 0; right: 0; left: 0;
    flex-direction: row;
    padding: 10px 16px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    justify-content: center;
    gap: 16px;
    border-radius: 0;
  }
  .fixed-call a {
    width: 50%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body { padding-bottom: 70px; }
}
