/*
Theme Name: Earl Wyatt Comedy
Theme URI: https://example.com/earl-wyatt-theme
Author: Your Name
Description: A bold, mobile-first custom theme for Earl Wyatt Comedy featuring a dynamic upcoming shows ticker.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: earl-wyatt-comedy
*/

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #8ba8a9 0%, #d0dfdf 100%);
  overflow-x: hidden;
}

/* Background Faint Text */


.bg-text-vertical {
  position: absolute;
  left: -10vw;
  top: 30%;
  transform: rotate(-90deg);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  z-index: 1;
  letter-spacing: 5px;
  text-transform: uppercase;
}


/* NEW: Add this companion block right below it to generate the vertical gradient strip */
.bg-text-vertical::before {
  content: "";
  position: absolute;
  z-index: -1; /* Places the dark band behind the text */
  pointer-events: none;

  /* Accounting for the -90deg rotation: */
  /* Local 'height' extends horizontally across the screen */
  height: 45vw; 
  /* Local 'width' extends vertically from top to bottom of the viewport */
  left: -100vh; 
  width: 300vh; 
  top: -20px;

  /* Fades from the dark slate/teal color into complete transparency */
  background: linear-gradient(to bottom, rgba(16, 28, 28, 0.85) 15%, rgba(16, 28, 28, 0) 100%);
}























.bg-text-horizontal {
  position: absolute;
  bottom: 5vh;
  right: -10vw;
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
  line-height: 0.8;
  text-transform: uppercase;
}

/* Top Nav - Modified for clean WordPress output */
.top-nav {
  position: relative;
  width: 100%;
  background-color: rgba(160, 165, 165, 0.9);
  padding: 15px 20px;
  z-index: 3;
  box-sizing: border-box;
}

.top-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-nav ul li a {
  color: white;
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Ticker Styles */
.ticker-wrap {
  position: relative;
  width: 100%;
  background-color: #ba6d59;
  padding: 12px 0;
  z-index: 2;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  color: white;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
}

@keyframes ticker {
  0% { transform: translate3d(100vw, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Main Content Wrapper */
.main-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  z-index: 4;
}

/* Video Section */
.video-section {
  width: 100%;
  max-width: 600px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 6;
}

.subscribe-link {
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Arial Black', Impact, sans-serif;
}

.subscribe-link svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.video-container {
  width: 100%;
  background-color: black;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Main Title */
.main-title {
  color: white;
  font-size: 12rem;
  font-weight: 900;
  line-height: 0.85;
  text-transform: uppercase;
  font-family: 'Arial Black', Impact, sans-serif;
  text-align: center;
  margin-bottom: -20px;
  z-index: 5;
}

/* Comedian Image */
.comedian-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  z-index: 4;
}

.comedian-container img {
  width: 100%;
  height: auto;
  filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.15));
}

/* Desktop Overrides */
@media (min-width: 1024px) {
  body, html {
    height: 100%;
    overflow: hidden;
  }

  .bg-text-vertical {
    left: -42vw; top: 50%; transform: translateY(-50%) rotate(-90deg); font-size: 20vw;
  }
  .bg-text-horizontal {
    bottom: -5vh; right: 5%; font-size: 20vw;
  }

  .top-nav {
    position: absolute;
    top: 40px;
    right: 0;
    width: 55%;
    background-color: rgba(160, 165, 165, 0.8);
    padding: 15px 40px;
  }
  
  .top-nav ul {
    justify-content: flex-start;
    gap: 50px;
  }
  
  .top-nav ul li a { font-size: 1.2rem; }

  .ticker-wrap {
    position: absolute;
    top: 120px;
    padding: 15px 0;
  }
  .ticker { font-size: 1.2rem; }

  .main-content {
    position: static;
    display: block;
    padding: 0;
  }

  .video-section {
    position: absolute;
    right: 5%;
    top: 25%;
    width: 45%;
    max-width: 800px;
    margin-bottom: 0;
  }
  .subscribe-link { font-size: 1.3rem; }
  .subscribe-link svg { width: 22px; height: 22px; }

  .comedian-container {
    position: absolute;
    bottom: 0;
    left: 5%;
    height: 95vh;
    width: 45%;
    max-width: none;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .comedian-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
  }

  .main-title {
    position: absolute;
    bottom: 4%;
    left: 5%;
    font-size: 12rem;
    text-align: left;
    margin-bottom: 0;
    line-height:8.75rem;
  }
}
