/*
Theme Name: ORANS Birdseye
Theme URI: https://www.orans.org
Description: Custom WordPress theme for ORANS matching the Birdseye/Weebly design
Author: ORANS
Version: 1.2
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;300;400;500;700&family=Montserrat:wght@400;500;600;700&display=swap');

/* ===================== RESETS ===================== */
*, *:before, *:after { box-sizing: border-box; }
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {
  margin: 0; padding: 0;
}

/* ===================== BASE ===================== */
html { height: 100%; }
body {
  width: 100%; min-height: 100%;
  background: #ffffff; color: #000000;
  font-family: 'Roboto Slab', serif;
  font-size: 16px; font-weight: 400; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* ===================== TYPOGRAPHY ===================== */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Roboto Slab', serif; font-weight: 700;
  color: #000000; line-height: 1.25;
}
h1 { font-size: 34px; margin: 0 0 25px; }
h2 { font-size: 22px; margin: 35px 0 16px; }
h3 { font-size: 18px; margin: 28px 0 12px; }
h4 { font-size: 16px; margin: 20px 0 10px; }

p {
  font-family: 'Roboto Slab', serif;
  font-size: 16px; font-weight: 400; line-height: 1.75;
  margin: 0 0 22px;
}
p a { font-weight: 600; text-decoration: underline; }

ul, ol {
  font-family: 'Roboto Slab', serif;
  font-size: 16px; line-height: 1.75;
  margin: 0 0 22px; padding-left: 2em;
}
li { margin-bottom: 8px; }

table {
  width: 100%; border-collapse: collapse;
  margin: 25px 0; font-family: 'Roboto Slab', serif; font-size: 15px;
}
td, th { padding: 12px 16px; border: 1px solid #cccccc; vertical-align: top; line-height: 1.5; }
th { background-color: rgba(0,0,0,0.05); font-weight: 700; text-align: left; }

/* ===================== FIXED HEADER ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  width: 100%;
  background: transparent;
  color: #ffffff;
  transition: background-color 300ms ease, color 260ms ease, padding 180ms ease;
}
.site-header.scrolled {
  background: #ffffff; color: #000000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 20px 40px;
  transition: padding 180ms ease;
}
.site-header.scrolled .header-inner { padding: 12px 40px; }

/* Logo */
.site-branding a { display: block; }
.site-branding img {
  max-height: 70px; max-width: 250px; width: auto; display: block;
  transition: max-height 180ms ease;
}
.site-header.scrolled .site-branding img { max-height: 50px; }
.site-title {
  font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; color: inherit; line-height: 1;
}

/* ===================== HAMBURGER BUTTON ===================== */
.hamburger-btn {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 30px; height: 22px;
  background: none; border: none; cursor: pointer; padding: 0;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block; width: 100%; height: 2px;
  background: currentColor;
  transition: background 300ms ease;
}
.site-header .hamburger-btn { color: inherit; }

/* ===================== NAV DROPDOWN PANEL ===================== */
.nav-dropdown {
  position: fixed; top: 0; right: -320px; z-index: 300;
  width: 300px; height: 100vh;
  background: #ffffff; color: #000000;
  box-shadow: -2px 0 15px rgba(0,0,0,0.15);
  padding: 80px 40px 40px;
  transition: right 300ms ease;
  overflow-y: auto;
}
.nav-dropdown.open { right: 0; }

.nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  font-size: 28px; line-height: 1; color: #000000;
  font-weight: 300; padding: 5px;
}
.nav-close:hover { opacity: 0.6; }

/* Nav links inside dropdown */
.nav-dropdown ul { list-style: none; margin: 0; padding: 0; }
.nav-dropdown ul li { display: block; margin: 0; }
.nav-dropdown ul li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #000000;
  transition: opacity 200ms ease;
}
.nav-dropdown ul li a:hover { opacity: 0.6; }
.nav-dropdown ul li.current-menu-item > a,
.nav-dropdown ul li.current_page_item > a { font-weight: 700; }

/* Overlay behind dropdown */
.nav-overlay {
  display: none; position: fixed; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 299;
  background: rgba(0,0,0,0.3);
}
.nav-overlay.open { display: block; }

/* ===================== HERO BANNER (Homepage only) ===================== */
.hero-banner {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 100vh;
  background-color: #5ecdc8;
  background-image: linear-gradient(135deg, #62d1cc 0%, #48b8b2 100%);
  color: #ffffff; text-align: center;
  padding: 120px 40px 80px;
}
.hero-content { max-width: 900px; margin: 0 auto; }
.hero-content h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 72px; font-weight: 100; line-height: 1.15;
  color: #ffffff; margin: 0 0 20px; letter-spacing: -0.01em;
}
.hero-content p {
  font-family: 'Roboto Slab', serif;
  font-size: 13px; font-weight: 700; line-height: 1.15;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #ffffff; margin: 0;
}

/* ===================== MAIN CONTENT ===================== */
.site-main { width: 100%; background: #ffffff; }

/* Homepage content sits directly below hero with no extra padding */
.home .main-wrap { padding-top: 0; }

/* Interior pages offset for fixed header */
.page-content-wrap { padding-top: 100px; }

.main-wrap { width: 100%; background: #ffffff; }
.main-wrap .container {
  max-width: 1200px; margin: 0 auto; padding: 60px 40px;
}

.entry-title {
  font-family: 'Roboto Slab', serif; font-size: 34px; font-weight: 700;
  color: #000000; line-height: 1.25; margin: 0 0 30px;
}

.entry-content {
  font-family: 'Roboto Slab', serif;
  font-size: 16px; line-height: 1.75; color: #000000;
}

/* ===================== FOOTER ===================== */
.site-footer {
  width: 100%; background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 40px;
  font-family: 'Montserrat', sans-serif; font-size: 13px;
  color: rgba(0,0,0,0.55); text-align: center;
}
.footer-inner p {
  font-family: 'Montserrat', sans-serif; font-size: 13px;
  line-height: 1.6; margin: 0 0 8px; color: rgba(0,0,0,0.55);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 42px; }
  .header-inner { padding: 15px 20px; }
  .site-header.scrolled .header-inner { padding: 10px 20px; }
  .main-wrap .container { padding: 40px 20px; }
  .page-content-wrap { padding-top: 75px; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 32px; }
  .hero-banner { padding: 100px 20px 60px; }
  .main-wrap .container { padding: 30px 15px; }
  h2 { font-size: 19px; }
  h3 { font-size: 17px; }
  .nav-dropdown { width: 280px; }
}
