/*========================================================

AUTHOR WEBSITE
Premium Theme
Author: ChatGPT

========================================================*/

/*==========================
GOOGLE FONTS
==========================*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

/*==========================
RESET
==========================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  color: #444;

  background: #fafafa;

  overflow-x: hidden;

  line-height: 1.8;
}

/*==========================
COLORS
==========================*/

:root {
  --gold: #c6a15b;

  --dark: #161616;

  --light: #ffffff;

  --gray: #777;

  --bg: #f8f8f8;
}

/*==========================
TYPOGRAPHY
==========================*/

h1,
h2,
h3,
h4,
h5 {
  font-family: "Cormorant Garamond", serif;

 

  font-weight: 700;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

p {
  color: #666;
}

.section-title {
  margin-bottom: 70px;

  text-align: center;
}

.section-title p {
  max-width: 650px;

  margin: auto;
}

/*==========================
NAVBAR
==========================*/

.custom-navbar {
  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(15px);

  padding: 18px 0;

  transition: 0.4s;
}

.logo {
  height: 35px;
}

.navbar-nav .nav-link {
  color: rgb(0, 0, 0);

  margin-left: 25px;

  font-weight: 500;

  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--gold);
}



/*==========================
BUTTONS
==========================*/

.btn-main {
  display: inline-block;

  background: #c9a24d;

  color: rgb(255, 255, 255);

  padding: 15px 38px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.35s;
}


.btn-outline-custom {
  display: inline-block;

  padding: 15px 38px;

  border: 2px solid white;

  color: white;

  text-decoration: none;

  margin-left: 15px;

  border-radius: 50px;

  transition: 0.35s;
}

.btn-outline-custom:hover {
  background: white;

  color: #111;
}

/*==========================
HERO
==========================*/

.hero {
  height: 100vh;

  position: relative;

  display: flex;

  align-items: center;

  background: url("Images/hero.jpg") center center/cover no-repeat;

  color: white;
}

.overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);
}

.hero .container {
  position: relative;

  z-index: 2;
}

.hero-tag {
  display: inline-block;

  background: rgba(255, 255, 255, 0.15);

  padding: 8px 18px;

  border-radius: 30px;

  margin-bottom: 20px;

  letter-spacing: 2px;

  font-size: 0.8rem;
}

.hero h1 {
  color: white;

  font-size: 5rem;

  margin-bottom: 25px;
}

.hero p {
  color: #ddd;

  font-size: 1.1rem;

  max-width: 600px;

  margin-bottom: 35px;
}

.hero-book {
  max-width: 360px;

  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.4));

  transition: 0.4s;
}

.hero-book:hover {
  transform: translateY(-10px);
}

/*==========================
SECTIONS
==========================*/

.section-padding {
  padding: 100px 0;
}

.light-section {
  background: white;
}

/*========================================================
FEATURED BOOK
========================================================*/

.featured-book {
  max-width: 380px;

  width: 100%;

  border-radius: 18px;

  transition: 0.4s;
}

.featured-book:hover {
  transform: translateY(-10px);
}

.genre {
  display: inline-block;

  color: var(--gold);

  font-weight: 600;

  margin: 15px 0 25px;

  letter-spacing: 1px;
}

/*========================================================
BOOK GRID
========================================================*/

.book-card {
  

  border-radius: 20px;

  overflow: hidden;

  text-align: center;

  padding: 35px;

 
  transition: 0.35s;

  height: 100%;
}

.book-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.book-card img {
  width: 100%;

  max-width: 400px;

  margin: auto;

  display: block;

  transition: 0.35s;
}

.book-card:hover img {
  transform: scale(1.05);
}

.book-card h4 {
  margin-top: 30px;

  margin-bottom: 10px;
}

.book-card p {
  color: #888;

  margin-bottom: 25px;
}



.book-card a:hover {
  color: #111;
}

/*========================================================
BOOKS HERO
========================================================*/

.books-hero {
  height: 60vh;

  background: url("Images/books-banner.jpg") center center/cover no-repeat;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  color: white;

  text-align: center;
}

.books-hero .overlay {
  position: absolute;

  inset: 0;
}

.books-hero .container {
  position: relative;

  z-index: 2;
}

.books-hero h1 {
  color: white;

  font-size: 4.2rem;

  margin-bottom: 15px;
}

.books-hero p {
  color: #ddd;

  font-size: 1.1rem;
}

/*========================================================
BOOK PAGE
========================================================*/

.book-section {
  padding: 100px 0;
}

.alt-section {
  background: white;
}

.book-cover {
  width: 100%;

  max-width: 370px;

  border-radius: 20px;

  transition: 0.4s;
}

