/*
Theme Name: Kickin It with Nick B
Theme URI: https://www.NickBNation.com
Author: Nick B. Entertainment
Author URI: https://www.NickBNation.com
Description: Urban old-school hip hop and R&B theme for Kickin it with Nick B. Slogan: Ain’t nothing like the old school! Features editable news ticker, logo/ad header, toggleable left navigation, and customizer footer.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kickin-it-nickb
Tags: hip-hop, urban, radio, customizer, one-column
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Oswald:wght@400;600;700&family=Permanent+Marker&family=Roboto:wght@400;500&display=swap');

:root {
  --primary: #FFD700; /* Gold */
  --accent: #FF3B30; /* Red */
  --dark: #0A0A0A;
  --darker: #111111;
  --light: #FFFFFF;
  --muted: #AAAAAA;
  --graffiti: #9B59B6; /* Purple for graffiti vibe */
}

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

body {
  font-family: 'Roboto', sans-serif;
  background: var(--dark) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%230a0a0a" width="100" height="100"/><path d="M0 0L100 100M100 0L0 100" stroke="%231a1a1a" stroke-width="1"/></svg>') repeat;
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent);
}

/* News Ticker */
.news-ticker {
  background: linear-gradient(90deg, #000, #1a1a1a, #000);
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 40px;
  line-height: 40px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-ticker .ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
  padding-left: 100%;
}

.news-ticker .ticker-content:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Header */
.site-header {
  background: var(--darker);
  border-bottom: 4px solid var(--primary);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

/* Header Leaderboard 728x90 */
.header-leaderboard {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 280px;
}

.leaderboard-ad img {
  width: 728px;
  height: 90px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border: 1px solid #333;
  background: #000;
}

.leaderboard-slogan {
  width: 728px;
  max-width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #1a1a1a, #000, #1a1a1a);
  border: 3px solid var(--primary);
  font-family: 'Permanent Marker', cursive;
  font-size: 28px;
  color: var(--primary);
  text-align: center;
  text-shadow: 2px 2px 4px #000;
  padding: 0 15px;
  box-sizing: border-box;
  letter-spacing: 1px;
}

.toggle-menu {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  font-family: 'Bangers', cursive;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.toggle-menu:hover {
  background: var(--primary);
  color: var(--dark);
}

.site-logo {
  max-height: 120px;
}

.site-logo img,
.custom-logo-link img {
  max-height: 80px;
  width: auto;
  display: block;
}

/* Content Banner 728x90 */
.content-banner {
  text-align: center;
  margin: 0 auto 30px;
  max-width: 728px;
}

.content-banner img {
  width: 728px;
  height: 90px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border: 1px solid #333;
  background: #000;
}

/* Main Content with Side Ads */
.site-main {
  padding: 40px 20px;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 70vh;
}

.content-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.content-area {
  background: rgba(17,17,17,0.8);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #333;
  flex: 1;
  max-width: 900px;
  min-width: 0;
}

/* Skyscraper Ads 160x600 */
.side-ad {
  flex-shrink: 0;
  width: 160px;
  text-align: center;
}

.side-ad img {
  width: 160px;
  height: 600px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border: 1px solid #333;
  background: #111;
}

@media (max-width: 1200px) {
  .side-ad {
    display: none;
  }
  .content-wrapper {
    display: block;
  }
  .content-area {
    max-width: 100%;
  }
}

.site-title {
  font-family: 'Bangers', cursive;
  font-size: 42px;
  color: var(--primary);
  text-shadow: 3px 3px 0 var(--accent), -1px -1px 0 #000;
  letter-spacing: 2px;
  margin: 0;
}

/* Left Navigation */
.left-nav {
  position: fixed;
  left: -300px;
  top: 0;
  width: 280px;
  height: 100%;
  background: var(--darker);
  border-right: 4px solid var(--primary);
  z-index: 200;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 80px 20px 20px;
  box-shadow: 5px 0 20px rgba(0,0,0,0.5);
}

.left-nav.open {
  left: 0;
}

.left-nav .close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 30px;
  cursor: pointer;
}

.left-nav ul {
  list-style: none;
}

.left-nav li {
  margin: 15px 0;
}

.left-nav a {
  display: block;
  padding: 12px 15px;
  background: #1a1a1a;
  color: var(--light);
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  border-left: 4px solid transparent;
  transition: all 0.3s;
}

.left-nav a:hover,
.left-nav a.current-menu-item {
  background: var(--accent);
  color: white;
  border-left-color: var(--primary);
  transform: translateX(5px);
}

/* Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 150;
  display: none;
}

.nav-overlay.active {
  display: block;
}

/* Hide all page/post titles */
.entry-title,
.page-title,
h1.entry-title,
h2.entry-title,
.entry-header {
  display: none !important;
}

/* Consistent fonts and colors throughout */
body,
.entry-content,
.entry-content p,
.entry-content li,
.content-area {
  font-family: 'Roboto', sans-serif;
  color: var(--light);
  font-size: 18px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: 'Oswald', sans-serif;
  color: var(--primary);
  font-weight: 600;
}

a,
.entry-content a {
  color: var(--primary);
}

a:hover,
.entry-content a:hover {
  color: var(--accent);
}

.left-nav a,
.footer-links a,
.footer-copyright {
  font-family: 'Oswald', sans-serif;
}

.entry-content p {
  margin-bottom: 1em;
}

/* Footer */
.site-footer {
  background: var(--darker);
  border-top: 4px solid var(--accent);
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
}

.footer-copyright {
  font-family: 'Oswald', sans-serif;
  color: var(--muted);
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .site-title {
    font-size: 28px;
  }
  .leaderboard-slogan {
    font-size: 18px;
    height: auto;
    min-height: 70px;
    padding: 10px;
  }
  .leaderboard-ad img,
  .content-banner img {
    width: 100%;
    height: auto;
  }
  .site-header {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .header-left {
    justify-content: center;
    width: 100%;
  }
  .header-leaderboard {
    width: 100%;
  }
  .content-banner {
    margin-bottom: 20px;
  }
  .site-main {
    padding: 20px 10px;
  }
  .content-area {
    padding: 20px 15px;
  }
}

/* WordPress specific */
.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}
