/* ========== GLOBAL LAYOUT FIX FOR FOOTER ========== */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Oswald', sans-serif;
}
body {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #fdf8f3;
}

main {
  flex: 1;
  padding-bottom: 6rem;
}
.main-nav {
  margin-left: auto;
}




/* ========== HEADER STYLES ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:  #fbdaa8d6;
  border-bottom: 3px solid #6d6c6c1d;
  box-shadow: none;
   width: 100%;
  box-sizing: border-box;
  }

.site-titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;  /* reduces space between title and subtitle */
  margin: 0;
  padding: 0;
}

.site-title {
  margin: 0;
  padding: 0;
  line-height: 1.1;
}

.site-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;       /* lighter than the default */
  line-height: 1.2;
  color: #b95f0c;
  margin: 0.2rem 0 0 0;
  padding: 0;
  letter-spacing: 0.2px;  /* optional: improves spacing for readability */
}


.site-header .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  gap: 0.1rem;
  margin: 0 auto;
  padding: 0 1rem;  /* ✅ Use 1rem instead of 0rem */
  width: 100%;      /* ✅ Add this if missing */
  box-sizing: border-box;
}


.logo {
  height: 67px; /* matches your old layout */
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 67px;
  width: auto !important;
  transition: transform 0.3s ease;
}

.site-header {
  padding: 0.3rem 0 !important;
}
.logo-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* space between logo and title */
}

.logo-link img {
  height: 60px;  /* adjust as needed */
  width: auto;
  transition: transform 0.3s;
}
.logo-link:hover img {
  transform: scale(1.30); /* ✅ zoom effect on logo hover */
}
.title-link {
  color: #c67224;                             /* warm, earthy tone */
  font-family: 'Cormorant Garamond', serif;   /* elegant, artistic serif font */
  font-size: 2.2rem;                            /* slightly larger for prominence */
  font-style: italic; 
  font-weight: 700;                           /* bolder for better legibility */
  line-height: 1.0;                           /* better vertical spacing */
  text-decoration: none;                      /* no underline */
  transition: color 0.3s ease;
  text-shadow: 1.5px 2px 2px rgba(0, 5, 5, 0.8); /* warm shadow for definition */
}



.title-link:hover {
  color: #a01313; /* darker shade on hover */
}
.profile-image {
  margin-top: -0.4rem; /* lift image upward; adjust as needed */
}


.profile-text-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.5rem;
  overflow: hidden;
  
}

.profile-text-wrap .intro-text {
  text-align: left !important;
  color: #6f4f4f;
  line-height: 1.7;
}

/* ========== MAIN NAVIGATION ========== */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  position: relative;
}

.main-nav ul li a {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: rgb(88, 156, 245);
  text-decoration: none;
  display: block;
  padding: 0.1rem 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

/* Underline hover animation (center-out) */
.main-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: rgba(54, 95, 183, 0.63);
  transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.site-nav {
  margin-left: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0 1rem;
  max-width: 100%;     /* ✅ Add this */
  flex-wrap: wrap;     /* ✅ Allow wrapping */
  justify-content: center;
}


.nav-menu li a {
  position: relative;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: #c67224;
  transition: color 0.3s ease;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: #bc3722;
  transition: transform 0.3s ease;
}

.nav-menu li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu li a:hover {
  color: #901f0e;
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 2px) !important;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to top, #fce0b526, #fce0b5);
  padding: 0rem 0.6rem 0.4rem 0.6rem;
  border-radius: 8px;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  list-style: none;
  text-align: center;
  z-index: 1100;
  min-width: 3.5rem;
  width: auto !important;
  
  max-width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  transition-delay: 0.25s;
}

.nav-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-menu .dropdown-menu li {
  margin: 0.3rem 0;
}

.nav-menu .dropdown-menu li a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  color: #8f5116;
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.3s ease;
}

.nav-menu .dropdown-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.nav-menu .dropdown-menu li a:hover::after {
  transform: scaleX(1);
  background-color: #a52915;
}

.nav-menu .dropdown-menu li a:hover {
  color: #a82a17;
}

