/* ========================
   ROOT THEME
======================== */
:root {
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.7);
  --accent: #f4b400;
}

/* ========================
   RESET
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ========================
   GLOBAL TEXT + BODY
======================== */
body {
  background: url("website photos/tour-privado-angkor-wat.avif") center/cover no-repeat fixed;
  min-height: 100vh;
  position: relative;
  color: var(--text-main);
}

/* dark overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* ========================
   GLOBAL TYPOGRAPHY
======================== */
h1, h2, h3 {
  color: var(--text-main);
}

p {
  color: var(--text-soft);
  line-height: 1.8;
}

a {
  color: var(--text-main);
  text-decoration: none;
}

a:hover {
  color: var(--text-muted);
}

/* ========================
   NAVBAR (GLASS)
======================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  padding: 14px 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--text-main);
  font-size: 20px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: var(--text-main);
  font-weight: bold;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* ========================
   HERO BANNER
======================== */
.banner {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0)
  );
}

.banner-content {
  position: relative;
  z-index: 2;
  color: var(--text-main);
}

.banner-content h2 {
  font-size: 3rem;
}

/* ========================
   MAIN GLASS CONTAINER
======================== */
.main-content {
  width: 92%;
  max-width: 1200px;
  margin: 100px auto 60px auto;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;

  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* ========================
   SECTIONS
======================== */
.section {
  padding: 60px;
  color: var(--text-soft);
  line-height: 1.8;
}

.section h2,
.section h3 {
  color: var(--text-main);
  text-align: center;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ========================
   ABOUT
======================== */
.about-wrap {
  color: var(--text-soft);
}

.about-img-right {
  float: right;
  width: 340px;
  max-width: 45%;
  margin: 0 0 20px 25px;

  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.about-wrap::after {
  content: "";
  display: block;
  clear: both;
}

/* ========================
   BLOCKQUOTE
======================== */
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-soft);
}

blockquote footer {
  margin-top: 10px;
  font-style: normal;
  font-weight: bold;
  color: var(--text-main);
}

/* ========================
   GALLERY
======================== */
.gallery-frosted {
  margin-top: 20px;
  padding: 20px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(15px);

  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-item {
  width: 220px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

/* ========================
   DROPDOWNS (LIBRARY)
======================== */
.library-category {
  margin: 20px 0;
}

.dropdown-btn {
  width: 100%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 12px;
  padding: 18px 25px;

  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: bold;

  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
}

.dropdown-content a {
  background: rgba(255,255,255,0.12);
  color: var(--text-soft);
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.25);
  color: var(--text-main);
}

.dropdown-content.show {
  display: flex;
}

/* nested */
.nested-dropdown {
  margin-top: 10px;
}

.nested-btn {
  width: 100%;
  text-align: left;
  padding: 10px;

  background: rgba(255,255,255,0.2);
  border: none;

  color: var(--text-main);
  font-weight: bold;

  display: flex;
  justify-content: space-between;
}

.nested-content {
  display: none;
  flex-direction: column;
  padding-left: 15px;
}

.nested-content a {
  padding: 8px;
  color: var(--text-soft);
}

.nested-content a:hover {
  color: var(--text-main);
}

.nested-content.show {
  display: flex;
}

/* ========================
   LIGHTBOX
======================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--text-main);
  cursor: pointer;
}

.lightbox-controls {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
}

.lightbox-controls span {
  color: var(--text-main);
  font-size: 60px;
  cursor: pointer;
  transition: 0.2s;
}

.lightbox-controls span:hover {
  transform: scale(1.2);
}

/* ========================
   FOOTER
======================== */
footer {
  text-align: center;
  padding: 25px;
  color: var(--text-main);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {

  .banner-content h2 {
    font-size: 2rem;
  }

  .main-content {
    margin: 80px auto 50px auto;
  }

  .section {
    padding: 30px;
  }

  .about-img-right {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
}

/* ========================
   MOBILE RESPONSIVE DESIGN
======================== */

img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {

  body {
    background-attachment: scroll;
    overflow-x: hidden;
  }

  nav {
    position: relative;
    padding: 15px 0;
  }

  .nav-container {
    width: 95%;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .logo {
    font-size: 18px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 8px;
  }

  .banner {
    height: auto;
    min-height: 45vh;
    padding: 40px 15px;
  }

  .banner-content h2 {
    font-size: 2rem;
  }

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

  .main-content {
    width: 94%;
    margin: 30px auto;
    border-radius: 12px;
  }

  .main-content h1,
  .main-content h2,
  .main-content h3 {
    font-size: 1.5rem;
  }

  .main-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .gallery,
  .grid,
  .cards {
    display: block !important;
  }

  .gallery img,
  .card,
  .gallery-item {
    width: 100%;
    margin-bottom: 20px;
  }

  button,
  .button,
  .btn {
    width: 100%;
    display: block;
    text-align: center;
  }

  footer {
    text-align: center;
    padding: 20px 10px;
  }
}


/* ========================
   MOBILE HAMBURGER MENU
======================== */

.hamburger {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.nav-links {
    transition: all .3s ease;
}

@media screen and (max-width: 768px) {

    .nav-container {
        position: relative;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        padding: 10px 0;
        background: rgba(0,0,0,.45);
        border-radius: 10px;
    }

    .nav-links.active {
        display: flex;
        animation: menuDrop .3s ease;
    }

    .nav-links li {
        padding: 12px;
    }

    .logo {
        padding-right: 45px;
    }

}

@keyframes menuDrop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Desktop: hide mobile hamburger */
.hamburger {
    display: none;
}

/* ========================
   MOBILE HERO APP STYLE
======================== */

@media screen and (max-width: 768px) {

    body {
        background-position: center top;
        background-attachment: scroll;
    }

    header {
        padding: 18px 20px;
        min-height: 70px;
    }

    .hamburger {
        right: 18px;
        top: 18px;
        width: 52px;
        height: 52px;
        font-size: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        font-size: 1.35rem;
        padding-right: 55px;
        line-height: 1.2;
    }

    .hero,
    .banner,
    .hero-section {
        min-height: 55vh;
        height: auto;
        padding: 80px 20px 35px;
        background-position: center center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero h1,
    .banner h1,
    .hero-section h1 {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero h2,
    .banner h2 {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    .hero p,
    .banner p,
    .hero-section p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 95%;
        margin: 0 auto 25px;
    }

    .hero .button,
    .hero button,
    .banner .button,
    .banner button {
        width: auto;
        min-width: 220px;
        padding: 15px 28px;
        margin: 10px auto;
        border-radius: 30px;
        font-size: 1rem;
    }

    .glass-container,
    .content-box {
        width: calc(100% - 32px);
        padding: 22px 18px;
        border-radius: 18px;
    }

    .nav-links {
        margin-top: 15px;
        padding: 15px 5px;
        backdrop-filter: blur(12px);
    }

    .nav-links a {
        display: block;
        padding: 14px;
        font-size: 1.05rem;
    }
}


/* FINAL HAMBURGER VISIBILITY FIX */
.hamburger,
.menu-toggle,
.mobile-menu-button {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .hamburger,
    .menu-toggle,
    .mobile-menu-button {
        display: flex !important;
    }
}


/* ========================
   DEVOTIONAL / PRAYER READING MODE
======================== */

.reading-page .main-content {
  max-width: 900px;
  margin-top: 70px;
}

.reading-page .section {
  padding: 70px 90px;
}

.reading-page .section h2:first-child {
  font-size: 2.4rem;
  margin-bottom: 15px;
  letter-spacing: .5px;
}

.reading-page .section h3 {
  margin: 45px 0 18px;
  font-size: 1.35rem;
}

.reading-page .subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 35px;
}

.reading-page blockquote {
  margin: 35px auto;
  max-width: 750px;
  padding: 30px;
  background: rgba(255,255,255,.12);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  font-size: 1.15rem;
  line-height: 1.9;
  font-style: italic;
}

.reading-page blockquote footer {
  margin-top: 15px;
  text-align: right;
  font-style: normal;
}

.reading-page p {
  max-width: 760px;
  margin: 0 auto 22px;
  font-size: 1.08rem;
  line-height: 2;
}


/* Mobile devotional reading */
@media screen and (max-width:768px) {

  .reading-page .main-content {
    width: 94%;
    margin-top: 35px;
    border-radius: 14px;
  }

  .reading-page .section {
    padding: 30px 22px;
  }

  .reading-page .section h2:first-child {
    font-size: 1.8rem;
  }

  .reading-page .section h3 {
    margin-top: 32px;
    font-size: 1.15rem;
  }

  .reading-page p {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 18px;
  }

  .reading-page blockquote {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.7;
    margin: 25px 0;
  }

}


/* ================================
   FINAL DEVOTIONAL CONSISTENCY OVERRIDE
   Applies same reading style to all devotionals/prayers
================================ */

.reading-page .main-content,
.reading-page .section {
    box-sizing: border-box;
}

.reading-page .main-content {
    max-width: 920px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
}

.reading-page .section {
    padding: 65px 85px;
}

.reading-page p,
.reading-page li {
    font-family: inherit;
    font-size: 18px !important;
    line-height: 1.9 !important;
    letter-spacing: .15px;
}

.reading-page h1,
.reading-page h2 {
    line-height: 1.25;
}

.reading-page .subtitle {
    font-size: 20px !important;
    line-height: 1.6;
}

.reading-page blockquote {
    font-size: 19px !important;
    line-height: 1.8 !important;
}

.reading-page strong {
    font-weight: 700;
}

/* Mobile reading standard */
@media screen and (max-width:768px) {

    .reading-page .main-content {
        width: 92%;
    }

    .reading-page .section {
        padding: 30px 20px;
    }

    .reading-page p,
    .reading-page li {
        font-size: 17px !important;
        line-height: 1.85 !important;
    }

    .reading-page .subtitle {
        font-size: 18px !important;
    }

    .reading-page blockquote {
        font-size: 17px !important;
        padding: 18px;
    }

}


/* =========================
   DEVOTIONAL READING STANDARDIZATION FIX
   Ensures all devotional pages use the same readable font size
========================= */
.section p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.section strong {
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .section p,
  .section strong {
    font-size: 17px;
    line-height: 1.85;
  }

  .section {
    padding: 25px 20px;
  }
}

/* FINAL DEVOTIONAL FONT OVERRIDE */
.main-content .section p,
.main-content .section strong {
    font-size: 18px !important;
    line-height: 1.9 !important;
}

.main-content .section {
    font-size: 18px;
}

@media screen and (max-width: 768px) {
    .main-content .section p,
    .main-content .section strong {
        font-size: 17px !important;
        line-height: 1.85 !important;
    }
}

/* HOME PAGE BACKGROUND */
.home-page {
  background-image: url("website\ photos/home.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* ABOUT PAGE BACKGROUND */
.about-page {
  background-image: url("website\ photos/about you.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
/* BLOG PAGE BACKGROUND */
.blog-page {
  background-image: url("website\ photos/blog 2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
/* LIBRARY PAGE BACKGROUND */
.reading-page {
  background-image: url("website\ photos/blog.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
/* GALLERY PAGE BACKGROUND */
.gallery-page {
  background-image: url("website photos/about\ you\ 8.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
/* HOME FEATURED GALLERY */

.home-slideshow {

max-width:700px;

height:350px;

margin:30px auto;

overflow:hidden;

border-radius:20px;

background:white;

padding:10px;

}


.home-slideshow img {

width:100%;

height:100%;

object-fit:contain;

border-radius:15px;

}



.gallery-button {

display:block;

width:max-content;

margin:15px auto 0;

padding:10px 25px;

border-radius:25px;

text-decoration:none;

}



@media(max-width:768px){

.home-slideshow{

height:220px;

max-width:95%;

}

}