@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300&display=swap');
/*=============== VARIABLES CSS ===============*/
:root{
    /*========== Colors ==========*/
    --hue-color: 206;
  --black-color: hsl(var(--hue-color), 4%, 4%);
  --black-color-alt: hsl(var(--hue-color), 4%, 8%);
  --title-color: hsl(var(--hue-color), 4%, 95%);
  --text-color: hsl(var(--hue-color), 4%, 75%);
  --text-color-light: hsl(var(--hue-color), 4%, 65%);
  --white-color: #FFF;
  --body-color: hsl(var(--hue-color), 4%, 6%);
  --container-color: hsl(var(--hue-color), 4%, 10%);
  /*--text-gradient: linear-gradient(hsl(var(--hue-color), 4%, 24%), hsl(var(--hue-color), 4%, 8%));*/
  --text-gradient: linear-gradient(to right, #1a1a66, #1f2a65, #5e45a0, #702c9e);
  --scroll-thumb-color: hsl(var(--hue-color), 4%, 16%);
  --scroll-thumb-color-alt: hsl(var(--hue-color), 4%, 20%);

  /*=============== FONTS AND TYPOGRAPHY ===============*/
  --body-font:'Poppins', sans-serif;
  --normal-font-size: .938rem;
  --h2-font: 1.2rem;
  --big-font-size: 4rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-color-alt);
}

/*=============== UTILITIES ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 overflow: unset;
}

body {
  background-color: var(--body-color);
  margin: 3rem 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
  height: auto;
}

.container {
  max-width: 968px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.button_flex {
  display: flex;
  align-items: center;
}

.section_title {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 3.5rem;
  font-size: clamp(1.8rem, 8vw, 4.5rem);
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

.section_title_gradient {
  text-align: center;
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 100%;
  background-repeat: repeat;
  background-position: center;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

/*=============== HAMBURGER MENU ===============*/
.hamburger {
  cursor: pointer;
  transition: all 0.25s;
  display: none;
  position: relative;
  margin-right: 10px;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--white-color);
  transform: rotate(0);
  transition: all 0.5s;
}
.hamburger-middle {
  transform: translateY(7px);
}
.hamburger-bottom {
  transform: translateY(14px);
}
.open {
  transform: rotate(90deg);
  transform: translateY(0px);
}
.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translate(6px);
}
.open .hamburger-middle {
  display: none;
}
.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translate(-6px);
}

.nav_menu.show {
  top: 0;
}

/*=============== HEADER ===============*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding-top: 1rem;
}

.header_scroll {
  background-color: var(--body-color);
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.grid {
  display: grid;
}

/*=============== LAYOUT ===============*/
.main {
  overflow: hidden;
}

.section {

  padding: 4rem 4rem;
}

/*=============== NAV ===============*/
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
}

.logo img{
  display: flex;
  width: 2rem;
}

.nav_items {
  display: flex;
  align-items: center;
}