.nav-menu li {
    margin-bottom: 0rem;
  }

  .site-header .container {
    padding: 0 1rem;
  }

@media (max-width: 790px) {
 
 .nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  row-gap: 0.1rem;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  width: fit-content;
  max-width: 100%;
}
.nav-menu li a {
  font-size: 0.8rem;
  padding: 0.1rem 0rem;
}


  .site-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
   margin-top: 0.1rem;
}

  .site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

  .site-titles {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  width: 100%;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.site-title,
.site-subtitle {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1.1;
  white-space: nowrap;
  margin: 0;
}
.site-subtitle {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}

}
  

  .profile-image {
    margin-top: -0.2rem; /* adjust image position */
  }

  .home-profile-photo {
    float: none;
    width: 800%;
    max-width: 300px;
    margin: 0rem auto;
    
  }

  .home-profile-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 6px 12px rgba(0, 1, 1, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.09);
    margin-top: 0rem;

  }

  .profile-text-wrap {
    padding: 0.5rem;
    text-align: center; /* center text on mobile */
  }


  


/* ========== FOOTER STYLES ========== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fce0b5; /* matches header */
  color: #8f5116;
  text-align: center;
  padding: 0.2rem;
  z-index: 999;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.6rem;
  margin: 0;
  padding: 2px 0 0 0;
}


.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}


/* Copyright Text */
.copyright {
  font-size: 0.6rem;
  color: #0011fb;
  margin: 0;
  padding: 2px 0 0 0;
}
.site-footer small {
  color: #666;
  font-size: 0.85em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}


.gallery-center {
  display: flex;
  justify-content: center;
  margin: 1rem auto 2rem;
  max-width: 1000px;
}
.gallery-center .gallery-item {
  width: 300px; /* Adjust to match top row sizing */
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.03);
}



/* Responsive scaling (same as intro-text) */
@media (min-width: 768px) {
  .intro-heading h1 {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .intro-heading h1 {
    font-size: 2rem;
  }
}



.intro-text {
  text-align: center;
  padding: 0.3rem 0.3rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;         /* Adjust line spacing here */
  color: #6f4f4f;
  text-align: left;
}

.intro-text h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 500;
  
  color: #c67224e0;
  letter-spacing: 0.4px;
  margin-bottom: 0.2rem;
  text-align: center;
}
.btn-back {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  background-color: #c67224e0;
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-back:hover {
  background-color: #9e5417;
  
}
.btn-back2 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  background-color: #c67224e0;
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
 text-align: center;
 float: right
}

.btn-back2:hover {
  background-color: #9e5417;
}


 .gallery-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.gallery-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: rgba(54, 95, 183, 0.8);
  letter-spacing: 0.3px;
  margin-bottom: 0.2rem;
}

.gallery-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(54, 95, 183, 0.5);
  letter-spacing: 0.3px;
  margin-top: -0.3rem;
  margin-bottom: -1.5rem;
}

@media (min-width: 768px) {
  .intro-text h1 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
}

@media (min-width: 1024px) {
  .intro-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }

  .intro-text {
    padding-top: 0.3rem;
    padding-bottom: 0.5rem;
  }
}

.bio-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.0rem;
  line-height: 1.2;
  font-weight: 500;
  color: #c67224e0;
  letter-spacing: 0.4px;
  margin: 0 auto 0.7rem auto;  /* horizontally centers with auto */
  padding: 0 1rem;
  max-width: 700px;
  text-align: left;
}

.bio-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #6f4f4f;
  text-align: left;
  padding: 0 1rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.bio-text h2 {
  margin-bottom: 0.2em; /* or try 0.2em or 0 */
}

.bio-text p {
  margin-top: 0.3em; /* optional: you can also try setting this to 0 */
}

.small-caps {
  font-variant: small-caps;
  letter-spacing: 0.5px;
}


/* Center the last item if it's alone in a new row */
@media (min-width: 768px) {
  .gallery .center-last {
    grid-column: 2 / 3;  /* Centers it in the second column of a 3-col grid */
  }
}

/* -------------------------------
   OVERLAY TEXT ON HOVER (tight wrap)
---------------------------------*/
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Oswald', sans-serif;
  font-weight: 100;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color: white;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0.45);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  display: inline-block; /* ✅ key to wrap only around text */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}


