/*
Theme Name: Anton Reed
Theme URI: https://antonreed.com
Author: McGinnis Design Co.
Author URI: https://mcginnisdesign.co
Description: Custom theme for Anton Reed
Version: 1.0
*/

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px; /* adjust if you add a sticky header later */
}

html, body {
  margin-top: 0 !important;
  padding-top: 0 !important;
  height: 100%;
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  overflow: hidden;
  max-width: 100%;
}

body {
  background: linear-gradient(to bottom, #1155CC, #231F20);
  background-attachment: fixed;
}

/* LAYOUT */
.site-wrapper {
  display: flex;
  position: relative;
}

.left-side {
  width: 50vw;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

.logo {
  padding-top: 30vh;
  padding-bottom: 5rem;
  text-align: center;
}

.logo img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-right: 4%;
}

.glitch {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: glitch-flicker 2s infinite;
  opacity: 0.9;
  image-rendering: pixelated;
}

.glitch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.05) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

.glitch-top-left {
  top: -5rem;
  left: 0;
  width: 1000px;
  max-width: 60%;
  animation-delay: 0s;
}

.glitch-top-right {
  top: -8rem;
  right: 4rem;
  width: 120px;
  animation-delay: 0.5s;
  z-index: 100;
}

.glitch-bottom-left {
  bottom: -2rem;
  left: -1rem;
  width: 40%;
  animation-delay: 1s;
}

@keyframes glitch-flicker {
  0%, 100% {
    opacity: 1;
    transform: translate(0, 0);
  }
  20% {
    opacity: 0.8;
    transform: translate(-1px, 1px);
  }
  40% {
    opacity: 0.6;
    transform: translate(2px, -2px);
  }
  60% {
    opacity: 1;
    transform: translate(-2px, 1px);
  }
  80% {
    opacity: 0.7;
    transform: translate(1px, -1px);
  }
}

/* NAV */
.site-nav {
  margin-bottom: auto;
}

.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  font-size: 20px;
  text-transform: uppercase;
  color: white;
  text-decoration: underline;
}

.site-nav a:hover, .footer a:hover {
  color: #08F6D7;
}

/* FOOTER */
.footer {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.6;
  text-align: center;
  padding-bottom: 9vh;
  max-width: 90%;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.mobile-footer {
  display: none;
}

/* MAIN CONTENT */
.main-content {
  width: 50vw;
  margin-left: 50vw;
  height: 55vh;
  margin-top: 35vh;
  margin-bottom: 5vh;
  background: #52307C;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.scroll-area {
  height: 55vh;
  overflow-y: auto;
  padding: 0 3rem;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

/* CUSTOM SCROLL */
/* For WebKit browsers */
::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background-color: #ffffff4D;
}

::-webkit-scrollbar-thumb {
  background-color: #08F6D7;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ffffff80; /* 50% white on hover */
}

/* DIVIDER LINES */
.divider-line-top,
.divider-line-bottom {
  position: absolute;
  height: 4px;
  background-color: #ffffff4D;
  z-index: 100;
  pointer-events: none;
}

.divider-line-top {
  top: -4px;
  left: -3%;
  width: 107%;
}

.divider-line-bottom {
  bottom: -4px;
  left: -7%;
  width: 108%;
}

/* SECTION STYLING */
.section {
  padding: 4rem 0;
  position: relative;
  min-height: 60vh;
}

/* VERTICAL LABEL */
.section-label {
  position: absolute;
  right: 98%;
  top: 7.5rem;
  transform: rotate(-90deg);
  transform-origin: right top;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.4;
  white-space: nowrap;
  color: white;
}

/* PAGE STEP */
.step-right {
  position: absolute;
  top: 4rem;
  right: 0;
  left: auto;
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.1;
}

.step-left {
  position: absolute;
  top: 4rem;
  left: 0;
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.1;
}

/* STAGGERED HEADINGS */
h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.h2-right {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: right;
}

.staggered-heading {
  display: flex;
  flex-direction: column;
}

.staggered-heading .line2 {
  padding-left: 3rem;
  margin-bottom: 1rem;
}

/* CONTENT */
.content-left {
  padding-left: 3rem;
  font-size: 18px;
  line-height: 1.5;
}

.content-right {
  font-size: 18px;
  line-height: 1.5;
  text-align: right;
}

/* LINKS */
.main-content a {
  color: white;
  text-decoration: underline;
}

.main-content a:hover {
  color: #08F6D7;
}

ul {
  list-style: none;
  padding-left: 0; /* removes default padding */
  margin: 0;        /* optional: reset margin too */
}

li {
  margin-bottom: 1rem; /* optional: spacing between items */
}

/* === TOUR DATES === */
.tour-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 2rem;
}

.tour-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem; /* space between tour items */
}

