/* RSN Education — Public Showcase & Landing Page Stylesheet */

:root {
  --pub-primary: #C8102E;
  --pub-primary-dark: #9B0D23;
  --pub-primary-light: #ff4d6d;
  --pub-bg: #0f172a;
  --pub-card-bg: #1e293b;
  --pub-text: #f8fafc;
  --pub-text-muted: #94a3b8;
  --pub-border: rgba(255, 255, 255, 0.08);
  --pub-cyan: #06b6d4;
  --pub-green: #10b981;
  --pub-amber: #f59e0b;
}

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

body.public-body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--pub-bg);
  color: var(--pub-text);
  line-height: 1.6;
  direction: rtl;
  min-height: 100vh;
}

.pub-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.pub-header {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pub-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.pub-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pub-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--pub-primary);
}

.pub-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.pub-subtitle {
  font-size: 0.82rem;
  color: var(--pub-text-muted);
}

.pub-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.pub-btn-parent {
  background: linear-gradient(135deg, var(--pub-primary), var(--pub-primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.4);
}
.pub-btn-parent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.5);
}

.pub-btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid var(--pub-border);
}
.pub-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pub-btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.pub-btn-primary {
  background: var(--pub-primary);
  color: #fff;
}
.pub-btn-primary:hover {
  background: var(--pub-primary-dark);
}

.pub-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--pub-border);
}
.pub-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero-section {
  padding: 70px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(200, 16, 46, 0.16) 0%, transparent 70%);
}

.hero-content {
  max-width: 800px;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 16, 46, 0.15);
  color: #ff6b81;
  border: 1px solid rgba(200, 16, 46, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-heading {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--pub-text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.section-header p {
  color: var(--pub-text-muted);
  font-size: 0.95rem;
}

/* Features */
.features-section {
  padding: 60px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--pub-card-bg);
  border: 1px solid var(--pub-border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: right;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 16, 46, 0.4);
}

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.icon-red { background: rgba(200, 16, 46, 0.15); color: #ff6b81; }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #38bdf8; }
.icon-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--pub-text-muted);
  line-height: 1.7;
}

/* Gallery */
.gallery-section {
  padding: 50px 0;
  background: rgba(30, 41, 59, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-placeholder {
  height: 180px;
  border-radius: 14px;
  border: 1px solid var(--pub-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.gallery-placeholder i { font-size: 2.2rem; }
.gallery-placeholder:hover {
  transform: scale(1.02);
  border-color: var(--pub-primary);
  color: #fff;
}
.g-bg-1 { background: linear-gradient(135deg, rgba(200, 16, 46, 0.2), #1e293b); }
.g-bg-2 { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), #1e293b); }
.g-bg-3 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), #1e293b); }
.g-bg-4 { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), #1e293b); }

/* Location Map */
.location-section {
  padding: 60px 0;
}

.map-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.map-card {
  background: var(--pub-card-bg);
  border: 1px solid var(--pub-border);
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
}

.map-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}

.map-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.map-card p {
  color: var(--pub-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Footer */
.pub-footer {
  background: #090e1a;
  border-top: 1px solid var(--pub-border);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col p {
  color: var(--pub-text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a {
  color: var(--pub-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-heading { font-size: 1.85rem; }
  .hero-desc { font-size: 0.95rem; }
  .pub-brand { flex-direction: column; text-align: center; }
  .nav-content { flex-direction: column; align-items: center; }
}
