@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

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

body {
  font-family: 'Playfair Display', serif;
  background-color: #1c1c1c;
  color: #eaeaea;
}

#header {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#nav_side_holder{
  display: none;
}

nav .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none;
  height: 60px;
}

.amazon_logo{
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  height: 30px;
}

.gr_logo{
  margin-left: 5px;
  margin-right: 5px;
  height: 30px;
}

.flex{
  display: flex;
  padding-bottom: 10px;
}

.flex_2{
  display: flex;
}

.flex_3{
  display: flex;
}

.nav-links a {
  color: #dcdcdc;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

main {
  background-color: #3b3c47;
}

/* HERO SECTION */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  background: #3b3c47;
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.book {
  position: relative;
  z-index: 10;
  margin-top: 50px;
}

.book img {
  width: 340px;
  border-radius: 12px;
}

.hero-content {
  max-width: 500px;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
  line-height: 1.1;
}

.CTA {
  padding-top: 50px;
  padding-left: 557px;
}

.small-text {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

button {
  background-color: #eee;
  color: #000;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

button:hover, .cta-button:hover {
  background-color: #f9f0e0;
}

/* Carousel styling */
.carousel {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 20px;
}

.carousel img {
  width: 180px;
  height: 240px;
  border-radius: 12px;
  cursor: pointer;
}

/* About + Hobbyist Sections */
.about-author, .about-hobbyist {
  display: flex;
  flex-wrap: wrap;
  background-color: black;
  color: #eaeaea;
  align-items: center;
}

.swiper_holder{
  padding-left: 100px;
  padding-right: 100px;
}

.about-author .img-container,
.about-hobbyist .img-container {
  flex: 1;
  min-width: 250px;
}

.text-container,
.text-container {
  flex: 1;
  min-width: 250px;
  //padding-left: 5%;
}

.about-author img {
  width: 100%;
}

/* Headings + HR */
.about-author h2, .about-hobbyist h2,
.journals-section h2, .contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

hr {
  width: 50px;
  height: 2px;
  background-color: #ffffff;
  border: none;
  margin-left: 10%;
  margin-bottom: 5%;
}


.footer_spacer {
  border: none;
  margin-left: 0%;
  margin-bottom: 8%;
}

/* Sections */
.journals-section, .contact-section {
  background-color: #1a1a1a;
  text-align: center;
  padding: 4rem 2rem;
}

.footer_bottom {
  text-align: center;
  padding: 20px;
  background-color: #0e0e0e;
  font-size: 13px;
  color: #aaa;
}

.footer_top{
  background-color: black;
  display: flex;
  padding-left: 60px;
  padding-top: 20px;
}

.footer_title{
  padding-bottom: 20px;
  font-size: 30px;
}

.footer_box{
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.footer_nav_links{
  font-size: 16px;
  color: white;
  text-decoration: none;
  padding-bottom: 20px;
  font-weight: 100;
  font-family: 'Futura', 'Playfair Display', serif;
}

.sidebar_nav_links{
  font-size: 25px;
  color: white;
  text-decoration: none;
  padding-bottom: 20px;
  font-weight: 100;
  font-family: 'Futura', 'Playfair Display', serif;
}

.sidebar_nav_links_2{
  font-size: 12px;
  color: white;
  text-decoration: none;
  padding-bottom: 20px;
  font-weight: 100;
  font-family: 'Futura', 'Playfair Display', serif;
}

.footer_image{
  width: 70%;
}

/* Paragraph styles */
.section_title{
  padding-left: 10%;
}

.aaa {
  line-height: 250%;
  padding-right: 13%;
  padding-left: 10%;
  text-justify: auto;
  font-family: 'Futura', 'Playfair Display', serif;
}

.aaa2 {
  line-height: 250%;
  padding-top: 5%;
  padding-right: 13%;
  padding-left: 10%;
  text-justify: auto;
  font-family: 'Futura', 'Playfair Display', serif;
}

.aaa3 {
  line-height: 250%;
  padding-top: 5%;
  padding-right: 13%;
  padding-left: 10%;
  text-justify: auto;
  font-family: 'Futura', 'Playfair Display', serif;
}

.second_hero_images {
  width: 100%;
}

/* Extra (unused for now but kept just in case) */
.hero-top {
  height: 40vh;
  background: url('images/test2.jpg') center center/cover no-repeat;
  justify-content: center;
  display: flex;
}

.nav_title a{
  font-size: 18px;
}

.hero-bottom {
  height: 60vh;
  background-color: black;
  display: flex;
  justify-content: center;
}

.hero_title{
  padding-left: 70px;
  padding-top: 70px;
  font-size: 50px;
  font-weight: 100;
}

.nav_logo{
  height: 80px;
}


/*
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1.2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
*/


.fancy-button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-weight: 100;
}

.fancy-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10rem;
  z-index: -2;
}

.fancy-button::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(59,60,71,0.5); /* #3b3c47 with opacity */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}

.fancy-button:hover {
  color: #fff;
}

.fancy-button:hover::before {
  width: 100%;
}


.spacer{
  padding-top: 30px;
}

.spacer_middle{
  padding-left: 15px;
}

.left_space{
  padding-left: 70px;
}

.right_space{
  padding-right: 70px;
}

/* Mobile nav bar styles */
.mobile-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
  z-index: 1001;
}