.tour-item strong {
  font-size: 18px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.middle-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.venue-link {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.city-text {
  font-size: 16px;
  color: white;
  margin-top: 0.25rem;
}

a.ticket-button {
  background: white;
  color: black !important; /* Force text color */
  font-weight: 500;
  border-radius: 30px;
  padding: 0.75rem 2rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  font-size: 18px;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  width: auto; /* Or max-content, but auto is safer cross-browser */
  overflow: visible;
}

.ticket-button:hover {
  background: #08F6D7;
}

/* MEDIA QUERIES */

/* Tablet Layout */
@media (max-width: 1092px) {
  html, body {
    overflow: hidden;
    height: 100%;
    font-family: 'Space Grotesk', sans-serif !important;

  }

  .site-wrapper {
    flex-direction: column;
  }

  .left-side {
    position: relative;
    margin: 0 auto 2rem auto;
    height: 30vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin: 0.5rem auto 0 auto;
    padding: 0;
    height: 90%;
    display: block;
    flex-shrink: 1;
  }

  .logo img {
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 0;
    padding-right: 1%;
  }

  .site-nav {
    display: block;
    object-fit: contain;
    padding: 0;
    margin-top: -1rem;
  }

  .site-nav ul {
    padding: 0;
    margin: 0;
    gap: 1.5rem;
  }

  .site-nav li {
    padding: 0;
    margin: 0;
  }

  .site-nav a {
    font-size: 18px;
  }

  .footer {
    display: none;
  }

.mobile-footer {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 12px;
  color: white;
  position: fixed;
  bottom: 1rem;
  left: 0;
  z-index: 10;
  }

  .mobile-footer a {
    text-decoration: underline;
  }

  .line2 {
    margin-left: -1rem;
  }

  .content-left {
    margin-left: -1rem;
  }

  .main-content {
    width: 95%;
    margin: 0 0 auto auto;
    padding: 0;
    left: auto;
    background: #52307C;
    position: relative;
    height: auto;
    max-height: 50vh;
  }

  .scroll-area {
    scroll-behavior: smooth;
    padding: 0 2rem;
  }

  .divider-line-top {
    width: 101%;
    position: absolute;
    right: 0;
    left: auto;
  }

  .divider-line-bottom {
    width: 103%;
    position: absolute;
    right: 0;
    left: auto;
  }

  .section {
    padding-top: 2rem;
  }

  .section-inner {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .section-label {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    text-align: left;
    margin-bottom: 1rem;
  }

  .step-right {
    position: absolute;
    text-align: right;
    margin-top: 1rem;
    font-size: 36px;
  }

 .step-left {
    position: absolute;
    margin-top: -2rem;
    font-size: 36px;
  }

  .tour-list {
    max-width: 90%;
    margin: 0 auto;
  }

  .tour-item {
    display: grid;
    align-items: center;
    gap: 2rem;
    text-align: left;
  }

  .tour-item strong {
    font-size: 16px;
    white-space: nowrap;
  }

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

  .ticket-button {
    margin: 0;
  }

  h2, .h2-right{
    font-size: 32px;
  }

  /* === GLITCH GRAPHICS === */
  .glitch-top-right, .glitch-bottom-left, .glitch-top-left {
    display: none !important;
  }
}

/* Mobile Layout */
@media (max-width: 529px) {
  html, body {
    overflow: hidden;
    height: 100%;
  }

  .site-wrapper {
    flex-direction: column;
  }

  .left-side {
    position: relative;
    margin: 0 auto 2rem auto;
    height: 20vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin: 1rem auto 0 auto;
    padding: 0;
    height: 90%;
    display: block;
    flex-shrink: 1;
  }

  .logo img {
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 0;
    padding-right: 1%;
  }

  .site-nav {
    display: block;
    object-fit: contain;
    padding: 0;
    margin-top: -1rem;
  }

  .site-nav ul {
    padding: 0;
    margin: 0;
    gap: 1.5rem;
  }

  .site-nav li {
    padding: 0;
    margin: 0;
  }

  .site-nav a {
    font-size: 14px;
  }

  .footer {
    display: none;
  }

.mobile-footer {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 12px;
  color: white;
  position: fixed;
  bottom: 1rem;
  left: 0;
  z-index: 10;
  }

  .mobile-footer a {
    text-decoration: underline;
  }

  .line2 {
    margin-left: -2rem;
  }

  .content-left {
    margin-left: -2rem;
  }

  .main-content {
    width: 95%;
    margin: 0 0 auto auto;
    padding: 0;
    left: auto;
    background: #52307C;
    position: relative;
    height: auto;
    max-height: 50vh;
  }

  .scroll-area {
    scroll-behavior: smooth;
    padding: 0 2rem;
  }

  .divider-line-top {
    width: 101%;
    position: absolute;
    right: 0;
    left: auto;
  }

  .divider-line-bottom {
    width: 103%;
    position: absolute;
    right: 0;
    left: auto;
  }

  .section {
    padding-top: 2rem;
  }

  .section-inner {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .section-label {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    text-align: left;
    margin: 0 0 0.5rem 0;
    font-size: 14px;
  }

  .step-right {
    position: absolute;
    text-align: right;
    margin-top: 1rem;
    font-size: 28px;
  }

 .step-left {
    position: absolute;
    margin-top: -2rem;
    font-size: 28px;
  }

  .tour-list {
    max-width: 95%;
    margin: 0 auto;
  }

  .tour-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: left;
  }

  .tour-item strong {
    font-size: 16px;
    white-space: nowrap;
  }

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

  .ticket-button {
    margin: 0;
  }

  h2, .h2-right {
    font-size: 28px;
    margin: 0;
    margin-bottom: 1rem;
    padding: 0;
  }

  /* === GLITCH GRAPHICS === */
  .glitch-top-right, .glitch-bottom-left, .glitch-top-left {
    display: none !important;
  }
}