.gallery-item:hover .overlay-text {
  opacity: 1;
}

/* -------------------------------
   ABOUT PAGE STYLES
---------------------------------*/
.about-content {
  max-width: 1000px;
  margin: 2rem auto 4rem;
  padding: 0 2rem;
  overflow: auto;  /* clears floats */
}

.profile-photo {
  float: right;
  max-width: 300px;
  width: 100%;
  margin: 6.5rem 0 0.5rem 1.5rem;
}
.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0px 6px 14px rgba(0,0,0,0.8);
}


/* 📱 Mobile Layout: Stack image on top */
@media (max-width: 768px) {
  .profile-photo {
    float: none;
    margin: 0 auto 1.5rem auto;
    display: block;
    width: 80%;
    max-width: 300px;
  }

  .about-content {
    overflow: visible;
  }
}



.site-footer a {
  color: #c20303;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dotted rgba(54, 95, 183, 0.4);
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #0fc8fb;
  text-decoration: underline;
}



/* ==========================================
   Custom Scrollbar for WebKit Browsers
========================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #1da4f2;      /* Light blue thumb */
  border-radius: 6px;
  border: 2px solid transparent;  /* Adds spacing inside track */
  background-clip: content-box;
}

::-webkit-scrollbar-track {
  background-color: #f0f0f0;      /* Light gray track */
  border-radius: 6px;
}

/* Optional hover effect */
::-webkit-scrollbar-thumb:hover {
  background-color: #007acc;
}

/* Smooth scroll and behavior fixes */
body {
  overscroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}


.bio-photo.left {
  float: left;
  width: 350px;
  max-width: 50%;
  margin: 0 1.2rem 0.5rem 0;
}

.bio-photo.right {
  float: right;
  width: 350px;
  max-width: 50%;
  margin: 0 0 1rem 1.5rem;
}

.caption {
  font-size: 0.85rem;
  font-style: italic;
  color: #555;
  margin: 0.3rem 0 0 0; 
  text-align: center;
}
.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.8);
}



/* ========== BOOKS LISTING STYLES ========== */
.books-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
  font-weight: 500;
  color: #c67224;
  letter-spacing: 0.5px;
  margin: 2rem auto 1rem auto;
  padding: 0 1rem;
  max-width: 800px;
  text-align: center;
  
}

.books-listing {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.book-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
}

.book-entry img {
  width: 160px;
  height: auto;
  border: 3px solid #c67224e0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-entry img:hover {
  transform: scale(1.07);
}

/* Book title link */
.book-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.book-info h2 a {
  color: #d77412;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 800;
  font-size: 2.2rem;
  transition: color 0.3s ease;
}

.book-info h2 a:hover {
  color: #28cfb0;
  
}

/* Subtitle under book title */
.book-info p {
  font-style: italic;
  color: #905252;
  font-weight: 300;
  font-size: 1.1rem;
  margin-top: 0.3rem;
}
.books-subtitle {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: #6f4f4f;  /* ← change this line to any color you like */
  text-align: center;
  margin-top: -0.3rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}


/* ==== Book Page Layout ==== */

.book-detail {
  max-width: 800px;
  margin: .5rem auto .5rem auto; /* reduced top margin */
  padding: 1rem;
  font-family: 'Cormorant Garamond', serif;
  color: #3a2f2f;
}

.book-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: #c67224;
  text-align: center;
  margin-bottom: 0.2rem;
}

.book-subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  font-style: italic;
  color: #6f4f4f;
  margin-bottom: 2rem;
}

