﻿

/* =========================================================
   SAMMY MEDIA KE
   GLOBAL DESIGN SYSTEM
   Truth. Clarity. Impact.
   ========================================================= */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap');

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {
  --black: #111111;
  --black-soft: #191919;
  --black-light: #252525;

  --gold: #D4AF37;
  --gold-dark: #B99523;
  --gold-light: #E8CC75;

  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --light-grey: #F3F3F3;
  --grey: #777777;
  --dark-grey: #444444;
  --border: #E5E5E5;

  --success: #18864B;
  --danger: #C83232;
  --warning: #B77B13;
  --info: #2769A6;

  --font-body: 'DM Sans', Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --container: 1200px;
  --header-height: 78px;

  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, .09);
  --shadow-lg: 0 15px 45px rgba(0, 0, 0, .14);

  --transition: .25s ease;
}

/* =========================================================
   2. RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

button,
input,
textarea,
select {
  font-size: inherit;
}

button {
  cursor: pointer;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  outline-color: var(--gold);
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black);
  line-height: 1.25;
  font-weight: 700;
}

h1,
h2 {
  font-family: var(--font-heading);
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1rem;
}

small {
  font-size: .82rem;
}

.text-gold {
  color: var(--gold-dark);
}

.text-muted {
  color: var(--grey);
}

.text-white {
  color: var(--white);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.uppercase {
  text-transform: uppercase;
}

.font-bold {
  font-weight: 700;
}

/* =========================================================
   4. LAYOUT
   ========================================================= */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-light {
  background: var(--off-white);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-heading {
  margin-bottom: 35px;
}

.section-heading p {
  color: var(--grey);
  max-width: 650px;
  margin-top: 12px;
}

.section-heading.center {
  text-align: center;
}

.section-heading.center p {
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  color: var(--gold-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 25px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

/* =========================================================
   5. TOP BAR
   ========================================================= */

.topbar {
  background: var(--black);
  color: var(--white);
  padding: 8px 0;
  font-size: .78rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  color: #DDDDDD;
  transition: color var(--transition);
}

.topbar a:hover {
  color: var(--gold);
}

.topbar-date {
  color: #CCCCCC;
}

/* =========================================================
   6. HEADER
   ========================================================= */

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-main {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-tagline {
  display: block;
  color: var(--grey);
  font-size: .65rem;
  letter-spacing: 1.2px;
  margin-top: 4px;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 23px;
}

.main-navigation a {
  color: var(--black);
  font-size: .84rem;
  font-weight: 700;
  position: relative;
  transition: color var(--transition);
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--gold-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 1.7rem;
  padding: 8px;
}

.mobile-navigation {
  display: none;
}

/* =========================================================
   7. BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--black-light);
  color: var(--gold);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--black);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-small {
  padding: 8px 15px;
  font-size: .78rem;
}

.btn-large {
  padding: 15px 28px;
}

.btn-block {
  width: 100%;
}

/* =========================================================
   8. BREAKING NEWS
   ========================================================= */

.breaking-news {
  background: var(--gold);
  color: var(--black);
  overflow: hidden;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 42px;
}

.breaking-label {
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.breaking-content {
  overflow: hidden;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 600;
}

/* =========================================================
   9. HERO
   ========================================================= */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: var(--white);
  max-width: 850px;
}

.hero p {
  color: #CCCCCC;
  max-width: 650px;
  font-size: 1.05rem;
  margin: 22px 0 30px;
}

.hero-label {
  display: inline-block;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* =========================================================
   10. NEWS CARDS
   ========================================================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--light-grey);
}

.news-card-body {
  padding: 20px;
}

.news-category {
  display: inline-block;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.news-card h3 a:hover {
  color: var(--gold-dark);
}

.news-card p {
  color: var(--grey);
  font-size: .88rem;
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--grey);
  font-size: .75rem;
  margin-top: 15px;
}

.news-read-more {
  display: inline-block;
  color: var(--black);
  font-size: .82rem;
  font-weight: 800;
  margin-top: 12px;
}

.news-read-more:hover {
  color: var(--gold-dark);
}

/* =========================================================
   11. CATEGORY CARDS
   ========================================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  background: var(--black);
  color: var(--white);
  padding: 25px;
  min-height: 130px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  transition: background var(--transition), transform var(--transition);
}

.category-card h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.category-card:hover {
  background: var(--black-light);
  transform: translateY(-4px);
}

.category-card:hover h3 {
  color: var(--gold);
}

/* =========================================================
   12. MEDIA CARDS
   ========================================================= */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--black);
  min-height: 230px;
  color: var(--white);
}

.media-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  opacity: .78;
  transition: transform .4s ease;
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-card-content {
  position: absolute;
  inset: auto 0 0;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .9));
}

