:root {
  --color-primary: #0a3d62;
  --color-accent: #d4a017;
  --color-dark: #12232e;
  --color-light: #f5f7f8;
  --color-text: #23303a;
  --radius: 6px;
  --font-body: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); line-height: 1.6; background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Genel başlık ölçeği - hero dışındaki tüm sayfa içerikleri için tutarlı hiyerarşi */
main h1 { font-size: 1.9rem; margin: 0 0 16px; color: var(--color-dark); }
main h2 { font-size: 1.35rem; margin: 28px 0 12px; color: var(--color-dark); }
main h3 { font-size: 1.05rem; margin: 0; color: var(--color-dark); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { font-size: 1.4rem; font-weight: bold; color: var(--color-primary); display: flex; align-items: center; }
.logo img { height: 56px; width: auto; display: block; }
.main-nav > ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a { color: var(--color-dark); font-weight: 500; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #eee; box-shadow: 0 8px 20px rgba(0,0,0,.08); min-width: 240px; padding: 8px 0; list-style: none; margin: 0; z-index: 10; }
.has-children:hover > .dropdown { display: block; }
.dropdown li { position: relative; }
.dropdown a { display: block; padding: 8px 16px; white-space: nowrap; }
.dropdown .sub { top: 0; left: 100%; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { position: relative; color: #fff; padding: 90px 0 70px; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,61,98,.88), rgba(18,35,46,.88)); }
.hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo-badge { background: #fff; padding: 12px 26px; border-radius: 12px; display: inline-block; margin-bottom: 20px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.hero-logo { height: 84px; width: auto; display: block; }
.hero h1 { font-size: 2.6rem; margin-bottom: 6px; }
.hero .slogan { font-size: 1.2rem; opacity: .9; }
.hero-inner p:not(.slogan) { max-width: 640px; margin: 12px auto; }
@media (max-width: 780px) {
  .hero { padding: 60px 0 50px; min-height: 320px; }
  .hero-logo { height: 60px; }
  .hero-logo-badge { padding: 8px 18px; }
  .hero h1 { font-size: 2rem; }
}

.btn { display: inline-block; padding: 12px 26px; border-radius: var(--radius); background: #e5e5e5; color: var(--color-dark); font-weight: 600; margin-top: 12px; }
.btn-primary { background: var(--color-accent); color: #23303a; }
.btn:hover { text-decoration: none; opacity: .9; }

/* Home categories */
.home-categories { padding: 60px 0; background: var(--color-light); }
.home-categories h2, .home-about h2 { text-align: center; margin-bottom: 30px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.category-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); color: var(--color-dark); transition: transform .15s ease; }
.category-card:hover { transform: translateY(-4px); text-decoration: none; }
.category-card img { height: 160px; width: 100%; object-fit: cover; background: #ddd; }
.category-card h3 { padding: 14px; font-size: 1.05rem; margin: 0; }

.home-about { padding: 60px 0; text-align: center; }
.features { list-style: none; padding: 0; max-width: 640px; margin: 0 auto 20px; text-align: left; }
.features li { padding: 8px 0; border-bottom: 1px solid #eee; }

/* Breadcrumb */
.breadcrumb { padding: 16px 20px; font-size: .9rem; color: #667; }

/* Category page */
.category-page { padding-bottom: 60px; }
.category-content { margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.gallery figure { margin: 0; background: var(--color-light); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery figcaption { padding: 8px 10px; font-size: .85rem; color: #556; }
.child-links ul, .sibling-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.child-links li a, .sibling-links li a { display: inline-block; padding: 8px 14px; background: var(--color-light); border-radius: 20px; }
.cta-box { margin-top: 40px; padding: 24px; background: var(--color-primary); color: #fff; border-radius: var(--radius); text-align: center; }
.cta-box .btn-primary { margin-top: 10px; }

/* Page content */
.page-content { padding-bottom: 60px; }
.page-content h1, .page-content h2 { font-size: 1.35rem; margin: 28px 0 12px; }
.page-content h1 { margin-top: 0; }

/* Galeri */
.gallery-page { padding-bottom: 60px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.gallery-item { background: var(--color-light); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; }
.gallery-video { position: relative; width: 100%; padding-top: 56.25%; }
.gallery-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-caption { padding: 10px 14px; font-size: .9rem; color: #556; margin: 0; }

/* Contact */
.contact-page { padding-bottom: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-top: 24px; }
.map-embed { margin-top: 16px; border-radius: var(--radius); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccd; border-radius: var(--radius); font-family: inherit; font-size: 1rem; }
.hp-field { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.alert-success { background: #e3f6e8; color: #1c6b34; }
.alert-error { background: #fdecec; color: #a3242c; }
.alert-error ul { margin: 0; padding-left: 18px; }

/* Footer */
.site-footer { background: var(--color-dark); color: #dfe6ea; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 50px 20px; }
.footer-col h3 { color: #fff; margin-top: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { color: #b9c6cd; }
.social-links { display: flex; gap: 12px; margin-bottom: 14px; }
.whatsapp-btn { display: inline-block; background: #25D366; color: #06340f; padding: 10px 18px; border-radius: 20px; font-weight: 600; }
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 999;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 20px; text-align: center; font-size: .85rem; color: #8fa0a8; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; }
  .main-nav.open ul { flex-direction: column; padding: 10px 20px; }
  .dropdown { position: static; box-shadow: none; display: none; }
  .has-children.open > .dropdown { display: block; }
}