.nav_link {
  padding: 10px 28px;
  color: var(--white-color);
  font-size: var(--h2-font);
  font-weight: bold;
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.nav_link:hover {
  background: var(--white-color);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/*=============== HOME ===============*/
 .home_title {
    font-size:6.5rem;
    font-family: var(--body-font);
   font-weight: 300;
   background: var(--text-gradient);
   color: transparent;
   -webkit-background-clip: text;
   background-clip: text;
   position: absolute;
    top: -4rem;
    left: 1rem;
    line-height: 6.5rem;
   }


.home_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 4rem;
  padding: 2rem;
}

.home_img_wrap {
  flex: 1 1 300px;
  max-width: 400px;
}

.home_img_wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.home_data {
  flex: 1 1 400px;
  max-width: 600px;
}

.fancy_title {
  font-size: 6rem;
  text-align: center;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.home_data {
  padding-top: 5rem;
}

.home_header {
  position: relative;
}



.home_subtitle {
  font-size: 5rem;
  margin-bottom: 3rem;
  margin-top: 5rem;
}

.home_title_description {
  margin-bottom: 2rem;
}

.home_description {
  margin-bottom: var(--mb-2-5);
  line-height: var(--text-line-height);
}

.home_footer .home_title_description {
  font-family: sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.home_description {
  line-height: 2;
  margin-bottom: 1.5rem;
}
/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: var(--black-color);
  color: var(--white-color);
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  outline: unset;
  border: unset;
  transition: .3s;
}

.button:hover {
  background-color: var(--black-color-alt);
}

.data i {
  font-size: 16px;
  margin-right: 0.5rem;
}
/*=============== SPONSOR ===============*/

.sponsor img {
  height: 35px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.sponsor_container{
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: center;
  gap: 5rem;
  justify-content: center;
}

/*=============== SPECS ===============*/
.spec_container {
  position: relative;
}

.spec_content {
  row-gap: .5rem;
  margin-left: 0rem;
}

.spec_data {
  display: grid;
  row-gap: .25rem;
}

.spec_title {
  font-size: 1rem;
}

.spec_subtitle {
  font-size: .875rem;
}

.spec_data:nth-child(1),
.spec_data:nth-child(4) {
  margin-left: 2rem;
}

.spec_container img {
  position: absolute;
  width: 700px;
  right: -20rem;
  top: 0rem;
}

/*=============== CASE ===============*/
.case_container {
  position: relative;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.case_data {
  padding: 5rem 0 3rem;
}

.case_img {
  width: 300px;
}

.case__description {
  font-size: .875rem;
  margin-bottom: 1rem;
}

.case_data i {
  font-size: 16px;
  margin-right: 0.5rem;
}
/*=============== DISCOUNT ===============*/
.discount_container {
  position: relative;
  background-color: var(--container-color);
  padding: 4rem 2rem;
  border-radius: .75rem;
  align-items: center;
}

.discount img {
  position: absolute;
  width: 300px;
  top: 4rem;
  right: 5rem;
}

.discount_title {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.discount_description {
  margin-bottom: 1.5rem;
}

.discount i {
  font-size: 16px;
  margin-right: 0.5rem;
}
/*=============== PRODUCT ===============*/
.product h2{
  line-height: 0.85;
}

.product_container {
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem 1.5rem;
  padding-top: 2rem;
}

.product_card {
  position: relative;
  height: 132px;
  background-color: var(--container-color);
  padding: .75rem;
  border-radius: .5rem;
  display: grid;
}

.product_img {
  width: 120px;
  position: absolute;
  inset: 0;
  margin-left: auto;
  margin-right: auto;
  top: -4rem;
}

.product_content {
  align-self: flex-end;
}

.product_title,
.product_price {
  font-size: .875rem;
}

.product_price {
  font-weight: bold;
}

.product_button {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  padding: .5rem;
}

/*===============APPEARANCES===============*/
#appearances {
  text-align: center;
  margin-top: 4rem;
}

.appearance_item {
  margin-bottom: 2rem;
}

.appearance_date {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--white-color);
  margin-bottom: 0.25rem;
}

.appearance_details {
  font-size: 1.1rem;
  color: var(--text-color);
}

.appearance_details a {
  color: var(--text-color);
  text-decoration: underline;
}

.appearance_details a:hover {
  color: var(--white-color);
}


/*=============== FOOTER ===============*/
.footer {
  padding-top: 5rem;
}

.footer_container {
  grid-template-columns: repeat(4, 1fr);
  /* grid-gap: 2rem; */
}

.footer_title {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.footer_links {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.footer_link {
  color: var(--text-color);
}

.footer_link:hover {
  color: var(--white-color);
}

.footer_form {
  
  display: flex;
  column-gap: .5rem;
  background-color: var(--container-color);
  padding: .4rem .75rem;
  border-radius: .5rem;
  margin-bottom: 1.5rem;
}

.footer_form input {
  background-color: var(--container-color);
  width: 100%;
  color: var(--white-color);
  outline: 0;
  border: unset;
}

.footer_form::placeholder {
  color: var(--text-color);
  font-weight: bold;
  font-size: 1.5rem;
}

.footer_social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #0a0a0a;
  border-radius: 8px;
  margin: 0 0.5rem;
  transition: background-color 0.2s;
}

.footer_social a:hover {
  background-color: #222; /* subtle hover effect */
}

.footer_social img {
  max-width: 22px;
  max-height: 22px;
  filter: brightness(0) invert(1); /* white look */
}

.footer_social_link {
  display: inline-flex;
  vertical-align: middle;
  color: var(--white-color);
  background-color: var(--container-color);
  padding: .5rem;
  border-radius: .25rem;
  font-size: 1.8rem;
}

.footer_social_link {
  background-color: var(--black-color);
}

.footer_form .button {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.footer_form .button i {
  margin-right: 0.5rem;
}

.footer .footer_copy {
  text-align: center;
  margin: 5rem 0 2rem 0;
}

/*=============== MOBILE RESPONSIVENESS ===============*/
@media screen and (max-width: 768px) {
  /* General layout */
  body {
    overflow-x: hidden;
  }

  .section {
    padding: 2rem;
  }

  /* Logo and navigation */
  .logo img {
    width: 2.5rem;
  }

  .nav_menu {
    position: fixed;
    background-color: var(--body-color);
    top: -100%;
    left: 0;
    width: 100%;
    padding: 5.5rem 0 3rem;
    transition: .4s;
  }

  .hamburger {
    display: block;
  }

  .nav_items {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
    align-items: center;
    row-gap: 1rem;
  }

  .nav_link {
    text-transform: uppercase;
  }

  /* Home / Hero section */
  .home_container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    gap: 1rem;
  }

  .home_title {

    font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  }

  .home_container img {
    order: 1;
    width: 70%;
    max-width: 260px;
    height: auto;
    margin: 0 auto 0 auto;
  }

  .home_img_wrap {
    order: 1;
    max-width: 75%;
    margin: 0 auto;
    padding: 0;
  }
  
  .home_img_wrap img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .home_data {
    order: 2;
    width: 90%;
    position: relative;
    top: -3rem !important;
    z-index: 1;
  }

  .fancy_title {
    font-size: 3.5rem;
    line-height: 1;
    text-align: center;
  }

  .home_subtitle {
    font-size: 2.5rem;
    text-align: center;
  }

  .home_description {
    font-size: 1rem;
    padding: 0 1rem;
    text-align: center;
  }

  /* Section titles */
  .section_title {
    line-height: 1.1;
    text-align: center;
    padding: 0 1rem;
    font-size: clamp(1.8rem, 8vw, 4.5rem);
    hyphens: auto;
    -webkit-hyphens: auto; /* for Safari */
    -ms-hyphens: auto;     /* for old IE */
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .section_title_gradient {
    background-size: cover;
    background-position: center;
    max-width: 100%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
    
  }

  /* Sponsor logos */
  .sponsor_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .sponsor_container img {
    max-width: 100px;
    height: auto;
  }

  /* Specs section */
.spec_container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spec_container img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto 2rem auto;
  position: static !important;
}



  .spec_content {
    order: 1;
    width: 100%;
    margin-left: 0;
  }

  .spec_data {
    text-align: center;
    padding: 1rem 0;
  }

  .spec_title {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .icon {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  /* About the Author section */
  .case_img {
    position: initial;
    width: 200px;
  }

  .case_data {
    padding: 0;
  }

  .case_container {
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  /* Product / Book list section */
 

.product_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
    justify-content: center; /* center the grid itself */
    justify-items: center;   /* center items in each column */
  }

  .product_card {
    background-color: var(--container-color);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 120px;
    min-height: 160px;
    margin-top: 2.5rem;
    padding: 1rem 0.5rem 2.5rem;
    box-sizing: border-box;
  }

  .product_img {
    position: relative;
    top: -2.5rem;
    width: 90px;
    height: auto;
    object-fit: contain;
    margin-bottom: -2rem;
    z-index: 1;
  }

  .product_title {
    font-size: 0.7rem;
    text-align: center;
    margin-bottom: 0.5rem;
    word-break: break-word;
    line-height: 1.2;
    max-width: 100%;
  }

  .product_button {
    position: absolute;
    bottom: 0.3rem;
    
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 0;
  }






/*Appearances */

.appearance_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.appearance_item {
  margin-bottom: 1rem;
}

.appearance_date {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--white-color);
  margin-bottom: 0.25rem;
}

.appearance_details {
  font-size: 1.1rem;
  color: var(--text-color);
}

.appearance_details a {
  color: var(--text-color);
  text-decoration: underline;
}

.appearance_details a:hover {
  color: var(--white-color);
}



  /* Footer layout */
  .footer_container {
    grid-template-columns: 1fr;
  }

  .footer_logo img {
    margin-bottom: 2.5rem;
    width: 3rem;
  }

  .footer_title {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }

  .footer_links {
    row-gap: 1.5rem;
  }

  .footer_form {
    margin-top: 2.5rem;
  }

  .footer_subscribe_row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer_form_embed {
    width: 100%;
    max-width: 100%;
  }

  .footer_form_embed form input,
  .footer_form_embed form button {
    width: 100% !important;
  }

  .footer_social {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .footer_social_link img,
  .footer_social_link i {
    font-size: 1.5rem;
  }
}

/* === Contact Modal === */
.modal {
  display: none; /* Hides it until triggered */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dim background */
  backdrop-filter: blur(4px);
}

.modal_content {
  background-color: #1c1c1c;
  color: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  position: relative;
}

.modal_close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.modal_content input,
.modal_content textarea {
  font-family: var(--body-font);
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #333;
  color: white;
}

.modal_content textarea {
  resize: vertical;
  min-height: 100px;
}

.modal_content .button {
  width: 100%;
  background-color: #4e4eff;
  border: none;
  padding: 0.75rem;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.modal_content .button:hover {
  background-color: #3c3cd6;
}

.footer_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer_form_top {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inputs */
.footer_form input[type="text"],
.footer_form input[type="email"] {
  padding: 0.75rem;
  border-radius: 4px;
  border: none;
  background-color: #333;
  color: white;
}

/* Size control */
.footer_form input[name="firstName"],
.footer_form input[name="lastName"] {
  width: 140px;
}

.footer_form input[type="email"] {
  width: calc(140px * 2 + 0.75rem + 150px); /* email matches width of the row */
  max-width: 100%;
}

/* Subscribe button */
.footer_form_top button {
  background-color: #111;       /* Match your site's dark theme */
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}


.footer_subscribe_row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* prevent stacking */
  gap: 2rem;
  margin-top: -1rem;
}

.footer_social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(-30px); /* move the whole column up slightly */
}

.footer_social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #0a0a0a;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.footer_social a:hover {
  background-color: #1a1a1a;
}

.footer_social img {
  max-width: 22px;
  max-height: 22px;
  filter: brightness(0) invert(1);
}


@media screen and (max-width: 768px) {
  .footer_subscribe_row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .footer_form_embed {
    justify-content: center;
    width: 100%;
  }

  .footer_social {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer_social_icon,
  .footer_social_link i {
    font-size: 1.5rem;
  }

  .footer_form_embed form {
    width: 100% !important;
    max-width: 100% !important;
  }


