/* ===== RESET & BASE ===== */
*{margin:0;padding:0;box-sizing:border-box;}
body{
  font-family:'Segoe UI',system-ui,-apple-system,Roboto,sans-serif;
  background:#f7faf7;
  color:#2e3d2f;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* ===== NAVBAR ===== */
.navbar{
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #e0ede0;
  position:sticky;
  top:0;
  z-index:100;
  padding:0 24px;
}
.navbar-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.navbar-brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:#1b5e20;
  font-weight:800;
  font-size:1.6rem;
  letter-spacing:-0.02em;
}
.navbar-brand img{
  width:52px;
  height:52px;
  filter:drop-shadow(0 2px 6px rgba(46,125,50,0.25));
  transition:transform 0.3s;
}
.navbar-brand:hover img{
  transform:scale(1.1) rotate(-5deg);
}
.navbar-links{
  display:flex;
  align-items:center;
  gap:4px;
  list-style:none;
}
.navbar-links a{
  text-decoration:none;
  color:#4a6b4a;
  padding:8px 16px;
  border-radius:8px;
  font-size:0.92rem;
  font-weight:500;
  transition:background 0.2s,color 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active{
  background:#e8f5e9;
  color:#2e7d32;
}

/* Hamburger */
.navbar-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}
.navbar-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:#2e7d32;
  margin:5px 0;
  border-radius:2px;
  transition:0.3s;
}

@media(max-width:768px){
  .navbar-toggle{display:block;}
  .navbar-links{
    display:none;
    position:absolute;
    top:64px;
    left:0;right:0;
    background:rgba(255,255,255,0.98);
    backdrop-filter:blur(12px);
    flex-direction:column;
    padding:12px 24px;
    border-bottom:1px solid #e0ede0;
    gap:4px;
  }
  .navbar-links.open{display:flex;}
  .navbar-links a{
    display:block;
    padding:12px 16px;
    width:100%;
  }
}

/* ===== HERO ===== */
.hero{
  background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 50%,#a5d6a7 100%);
  padding:80px 24px;
  text-align:center;
}
.hero h1{
  font-size:3rem;
  color:#1b5e20;
  margin-bottom:12px;
  font-weight:800;
}
.hero p{
  font-size:1.15rem;
  color:#33691e;
  max-width:600px;
  margin:0 auto 32px;
  line-height:1.6;
}
.hero-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  transition:transform 0.2s,box-shadow 0.2s;
  border:none;
  cursor:pointer;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(0,0,0,0.12);
}
.btn-primary{
  background:#2e7d32;
  color:white;
}
.btn-primary:hover{background:#256d29;}
.btn-secondary{
  background:white;
  color:#2e7d32;
  border:2px solid #2e7d32;
}
.btn-secondary:hover{background:#e8f5e9;}

/* ===== SECTION ===== */
.section{
  max-width:1200px;
  margin:0 auto;
  padding:60px 24px;
}
.section-title{
  text-align:center;
  font-size:2rem;
  color:#2e7d32;
  margin-bottom:8px;
  font-weight:700;
}
.section-subtitle{
  text-align:center;
  color:#6b8e6b;
  margin-bottom:40px;
  font-size:1rem;
}

/* ===== FEATURE CARDS ===== */
.features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
}
.feature-card{
  background:white;
  border-radius:16px;
  padding:32px 24px;
  text-align:center;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
  border:1px solid #e8f0e8;
  transition:transform 0.2s,box-shadow 0.2s;
}
.feature-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,0.1);
}
.feature-icon{
  width:56px;
  height:56px;
  background:linear-gradient(135deg,#e8f5e9,#c8e6c9);
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  margin-bottom:16px;
}
.feature-card h3{
  color:#2e7d32;
  font-size:1.15rem;
  margin-bottom:8px;
}
.feature-card p{
  color:#5a7a5a;
  font-size:0.92rem;
  line-height:1.5;
}

/* ===== ANIMAL GALLERY ===== */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}
.gallery-card{
  background:white;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
  border:1px solid #e8f0e8;
  transition:transform 0.25s,box-shadow 0.25s;
}
.gallery-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,0.1);
}
.gallery-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.gallery-card .caption{
  padding:16px 20px;
}
.gallery-card .caption p{
  color:#4a6b4a;
  font-size:0.92rem;
  line-height:1.5;
}

/* ===== PAGE CONTENT ===== */
.page-header{
  background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%);
  padding:48px 24px;
  text-align:center;
}
.page-header h1{
  font-size:2.2rem;
  color:#1b5e20;
  font-weight:700;
}
.page-header p{
  color:#33691e;
  margin-top:8px;
  font-size:1rem;
}
.page-content{
  max-width:1000px;
  margin:0 auto;
  padding:40px 24px;
}

/* ===== FORUM ===== */
.chat-container{
  flex:1;
  display:flex;
  flex-direction:column;
}
.chat-messages{
  flex:1;
  overflow-y:auto;
  padding:20px 24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:900px;
  margin:0 auto;
  width:100%;
}
.chat-msg{
  list-style:none;
  background:white;
  padding:14px 18px;
  border-radius:12px;
  border-left:4px solid #4CAF50;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
  max-width:70%;
  word-wrap:break-word;
  transition:0.2s;
}
.chat-msg:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}
.chat-input-area{
  position:sticky;
  bottom:0;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(8px);
  border-top:1px solid #e0ede0;
  padding:16px 24px;
}
.chat-input-inner{
  max-width:900px;
  margin:0 auto;
  display:flex;
  gap:10px;
}
.chat-input-inner input{
  flex:1;
  padding:12px 16px;
  border-radius:12px;
  border:1.5px solid #d0e0d0;
  outline:none;
  font-size:0.95rem;
  transition:border-color 0.2s,box-shadow 0.2s;
}
.chat-input-inner input:focus{
  border-color:#4CAF50;
  box-shadow:0 0 0 3px rgba(76,175,80,0.12);
}
.chat-input-inner button{
  background:#2e7d32;
  color:white;
  border:none;
  padding:12px 20px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  transition:background 0.2s;
  font-size:0.95rem;
}
.chat-input-inner button:hover{background:#256d29;}

/* ===== NEWS ===== */
.news-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.news-item{
  background:white;
  border-radius:16px;
  padding:24px 28px;
  border:1px solid #e8f0e8;
  box-shadow:0 2px 12px rgba(0,0,0,0.05);
  transition:transform 0.2s;
}
.news-item:hover{
  transform:translateX(4px);
}
.news-item h2{
  color:#2e7d32;
  font-size:1.2rem;
  margin-bottom:8px;
}
.news-item p{
  color:#5a7a5a;
  line-height:1.5;
}

/* ===== FOOTER ===== */
.site-footer{
  background:#1b3a1b;
  color:#a5c9a5;
  padding:40px 24px;
  margin-top:auto;
}
.footer-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:white;
  font-weight:700;
  font-size:1.1rem;
}
.footer-brand img{
  width:40px;
  height:40px;
  filter:brightness(0) invert(1);
}
.footer-links{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}
.footer-links a{
  color:#a5c9a5;
  text-decoration:none;
  font-size:0.9rem;
  transition:color 0.2s;
}
.footer-links a:hover{color:white;}

@media(max-width:600px){
  .hero h1{font-size:2rem;}
  .hero{padding:48px 20px;}
  .section{padding:40px 16px;}
  .footer-inner{flex-direction:column;text-align:center;}
  .footer-links{justify-content:center;}
}
