/* ====================================================================
   Turkey Village — Shared Styles
   Facebook-compliant content site
   ==================================================================== */

:root {
  --bg:           #faf9f6;
  --card-bg:      #fff;
  --border:       #e8e4dd;
  --text:         #2d2a24;
  --text-secondary: #6b6560;
  --accent:       #8b6914;
  --accent-hover: #a37d1a;
  --accent-light: #f5edda;
  --success:      #3d7a3d;
  --radius:       10px;
  --nav-bg:       #2d2a24;
  --nav-text:     #f5edda;
  --footer-bg:    #2d2a24;
  --footer-text:  #a89f92;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Navigation ---- */
.navbar {
  background: var(--nav-bg); color: var(--nav-text);
  padding: 0 24px; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 20px; font-weight: 800; color: var(--nav-text);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--nav-text); font-size: 14px; font-weight: 600;
  text-decoration: none; opacity: .85; transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; color: var(--nav-text); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--nav-bg); padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 24px; }
  .nav-toggle { display: block; }
}

/* ---- Main content ---- */
.container { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #3d3627, #2d2a24);
  color: #fff; text-align: center;
  padding: 80px 24px 60px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px); font-weight: 900;
  line-height: 1.15; margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px; max-width: 600px; margin: 0 auto 28px;
  opacity: .9; line-height: 1.5;
}

/* ---- Cards grid ---- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin-top: 32px;
}
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: var(--accent-light);
}
.card-body { padding: 20px; }
.card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--text-secondary); }

/* ---- Content pages (legal, about, contact) ---- */
.page-header {
  background: var(--nav-bg); color: #fff;
  padding: 48px 24px 36px; text-align: center;
}
.page-header h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; }
.page-header p { margin-top: 8px; font-size: 14px; opacity: .7; }

.content-body { background: var(--card-bg); border-radius: var(--radius); padding: 40px 32px; margin-top: -20px; position: relative; z-index: 1; border: 1px solid var(--border); }
.content-body h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.content-body h2:first-child { margin-top: 0; }
.content-body p, .content-body li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.content-body ul, .content-body ol { padding-left: 24px; margin: 12px 0; }
.content-body li { margin-bottom: 6px; }

/* ---- Contact form ---- */
.contact-form { max-width: 500px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  display: block; width: 100%; padding: 12px 14px;
  border: 2px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 15px; color: var(--text);
  background: #fff; outline: none; transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn {
  display: inline-block; padding: 14px 32px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; font-family: inherit; font-size: 15px;
  font-weight: 700; cursor: pointer; transition: background .15s;
}
.submit-btn:hover { background: var(--accent-hover); }

/* ---- Footer ---- */
.site-footer {
  background: var(--footer-bg); color: var(--footer-text);
  padding: 48px 24px 32px; margin-top: 60px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
.footer-about p { font-size: 13px; line-height: 1.6; margin-top: 8px; }
.footer-links h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #d4c9b8; margin-bottom: 12px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: var(--footer-text); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1100px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: 12px; color: rgba(255,255,255,.4);
}
.footer-bottom p { margin-bottom: 4px; }
