/* =========================================================
   PIPER TALES BOOKS
   MAIN STYLESHEET
========================================================= */

:root {
  /* Brand */
  --primary: #2ea3f2;
  --primary-dark: #1689d1;

  --secondary: #a5be00;
  --secondary-dark: #849800;

  /* Neutral */
  --dark: #222222;
  --dark-light: #424242;

  --white: #ffffff;

  --background: #f7f7f7;
  --background-light: #ffffff;
  --background-gray: #eeeeee;

  --text: #1d1d1d;
  --muted: #6f6f6f;

  --border: #dddddd;

  /* Typography */
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

/* =========================================================
   GLOBAL
========================================================= */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;

  background: var(--background);

  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;

  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

.container {
  max-width: 1200px;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  position: fixed;

  background: rgba(31, 31, 31);

  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.navbar {
  padding: 25px 0;

  transition: padding 0.3s ease;
}

.site-header.scrolled .navbar {
  padding-top: 15px;
  padding-bottom: 15px;
}

.site-logo {
  width: 180px;
  height: auto;
  display: block;
}

/* =========================================================
   LOGO
========================================================= */

.navbar-brand {
  display: flex;

  flex-direction: column;

  line-height: 1;

  color: var(--white);
}

.brand-main {
  font-family: var(--serif);

  font-size: 36px;

  font-weight: 400;
}

.brand-sub {
  margin-top: 5px;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 3px;

  text-transform: uppercase;
}

/* =========================================================
   NAVIGATION
========================================================= */

.navbar-nav {
  gap: 5px;
}

.nav-link {
  padding: 10px 15px !important;

  color: rgba(255, 255, 255, 0.9) !important;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary) !important;
}

/* MOBILE MENU */

.navbar-toggler {
  padding: 7px 10px;

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

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  border-radius: 0;
}

.btn-primary-custom {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 14px 27px;

  background: var(--primary);

  border: 1px solid var(--primary);

  color: var(--white);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.3px;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);

  border-color: var(--primary-dark);

  color: var(--white);

  transform: translateY(-2px);
}

.btn-outline-custom {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 14px 27px;

  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.75);

  color: var(--white);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.3px;

  text-transform: uppercase;

  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--white);

  border-color: var(--white);

  color: var(--dark);
}

/* DARK BUTTON */

.btn-dark-custom {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 14px 27px;

  background: var(--dark);

  border: 1px solid var(--dark);

  color: var(--white);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.2px;

  text-transform: uppercase;

  transition: all 0.3s ease;
}

.btn-dark-custom:hover {
  background: var(--white);

  border-color: var(--white);

  color: var(--dark);
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 65, 100, 0.35);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;

  z-index: 2;
}

.hero-content {
  padding-top: 60px;
  position: relative;
  z-index: 3;
  color: var(--white);

  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;

  margin-bottom: 20px;

  color: var(--secondary);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 3px;

  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0 0 25px;

  font-family: var(--serif);

  font-size: clamp(55px, 7vw, 90px);

  font-weight: 400;

  line-height: 0.98;
}

.hero-content h1 span {
  display: block;

  color: var(--secondary);

  font-style: italic;
}

.hero-description {
  max-width: 580px;

  margin-bottom: 35px;

  color: rgba(255, 255, 255, 0.9);

  font-size: 17px;

  line-height: 1.8;
}

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

/* SCROLL */

.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 8px;

  color: #ffffff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;

  z-index: 5;

  transition: opacity 0.3s ease;
}

.hero-scroll:hover {
  color: #ffffff;
  opacity: 0.75;
}

.hero-scroll i {
  font-size: 20px;
  line-height: 1;

  animation: scrollArrow 1.5s ease-in-out infinite;
}

@keyframes scrollArrow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.intro-section,
.featured-books-section,
.brand-section,
.media-section,
.final-cta {
  padding: 110px 0;
}

.section-eyebrow {
  display: inline-block;

  margin-bottom: 15px;

  color: var(--primary);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2.5px;

  text-transform: uppercase;
}

.section-title {
  margin: 0 0 25px;

  font-family: var(--serif);

  font-size: clamp(42px, 5vw, 62px);

  font-weight: 400;

  line-height: 1.08;
}

