@import url('header.css');
@import url('footer.css');

@font-face {
  font-family: 'Open Sans Condensed';
  src: local('Open Sans Condensed Regular'), local('OpenSansCondensed-Regular'),
      url('../fonts/OpenSans_Condensed-Regular.woff2') format('woff2'),
      url('../fonts/OpenSans_Condensed-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans Bold Condensed';
  src: local('Open Sans Condensed SemiBold'), local('OpenSansCondensed-SemiBold'),
      url('../fonts/OpenSans_Condensed-SemiBold.woff2') format('woff2'),
      url('../fonts/OpenSans_Condensed-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Permanent Marker';
  src: local('Permanent Marker Regular'), local('PermanentMarker-Regular'),
      url('../fonts/PermanentMarker-Regular.woff2') format('woff2'),
      url('../fonts/PermanentMarker-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --title-font: 'Permanent Marker';
  --body-font: 'Open Sans Condensed';
  --black: #000000;
  --white: #ffffff;
  --title-size: 2.5em;
  --body-size: 1.2em;
  --button-size: 1.7em;
  --container-width: 80%;
  --margin-left: 140px;
}

body {
  background-color: var(--black);
  overflow-x: hidden;
}

.main-content section.hero {
  background-image: url('../media/fake-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

#hero-title {
  font-family: var(--title-font);
  font-size: var(--title-size);
  color: var(--white);
  text-align: left;
  margin-top: 10rem;
  margin-left: var(--margin-left);
  width: fit-content;
  max-width: 90%;
}

#hero-description p {
  position: relative;
  font-family: var(--body-font);
  font-size: var(--body-size);
  color: var(--black);
  margin-top: 60px;
  margin-left: var(--margin-left);
  width: 400px;
  z-index: 2;
  max-width: 90%;
  background-image: url('../media/des-bg.png');
  background-repeat: no-repeat;
  background-size: 99% 100%;
  background-position-x: right;
  padding: 14px 50px;
  display: inline-block;
}

#hero-button, #whoami {
  background-image: url('../media/buttons-bg.png');
  background-repeat: no-repeat;
  background-size: 100%;
  border: none;
  padding: 10px 50px;
  cursor: pointer;
  margin: 20px;
  background-color: transparent;
  transition: scale 0.3s ease-in-out;
}

#hero-button:hover, #whoami:hover {
  scale: 1.1;
  transition: scale 0.3s ease-in-out;
}

#hero-button a, #whoami a {
  color: var(--black);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: var(--button-size);
  position: relative;
  top: -7px;
}

.hero-buttons {
  margin-top: 20px;
  margin-left: var(--margin-left);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 90%;
}

.main-content section.about {
  background-color: transparent;
  display: flex;
  overflow: hidden;
  width: 100%;
}

.main-content .about-content {
  width: var(--container-width);
  display: flex;
  flex-direction: row;
  margin-inline: auto;
  gap: 1em;
  max-width: 100%;
}

.main-content aside.photo {
  width: 60%;
  max-width: 100%;
}

.main-content aside.photo img {
  width: 90%;
  height: auto;
  position: relative;
  z-index: 0;
  max-width: 100%;
}

#scratchball {
  height: 50%;
  z-index: 2;
  margin-top: -160px;
  max-width: 100%;
}

#about-title {
  font-family: var(--title-font);
  font-size: var(--title-size);
  color: var(--white);
  margin-left: 40px;
  width: fit-content;
  max-width: 90%;
}

.main-content article#about-description {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#about-description p {
  position: relative;
  font-family: var(--body-font);
  color: var(--black);
  z-index: 2;
  font-size: var(--body-size);
  max-width: 500px;
  background-image: url('../media/des-bg.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  padding: 27px 30px;
  display: block;
  text-align: center;
}

.main-content section.reviews {
  /* padding: 120px 0 40px; */
  background-color: transparent;
  overflow: hidden;
  width: 100%;
  text-align: center;
  position: relative;
}

.main-content .reviews h1 {
  font-family: var(--title-font);
  font-size: var(--title-size);
  color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.main-content .reviews p {
  font-family: var(--body-font);
  font-size: var(--body-size);
  color: var(--white);
  text-align: center;
  margin: 0 0 30px;
  z-index: 2;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.main-content .reviews p a {
  color: var(--white);
  text-decoration: underline;
  font-family: var(--title-font);
  transition: color 0.3s ease;
}

.main-content .reviews p a:hover {
  color: #f0f0f0;
}

.main-content .reviews > img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100px;
  object-fit: cover;
  z-index: 1;
  display: block;
}

.main-content .reviews-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
  z-index: 2;
}

.main-content .reviews-grid {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.main-content .review {
  flex: 0 0 100%;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  margin: 0;
  width: 100%;
}

.main-content .review:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.08);
}

.main-content .review-content {
  max-width: 800px;
  text-align: center;
  width: 100%;
}

.main-content .review-text {
  font-family: var(--body-font);
  font-size: var(--body-size);
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 20px;
}

.main-content .review-author {
  font-family: var(--title-font);
  font-size: calc(var(--body-size) * 1.2);
  color: var(--white);
  margin-top: 20px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.main-content .review-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  margin-right: 5px;
}

.main-content .review-date {
  font-family: var(--body-font);
  font-size: calc(var(--body-size) * 0.9);
  color: var(--white);
  opacity: 0.7;
  margin-top: 10px;
}

.main-content .slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.main-content .slider-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.main-content .slider-button.prev {
  left: 20px;
}

.main-content .slider-button.next {
  right: 20px;
}