.book-cover-center {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.book-cover-center img {
  max-width: 60%;
  height: auto;
  border: 3px solid #c67224e0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.book-meta {
  background-color: #f9f4ef;
  padding: 1rem;
  border-left: 4px solid #c67224;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.book-intro {
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #443e3e;
}

.book-section-links {
  margin-top: 2rem;
}
.book-section-links h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  color: #c67224;
  margin-bottom: 0.7rem;
}
.book-section-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.book-section-links li {
  background-color: #f5eee7;
  border: 1px solid #c67224;
  border-radius: 6px;
  padding: 0.4rem 1rem;
  transition: background-color 0.3s ease;
}
.book-section-links li:hover {
  background-color: #c67224;
}
.book-section-links li a {
  text-decoration: none;
  color: #6f4f4f;
  font-weight: 500;
}
.book-section-links li:hover a {
  color: #fff;
}
.book-section-links ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 🔸 Add this */
  gap: 1rem;
}
.book-section-links h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  color: #c67224;
   margin: 0rem 0 1rem 0; /* 🔸 Reduced top margin */
  text-align: center; /* 🔸 Add this line */
}
.book-section-links li {
  background: linear-gradient(145deg, #f9f1e8, #e8dccc);
  border: 1px solid #c67224;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  box-shadow: inset 0 1px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.book-section-links li:hover {
  background: #c67224;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.8);
}

.book-section-links li a {
  text-decoration: none;
  color: #6f4f4f;
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: 0.3px;
  font-family: 'Nunito Sans', sans-serif;
  transition: color 0.3s ease;
}

.book-section-links li:hover a {
  color: #fff;
}


/* === Lightbox Gallery for Book Sections === */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
   background: rgba(237, 215, 176, 0.5); /* light creamy white */
  backdrop-filter: blur(6px); /* optional: adds glass effect */
  z-index: 1000;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  border: 3px solid #c67224;
}

/* === Navigation Arrows === */
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: rgba(84, 31, 31, 0.7); /* semi-transparent */
  background: none;
  border: none;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-decoration: none;
}

.lightbox .prev {
  left: 1rem;
}

.lightbox .next {
  right: 2rem;
}

/* === Close Button === */
.lightbox .close {
  position: absolute;
  top: 1rem;
  right: 4rem;
  font-size: 4rem;
  color: rgba(84, 31, 31, 0.7); /* semi-transparent */
  background: none;
  border: none;
  text-decoration: none;
  z-index: 1001;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* === Hover Effects === */
.lightbox .prev:hover,
.lightbox .next:hover,
.lightbox .close:hover {
  color: #ffcba4; /* soft peachy tone */
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}
.lightbox img.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.lightbox img.zoomable.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}
.lightbox img.zoomable.zoomed {
  transform: scale(2.5); /* adjust scale as needed */
  cursor: grab;
  transition: transform 0.3s ease;
  position: relative;
}

.lightbox img.zoomable.zoomed:active {
  cursor: grabbing;
}
.lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}

.home-quote {
  font-style: italic;
  font-size: 1.15em;
  text-align: center; /* or right */
  margin-top: 1.5em;
  color: #c67224;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===ligh box for video === */

.video-thumbnail-wrapper {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
}

.video-thumbnail {
  max-width: 300px;
  width: 100%;
  border-radius: 0px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.9);
  transition: transform 0.3s ease;
}

.video-thumbnail:hover {
  transform: scale(1.05);
}

/* === Video Lightbox Styles === */
/* === Video Lightbox === */
.lightbox-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;

  display: none;              /* ✅ Moved down to :target rule */
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.lightbox-video:target {
  display: flex;              /* ✅ Only show when targeted */
}

/* Wrapper around the video */
.lightbox-video .video-box {
  position: relative;
  width: 100%;
  max-width: 800px;
}

/* Video player */
.lightbox-video video.video-player {
  width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 60, 255, 0.6);
  display: block;
}

/* Close button (top-right outside the video box) */
.lightbox-video .video-box .close {
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 2.5rem;
  color: #eee;
  text-decoration: none;
  background: none;
  padding: 0.3em 0.2.5em;
  border-radius: 5px;
  z-index: 10001;
  transition: background 0.3s ease;
}

.lightbox-video .video-box .close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* === Kaladarshan Video Thumbnail === */
.kd-video-thumbnail-wrapper {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.kd-video-thumbnail {
  max-width: 360px;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s ease;
}

.kd-video-thumbnail:hover {
  transform: scale(1.05);
}

/* === Kaladarshan Video Lightbox === */
.lightbox-kd-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;

  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.lightbox-kd-video:target {
  display: flex;
}

/* Wrapper for Kaladarshan video */
.lightbox-kd-video .kd-video-box {
  position: relative;
  width: 100%;
  max-width: 720px;
}

/* Video element */
.kd-video-player {
  width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 80, 200, 0.5);
  display: block;
}

