/* =========================
   RESET & VARIABLES
========================= */

:root {
  --primary-color: #7B8A62;
  --secondary-color: #F2D6B3;
  --accent-color: #4F5550;
  --primary-dark: #6F7E57;
  --text-light: #FAFAF7;
  --text-dark: #2c2c2c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--text-light);
  overflow-x: hidden;
}


/* Make full page height layout */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content expands */
main {
  flex: 1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}



/* =========================
   HEADER BASE
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FAFAF7;
  border-bottom: 1px solid rgba(123, 138, 98, 0.15);
}

/* HEADER LAYOUT */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* default mobile height */
}

/* =========================
   LOGO
========================= */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  object-fit: contain;
}

.logo h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

/* =========================
   DESKTOP NAVIGATION
========================= */

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a,
.main-nav a:visited {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* =========================
   MOBILE MENU BUTTON
========================= */

.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--accent-color);
}

/* =========================
   RESPONSIVE RULES
========================= */

/* DESKTOP */
@media (min-width: 769px) {

  .header-content {
    height: 110px; /* thicker desktop header */
  }

  .logo-img {
    height: 65px;
  }

  .main-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-content {
    height: 80px;
  }

  .logo-img {
    height: 45px;
  }

  .logo h1 {
    font-size: 18px;
  }
}

/* =========================
   MOBILE SLIDE MENU
========================= */

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #fff;
  padding: 80px 30px 30px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 10001;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-bottom: 1px solid #eee;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 10000;
}

.mobile-backdrop.active {
  display: block;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--accent-color);
  color: var(--secondary-color);
  padding: 50px 0 30px;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(242, 214, 179, 0.15);
  border-radius: 50%;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--secondary-color);
  color: var(--accent-color);
  transform: translateY(-3px);
}