.book-cover:hover {
  transform: translateY(-8px);
}

.featured-label {
  display: inline-block;

  background: var(--gold);

  color: white;

  padding: 8px 18px;

  border-radius: 40px;

  margin-bottom: 20px;

  text-transform: uppercase;

  font-size: 0.8rem;

  letter-spacing: 1px;
}

.book-section h2 {
  margin-bottom: 10px;
}

.book-section p {
  margin-top: 20px;
}

/*========================================================
BOOK INFORMATION
========================================================*/

.book-info {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin-top: 30px;

  margin-bottom: 30px;
}

.book-info div {
  background: #fafafa;

  border: 1px solid #ececec;

  border-radius: 15px;
}

.book-info strong {
  display: block;

  color: #111;

  margin-bottom: 6px;
}

.book-info span {
  color: #777;

  font-size: 0.95rem;
}

/*========================================================
BOOKS CTA
========================================================*/

.books-cta {
  background: #111;

  color: white;

  text-align: center;

  padding: 110px 20px;
}

.books-cta h2 {
  color: white;

  margin-bottom: 20px;
}

.books-cta p {
  color: #ddd;

  max-width: 700px;

  margin: auto auto 35px;
}

/*========================================================
ABOUT PAGE HERO
========================================================*/

.about-hero {
  height: 60vh;

  background: url("Images/about-banner.jpg") center center/cover no-repeat;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  color: white;
}

.about-hero .overlay {
  position: absolute;

  inset: 0;
}

.about-hero .container {
  position: relative;

  z-index: 2;
}

.about-hero h1 {
  color: white;

  font-size: 4rem;

  margin-bottom: 15px;
}

.about-hero p {
  color: #ddd;
}

/*========================================================
ABOUT SECTION
========================================================*/

.about-section {
  padding: 100px 0;

  background: white;
}

.author-photo {
  width: 100%;

  max-width: 430px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);

  transition: 0.4s;
}

.author-photo:hover {
  transform: translateY(-8px);
}

.about-section .lead {
  color: var(--gold);

  font-weight: 600;

  margin-bottom: 25px;
}

/*========================================================
WRITING JOURNEY
========================================================*/

.journey-section {
  padding: 100px 0;

  background: #f8f8f8;
}

.info-card {
  background: white;

  padding: 40px;

  border-radius: 20px;

  text-align: center;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  height: 100%;
}

.info-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.info-card h4 {
  margin-bottom: 20px;
}

.info-card p {
  color: #777;
}

/*========================================================
FACTS
========================================================*/

.facts-section {
  padding: 100px 0;

  background: white;
}

.fact-list {
  list-style: none;

  padding: 0;
}

.fact-list li {
  background: #fafafa;

  margin-bottom: 15px;

  padding: 18px 22px;

  border-radius: 12px;

  border-left: 5px solid var(--gold);

  transition: 0.3s;
}

.fact-list li:hover {
  background: #f2f2f2;

  transform: translateX(5px);
}

/*========================================================
NEWSLETTER
========================================================*/

.newsletter-section {
  padding: 100px 20px;

  background: #f8f8f8;
}

.newsletter-box {
  max-width: 850px;

  margin: auto;

  background: white;

  padding: 60px;

  border-radius: 25px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);

  text-align: center;
}

.newsletter-box h2 {
  margin-bottom: 20px;
}

.newsletter-box p {
  margin-bottom: 35px;
}

.newsletter-form {
  display: flex;

  gap: 15px;
}

.newsletter-form input {
  flex: 1;

  padding: 15px;

  border-radius: 50px;

  border: 1px solid #ddd;
}

.newsletter-form button {
  border: none;
}

/*========================================================
FOOTER
========================================================*/

.site-footer {
  background: #111;

  color: #ccc;

  padding: 70px 0 30px;
}

.footer-logo {
  max-width: 170px;
}

.site-footer p {
  margin-bottom: 10px;

  color: #aaa;
}