/* Close button */
.lightbox-kd-video .kd-video-box .close {
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 2.2rem;
  color: #eee;
  text-decoration: none;
  background: none;
  padding: 0.2em 0.5em;
  border-radius: 5px;
  z-index: 10001;
  transition: background 0.3s ease;
}

.lightbox-kd-video .kd-video-box .close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.exhibition-nav-strip {
  position: sticky;
  top: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  z-index: 10;
  font-family: sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  background: transparent;
  border-bottom: none; /* optional */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.exhibition-nav-strip a {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;       /* lighter than the default */
  line-height: 1.2;
  color: #b95f0c;
  text-decoration: none;
    padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.exhibition-nav-strip a:hover {
  background: #e0e0e0;
}

/* ---Thumbnails Section--- */
.exhibition-thumbnails {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.thumb-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* New structure using .thumb-item container */
.thumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.thumb-item img {
  height: 200px;
  display: block;
  border-radius: 2px;
  border: 3px solid white;
  box-sizing: border-box;
  box-shadow: 0 10px 14px rgb(49, 49, 49);
  transition: transform 0.2s ease;
  max-width: 100%;
}

.thumb-item img:hover {
  transform: scale(1.09);
}

.thumb-item p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.1;
  color: #3d292e;
  max-width: 150px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  word-wrap: break-word;
}


/* Responsive tweak for small screens */
@media (max-width: 768px) {
  .thumb-row {
    justify-content: center;
    gap: 0.75rem;
  }

  .thumb-item img {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .thumb-item img {
    height: 100px;
  }
}

.exhibition-intro {
  max-width: 850px;
  margin: 2rem auto 1.5rem auto;
  text-align: center;
  padding: 0 1rem;
}

.exhibition-intro h1 {
  font-size: 2rem;
  font-weight: 300;
  color: #c67224;
  margin-bottom: 0.3rem;
  font-family: 'Oswald', sans-serif;
}



.exhibition-intro p {
  font-size: 1.5.rem;
  line-height: 1.5;
  color: #6f4f4f;
    
}

.exhibition-intro h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #4a3b30;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}


---------------
.nav-strip-1957 {
  position: sticky;
  top: 6rem; /* Allows room for wrapped header on small screens */
  z-index: 100;
  background: #f9f9f7;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
/*=============================*/
/* Sticky nav behavior triggered by JS */
.js-fixed-nav-strip {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: #f9f9f7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Ensure nav strip contents are centered */
.exhibition-nav-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.2rem 0.5rem;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  background-color: #f9f9f7b0;
  color: #5a3e36;
  max-width: 960px;   /* << Add this */
  margin: 0 auto;     /* << Already present */
}

.exhibition-nav-strip a {
  color: #6f4f4f; /* Choose your desired text color */
  text-decoration: none;
}

.exhibition-nav-strip a:hover {
  color: #c67224; /* Optional: change color on hover */
}

/*======================================*/
/*catalogue styling */

.exhibition-intro-1957 {
  max-width: 850px;
  margin: 2rem auto 1.5rem auto;
  text-align: center;
  padding: 0 1rem;
}


.exhibition-intro-1957 h1 {
  font-size: 1.7rem;
  font-weight: 300;
  color: #c67224;
   margin-top: 4rem; 
  margin-bottom: 0.3rem;
  font-family: 'Oswald', sans-serif;
  text-align: center;
}

.exhibition-intro-1957 h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #4a3b30;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.exhibition-intro-1957 p {
  font-size: 1rem;
  line-height: 1.5;
  color: #6f4f4f;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Optional: if you include an image directly under this section */


.catalogue-1957 img {
  display: block;
  margin: 2rem auto;
  max-width: 90%;
  height: auto;
  border: 2px solid #727171; /* light neutral frame */
  padding: 6px; /* creates space between image and border */
  background-color: #c6722464; /* ensures the border stands out on off-white pages */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.9);
}

.catalogue-1957 h3 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.0rem;
  font-weight: normal;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333; /* or another shade from your palette */
}


.section-divider {
  border: none;
  border-top: 2px solid #ccc;
  margin: 3rem auto 2rem auto;
  width: 80%;
}

.catalogue-1957 .tribute-text {
  max-width: 80%;
  width: auto;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
.exhibition-anchor {
  scroll-margin-top: 102px;  /* header (78px) + nav strip (24px) */
}

.exhibition-reviews {
  max-width: 850px;
  margin: 2rem auto 1.5rem auto;
  padding: 0 1rem;
}

.exhibition-reviews h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #4a3b30;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.exhibition-intro h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.exhibition-reviews p {
  font-size: 1rem;
  line-height: 1.5;
  color: #6f4f4f;
  max-width: 800px;
  margin: 0 auto 1.2rem auto;
  text-align: left;
}


/* === Kaladarshan Video Thumbnail === */
.kd-video-thumbnail-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 1.5rem;  /* Top margin increased for spacing */
  padding: 0;               /* Adjust if needed later */
}

.kd-video-thumbnail {
  width: 100%;
  max-width: 360px;
  border-radius: 6px;         /* Soft corner rounding */
  border: 2px solid #eee;     /* Optional light border */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);  /* Deeper shadow */
  cursor: pointer;
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.kd-video-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 80, 200, 0.6);  /* Hover shadow tint */
  border-color: rgba(0, 80, 200, 0.3);         /* Subtle hover border tint */
}
.video-thumbnail-wrapper {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.video-thumbnail-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.video-caption {
  margin-top: 0.3rem;
   margin-bottom: 0; /* or 0 if you want it tight */
  font-size: 0.95rem;
  color: #444;
  font-style: italic;
}
.aspect-4-3 {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 aspect ratio = 3 / 4 = 0.75 */
}

.aspect-4-3 iframe,
.aspect-4-3 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.archive-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 3rem;
}
.archive-link {
  color: #6f4f4f;
  text-decoration: underline;
  font-weight: 500;
}
.archive-link:hover {
  color: #0ebfeb;
}

.lightbox-kd-video {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 1);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-kd-video video {
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.lightbox-kd-video .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

/* ===============================
   KALADARSHAN THUMBNAIL GRID
================================= */


.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 0));
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1rem;
  max-width: 100%;
  margin: 0 auto;
}
.thumb-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}



