/* style.css */

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

body {
  font-family: 'Open Sans', sans-serif;
  background: #f2f2f2;
  color: #000;
}


@font-face {
  font-family: "Varsity";
  src: 
    url("fonts/varsity.woff2") format("woff2"),
    url("fonts/varsity.woff") format("woff");
}

/* GLOBAL LINK RESET */

a {
  color: #000;
  text-decoration: none;
}

a:visited {
  color: #000;
}

a:hover {
  color: #000;
  text-decoration: none;
}

/* FONTS */

.products h2,
.join h2 {
  font-family: "Varsity", sans-serif;
}

button {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ===== HEADER ===== */

.site-header {
  padding: 1.5rem 2rem;
}

.site-heading {
  display: block;
  margin: 1rem auto 0 auto;  /* ← this centers it */
  max-width: 600px;
  width: 100%;
  height: auto;
}

/* Top row */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Logo container */
.logo {
  padding: 0.5rem;
}

.logo img {
  width: 220px;
  height: auto;
  display: block;
}

/* Main heading image */
.site-heading {
  max-width: 600px;
  width: 100%;
  height: auto;
}

/* Menu button */
.menu-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}



/* HERO */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes breathe {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes wiggle {
  0% { rotate: 0deg; }
  50% { rotate: 1.5deg; }
  100% { rotate: 0deg; }
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.mascots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.mascot {
  width: 24%;
  height: auto;
  transition: transform 0.2s ease;
    animation: float 4s ease-in-out infinite,
        breathe 3s ease-in-out infinite,
        wiggle 5s ease-in-out infinite;
}

.mascot:nth-child(1) {
  animation-delay: 0s;
}

.mascot:nth-child(2) {
  animation-delay: 0.6s;
}

.mascot:nth-child(3) {
  animation-delay: 1.2s;
}


.mascot:hover {
  transform: translateY(-8px) scale(1.1);
}

.cta {
  background: #f2c200;
  padding: 1rem 2rem;
  border: 3px solid #000;
  font-weight: bold;
  cursor: pointer;
    transition: transform 0.15s ease;

}

.cta:hover {
  transform: translateY(-3px);
}

/* PRODUCTS */

.products {
  padding: 3rem 2rem;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 2rem;
}

/* Card container */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Image wrapper effect */
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;        /* keeps square */
  object-fit: cover;          /* fills box */
  background: #e5e5e5;
}

/* BUY button */
.buy-btn {
  background: #f2c200;
    border: 3px solid #000;
  padding: .8rem;
    font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;   /* removes underline */
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.buy-btn:hover {
  transform: translateY(-3px);
}




/* JOIN SECTION */

.join {
  padding: 3rem 2rem;
  border-top: 2px solid #ccc;
    background: #ccc;

}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.image-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-box input {
  padding: 0.8rem;
  border: 2px solid #000;
}

.join-btn {
  background: #f2c200;
  height: 40px;
  border: 3px solid #000;
  cursor: pointer;
}

/* FOOTER */

.site-footer {
  padding: 2rem;
  border-top: 2px solid #ccc;
    background: #4a4a4a;
  color: #fbfbfb;

  text-align: center;
}



@media (max-width: 768px) {
  .mascot {
    width: 130px;
  }

  .mascots {
    gap: 1.5rem;
  }

  /* Stack header */
  .site-header {
    padding: 1rem;
  }

  .site-heading {
    width: 100%;
    max-width: 95%;
    margin-top: 2rem;
  }

  .logo img {
    width: 140px;
  }

    .join-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

    .image-box img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .form-box input {
    width: 100%;
  }

  .join-btn {
    width: 100%;
  }

  
}

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

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