/*
** Shared Channel 5 brand tokens
** Same variable names/schema as channel5bhakti.com's css/style.css.
** --font-sans, --font-display, --radius, --shadow and --shadow-md are
** shared verbatim across every Channel 5 sub-brand site; the color
** tokens below are this channel's own (parent/news) values.
*/
:root {
  --primary: #ff497c;
  --primary-dark: #e0356a;
  --primary-light: #fff0f4;
  --accent: #a0ce4e;
  --foreground: #1f2732;
  --muted-foreground: #6b7280;
  --background: #ffffff;
  --card: #ffffff;
  --border: #e1e1e1;
  --muted: #f2f2f2;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --font-sans: "DM Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--foreground);
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  flex-wrap: wrap;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.navbar .logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.65rem;
  margin: 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31, 39, 50, 0.75), rgba(31, 39, 50, 0.55), var(--background));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 1.25rem 4rem;
  max-width: 840px;
}

.hero-content .logo-badge img {
  height: 110px;
  width: auto;
  margin: 0 auto 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  background: #fff;
  padding: 10px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 0 auto 1.5rem;
  opacity: 0.95;
  max-width: 640px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 620px;
  margin: 0 auto;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

/* Info cards (What We Cover) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.info-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.info-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card .body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.info-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.info-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

/* Channel tiles (Explore Channels) */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
}

.channel-tile {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.75rem 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.channel-tile:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.channel-tile img {
  height: 56px;
  width: auto;
  margin-bottom: 0.25rem;
}

.channel-tile h3 {
  margin: 0;
  font-size: 1rem;
}

.channel-tile p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Featured content: filter chips + media tiles */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.filter-chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  transform: scale(1.05);
}

.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}

.media-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--foreground);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.media-tile .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tile .caption {
  padding: 0.9rem 1rem 1rem;
  color: #fff;
}

.media-tile .caption .label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.media-tile .caption .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--primary);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.media-tile[hidden] {
  display: none;
}

/* Footer */
footer {
  background: var(--foreground);
  color: #fff;
  padding: 3.5rem 0 2rem;
}

footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

footer .footer-logo img {
  height: 48px;
  width: 48px;
  border-radius: var(--radius);
  background: #fff;
  padding: 4px;
}

footer .footer-logo span {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-display);
}

footer .about {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.2s ease;
}

.social-links a:hover {
  border-color: var(--primary);
  background: rgba(255, 73, 124, 0.15);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--primary);
}

footer .copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin: 0;
}

/* Floating buttons */
.floating-contact {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fab {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
  color: #fff;
}

.fab:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background: #25d366;
}

.fab-email {
  background: var(--primary);
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.35rem;
  height: 1.35rem;
}

/* 404 */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1;
}

.not-found p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  margin: 0.5rem 0 1.75rem;
}

@media (max-width: 640px) {
  .navbar .container {
    flex-wrap: nowrap;
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--foreground);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 0.25rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links .btn-primary {
    margin-top: 1rem;
    justify-content: center;
  }

  section {
    padding: 3rem 0;
  }
}