.section-title em {
  color: var(--primary);

  font-style: italic;
}

.section-description {
  margin: 0;

  color: var(--muted);

  font-size: 16px;

  line-height: 1.9;
}

/* =========================================================
   INTRO
========================================================= */

.intro-section {
  background: var(--white);

  text-align: center;
}

.intro-section .section-description {
  max-width: 760px;

  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   FEATURED BOOKS
========================================================= */

.featured-books-section {
  background: var(--background);
}

.section-header {
  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  margin-bottom: 45px;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-link {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--primary);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}

.section-link:hover {
  color: var(--primary-dark);
}

/* BOOK */

.book-card {
  height: 100%;
}

.book-image {
  position: relative;

  display: block;

  overflow: hidden;

  aspect-ratio: 3 / 4;

  background: var(--background-gray);
}

.book-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.book-card:hover .book-image img {
  transform: scale(1.05);
}

.book-view {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(46, 163, 242, 0.78);

  color: var(--white);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  opacity: 0;

  transition: opacity 0.35s ease;
}

.book-card:hover .book-view {
  opacity: 1;
}

.book-details {
  padding-top: 20px;
}

.book-category {
  display: block;

  margin-bottom: 7px;

  color: var(--secondary-dark);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.book-details h3 {
  margin: 0 0 8px;

  font-family: var(--serif);

  font-size: 25px;

  font-weight: 400;

  line-height: 1.2;
}

.book-details p {
  margin: 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.7;
}

/* =========================================================
   BRAND / OUR STORY
========================================================= */

.brand-section {
  background: var(--white);
}

.brand-image {
  overflow: hidden;
}

.brand-image img {
  width: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;
}

.brand-content {
  max-width: 540px;
}

.brand-content p {
  margin-bottom: 18px;

  color: var(--muted);
}

/* =========================================================
   GREEN STATEMENT
========================================================= */

.statement-section {
  padding: 55px 0;

  background: var(--secondary);
}

.statement-inner {
  padding: 25px 0;
}

.statement-eyebrow {
  display: block;

  margin-bottom: 10px;

  color: var(--dark);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.statement-section h2 {
  margin: 0;

  font-family: var(--serif);

  font-size: clamp(38px, 5vw, 58px);

  font-weight: 400;

  line-height: 1.05;
}

.statement-section h2 span {
  color: var(--white);

  font-style: italic;
}

/* =========================================================
   MEDIA
========================================================= */

.media-section {
  background: var(--background);
}

.media-feature {
  position: relative;

  display: block;

  height: 100%;

  min-height: 480px;

  overflow: hidden;
}

.media-feature img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.media-feature:hover img {
  transform: scale(1.04);
}

.media-overlay {
  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  padding: 35px;

  background: linear-gradient(transparent, rgba(41, 35, 31, 0.9));

  color: var(--white);
}

.media-overlay span {
  display: block;

  margin-bottom: 10px;

  color: var(--secondary);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.media-overlay h3 {
  max-width: 600px;

  margin: 0;

  font-family: var(--serif);

  font-size: 34px;

  font-weight: 400;

  line-height: 1.2;
}

.media-overlay i {
  position: absolute;

  right: 30px;

  bottom: 30px;

  font-size: 24px;
}

/* MEDIA LIST */

.media-list {
  height: 100%;

  border-top: 1px solid var(--border);
}

.media-item {
  position: relative;

  display: block;

  padding: 27px 45px 27px 0;

  border-bottom: 1px solid var(--border);

  transition: padding 0.3s ease;
}

.media-item:hover {
  padding-left: 10px;
}

.media-date {
  display: block;

  margin-bottom: 7px;

  color: var(--primary);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.media-item h3 {
  margin: 0;

  font-family: var(--serif);

  font-size: 25px;

  font-weight: 400;

  line-height: 1.3;
}

.media-item > i {
  position: absolute;

  top: 50%;

  right: 5px;

  transform: translateY(-50%);

  color: var(--primary);

  font-size: 20px;
}

/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
  background: var(--white);
}

.final-cta .section-title {
  max-width: 800px;

  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding: 80px 0 25px;
  position: relative;
  overflow: hidden;

  background: linear-gradient(180deg, #111111 0%, #2ea3f2 55%, #1689d1 100%);

  background-size: 300% 300%;

  animation: footerGradient 12s ease infinite;
  color: #bcbcbc;
}

.footer-logo {
  width: 160px;
  height: auto;
  display: block;
}

.footer-brand {
  display: inline-flex;

  flex-direction: column;

  margin-bottom: 20px;

  font-family: var(--serif);

  font-size: 30px;

  line-height: 1;
}

.footer-brand span {
  font-size: 40px;
}

.footer-description {
  max-width: 400px;

  margin: 0;

  color: rgba(255, 255, 255, 0.6);

  font-size: 12px;
}

.social-links {
  display: flex;

  gap: 9px;

  margin-top: 25px;
}

.social-links a {
  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: var(--white);

  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);

  border-color: var(--primary);
}

.site-footer h4 {
  margin-bottom: 20px;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;

  padding: 0;

  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer li a {
  color: rgba(255, 255, 255, 0.6);

  font-size: 11px;
}

.site-footer li a:hover {
  color: var(--secondary);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list li a {
  display: flex;
  align-items: center;
  color: var(--secondary);
}
.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-top: 65px;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;

  color: rgba(255, 255, 255, 0.45);

  font-size: 10px;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 15px;

    padding: 20px;
  }

  .hero-section {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 50px;
  }

  .brand-content {
    max-width: none;
  }

  .media-feature {
    min-height: 400px;
  }

  .site-footer .row {
    text-align: center;
  }

  .site-footer .col-lg-6,
  .site-footer .col-lg-3,
  .site-footer .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center !important;
  }

  .site-footer .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-description {
    text-align: center;
  }

  .site-footer .contact-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .site-footer .contact-list li {
    justify-content: center;
  }

  .site-footer .footer-bottom {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .navbar {
    padding: 18px 0;
  }

  .brand-main {
    font-size: 30px;
  }

  .hero-section {
    min-height: 680px;
  }

  .hero-content h1 {
    font-size: 54px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: flex-start;
  }

  .intro-section,
  .featured-books-section,
  .brand-section,
  .media-section,
  .final-cta {
    padding: 75px 0;
  }

  .section-header {
    align-items: flex-start;

    flex-direction: column;

    gap: 15px;
  }

  .section-title {
    font-size: 43px;
  }

  .statement-section {
    padding: 45px 0;
  }

  .statement-section .btn-dark-custom {
    margin-top: 25px;
  }

  .media-feature {
    min-height: 350px;
  }

  .media-overlay {
    padding: 25px;
  }

  .media-overlay h3 {
    font-size: 28px;
  }

  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

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

  .section-title {
    font-size: 38px;
  }

  .brand-main {
    font-size: 28px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;

  width: 48px;
  height: 48px;

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

  border: none;
  border-radius: 50%;

  background: var(--secondary);
  color: #ffffff;

  font-size: 20px;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;

  z-index: 9999;
}

.back-to-top:hover {
  background: #0f6fae;
  transform: translateY(0) scale(1.05);
}

/* Show button */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 576px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* =========================================================
   FLOATING HERO BOOK
========================================================= */

.hero-book {
  position: relative;
  z-index: 3;

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

  margin-left: 10px;

  transform: translateY(-40px);

  animation: floatingBook 4s ease-in-out infinite;
}

.hero-book img {
  width: 100%;
  max-width: 360px;
  height: auto;

  display: block;

  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.35));
}

@keyframes floatingBook {
  0%,
  100% {
    transform: translateY(-40px);
  }

  50% {
    transform: translateY(-55px);
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 100dvh;

    padding-top: 100px;
    padding-bottom: 120px;
  }

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

  .hero-eyebrow {
    font-size: 12px;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1.05;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.7;

    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-book {
    justify-content: center;
    margin-left: 0;
    margin-top: 30px;
    transform: none;

    animation: floatingBookMobile 4s ease-in-out infinite;
  }

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

  @keyframes floatingBookMobile {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-10px);
    }
  }
}

/* =========================================================
   ABOUT PAGE HERO
========================================================= */

.page-hero {
  position: relative;
  min-height: 80vh;
  min-height: 80dvh;

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

  overflow: hidden;

  background: #1689d1;
  color: #ffffff;
}
.page-hero-bg {
  position: absolute;
  inset: -10%;

  background: linear-gradient(135deg, #0f4164, #0d659c, #a5be00, #0f4164);

  background-size: 300% 300%;

  animation: gradientMove 12s ease-in-out infinite alternate;

  z-index: 0;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

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

.page-hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  margin-top: 20px;
}

.page-hero h1 em {
  display: block;
  font-weight: 400;
}

.page-hero p {
  max-width: 650px;
  margin: 25px auto 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.8;
}

/* =========================================================
   AUTHOR IMAGE
========================================================= */

.author-image,
.brand-image {
  overflow: hidden;
  border-radius: 12px;
}

.author-image img,
.brand-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   AUTHOR QUOTE
========================================================= */

.author-quote {
  padding: 50px;

  background: #f4f1eb;

  border-radius: 12px;
}

.author-quote i {
  font-size: 45px;
  opacity: 0.4;
}

.author-quote blockquote {
  margin: 20px 0;

  font-family: "DM Serif Display", serif;
  font-size: 28px;
  line-height: 1.4;
}

.author-quote span {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

/* =========================================================
   STORYTELLING CARD
========================================================= */

.storytelling-card {
  padding: 55px;

  background: linear-gradient(135deg, #0f4164, #1689d1);

  color: #fff;

  border-radius: 12px;
}

.storytelling-card h3 {
  margin: 20px 0 30px;

  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.storytelling-card h3 em {
  display: block;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
  .page-hero {
    padding: 120px 20px 80px;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }

  .author-quote,
  .storytelling-card {
    padding: 35px 25px;
  }

  .author-quote blockquote {
    font-size: 24px;
  }
}

.py-lg-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 991.98px) {
  .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.book-cover {
  display: inline-block;
  max-width: 300px;
  animation: floatingBook 4s ease-in-out infinite;
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* Gentle floating animation */
@keyframes floatingBook {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* =========================================================
   MEDIA GALLERY
========================================================= */

.media-card {
  display: block;
  width: 100%;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  border-radius: 12px;
}

.media-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

/* Hover effect */
.media-card:hover .media-gallery-image {
  transform: scale(1.05);
  filter: brightness(0.85);
}

/* Modal image */
.modal-gallery-image {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* =========================
   GALLERY IMAGE MODAL
========================= */

#imageModal .modal-dialog {
  max-width: 60vw;
}

#imageModal .modal-content {
  max-height: 95vh;
  overflow: hidden;
  border-radius: 12px;
}

#imageModal .modal-body {
  min-height: 300px;
  max-height: calc(95vh - 80px);
  overflow: auto;
}

.modal-gallery-image {
  display: block;
  max-width: 100%;
  max-height: calc(95vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.bg-transparent {
  --bs-bg-opacity: 1;
  background-color: rgb(33 37 41 / 0%) !important;
}

/* Mobile */
@media (max-width: 767.98px) {
  .media-card {
    height: 260px;
  }

  .modal-gallery-image {
    max-height: 75vh;
  }
}

.site-logo-capsule {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 9999px;
  background: transparent;
  text-decoration: none;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@1,700&display=swap");

.site-logo-text {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 700; /* Poppins Bold */
  font-style: italic; /* Italic */
  text-transform: uppercase; /* ALL CAPS */
  letter-spacing: 1.5px;
  white-space: nowrap;
  z-index: 2;
}

/* Hollow Animated Gradient Outline Ring */
.site-logo-capsule::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 5px; /* Stroke thickness */

  background: linear-gradient(
    90deg,
    #0093e8,
    #20b08a,
    #9bc800,
    #20b08a,
    #0093e8
  );
  background-size: 200% 100%;
  animation: animatedGradient 4s ease infinite alternate;

  /* Cut out center to leave only the border */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

@keyframes animatedGradient {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 0%;
  }
}
