/*
Theme Name: Urban Charanga Project
Theme URI: https://example.com/urban-charanga
Author: Custom Build
Author URI: https://example.com
Description: A one-page WordPress theme inspired by the Urban Charanga Project design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: urbancharanga
*/

:root {
  --gold-1: #f8df8b;
  --gold-2: #efba4a;
  --gold-3: #a8671a;
  --gold-4: #3b1f0a;
  --bg-dark: #180a04;
  --panel-bg: rgba(25, 12, 6, 0.78);
  --line: rgba(250, 209, 110, 0.55);
  --text: #f6ead1;
  --muted: #d7be95;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Arial Narrow", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, #6d4318 0%, #2f1607 38%, #110502 100%),
    url("assets/images/sparkle-bg.svg") center top/cover fixed no-repeat;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.uc-wrap {
  min-height: 100vh;
  overflow-x: hidden;
}

.uc-container {
  width: min(1060px, 92%);
  margin-inline: auto;
}

.uc-bg-noise::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 214, 129, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 36%, rgba(255, 214, 129, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 35% 82%, rgba(255, 224, 150, 0.08) 0 1px, transparent 1px);
  background-size: 3px 3px, 4px 4px, 5px 5px;
  pointer-events: none;
  z-index: -1;
}

.uc-top {
  background:
    linear-gradient(rgba(16, 7, 2, 0.1), rgba(16, 7, 2, 0.54)),
    url("assets/images/hero-bg.svg") center top/cover no-repeat;
  padding: 1.2rem 0 0.8rem;
  border-bottom: 2px solid rgba(236, 175, 70, 0.52);
  box-shadow: inset 0 -18px 30px rgba(0, 0, 0, 0.28);
}

.uc-logo-sign {
  max-width: 760px;
  margin: 0 auto 0.35rem;
  border: none;
  background: transparent;
  text-align: center;
  padding: 0;
}

.uc-logo-image {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.uc-nav {
  background: linear-gradient(180deg, #2a1207 0%, #140802 100%);
  border: 2px solid rgba(247, 184, 72, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 227, 152, 0.25), inset 0 0 16px rgba(240, 170, 64, 0.2);
  border-radius: 8px;
  position: relative;
  overflow: visible;
}

.uc-nav::before,
.uc-nav::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 20px;
  height: calc(100% + 4px);
  background: linear-gradient(180deg, #2a1207 0%, #140802 100%);
  border: 2px solid rgba(247, 184, 72, 0.68);
}

.uc-nav::before {
  left: -10px;
  border-right: none;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.uc-nav::after {
  right: -10px;
  border-left: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.uc-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uc-nav a {
  display: block;
  text-align: center;
  padding: 0.62rem 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 700;
  border-right: 1px solid rgba(238, 187, 86, 0.35);
}

.uc-nav li:last-child a {
  border-right: none;
}

.uc-nav a:hover,
.uc-nav a:focus {
  color: #fff7d7;
  background: rgba(240, 184, 81, 0.14);
}

.uc-section {
  padding: 1.7rem 0 2rem;
  position: relative;
  background:
    linear-gradient(rgba(12, 5, 2, 0.26), rgba(12, 5, 2, 0.54)),
    url("assets/images/sparkle-bg.svg") center/cover no-repeat;
  border-top: 2px solid rgba(237, 173, 67, 0.47);
  border-bottom: 2px solid rgba(237, 173, 67, 0.47);
}

.uc-section::before,
.uc-section::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1060px, 96%);
  pointer-events: none;
}

.uc-section::before {
  top: 0;
  border-top: 1px solid rgba(255, 214, 126, 0.28);
}

.uc-section::after {
  bottom: 0;
  border-top: 1px solid rgba(255, 214, 126, 0.24);
}

.uc-section + .uc-section {
  border-top: none;
}

.uc-title {
  margin: 0 0 1.3rem;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.1em;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe9ab, #d99534);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(243, 186, 83, 0.32);
  position: relative;
}

.uc-title::before,
.uc-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(220px, 20vw);
  border-top: 2px solid rgba(247, 186, 78, 0.56);
}

.uc-title::before {
  left: 4%;
}

.uc-title::after {
  right: 4%;
}

.uc-grid-about {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0.65rem;
}

.uc-panel {
  background: var(--panel-bg);
  border: 1px solid rgba(251, 194, 80, 0.4);
  box-shadow: inset 0 0 26px rgba(239, 184, 77, 0.08);
  border-radius: 8px;
  padding: 0.8rem;
}

.uc-panel h3 {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  color: #ffd98b;
}

.uc-panel p {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 1rem;
}

.uc-video-frame {
  border: 1px solid rgba(252, 194, 75, 0.45);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(10, 5, 2, 0.25), rgba(10, 5, 2, 0.72)),
    url("assets/images/video-placeholder.svg") center/cover no-repeat;
}

