/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #1f1f1f;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 1024px) {
  body {
    font-size: 0.95rem;
    /* Slightly reduce base font size for tablets */
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.9rem;
    /* Further reduce for smaller screens */
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.875rem;
    /* Adjust for mobile */
  }
}

@media (max-width: 400px) {
  body {
    font-size: 0.85rem;
    /* Smallest screens */
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1f1f1f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-text {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  color: var(--accent);
  animation: pulse-text 2s infinite;
}

@keyframes pulse-text {
  0%, 100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .preloader-text {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .preloader-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .preloader-text {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .preloader-text {
    font-size: 0.9rem;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 1rem 2rem;
  z-index: 1000;
  border-bottom: 1px solid var(--accent);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  height: 70px;
  width: auto;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar-link {
  color: black;
  text-decoration: none;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}

.navbar-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.navbar-link:hover::after,
.navbar-link:focus::after {
  width: 100%;
}

.navbar-link:hover,
.navbar-link:focus {
  color: gold;
}

.navbar-cta {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: var(--transition);
}

.navbar-cta:hover,
.navbar-cta:focus {
  background: #1e3a8a;
  transform: translateY(-2px);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: black;
  transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar-menu {
    gap: 1.5rem;
  }

  .navbar-link {
    font-size: 0.95rem;
  }

  .navbar-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1A2526;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-item {
    margin: 1rem 0;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-logo {
    height: 70px;
  }

  .navbar-link {
    font-size: 1rem;
    color: #fff;
  }

  .navbar-cta {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar-logo {
    height: 70px;
  }

  .navbar-toggle span {
    width: 20px;
    height: 2px;
  }

  .navbar-menu {
    padding: 0.75rem;
  }

  .navbar-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .navbar {
    padding: 0.5rem 0.75rem;
  }

  .navbar-logo {
    height: 70px;
  }

  .navbar-link {
    font-size: 0.85rem;
  }

  .navbar-cta {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Hero Section */

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.1);
  object-fit: cover;
  z-index: 1;
  transition: transform 10s ease-in-out;
  animation: slow-zoom 30s infinite alternate ease-in-out;
}

@keyframes slow-zoom {
  0% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(10, 10, 10, 0.95)); */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.25rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: black;
}


.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: black;
  background: white;
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  color: gold;
  background: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.cta-button:hover::after {
  left: 100%;
}

.hero-book {
  position: absolute;
  right: 5%;
  bottom: 10%;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.hero-book img {
  max-width: 300px;
  height: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  transform: rotate(5deg);
  transition: transform 0.3s ease;
}

.hero-book:hover img {
  transform: rotate(0deg) scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    max-width: 600px;
    padding: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
  }

  .hero-authors {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  }

  .hero-book {
    right: 50%;
    bottom: 5%;
    transform: translateX(50%);
  }

  .hero-book img {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-content {
    max-width: 500px;
    padding: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  }

  .hero-authors {
    font-size: clamp(0.85rem, 1.3vw, 1rem);
  }

  .cta-button {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }

  .hero-book img {
    max-width: 200px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-content {
    max-width: 90%;
    padding: 0.75rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1.1rem);
  }

  .hero-authors {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  }

  .hero-book img {
    max-width: 180px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }

  .hero-subtitle {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  }

  .hero-authors {
    font-size: clamp(0.7rem, 1vw, 0.85rem);
  }

  .cta-button {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-book img {
    max-width: 150px;
  }
}

/* About Section */
.about-section {
  background: linear-gradient(to bottom, #f9f6ee, #ffffff);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
}

.about-container {
  max-width: 1200px;
  color: black;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2rem);
}

.about-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--gold);
  font-style: italic;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: start;
}


.about-img {
  max-width: 100%;
  height: auto;
  border: 3px solid var(--gold);
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.about-img:hover {
  transform: scale(1.03);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background-color: transparent;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background-color: var(--gold);
  color: black;
}

.about-book-details {
  grid-column: 1 / 2;
  background: #ffffff;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-book-details:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.about-book-description p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1rem;
}

.about-book-description em {
  font-style: italic;
  color: var(--gold);
}

.about-subheading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.about-book-benefits {
  margin-top: 1.5rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #4b5563;
  transition: color 0.3s ease;
}

.benefit-item:hover {
  color: var(--navy);
}

.benefit-item:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.benefit-icon {
  color: var(--gold);
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.benefit-text {
  flex: 1;
}

.about-image {
  grid-column: 2 / 3;
  text-align: center;
}

.about-book-img {
  max-width: 100%;
  height: auto;
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  will-change: transform, box-shadow;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-book-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-authors {
  grid-column: 1 / 3;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  background: #ffffff;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-authors:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.author-bios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.author-bio {
  padding: 1rem;
  border-radius: 0.25rem;
  transition: background 0.3s ease;
}

.author-bio:hover {
  background: var(--gray);
}

.author-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.author-bio p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.75rem, 1.25vw, 0.875rem);
  line-height: 1.7;
  color: #4b5563;
}

.about-book-cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    grid-column: 1 / 2;
    margin: clamp(1.5rem, 3vw, 2rem) 0;
  }

  .about-authors {
    grid-column: 1 / 2;
  }

  .about-container {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: clamp(2rem, 6vw, 3rem) 0;
  }

  .about-container {
    max-width: 600px;
  }

  .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .section-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }

  .about-subheading {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
  }

  .about-book-img {
    max-width: clamp(200px, 60vw, 250px);
    margin: 0 auto;
  }

  .author-bios {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-container {
    max-width: 90%;
  }

  .about-book-details {
    padding: 1rem;
  }

  .about-authors {
    padding: 1rem;
  }

  .about-book-img {
    max-width: clamp(180px, 50vw, 220px);
  }

  .benefit-item {
    font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  }

  .benefit-icon {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .about-section {
    padding: clamp(1.5rem, 5vw, 2rem) 0;
  }

  .section-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }

  .section-subtitle {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  }

  .about-subheading {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  }

  .about-book-img {
    max-width: clamp(150px, 45vw, 200px);
  }

  .author-name {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
  }

  .author-bio p {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
  }
}

/* Shop Section */
.shop-section {
  background: #a7a7a7;
  padding: 6rem 0;
}

.shop-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  color: #1A2526;
  margin-bottom: 1.5rem;
}

.shop-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 4rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 0 3rem;
}

.shop-item {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.shop-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.shop-img {
  max-width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.shop-item:hover .shop-img {
  transform: scale(1.03);
}

.shop-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 0.75rem;
}

.shop-price {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 1.5rem;
}

.shop-price.coming-soon {
  font-style: italic;
  color: #000000;
}

.shop-cta {
  background: linear-gradient(90deg, #d2d1ce, #A68A64);
  color: #000000;
  border: none;
  padding: 0.75rem 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0.75rem;
}

.shop-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(227, 190, 137, 0.4);
}

.shop-more-info {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.shop-more-info:hover {
  color: #C5A880;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .shop-container {
    max-width: 900px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 2rem;
  }

  .shop-img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .shop-section {
    padding: 4rem 0;
  }

  .shop-container {
    max-width: 600px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .shop-img {
    height: 240px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .shop-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .shop-item {
    padding: 1.5rem;
  }

  .shop-title {
    font-size: 1.2rem;
  }

  .shop-price {
    font-size: 1.2rem;
  }

  .shop-cta {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .shop-section {
    padding: 3rem 0;
  }

  .shop-container {
    max-width: 90%;
  }

  .shop-img {
    height: 200px;
  }

  .section-title {
    font-size: 2rem;
  }

  .shop-subtitle {
    font-size: 1rem;
  }

  .shop-title {
    font-size: 1.1rem;
  }

  .shop-price {
    font-size: 1.1rem;
  }

  .shop-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  .shop-more-info {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .shop-section {
    padding: 2rem 0;
  }

  .shop-img {
    height: 180px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .shop-subtitle {
    font-size: 0.9rem;
  }

  .shop-item {
    padding: 1rem;
  }

  .shop-title {
    font-size: 1rem;
  }

  .shop-price {
    font-size: 1rem;
  }

  .shop-cta {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

/* Author Modal */
.author-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(249, 246, 238, 0.95);
  z-index: 2000;
  overflow-y: auto;
}

.author-modal-content {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 3rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #C5A880;
  cursor: pointer;
}

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #C5A880;
  text-align: center;
  margin-bottom: 3rem;
}

.modal-body {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.author-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #C5A880;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.author-card:hover {
  transform: translateY(-10px);
}

.author-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid #C5A880;
}

.author-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #C5A880;
  margin-bottom: 0.5rem;
}

.author-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1A2526;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .author-modal-content {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
  }

  .modal-body {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .author-modal-content {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
  }

  .modal-header h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .author-card {
    padding: 1.5rem;
  }

  .author-img {
    width: 120px;
    height: 120px;
  }

  .author-card h3 {
    font-size: 1.3rem;
  }

  .author-card p {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .author-modal-content {
    max-width: 90%;
    margin: 1.5rem auto;
    padding: 1rem;
  }

  .modal-header h2 {
    font-size: 1.8rem;
  }

  .modal-close {
    font-size: 1.5rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .author-img {
    width: 100px;
    height: 100px;
  }

  .author-card h3 {
    font-size: 1.2rem;
  }

  .author-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .author-modal-content {
    margin: 1rem auto;
    padding: 0.75rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .author-card {
    padding: 1rem;
  }

  .author-img {
    width: 80px;
    height: 80px;
  }

  .author-card h3 {
    font-size: 1.1rem;
  }

  .author-card p {
    font-size: 0.85rem;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a1a, #2b2b2b);
  color: #e0e0e0;
  padding: 70px 70px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  height: 50px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-brand-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fb8c00;
}

.footer-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fb8c00;
}

.footer-social {
  display: flex;
  gap: 25px;
}

.social-link {
  color: #e0e0e0;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  color: #fb8c00;
  transform: scale(1.1);
}

.footer-bottom {
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid rgba(224, 224, 224, 0.1);
  padding-top: 25px;
}

.footer-copy {
  font-size: 0.9rem;
  font-weight: 300;
  color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer {
    padding: 50px 50px;
  }

  .footer-inner {
    max-width: 900px;
    gap: 40px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-social {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 30px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 15px;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-brand-text {
    font-size: 1.2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-social {
    gap: 15px;
  }

  .social-link {
    font-size: 1.2rem;
  }

  .footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 30px 20px;
  }

  .footer-inner {
    gap: 20px;
  }

  .footer-logo {
    height: 35px;
  }

  .footer-brand-text {
    font-size: 1.1rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .social-link {
    font-size: 1.1rem;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .footer {
    padding: 20px 15px;
  }

  .footer-inner {
    gap: 15px;
  }

  .footer-logo {
    height: 30px;
  }

  .footer-brand-text {
    font-size: 1rem;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .social-link {
    font-size: 1rem;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
}

/* GLOBAL STYLES */
:root {
  --gold: #FB8C00;
  --dark: #0a0a0a;
  --white: #f8f9fa;
}

body {
  font-family: 'Playfair Display', serif;
  background-color: var(--dark);
  color: var(--white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.text-gold {
  color: var(--gold);
}

.bg-gold {
  background-color: var(--gold);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--dark);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 50px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar-item .navbar-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-item .navbar-link:hover {
  color: var(--gold);
}

.navbar-item .navbar-link.active {
  background-color: var(--gold);
  color: var(--dark);
  padding: 5px 10px;
  border-radius: 5px;
}

/* Hamburger Toggle */
.navbar-toggle {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 30px;
  height: 30px;
  gap: 5px;
  display: none;
  z-index: 9999;
}

.toggle-line {
  width: 100%;
  height: 3px;
  background-color: var(--dark) !important; /* Ensure black */
  transition: all 0.3s ease;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem;
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-item {
    margin: 0.5rem 0;
  }
}


/* HERO SECTION */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: 1.5rem;
  margin: 1.5rem 0;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* RESOURCES SECTION */
#resources {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  overflow: hidden;
  padding: 5rem 0;
}

#resources::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/bg.jpeg') repeat;
  opacity: 0.1;
  z-index: 0;
  animation: subtleMove 20s linear infinite;
}

@keyframes subtleMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100px 100px;
  }
}

#resources .container {
  position: relative;
  z-index: 1;
}

#resources h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}

#resources .list-group-item {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#resources .list-group-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(251, 140, 0, 0.3);
}

#resources .card {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#resources .card:hover {
  transform: translateY(-5px);
}

#resources .card-img-top {
  height: 250px;
  object-fit: cover;
}

#resources .card-body {
  padding: 2rem;
}

#resources .card-title {
  font-family: 'Playfair Display', serif;
  color: var(--white);
}

#resources .card-text {
  color: #d4d4d4;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .btn-outline-gold {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }

  #resources h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  #resources .list-group-item img {
    width: 120px;
    height: 140px;
  }
}

/* THREE.JS BACKGROUND */
#three-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hover-glow {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 25px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
  z-index: 1000;
  animation: pulse 1.8s infinite;
  text-decoration: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* THREE.JS BACKGROUND */
.luxury-gallery {
  background: rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Gallery */
.luxury-gallery .bg-image {
  background: url('/images/bg.jpeg') center center / cover no-repeat;
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(5px) brightness(0.5);
  transform: scale(1.05);
}

.luxury-gallery .container {
  z-index: 2;
  position: relative;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.7rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  backdrop-filter: blur(3px);
}

.gallery-item {
  height: 250px;
  /* Same as image height */
  overflow: hidden;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in-out forwards;
  z-index: 1000;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

.popup-content {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  max-width: 90%;
  width: 100%;
  max-width: 400px;
  animation: slideDown 0.5s ease-in-out;
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

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

.popup .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  cursor: pointer;
  color: #000;
  transition: color 0.3s;
}

.popup .close-btn:hover {
  color: #621fa2;
}

.popup h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #621fa2;
  position: relative;
}

.popup p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #000;
}

.popup .form-group {
  margin-bottom: 10px;
  text-align: left;
}

.popup .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 12px;
}

.popup .form-group input {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 12px;
}

.popup .form-group button {
  width: 100%;
  padding: 8px;
  background-color: #621fa2;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.popup .form-group button:hover {
  background: linear-gradient(to right, #621fa2, #fb8c00);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .popup-content {
    padding: 10px;
    font-size: 14px;
  }

  .popup h2 {
    font-size: 16px;
  }

  .popup p {
    font-size: 12px;
  }

  .popup .form-group label,
  .popup .form-group input,
  .popup .form-group button {
    font-size: 12px;
  }

  .popup .form-group button {
    padding: 6px;
  }
}

.text-gold {
  color: #FB8C00;
}

.border-gold {
  border-color: #FB8C00 !important;
}

.btn-outline-gold {
  border: 1px solid #FB8C00;
  color: #FB8C00;
  transition: all 0.3s ease-in-out;
}

.btn-outline-gold:hover {
  background-color: #FB8C00;
  color: #0a0a0a;
}
