html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  font-family: var(--font-body), sans-serif;
  font-size: 18px;
}



/* COLORS */
:root {
  /* Primary Action Colors (Inspired by Red Rock & Sun) */
  --primary-color: #D96C06; /* A vibrant, earthy orange for buttons and links */
  --primary-color-alt: #F4A261; /* A lighter, sandy orange for alternate states */
  --primary-color-hover: #A95604; /* A darker, burnt orange for hover effects */
  --on-primary-color: #FFFFFF; /* White text provides the best contrast on the primary color */

  /* Neutral & Background Colors (Inspired by Sandstone & Shadow) */
  --background-color: rgb(253, 248, 244); /* A very light, warm off-white, like sun-bleached sandstone */
  --card-color: #F7F3ED;       /* A slightly deeper beige for cards to stand out from the background */
  --footer-color: #2B2118;       /* A deep, dark brown like canyon shadows for a solid page anchor */

  /* Text & Navigation Colors */
  --header-color: #2B2118;      /* The same deep brown for strong, high-contrast headlines */
  --body-text-color: #4A443D;   /* A slightly softer dark gray/brown for readable paragraph text */
  --nav-text-color: #4A443D;    /* Consistent navigation text */
  --nav-text-hover-color: #D96C06; /* Use the primary action color for nav hover to draw attention */
  
  --font-headline: "Libre Baskerville";
  --font-body: "Lato";
}

/* NAV */

.nav {
  display: flex;
  justify-content: center;
  gap: 45px;
}

.nav.visisble {
  animation: slideFadeIn 1s forwards;
}