.uc-icons {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.uc-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(251, 194, 80, 0.52);
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: rgba(14, 6, 2, 0.6);
  font-size: 0.72rem;
}

.uc-albums {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 0.55rem;
}

.uc-card {
  background: rgba(13, 7, 3, 0.8);
  border: 1px solid rgba(251, 194, 80, 0.4);
  border-radius: 6px;
  overflow: hidden;
}

.uc-card img {
  width: 100%;
  aspect-ratio: 0.95 / 1;
  object-fit: cover;
}

.uc-card .uc-card-body {
  background: rgba(10, 5, 2, 0.86);
  border-top: 1px solid rgba(249, 194, 88, 0.28);
  padding: 0.5rem 0.55rem;
}

.uc-card h4 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.85rem;
  line-height: 1;
  background: linear-gradient(180deg, #ffe9ab, #da9f42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.uc-albums .uc-card:not(:first-child) h4 {
  font-size: 0.9rem;
  color: #ffeac2;
  background: none;
}

.uc-cta-row {
  margin-top: 0.8rem;
  text-align: center;
}

.uc-btn {
  display: inline-block;
  padding: 0.5rem 1.35rem;
  border: 2px solid rgba(252, 198, 82, 0.82);
  color: #ffe9b0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(53, 25, 8, 0.92), rgba(24, 10, 3, 0.96));
  box-shadow: inset 0 0 15px rgba(250, 192, 80, 0.22);
}

.uc-btn:hover,
.uc-btn:focus {
  background: linear-gradient(180deg, rgba(74, 33, 10, 0.96), rgba(31, 13, 4, 1));
}

.uc-store-banner {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(251, 194, 80, 0.4);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 28px rgba(245, 189, 82, 0.15);
}

.uc-footer {
  padding: 1.4rem 0 1.8rem;
  background:
    linear-gradient(rgba(12, 5, 2, 0.56), rgba(12, 5, 2, 0.8)),
    url("assets/images/sparkle-bg.svg") center/cover no-repeat;
  border-top: 2px solid rgba(237, 173, 67, 0.47);
}

.uc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.5fr;
  gap: 0.7rem;
}

.uc-footer h3 {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffdd95;
  font-size: 2rem;
  line-height: 1;
}

.uc-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.uc-footer p,
.uc-links a {
  margin: 0.25rem 0;
  color: #f3d8a9;
}

.uc-newsletter {
  display: flex;
  gap: 0.45rem;
}

.uc-newsletter input {
  flex: 1;
  min-width: 140px;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(252, 198, 82, 0.45);
  background: rgba(24, 10, 3, 0.85);
  color: #fdeac0;
  height: 34px;
}

.uc-newsletter button {
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(252, 198, 82, 0.72);
  background: linear-gradient(180deg, rgba(60, 26, 8, 0.94), rgba(29, 12, 4, 0.98));
  color: #ffe9b0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  height: 34px;
  font-size: 0.72rem;
  font-weight: 700;
}

.uc-cta-note {
  display: inline-block;
  margin-left: 1.2rem;
  color: #ffe3ad;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1.1rem;
  vertical-align: middle;
}

@media (max-width: 980px) {
  .uc-title::before,
  .uc-title::after {
    display: none;
  }

  .uc-grid-about {
    grid-template-columns: 1fr;
  }

  .uc-albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uc-footer-grid {
    grid-template-columns: 1fr;
  }

  .uc-cta-note {
    display: block;
    margin: 0.75rem 0 0;
  }
}

@media (max-width: 640px) {
  .uc-nav ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .uc-albums {
    grid-template-columns: 1fr;
  }
}