.site-footer a {
  color: var(--gold);

  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

/*========================================================
ANIMATIONS
========================================================*/

.fade-up {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(50px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

img {
  transition: 0.35s;
}

img:hover {
  transform: scale(1.02);
}

/*========================================================
RESPONSIVE
========================================================*/

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }

  .books-hero h1,
  .about-hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero {
    text-align: center;

    padding-top: 80px;
  }

  .hero-book {
    margin-top: 50px;
  }

  .book-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section-padding,
  .book-section,
  .about-section,
  .journey-section,
  .facts-section {
    padding: 70px 0;
  }

  .hero {
    height: auto;

    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .books-hero,
  .about-hero {
    height: 45vh;
  }

  .books-hero h1,
  .about-hero h1 {
    font-size: 2.8rem;
  }

  .book-info {
    grid-template-columns: 1fr;
  }

  .book-card {
    padding: 25px;
  }

  .newsletter-box {
    padding: 40px 25px;
  }
}

@media (max-width: 576px) {
  .logo {
    height: 45px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn-main,
  .btn-outline-custom {
    display: block;

    margin: 10px 0;

    width: 100%;

    text-align: center;
  }

  .featured-book,
  .book-cover,
  .author-photo {
    max-width: 260px;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .books-hero h1,
  .about-hero h1 {
    font-size: 2.2rem;
  }

  .footer-logo {
    margin-bottom: 25px;
  }
}

/*========================================================
END
========================================================*/

/*==========================
Navbar Scroll
==========================*/

.custom-navbar.scrolled {
  background: #ffffff;

  padding: 12px 0;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/*==========================
Scroll Animation
==========================*/

.hidden {
  opacity: 0;

  transform: translateY(50px);

  transition: all 0.8s ease;
}

.show {
  opacity: 1;

  transform: translateY(0);
}

/*==========================
Scroll Top Button
==========================*/

.scroll-top {
  position: fixed;

  bottom: 30px;

  right: 30px;

  width: 50px;

  height: 50px;

  border: none;

  border-radius: 50%;

  background: var(--gold);

  color: white;

  font-size: 22px;

  cursor: pointer;

  opacity: 0;

  visibility: hidden;

  transition: 0.35s;

  z-index: 999;
}

.scroll-top.active {
  opacity: 1;

  visibility: visible;
}

.scroll-top:hover {
  background: #111;
}

.author-image {
  width: 300px;
  height: auto;
}

.cta-section {
  background-color: #111;
  color: #fff;
  padding: 60px 0;
}

.cta-section h2,
.cta-section p {
  color: #fff;
}

.featured-books .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.featured-books h2 {
  color: #d6a177;
  font-size: 46px;
  font-family: Georgia, serif;
}

.featured-books p {
  color: #bfbfbf;
}

.bookSwiper {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 60px;
}

.bookSwiper .swiper-slide {
  width: 260px;
  transition: 0.4s;
}

.bookSwiper .swiper-slide img {
  width: 100%;
  display: block;

  border-radius: 4px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.bookSwiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.35;

  transform: scale(0.82);
}

.bookSwiper .swiper-slide-active {
  opacity: 1;

  transform: scale(1.12);
}

.thumbSwiper {
  width: 540px;
  max-width: 100%;
}

.thumbSwiper .swiper-slide {
  width: 70px;
  height: 100px;

  opacity: 0.45;

  cursor: pointer;
}

.thumbSwiper .swiper-slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  border: 2px solid transparent;
}

.thumbSwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.thumbSwiper .swiper-slide-thumb-active img {
  border-color: #d6a177;
}

@media (max-width: 768px) {
  .featured-books h2 {
    font-size: 32px;
  }

  .bookSwiper .swiper-slide {
    width: 180px;
  }
}

.books-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background Image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Premium look */

  transform: scale(1.08);

  z-index: 1;
}

/* Dark Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(66, 60, 60, 0.26);
  z-index: 2;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.hero-content h1 {
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  max-width: 700px;
  margin: auto;
  font-size: 2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.hero-description {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.8;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.about-hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.1;
}

.about-hero p {
  max-width: 700px;
  margin: auto;

  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;

  line-height: 1.8;
  letter-spacing: 0.4px;

  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.about-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.about-hero .overlay {
  position: absolute;
  inset: 0;

  z-index: 2;
}

.about-hero .container {
  position: relative;
  z-index: 3;
}

/* ===== About Section Animation ===== */

.about-section .featured-label,
.about-section h2,
.about-section .lead,
.about-section p:not(.lead),
.about-section .btn-main {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

/* Staggered Animation */
.about-section .featured-label {
  animation-delay: 0.1s;
}

.about-section h2 {
  animation-delay: 0.25s;
}

.about-section .lead {
  animation-delay: 0.4s;
}

.about-section p:not(.lead):nth-of-type(2) {
  animation-delay: 0.55s;
}

.about-section p:not(.lead):nth-of-type(3) {
  animation-delay: 0.7s;
}

.about-section .btn-main {
  animation-delay: 0.85s;
}

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*=========================================
    ABOUT AUTHOR - PREMIUM LAYOUT
=========================================*/

.about-section {
  padding: 100px 0;
  background: #f7f4ee;
  position: relative;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/*======================
    LEFT
=======================*/

.about-left {
  position: relative;
  width: 42%;
}

.author-frame {
  background: #fff;
  border: 6px solid #b99654;
  border-radius: 0 80px 0 0;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.author-photo {
  width: 100%;
  display: block;
}

.quote-card {
  position: absolute;
  bottom: -40px;
  left: -35px;

  width: 240px;

  background: #222;

  color: #fff;

  padding: 10px;

  border: 3 px solid #b99654;

  border-radius: 18px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.quote-card i {
  font-size: 34px;

  color: #c9a24d;

  margin-bottom: 15px;
}

.quote-card p {
  font-family: Georgia, serif;

  font-size: 1.1rem;

  line-height: 1.8;

  margin-bottom: 20px;

  font-style: italic;
}

.quote-card span {
  color: #c9a24d;

  font-weight: 600;
}

/*======================
    RIGHT
=======================*/

.about-right {
  width: 58%;
}

.featured-label {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 10px 22px;

  border-radius: 30px;

  background: #c9a24d;

  color: #fff;

  text-transform: uppercase;

  letter-spacing: 2px;

  font-size: 0.8rem;

  font-weight: 700;
}

.featured-label i {
  font-size: 15px;
}

.about-right h2 {
  margin-top: 25px;

  font-size: 4rem;

  font-family: "Cormorant Garamond", serif;

  font-weight: 700;

  color: #222;
}

.gold-divider {
  width: 395px;

  height: 3px;

  background: #c9a24d;

  margin: 25px 0;

  border-radius: 20px;
}

.about-right h4 {
  color: #b99654;

  font-size: 1.6rem;

  font-weight: 600;

  margin-bottom: 30px;
}

/*======================
    PARAGRAPHS
=======================*/

.about-right p {
  font-family: Georgia, serif;

  text-align: justify;

  font-size: 1.5rem;

  line-height: 2;

  color: #444;

  margin-bottom: 28px;
}

.about-right .intro:first-letter {
  float: left;

  font-size: 5rem;

  line-height: 1;

  padding-right: 12px;

  color: #b99654;

  font-family: "Cormorant Garamond", serif;

  font-weight: bold;
}

/*======================
    FEATURES
=======================*/

.author-features {
  display: flex;

  justify-content: space-between;

  margin: 45px 0;

  gap: 25px;
}

.author-features div {
  flex: 1;

  text-align: center;
}

.author-features i {
  width: 75px;

  height: 75px;

  line-height: 75px;

  border-radius: 50%;

  background: #f1e8d6;

  color: #b99654;

  font-size: 28px;

  margin-bottom: 15px;
}

.author-features h5 {
  font-size: 1.2rem;

  margin-bottom: 8px;

  color: #222;
}

.author-features span {
  font-size: 0.95rem;

  color: #666;
}

/*======================
    BUTTON
=======================*/

.btn-premium {
  display: inline-block;

  margin-top: 15px;

  color: #c9a24d;

  padding: 1px 3px;

  border-radius: 10px;

  font-weight: 700;

  text-decoration: none;

  transition: 0.35s;

  border: 2px solid #c9a24d;
}

.btn-premium:hover {
  background: #c9a24d;

  color: #fff;

  transform: translateY(-4px);
}

/*======================
    SIGNATURE
=======================*/

.signature {
  margin-top: 45px;

  text-align: right;

  font-size: 2.6rem;

  color: #b99654;

  font-family: "Great Vibes", cursive;
}

/*======================
    RESPONSIVE
=======================*/

@media (max-width: 991px) {
  .about-wrapper {
    flex-direction: column;
  }

  .about-left,
  .about-right {
    width: 100%;
  }

  .quote-card {
    position: relative;

    left: 0;

    bottom: 0;

    margin: 25px auto;
  }

  .author-features {
    flex-direction: column;
  }

  .about-right h2 {
    font-size: 3rem;
  }
}

.about-section {
  background:
    linear-gradient(rgb(219 166 151 / 88%), rgb(207 186 145 / 88%)),
    url(Images/Background.png);

  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;

  padding: 120px 0;
}

.author-frame {
  position: relative;
  width: 430px;
  height: 520px;
  border: 5px solid #c59b47;
  border-radius: 0 85px 0 0;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.18);
  background: #f8f5ef;
}



.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;

    /* Background Image */
    background: linear-gradient(
                rgba(0, 0, 0, 0.55),
                rgba(0, 0, 0, 0.55)
              ),
              url("Images/BG12221.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow: hidden;
}


.book-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.book-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("Images/BG1.png") center/cover no-repeat;
    filter: blur(1px);
    transform: scale(1.08); /* Prevents blurred edges from showing */
    z-index: -2;
}

.book-section > .container {
    position: relative;
    z-index: 1;
}



.about-section{
    background: linear-gradient(
        180deg,
        #e0f2f3 0%,
        #e1eceb 100%
    );
}