.thumb-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f2eb82;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,1);
  transition: transform 0.2s ease;
  max-width: 200px;
}

.thumb-block:hover {
  transform: translateY(-13px);
  
}

.thumbnail {
  width: 100%;
  height: auto;
  border-radius: 0px;
  object-fit: cover;
  max-width: 100%;
  transition: opacity 0.3s ease;
  box-shadow: 0 6px 10px rgba(0,0,0,0.7);
}

.caption {
  margin-top: 5px;
  text-align: center;
  color: rgb(176, 103, 1);
  line-height: 1.2; 
}

.caption-line1 {
  font-style: italic;
  text-decoration: none;
  color: #753e0a;
  font-size: 0.6rem;
  margin-bottom: 10px; 
  margin-top: 1px;
  
  
}

.caption-line2 {
 font-weight: bold;     /* Remove bold if not needed */
 font-style: normal;      /* Ensure it's not italic */
  margin-bottom: 0px; 
  font-size: 0.8rem;
  
}

.thumb-grid a {
  text-decoration: none;
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
  .thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 26px;
  }
}

.note {
  font-size: 0.8em;
  color: #555;
  display: inline-block;
  margin-top: 0.1em;
}

 .-emphasis {
    border: 2px solid #e9e5bc;
    padding: 10px;
    margin: 10px 0;
    background-color: #f0f8ff;
  }
.exhibition-photos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.exhibition-photos img {
  max-height: 55vh; /* keeps image within viewport height */
  width: auto;
  max-width: 90%;
  object-fit: contain;

  /* frame and shadow as before */
  border: 2px solid #727171;
  padding: 6px;
  background-color: #c6722464;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.9);
}


