/* ================================================================
   Kingdom Frequency — Design System & Main Styles
   ================================================================ */

/* --- CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg:            #0a0a0a;
  --surface:       #141414;
  --surface-border: #1f1f1f;
  --gold:          #c9a84c;
  --gold-light:    #e8d48b;
  --gold-dark:     #a68a3e;
  --text:          #f5f5f5;
  --text-secondary:#999;
  --text-muted:    #666;
  --overlay:       rgba(10,10,10,.75);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;

  /* Spacing */
  --section-py: clamp(3rem, 8vw, 6rem);
  --content-max: 1200px;
  --radius:      16px;
  --radius-sm:   10px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --duration: .35s;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--gold-light); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: 2px; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: var(--section-py) 0;
}

.text-center { text-align: center; }

/* --- Link Bar (music + social links at top) --- */
.link-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: var(--gold);
  padding: .35rem 0;
  font-size: .78rem;
}

.link-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.link-bar .container::-webkit-scrollbar {
  display: none;
}

.link-bar a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #0a0a0a;
  font-weight: 600;
  letter-spacing: .3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--duration) var(--ease);
}

.link-bar a:hover {
  opacity: .7;
  color: #0a0a0a;
}

.link-bar svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.link-bar__sep {
  width: 1px;
  height: 14px;
  background: rgba(10,10,10,.25);
  flex-shrink: 0;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 28px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), padding var(--duration) var(--ease), top var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
  padding: .6rem 0;
  top: 28px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 44px;
  width: auto;
  border-radius: 50%;
}

.navbar__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar__links a {
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--gold);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/hero/kingdom-frequency-hero.png') center center / cover no-repeat;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.45) 0%, rgba(10,10,10,.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

.hero__logo {
  width: clamp(140px, 22vw, 220px);
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(201,168,76,.18), 0 0 120px rgba(201,168,76,.06);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 1;
}

.hero__scroll svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .5px;
  padding: .85rem 2rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform .15s var(--ease), box-shadow var(--duration) var(--ease);
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,.25);
  color: #0a0a0a;
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.btn--sm {
  font-size: .8rem;
  padding: .55rem 1.4rem;
}

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 0 1px var(--gold-dark);
  border-color: var(--gold-dark);
}

/* --- Artist Grid --- */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.artist-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.artist-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.artist-card:hover .artist-card__img {
  transform: scale(1.05);
}

.artist-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.artist-card__genre {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.artist-card__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.artist-card__tagline {
  font-size: .85rem;
  color: var(--text-secondary);
}

/* --- Music Section --- */
.music-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.music-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1rem;
}

.music-card iframe {
  border-radius: var(--radius-sm);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: .4rem .9rem;
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  transition: all var(--duration) var(--ease);
}

.platform-link:hover {
  color: var(--gold);
  border-color: var(--gold-dark);
}

/* --- About / Mission --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 2rem 2rem 2rem 2.5rem;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-style: normal;
  color: var(--gold);
}

/* --- Newsletter --- */
.newsletter {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.newsletter p {
  color: var(--text-secondary);
  margin: 1rem 0 2rem;
}

.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--surface-border);
  border-radius: 100px;
  padding: .85rem 1.4rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--duration) var(--ease);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

/* --- Contact --- */
.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--duration) var(--ease);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo img {
  height: 36px;
  width: auto;
  border-radius: 50%;
  opacity: .7;
}

.footer__nav {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: .85rem;
  color: var(--text-muted);
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-border);
  font-size: .8rem;
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__socials a {
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.footer__socials a:hover {
  color: var(--gold);
}

.footer__socials svg {
  width: 20px;
  height: 20px;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .link-bar a span {
    display: none;
  }

  .link-bar a {
    gap: 0;
  }

  .link-bar svg {
    width: 18px;
    height: 18px;
  }

  .link-bar .container {
    gap: .9rem;
  }

  .link-bar__sep {
    display: none;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(14px);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--duration) var(--ease);
  }

  .navbar__links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .artist-grid {
    grid-template-columns: 1fr;
  }

  .music-grid {
    grid-template-columns: 1fr;
  }
}
