/* css/style.css | Purpose: Main lightweight RTL styling for Areeka public website. */
:root {
  --red: #c5162e;
  --green: #0f7a3b;
  --white: #ffffff;
  --shadow-green: rgba(15, 122, 59, .13);
  --shadow-red: rgba(197, 22, 46, .12);
  --radius: 22px;
  --container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--green);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.8;
}
a { color: var(--red); text-decoration: none; }
a:hover, a:focus { color: var(--green); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(100% - 28px, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -80px;
  background: var(--green);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 8px 26px var(--shadow-green);
}
.header-inner, .footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
}
.brand strong {
  display: block;
  font-size: 1.65rem;
  color: var(--red);
  line-height: 1.1;
}
.brand small {
  display: block;
  color: var(--green);
  font-size: .82rem;
}
.nav, .footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nav a, .footer-links a, .back-link {
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--green);
  background: var(--white);
}
.nav a:hover, .footer-links a:hover, .back-link:hover { border-color: var(--red); color: var(--red); }
.hero { padding: 34px 0 18px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 24px;
}
.hero-copy {
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 42px);
  box-shadow: 0 20px 50px var(--shadow-green);
}
.eyebrow {
  color: var(--red);
  font-weight: 700;
  margin: 0 0 8px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  color: var(--red);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.25;
  margin-bottom: 14px;
}
.hero-copy p:last-child { margin-bottom: 0; }
.profile-sofa {
  margin: 0;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 20px 50px var(--shadow-red);
}
.profile-sofa img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--green);
}
.profile-sofa figcaption {
  margin-top: 9px;
  color: var(--green);
  font-size: .85rem;
}
.ad-band { padding: 12px 0 4px; }
.ad-slot {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 90px;
  border: 2px dashed var(--red);
  border-radius: 18px;
  color: var(--red);
  background: var(--white);
  overflow: hidden;
  text-align: center;
}
.ad-slot a, .ad-slot img { width: 100%; height: 100%; }
.ad-slot img { object-fit: cover; }
.ad-728 { max-width: 728px; margin-inline: auto; aspect-ratio: 728 / 90; }
.ad-300 { aspect-ratio: 300 / 250; min-height: 250px; }
.ad-animated-css { animation: areekaPulse 2.8s ease-in-out infinite; }
@keyframes areekaPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 12px 28px var(--shadow-green); }
  50% { transform: translateY(-4px); box-shadow: 0 16px 34px var(--shadow-red); }
}
.section { padding: 30px 0; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--green);
}
.section-title h2 {
  color: var(--red);
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}
.section-title p { margin-bottom: 10px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  display: block;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 34px var(--shadow-green);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.news-card:hover, .news-card:focus {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 18px 42px var(--shadow-red);
}
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 2px solid var(--green);
}
.news-card-body { padding: 15px; }
.news-card h3 {
  color: var(--red);
  margin-bottom: 8px;
  font-size: clamp(1.22rem, 2.6vw, 1.7rem);
  line-height: 1.45;
}
.news-card p { margin: 0; color: var(--green); }
.empty-state {
  border: 2px dashed var(--green);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--green);
}
.load-more, .subscribe-form button, .admin-link-button {
  border: 0;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 22px;
  margin-top: 18px;
  box-shadow: 0 10px 24px var(--shadow-red);
}
.load-more:hover, .subscribe-form button:hover { background: var(--green); }
.subscribe-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 32px);
  box-shadow: 0 14px 34px var(--shadow-red);
}
.subscribe-card h2 { color: var(--red); }
.subscribe-form label { display: block; color: var(--green); margin-bottom: 8px; }
.form-row { display: flex; gap: 10px; }
.form-row input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--green);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--green);
  background: var(--white);
}
.form-row input:focus { outline: 3px solid var(--shadow-red); border-color: var(--red); }
.form-message { min-height: 1.7em; margin: 8px 0 0; color: var(--red); }
.site-footer {
  border-top: 3px solid var(--green);
  margin-top: 30px;
  background: var(--white);
}
.site-footer strong { color: var(--red); }
.visitor-box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--green);
}
.visitor-box strong { color: var(--red); }
.detail-main { padding: 28px 0; }
.news-detail {
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: clamp(16px, 4vw, 30px);
  box-shadow: 0 18px 42px var(--shadow-green);
}
.news-detail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--green);
  border-radius: 18px;
  margin-bottom: 16px;
}
.detail-head {
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 18px;
}
.detail-head h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 12px; }
.news-date {
  color: var(--red);
  white-space: nowrap;
  font-weight: 700;
  margin-top: 8px;
}
.news-body {
  color: var(--green);
  font-size: 1.08rem;
  white-space: pre-line;
}
.news-body p { margin-bottom: 1em; }