/* Hide on desktop, show on mobile */
.hide_desktop {
  display: none;
}
.hide_mobile {
  display: block;
}

/* Burger on right, logo on left */
.mobile-nav-bar .nav_logo {
  height: 60px;
}

#hamburger {
  position: relative;
  width: 50px;
  height: 28px;
  margin: 0;
  cursor: pointer;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

#hamburger:hover span:nth-child(1) {
    top: -4px;
    -webkit-transition: .20s ease-in-out;
    -moz-transition: .20s ease-in-out;
    -o-transition: .20s ease-in-out;
    transition: .20s ease-in-out;
}

#hamburger:hover span:nth-child(3) {
    top: 34px;
    -webkit-transition: .16s ease-in-out;
    -moz-transition: .16s ease-in-out;
    -o-transition: .16s ease-in-out;
    transition: .16s ease-in-out;
}

#hamburger span {
    z-index: 3;
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 5px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .20s ease-in-out;
    -moz-transition: .20s ease-in-out;
    -o-transition: .20s ease-in-out;
    transition: .25s ease-in-out;
}

#hamburger span:nth-child(1) {
    top: 0px;
}

#hamburger span:nth-child(2) {
    top: 14px;
}

#hamburger span:nth-child(3) {
    top: 28px;
}

#hamburger.open span:nth-child(1) {
    top: 14px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

#hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -30px;
    -webkit-transition: .16s ease-in-out;
    -moz-transition: .16s ease-in-out;
    -o-transition: .16s ease-in-out;
    transition: .16s ease-in-out;
}

#hamburger.open span:nth-child(3) {
    top: 14px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.hide_desktop {
    display: none;
}

.hide_mobile {
    display: block;
}












.nav_side_holder {
    position: fixed;
    z-index: 5;
    right: 0;
    top: 0;
    width: 300px;
}

.nav {
    height: 100vh;
    padding: 40px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.9);
    color: white;
}

.mobile_nav{
    padding-top: 70px;
}








@media only screen and (max-width: 1200px) {
  .hide_desktop {
    display: flex !important; /* show mobile nav bar */
  }

  .hide_mobile {
    display: none !important; /* hide desktop nav */
  }

  .hide_desktop {
      display: block;
  }

  .hide_mobile {  
    display: none;
  }

  .footer_top{
    display: flex;
    padding-left: 0px;
    flex-direction: column;
  }

  .footer_title{
    padding-bottom: 20px;
    font-size: 30px;
  }

  .footer_box{
    flex: 1;
    padding: 30px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
  }

  .hero-top {
    flex-direction: column-reverse;
  }

  .book {
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
  }

  .book img {
    width: 220px;
  }

  .hero_title{
    padding-left: 40px;
    font-size: 40px;
    padding-bottom: 30px;
    padding-top: 270px;
  }

  .hero {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .CTA {
    padding-top: 280px;
    padding-left: 0px;
  }

  .hero-bottom {
    height: 85vh;
    background-color: black;
    display: flex;
    justify-content: center;
  }

  .flex{
    display: flex;
    justify-content: center;
  }

  .flex_3{
    flex-direction: column;
    justify-content: center;
  }

  .small-text {
    text-align: center;
  }

  .gr_logo{
    margin-left: 5px;
    margin-right: 5px;
    height: 50px;
    margin-bottom: 20px;
  }

  .fancy-button {
    width: 100%;
  }

  .section_title{
    padding-top: 15%;
  }

  .about-author{
    flex-direction: column;
  }

  .about-hobbyist {
    flex-direction: column-reverse;
  }

  .text-container {
    padding-bottom: 15%;
  }

  .swiper_holder{
    padding-left: 0px;
    padding-right: 0px;
  }

  .footer_image{
    width: 100%;
  }

}