.main-content li#bold-title {
  font-family: 'Open Sans Bold Condensed';
  font-size: var(--body-size);
  margin-bottom: 10px;
}

.main-content li {
  font-family: var(--body-font);
  color: var(--black);
  text-decoration: none;
  list-style: none;
}

.main-content .marker-bg {
  font-family: var(--title-font);
  font-size: var(--title-size);
  color: var(--black);
  background-image: url('../media/reviews-bg.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

@media screen and (max-width: 1200px) {
  .main-content section.hero {
    height: 100vh;
  }

  #hero-title {
    font-size: 3.5em;
  }

  #hero-description p {
    font-size: 1.4em;
  }

  .main-content .about-content {
    gap: 2em;
  }
}

@media screen and (max-width: 991px) {
  #hero-title {
    font-size: 3em;
  }
}

@media screen and (max-width: 767px) {
  .main-content section.hero {
    height: 65vh;
    align-items: center;
    text-align: center;
  }

  #hero-title {
    font-size: 2em;
    margin: 60px auto 0;
    text-align: center;
  }

  #hero-description {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  #hero-description p {
    font-size: 1.1em;
    margin: 60px auto 0;
    width: 90%;
    max-width: 400px;
    text-align: center;
    background-size: 100% 100%;
    background-position: center;
  }

  .hero-buttons {
    flex-direction: column;
    margin: 20px auto;
    align-items: center;
  }

  .main-content .about-content {
    flex-direction: column;
    align-items: center;
  }

  .main-content aside.photo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-content aside.photo img {
    width: 100%;
    max-width: 500px;
  }

  #scratchball {
    height: 57%;
    margin-top: -100px;
    max-width: 80%;
    margin-left: 20px;
  }

  .main-content article#about-description {
    width: 100%;
    align-items: center;
  }

  #about-title {
    font-size: 2em;
    margin: 0 auto;
    text-align: center;
  }

  #about-description p {
    width: 100%;
    margin: 20px auto;
    text-align: center;
    max-width: 400px;
    background-size: 100% 100%;
    background-position: center;
  }

  .main-content .reviews {
    /* padding-top: 100px; */
  }

  .main-content .reviews h1 {
    font-size: 2em;
  }

  .main-content .reviews > img {
    height: 80px;
  }

  .main-content .reviews-slider {
    padding: 10px;
  }

  .main-content .reviews-grid {
    gap: 10px;
  }

  .main-content .review {
    min-height: 250px;
    padding: 30px 20px;
  }

  .main-content .review-text {
    font-size: calc(var(--body-size) * 0.9);
  }

  .main-content .review-author {
    font-size: var(--body-size);
  }

  .main-content .review-date {
    font-size: calc(var(--body-size) * 0.8);
  }

  .main-content .slider-button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .main-content .slider-button.prev {
    left: 10px;
  }

  .main-content .slider-button.next {
    right: 10px;
  }
}

@media screen and (max-width: 480px) {
  #hero-title {
    font-size: 1.8em;
    margin-top: 40px;
  }

  #hero-description p {
    font-size: 1em;
    margin-top: 40px;
    background-size: 100% 100%;
    background-position: center;
  }

  .hero-buttons {
    gap: 10px;
  }

  .hero-buttons button {
    width: 100%;
  }

  .main-content .about-content {
    gap: 1em;
  }

  #about-title {
    font-size: 1.8em;
  }

  #about-description p {
    font-size: 1em;
    max-width: 350px;
    background-size: 100% 100%;
    background-position: center;
  }

  #scratchball {
    height: 100%;
    max-width: 90%;
    margin-top: -80px;
    margin-left: 10px;
  }

  .main-content .reviews h1 {
    font-size: 1.8em;
  }

  .main-content .review {
    min-height: 200px;
    padding: 20px 15px;
  }

  .main-content .review-text {
    font-size: calc(var(--body-size) * 0.8);
  }

  .main-content .review-author {
    font-size: calc(var(--body-size) * 0.9);
  }

  .main-content .review-date {
    font-size: calc(var(--body-size) * 0.7);
  }

  .main-content .slider-button {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .main-content .slider-button.prev {
    left: 5px;
  }

  .main-content .slider-button.next {
    right: 5px;
  }
}

@media print {
  body {
    background-color: white;
  }

  header {
    display: none;
  }

  .main-content section.hero, .main-content section.about, .main-content section.reviews {
    display: block;
  }

  #hero-title, #about-title {
    color: black;
  }

  p {
    color: black;
  }
}

.main-content section.legal-content {
  width: var(--container-width);
  margin: 50px auto;
  color: var(--white);
  padding: 20px;
}

.main-content section.legal-content h1 {
  font-family: var(--title-font);
  font-size: var(--title-size);
  color: var(--white);
  margin-bottom: 40px;
  text-align: center;
}

.main-content .legal-text {
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: 1.6;
}

.main-content .legal-text h2 {
  font-family: var(--title-font);
  font-size: 1.8em;
  margin: 30px 0 15px 0;
  color: var(--white);
}

.main-content .legal-text p {
  margin-bottom: 20px;
  color: var(--white);
}

@media screen and (max-width: 767px) {
  .main-content section.legal-content {
    width: 90%;
    margin: 30px auto;
  }

  .main-content section.legal-content h1 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .main-content .legal-text h2 {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 480px) {
  .main-content section.legal-content {
    width: 95%;
    margin: 20px auto;
  }

  .main-content section.legal-content h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .main-content .legal-text h2 {
    font-size: 1.3em;
  }
}

/* Universal spacing between main sections */
.main-content > section {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}

