/* Georgia Aquarium Guide - Light Tiqets-style theme */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.1);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* Disclaimer bar */
.disclaimer-bar {
  background: #fff8e6;
  border-bottom: 1px solid #ffeaa7;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  color: #7d5a00;
}
.disclaimer-bar strong { font-weight: 600; }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo img { height: 40px; width: auto; }

/* Nav */
.nav-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-main a {
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.nav-main a:hover { background: var(--bg-soft); color: var(--accent); }
.lang-switcher {
  position: relative;
  margin-left: 8px;
}
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--bg);
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher ul {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 4px 0 0;
  padding: 8px 0;
  min-width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  max-height: 70vh;
  overflow-y: auto;
}
.lang-switcher a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.lang-switcher a:hover { background: var(--bg-soft); }

/* CTA button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--accent-hover); }

/* Hero */
.hero {
  background: var(--bg-soft);
  padding: 40px 20px 48px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  font-weight: 700;
}
.hero .lead {
  margin: 0 0 24px;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
}
.hero-widget {
  min-height: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

/* Content */
main { padding: 32px 20px 48px; }
.content-wrap {
  max-width: 800px;
  margin: 0 auto;
}
main h2 { font-size: 1.5rem; margin-top: 2em; margin-bottom: 0.75em; }
main h3 { font-size: 1.2rem; margin-top: 1.5em; }
main p { margin: 0 0 1em; color: var(--text); }
main ul, main ol { margin: 0 0 1em; padding-left: 1.5em; }
main img.content-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5em 0;
  box-shadow: var(--shadow);
}

/* Section links (home page) */
.section-links {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 20px;
}
.section-links h2 { text-align: center; margin-bottom: 24px; }
.section-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s, border-color .2s;
}
.section-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.section-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.section-card p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* Discovery widget section */
.widget-section {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 20px;
}
.widget-section h2 { margin-bottom: 16px; }

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 32px 20px 24px;
  margin-top: 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}
.footer-nav a:hover { color: var(--accent); }
.footer-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-disclaimer strong { color: var(--text); }
.copyright { font-size: 12px; color: var(--text-muted); }

/* Page title (inner pages) */
.page-title { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Utility */
.cta-block {
  background: #f0f7ff;
  border: 1px solid #cce0ff;
  border-radius: var(--radius);
  padding: 24px;
  margin: 2em 0;
  text-align: center;
}
.cta-block .btn-cta { margin-top: 8px; }

/* RTL for Arabic */
[dir="rtl"] .breadcrumb { text-align: right; }
[dir="rtl"] .footer-nav { flex-direction: row-reverse; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-main { flex-direction: row-reverse; }

/* Mobile menu (optional toggle for small screens) */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: stretch; }
  .nav-main { justify-content: center; }
  .lang-switcher { margin-left: 0; }
}