.nav a {
  color: var(--nav-text-color); /* Dark grey color */
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.nav-logo {
  width: 128px;
  height: 128px;
  margin-right: 16px;
}

.nav a:hover {
  color: var(--nav-text-hover-color); /* Fully black on hover */
}

.menu-row {
  display: none;
  flex-direction: row;
  align-items: center;
}

.menu-logo {
  text-align: center;
  margin: auto;
  padding-right: 58px;
  font-family: var(--font-headline)
}


.menu-button {
  font-size: 24px;
  padding: 18px;
  cursor: pointer;
  background: none;
  border: none;
  color: black;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 10px;
  right: 10px;
  border-radius: 26px;
  background: white;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideFadeIn 0.2s forwards;
}

.mobile-menu a {
  padding: 25px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: var(--nav-text-color);
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

nav.visible {
  animation: slideFadeIn 2s forwards;
}

/* HEADERS */

h1,
h2,
h3 {
  font-family: var(--font-headline);
  color: var(--header-color);
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

h4,
h5,
h6 {
  font-family: var(--font-headline);
  color: var(--header-color);
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  text-align: center;
  letter-spacing: 12px;
  padding-top: 45px;
  padding-bottom: 30px;
}

h1.visible {
  animation: slideFadeIn 2s forwards;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem); /* Large size */
  text-align: center;
  letter-spacing: 8px; /* Adds spacing between the letters */
  padding-top: 35px;
  padding-bottom: 20px;
}

h3 {
  font-size: 26px;
  text-align: left;
  padding-top: 35px;
  padding-bottom: 20px;
}

h4 {
  font-size: 24px;
  padding-top: 35px;
  padding-bottom: 20px;
}

h5 {
  font-size: 22px;
  padding-top: 20px;
  padding-bottom: 10px;
}

h6 {
  font-size: 20px;
  padding-top: 15px;
  padding-bottom: 10px;
}

/* PARAGRAPHS */

p {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
  color: var(----body-text-color);
}

p.visible {
  animation: fadeIn 1s forwards;
}

.p1 {
  font-size: 28px;
}
.p2 {
  font-size: 26px;
}
.p3 {
  font-size: 24px;
}

.smallp {
  font-size: 16px;
}

.p-header {
  padding: 15px 0;
  font-weight: bold;
  font-size: 24px;
  position: relative;
}

.p-stacker-start {
  font-size: 32px;
  line-height: 1.3;
  text-align: left;
  font-weight: bolder;
  margin: 3px 0;
}
.p-stacker-med {
  text-align: left;
  font-size: 28px;
  margin: 3px 0;
}

.p-stacker-sm {
  text-align: left;
  font-size: 24px;
  margin: 3px 0;
}

.capped {
  text-transform: uppercase;
}
.bolded {
  font-weight: bold;
}
.colored {
  color: var(--primary-color);
}

li {
  font-family: var(--body-font);
}

/* LINKS */

.button {
  display: inline-block;
  background-color: var(--primary-color); /* Blue color */
  color: var(--on-primary-color); /* White text */
  text-decoration: none;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  font-weight: bold;
  border-radius: 48px;
  transition:
    background-color 0.3s ease-in-out,
    transform 0.2s ease-in-out;
}

.button:hover {
  transition: transform 0.3s ease;
  transform: translateY(-3px);
  cursor: pointer;
}

.bdisabled {
  background-color: var(--primary-color-alt);
  transition: none;
  transform: none;
}

.bdisabled:hover {
  cursor: auto;
  transform: none;
  transition: none;
}

.btext {
  background-color: transparent;
  display: inline-block; /* Makes it easier to style */
  color: var(--primary-color); /* Deep but readable blue */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make it stand out */
  transform: none;
  transition: border-color 0.3s ease-in-out;
  border: solid 2px transparent;
}

.boutlined {
  background-color: transparent;
  display: inline-block; /* Makes it easier to style */
  color: var(--primary-color); /* Deep but readable blue */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make it stand out */
  border: solid 2px var(--primary-color);
}

.btext:hover {
  cursor: pointer;
  transform: none;
  border: solid 2px var(--primary-color);
}

.barrow {
  position: relative;
}

.barrow:hover {
  transform: none;
}

.barrow::after {
  content: "";
  transition: margin 0.3s ease;
}

.barrow:hover::after {
  content: "→";

  margin-left: 15px;
}

.card {
  background-color: var(--card-color);
  border-radius: 28px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 16px;
}

.card-border {
  border-radius: 28px;
  border: 2px solid var(--primary-color);
  margin: 16px;
}

.clicklink {
  display: inline-block; /* Makes it easier to style */
  color: var(--primary-color); /* Deep but readable blue */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make it stand out */
  transition:
    color 0.3s ease,
    transform 0.2s ease;
}

.clicklink:hover {
  color: var(--primary-color-hover); /* Darker shade on hover */
  transform: scale(1.02); /* Slight grow effect */
  text-decoration: underline; /* Add underline on hover */
  cursor: pointer;
}

.quick-links {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Aligns items vertically */
  gap: 8px; /* Adds space between chips */
  padding: 10px;
  flex-wrap: wrap;
}

.chip {
  background-color: var(--primary-color);
  color: white;
  padding: 9px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.chip:hover {
  background-color: var(--primary-color-hover);
}

.hoverbump:hover {
  transition: transform 0.3s ease;
  transform: translateY(-3px);
  cursor: pointer;
}

/* TABLES */

table {
  border-collapse: collapse;
  background-color: var(--card-color);
  border-radius: 10px;
  border-style: hidden;
}

th,
td {
  padding: 15px;
  text-align: center;
  border: solid 1px #747474;
}

th {
  background-color: var(--primary-color);
  color: var(--on-primary-color);
  border: hidden;
}

tr:nth-child(even) {
  background-color: var(--primary-color-alt);
}

td {
  color: var(--body-text-color);
  border-top: hidden;
  border-bottom: hidden;
}

th:first-of-type {
  border-top-left-radius: 10px;
}
th:last-of-type {
  border-top-right-radius: 10px;
}
tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 10px;
}
tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 10px;
}

/* IMAGES */

.clickable-img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.clickable-img:hover {
  transform: scale(1.05); /* Slight zoom effect */
}

.round {
  border-radius: 25px;
}

.rounder {
  border-radius: 45px;
}

.circle {
  border-radius: 50%;
}

/* LAYOUTS */

.content {
  min-height: 85vh;
  padding-bottom: 45px;
}

.contained {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .menu-row {
    display: flex;
  }
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

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

.padded {
  padding: 24px;
}

.padded-v {
  padding-top: 24px;
  padding-bottom: 24px;
}

.padded-h {
  padding-top: 24px;
  padding-bottom: 24px;
}

.lrcontainer {
  display: flex;
  gap: 20;
  margin: 0 auto;
  align-items: center;
}

.left-side {
  flex: 1;
}

/* Right Side */
.right-side {
  flex: 1;
}

.left-side.visible {
  animation: slideInLeft 1.5s forwards;
}
.right-side.visible {
  animation: slideInRight 1.5s forwards;
}

.tri-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}


/* Responsive: Stack on smaller screens */
@media (max-width: 768px) {
  .lrcontainer {
    flex-direction: column;
  }
  .tri-col {
    grid-template-columns: 1fr;
  }
}



/* ANIMATIONS */

.popInChildren > *.visible {
  animation: popIn 1s forwards;
}

.pulseChildren > *.visible {
  animation: pulse 1s forwards;
}

.slideFadeInChildren > *.visible {
  animation: slideFadeIn 1s forwards;
}

.fadeInChildren > *.visible {
  animation: fadeIn 1s forwards;
}

.animated.visible {
  animation-fill-mode: forwards;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* FOOTER */

.footer-text {
  color: white; /* Deep blue to match the theme */
  text-align: center;
  letter-spacing: 5px; /* Adds spacing between the letters */
  font-size: 1.5rem;
  margin: 10px 0;
  font-family: var(--font-headline);
}

.footer .smallp {
  color: white;
  margin: 0 40px;
}

.footer-text.visible {
  animation: slideFadeIn 1s forwards;
}

.footer {
  background-color: var(--footer-color);
  width: 100%;
  padding-top: 10px;
  padding-bottom: 20px;
  text-align: center;
}

.copyright {
  color: #bbbbbb;
  font-size: 14px;
  margin-top: 20px;
}

/* TOOLS */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40;
  color: white;
  cursor: pointer;
}


/* Responsive: Stack on smaller screens */
@media (max-width: 550px) {
  
  .shirt-banner {
    flex-direction: column;
    text-align: center;
  }
  
 
  
}



.shirt-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: min(80vw, 720px);
  margin: 60px auto;
  padding: 15px;
}

.shirt-banner.visible {
  animation: slideFadeIn 1s forwards;
}

.shirt-banner-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.shirt-banner-text {
  flex-grow: 1;
  margin-left: 18px;
}

.shirt-banner-text a {
  margin-top: 10px;
  margin-left: -6px;
  
}

.shirt-banner-text p {
  margin-bottom: 10px !important;
  padding: 0;
  text-align: left;
  
}