/* site.css: rules shared by every page. Page-specific rules stay in each page's inline <style>. */

/* ================================================================
   Variables & Reset
================================================================ */
:root {
  --green:       #2D5C3F;
  --green-mid:   #4A8060;
  --cream:       #F2EDE3;
  --warm-white:  #FAF7F2;
  --warm-light:  #E8E0D0;
  --text:        #1E3F2B;
  --text-mid:    #3A6050;
  --text-muted:  #5A7A65;
  --border:      #D5CDBE;
  --font:        'Inter', system-ui, sans-serif;
  --shadow-sm:   0 2px 12px rgba(45,92,63,0.07);
  --shadow:      0 4px 28px rgba(45,92,63,0.09);
  --shadow-lg:   0 10px 48px rgba(45,92,63,0.14);
  --radius:      16px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ================================================================
   Utilities
================================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* ================================================================
   Buttons
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,92,63,0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(45,92,63,0.04);
}

.btn-lg {
  font-size: 1rem;
  padding: 16px 36px;
}

/* ================================================================
   Navigation
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213,205,190,0.5);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 80px);
  transition: height 0.35s var(--ease), box-shadow 0.35s;
}

.nav.shrunk {
  height: 60px;
  box-shadow: 0 2px 20px rgba(45,92,63,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.nav-logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-logo-tag {
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--green); }
.nav-link.active { color: var(--green); font-weight: 600; }

/* ================================================================
   Mobile Nav Toggle + Menu
================================================================ */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-active .icon-menu { display: none; }
.nav-toggle.is-active .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(250,247,242,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213,205,190,0.5);
  padding: 4px clamp(20px, 5vw, 80px) 24px;
  box-shadow: 0 16px 32px rgba(45,92,63,0.1);
}
.mobile-menu.open { display: flex; }

.mobile-menu .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.mobile-menu .lang-switch { padding: 14px 0; }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 14px; }

@media (max-width: 768px) {
  .nav-inner > .nav-links { display: none; }
  .nav-inner > .lang-switch { display: none; }
  .nav-inner > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ================================================================
   Footer
================================================================ */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
}

.footer-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-contact a {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--green); }

/* ================================================================
   WhatsApp Float
================================================================ */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.38);
  transition: transform 0.28s var(--ease), box-shadow 0.28s;
  cursor: pointer;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37,211,102,0.52);
}

.wa-btn svg { width: 30px; height: 30px; }

/* ================================================================
   Responsive
================================================================ */
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-contact { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav { padding: 0 20px; }
  .wa-btn { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* ================================================================
   Language Switcher
================================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  direction: ltr;
}

.lang-opt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 7px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-opt:hover { color: var(--green); }

.lang-opt-active {
  color: var(--green);
  background: rgba(45,92,63,0.08);
  cursor: default;
  pointer-events: none;
}

.lang-sep {
  color: var(--border);
  font-size: 0.65rem;
  user-select: none;
  padding: 0 1px;
}

[dir="rtl"] .btn svg { transform: scaleX(-1); }