.media-card-content h3 {
  color: var(--white);
}

/* =========================================================
   13. ARTICLE PAGE
   ========================================================= */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 45px;
}

.article-header {
  margin-bottom: 25px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.2;
  margin: 15px 0;
}

.article-subtitle {
  color: var(--grey);
  font-size: 1.1rem;
}

.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.article-content {
  color: #333333;
  font-size: 1.02rem;
  line-height: 1.95;
}

.article-content p {
  margin-bottom: 22px;
}

.article-sidebar {
  background: var(--off-white);
  padding: 25px;
  border-radius: var(--radius-md);
  align-self: start;
}

.article-caption {
  color: var(--grey);
  font-size: .78rem;
  margin-bottom: 25px;
}

/* =========================================================
   14. FORMS
   ========================================================= */

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 7px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--black);
  transition: border var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .13);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-help {
  color: var(--grey);
  font-size: .78rem;
  margin-top: 6px;
}

.form-message {
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
  font-size: .85rem;
}

.form-message.success {
  background: #E8F5EC;
  color: var(--success);
}

.form-message.error {
  background: #FCEAEA;
  color: var(--danger);
}

/* =========================================================
   15. NEWSLETTER
   ========================================================= */

.newsletter-section {
  background: var(--black);
  color: var(--white);
  padding: 65px 0;
}

.newsletter-section h2 {
  color: var(--white);
}

.newsletter-section p {
  color: #CCCCCC;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin-top: 25px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 14px;
  border: 1px solid #555555;
  border-radius: var(--radius-sm);
  background: #222222;
  color: var(--white);
}

/* =========================================================
   16. PAGE BANNER
   ========================================================= */

.page-banner {
  background: var(--black);
  color: var(--white);
  padding: 65px 0;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.page-banner p {
  color: #CCCCCC;
  max-width: 700px;
  margin-top: 12px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #BBBBBB;
  font-size: .78rem;
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

/* =========================================================
   17. FOOTER
   ========================================================= */

.site-footer {
  background: var(--black);
  color: #CCCCCC;
  padding: 65px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 35px;
  margin-bottom: 45px;
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
}

.footer-column h3 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 18px;
}

.footer-column p {
  font-size: .85rem;
  color: #AAAAAA;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #BBBBBB;
  font-size: .83rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 20px;
  color: #999999;
  font-size: .78rem;
}

/* =========================================================
   18. SEARCH
   ========================================================= */

.search-form {
  display: flex;
  gap: 10px;
  width: 100%;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.search-results {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

/* =========================================================
   19. STATUS LABELS
   ========================================================= */

.status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: capitalize;
}

.status-published,
.status-active,
.status-approved {
  background: #E7F5EC;
  color: var(--success);
}

.status-draft,
.status-pending,
.status-submitted {
  background: #FFF5DD;
  color: var(--warning);
}

.status-returned,
.status-rejected,
.status-inactive {
  background: #FCEAEA;
  color: var(--danger);
}

/* =========================================================
   20. EMPTY AND LOADING STATES
   ========================================================= */

.empty-state {
  padding: 45px 20px;
  text-align: center;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--grey);
}

.loading-state {
  padding: 35px 15px;
  color: var(--grey);
  text-align: center;
}

/* =========================================================
   21. SOCIAL LINKS
   ========================================================= */

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555555;
  border-radius: 50%;
  color: var(--white);
  font-size: .8rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* =========================================================
   22. UTILITIES
   ========================================================= */

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.w-100 { width: 100%; }

.rounded {
  border-radius: var(--radius-md);
}

.shadow {
  box-shadow: var(--shadow-md);
}

.hidden {
  display: none !important;
}

/* =========================================================
   23. RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 1050px) {
  .main-navigation {
    gap: 14px;
  }

  .main-navigation a {
    font-size: .78rem;
  }

  .grid-4,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 60px 0;
  }

  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 15px 24px 25px;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .mobile-navigation.open {
    display: block;
  }

  .mobile-navigation a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
  }

  .news-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    order: 2;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-right {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 48px 0;
  }

  .header-main {
    gap: 10px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    font-size: .55rem;
  }

  .header-actions .btn {
    padding: 8px 11px;
    font-size: .73rem;
  }

  .hero {
    padding: 60px 0;
  }

  .hero p {
    font-size: .95rem;
  }

  .news-grid,
  .media-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .breaking-inner {
    gap: 10px;
  }

  .breaking-label {
    font-size: .68rem;
  }

  .topbar {
    font-size: .7rem;
  }

  .topbar-inner {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form .btn {
    width: 100%;
  }
}

/* =========================================================
   24. ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  z-index: 2000;
  background: var(--gold);
  color: var(--black);
  padding: 12px 18px;
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}