/* HERO SECTION */
.hero-section {
  position: relative;
  height: 500px;
  background: url("../images/photos/hero-img.webp") center/cover no-repeat;
  overflow: hidden;
  display: flex;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.1));
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  margin-top: 200px;
}

/* Subtitle */
.hero-subtitle {
  font-family: "Ysabeau SC", sans-serif;
  letter-spacing: 0%;
  line-height: 100%;
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Main Title */
.hero-title {
  font-family: "Gallient";
  color: #ffffff;
  font-size: 80px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 30px;
}

/* Breadcrumb */
.hero-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 22px;
  letter-spacing: 0%;
}

.hero-breadcrumb .arrow {
  color: #ffffff;
}

.hero-breadcrumb .active {
  color: #fdbd10;
}


/* ==============
   Photo Grid
================= */

/* Section */
.birds-gallery {
  background: #0e0e0e;
  color: #fff;
}

/* =====================================
   Fix layout break when filtering
===================================== */

/* Ensure bird items behave like blocks */
.bird-item {
  display: block;
}

/* Tabs */
.birds-tabs {
  border-bottom: none;
  gap: 45px;
  margin-top: 30px;
}

.birds-tabs .nav-link {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 16.87%;
  letter-spacing: 0%;
  position: relative;
  cursor: pointer;
}


.birds-divider {
  display: flex;
  gap: 15px;
  /* space between lines */
  margin-top: -10px;
  margin-left: -376px;
}

.birds-divider .line {
  position: relative;
  width: 111px;
  height: 1px;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.birds-divider .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  height: 100%;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* Hover animation (line moves in) */
.birds-divider .line:hover::after {
  transform: scaleX(1);
}

.birds-divider:hover .line {
  transform: scaleX(1.05);
}

/* Active / highlighted line */
.birds-divider .line.active {
  background: #ffffff;
  height: 3px;
  border-radius: 2px;
}
.birds-divider .line.active::after {
  transform: scaleX(1);
  background: #ffffff;
}

.birds-tabs .nav-link.active {
  color: #ffffff;
}

.birds-tabs .nav-link::after,
.birds-tabs .nav-link:hover::after,
.birds-tabs .nav-link:focus::after {
  content: none !important;
}


/* Photo Grid */
.photo-grid {
  background: #0e0e0e;
  margin-top: -60px;
}

/* Cards */
.bird-card {
  position: relative;
  overflow: hidden;
}

.bird-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bird-card:hover img {
  transform: scale(1.02);
}

/* Sizes */
.bird-card.big {
  height: 430px;
}

.bird-card.small-one {
  height: 210px;
}

.bird-card.small-two {
  margin-top: 10px;
  height: 210px;
}

.bird-card.small-three {
  height: 210px;
}

.bird-card.small-four {
  margin-top: 10px;
  height: 210px;
}

/* Overlay */
.bird-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0) 70%);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* Show overlay on hover */
.bird-card:hover .bird-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Text styles */
.bird-overlay h4 {
  color: #ffffff;
  font-family: "Plus Jakarta Sans";
  font-size: 24px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 10px;
}

.bird-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.bird-meta p {
  margin: 0;
  font-style: italic;
  color: #ddd;
  font-size: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 22px;
  letter-spacing: 0%;
  font-weight: 400;
}

.bird-meta .read-more {
  color: #ffffff;
  font-size: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 22px;
  letter-spacing: 0%;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}


/* Read More link */
.bird-overlay .read-more {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.bird-overlay .read-more:hover {
  opacity: 1;
  text-decoration: none;
}

/* Grid:2 */
.bird-card.wide {
  height: 370px;
}

.bird-card.long {
  height: 370px;
}

.bird-card.tall {
  height: 430px;
}


/* ===========
    Pop Up
============== */

.bird-modal {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.6) 0%,
    rgba(17, 17, 17, 0.35) 50%,
    rgba(17, 17, 17, 0) 100%) !important;
  
}

/* ===== Modal Image Arrows ===== */

.modal-img {
  position: relative;
}

.modal-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.34);
  transition: all 0.3s ease;
  z-index: 5;
}

.modal-arrow.left {
  left: 30px;
}

.modal-arrow.right {
  right: 30px;
}

.modal-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.05);
}

.modal-arrow i {
  font-size: 18px;
}

.modal-img img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.modal-info {
  padding: 30px;
  position: relative;
  margin-top: -150px;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.6) 0%,
    rgba(17, 17, 17, 0.35) 50%,
    rgba(17, 17, 17, 0) 100%) !important;
  
}

.modal-info h2 {
  font-size: 38px;
  margin-bottom: 10px;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-family: 500;
  line-height: 100%;
  letter-spacing: 0%;
}

.meta {
  color: #f5b400;
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

/* Align category + view details in one line */
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-left {
  display: flex;
  gap: 30px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0%;
  font-size: 16px;
  color: #fdbd10;
}

.meta span span {
  color: #ffffff;
}

.view-details {
  color: #fdbd10;
  background: none;
  border: none;
  font-weight: 600;
  margin-right: 100px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  font-size: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0%;
  color: #ffffff;
}

/* Make details labels yellow */
.details-grid b {
  color: #fdbd10;
}

/* Keep values normal */
.details-grid span {
  color: #ffffff;
}

#modalDescription {
  color: #ffffff;   /* change to any color you want */
}

/* Ensure hidden blocks are REALLY hidden */
#viewLessBtn {
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0%;
  color: #EEB008;
  margin-right: 100px;
}

.full-view {
  padding: 30px;
}

/* ===== View Less button with circular icon ===== */

/* =====================================
   Make View Details & View Less arrows
   EXACT same size
===================================== */

/* shared icon size */
.view-details-icon,
.view-less-icon {
  width: 44px;
  height: 44px;
  margin-left: 20px;
  border-radius: 50%;
  background: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* shared arrow styling */
.view-details-icon i,
.view-less-icon i {
  font-size: 16px;
  line-height: 1;
  color: #fdbd10;
}

/* Expanded section */
.full-view {
  padding: 30px;
  background: #111;
  color: #ddd;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

/* When details are open */
#fullView:not(.d-none) {
  position: relative;
}

/* Show View Less in top-right */
#fullView:not(.d-none) #viewLessBtn {
  display: inline-block;
  position: absolute;
  top: -100px;          /* aligns with View Details row */
  right: 0;
}

/* Hide View Details when expanded */
#fullView:not(.d-none) ~ .meta-row #shortView {
  display: none !important;
}
