:root {
  --g: #457f0e;
  --g-dark: #2d5609;
  --g-light: #6aad18;
  --g-xlight: #f0f7e6;
  --dark: #0f1a0a;
  --dark2: #0a2010;
  --text: #1e3a1e;
  --muted: #6b8f6b;
  --border: #d4eac4;
  --bg: #f4faf0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  background: var(--g);
  padding: 0 6%;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(69, 127, 14, 0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo .fl-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo .fl-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo .fl-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.nav-logo .fl-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0f1a0a 0%, #0a2010 50%, #0e3a14 100%);
  padding: 64px 6% 52px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 65% 45%,
    rgba(69, 127, 14, 0.2),
    transparent 60%
  );
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--g) 1px, transparent 1px),
    linear-gradient(90deg, var(--g) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(69, 127, 14, 0.15);
  border: 1px solid rgba(69, 127, 14, 0.3);
  color: var(--g-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 14px;
}

.hero h1 em {
  color: var(--g-light);
  font-style: italic;
}

.hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.h-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--g-light);
}

.h-stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── FEATURED SLIDER ── */
.slider-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.main-slider {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.8s,
    transform 0.8s;
  transform: scale(1.04);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 5, 0.85) 0%,
    rgba(10, 20, 5, 0.3) 50%,
    rgba(10, 20, 5, 0.1) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 48px 6%;
  z-index: 2;
  max-width: 520px;
}

.slide-cat {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--g-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-cat::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--g-light);
}

.slide-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.slide-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--g);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 11px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: all 0.3s;
}

.slide-btn:hover {
  background: var(--g-dark);
}

.slider-controls {
  position: absolute;
  bottom: 40px;
  right: 6%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sl-prev,
.sl-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(69, 127, 14, 0.3);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.sl-prev:hover,
.sl-next:hover {
  background: var(--g);
  border-color: var(--g);
}

.sl-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.sl-dot {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s;
}

.sl-dot.active {
  background: var(--g-light);
  width: 36px;
}

.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--g);
  z-index: 10;
  width: 0;
  animation: progressAnim 5s linear infinite;
}

@keyframes progressAnim {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.slide-counter {
  position: absolute;
  top: 32px;
  right: 6%;
  z-index: 10;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.3);
}

.slide-counter span {
  color: #fff;
  font-size: 28px;
}

.thumb-strip {
  background: var(--dark2);
  padding: 12px 6%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.thumb-strip::-webkit-scrollbar {
  display: none;
}

.thumb {
  width: 90px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.thumb.active {
  border-color: var(--g-light);
  transform: translateY(-3px);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.thumb:hover img {
  transform: scale(1.08);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 5, 0.4);
  transition: opacity 0.3s;
}

.thumb.active .thumb-overlay,
.thumb:hover .thumb-overlay {
  opacity: 0;
}

/* ── FILTER ── */
.filter-wrap {
  padding: 36px 6% 20px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.filter-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}

.f-chip {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  font-family: "DM Sans", sans-serif;
}

.f-chip:hover {
  border-color: var(--g);
  color: var(--g);
}

.f-chip.active {
  background: var(--g);
  border-color: var(--g);
  color: #fff;
}

.f-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--g-xlight);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
}

.f-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  width: 160px;
}

.f-search input::placeholder {
  color: var(--muted);
}

.f-search i {
  color: var(--muted);
  font-size: 12px;
}

/* ── MASONRY GALLERY ── */
.gallery-wrap {
  padding: 32px 6% 60px;
  background: var(--bg);
}

.masonry {
  columns: 4;
  column-gap: 14px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(69, 127, 14, 0.08);
}

/* ── KEY FIX: all images get fixed height, object-fit ── */
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.tall img {
  height: 320px;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 5, 0.85),
    rgba(10, 20, 5, 0.1) 50%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px;
  transform: translateY(8px);
  transition:
    transform 0.4s,
    opacity 0.4s;
  opacity: 0;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
  opacity: 1;
}

.g-cat {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g-light);
  margin-bottom: 4px;
}

.g-title {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.g-like {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s;
  border: none;
}

.gallery-item:hover .g-like {
  opacity: 1;
}

.g-like.liked {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.gallery-item.hidden {
  display: none;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 10, 3, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lb-inner {
  position: relative;
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.lb-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  animation: lbIn 0.4s ease;
}

@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(69, 127, 14, 0.2);
  border: 1px solid rgba(69, 127, 14, 0.4);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 2;
}

.lb-close:hover {
  background: var(--g);
}

.lb-info {
  width: 100%;
  padding: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lb-title {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.lb-cat {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--g-light);
  margin-top: 3px;
}

.lb-actions {
  display: flex;
  gap: 10px;
}

.lb-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lb-btn:hover {
  background: var(--g);
  border-color: var(--g);
}

.lb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.lb-prev,
.lb-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.lb-prev:hover,
.lb-next:hover {
  background: var(--g);
  border-color: var(--g);
}

.lb-counter {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-family: "Playfair Display", serif;
}

/* ── FOOTER (same as index.html) ── */
footer {
  background: #1a2e0d;
  padding: 60px 7% 28px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.fl-ring2 {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.fl-ring2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fl-name2 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.fl-sub2 {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
}

.ft-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
  margin-bottom: 18px;
}

.ft-soc {
  display: flex;
  gap: 9px;
}

.fts {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: all 0.25s;
}

.fts:hover {
  background: var(--g);
  border-color: var(--g);
  transform: translateY(-3px);
  color: #fff;
}

.ft-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ft-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color 0.2s;
}

.ft-col a:hover {
  color: #fff;
}

.ft-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ft-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
}

.ft-copy a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}

.ft-links {
  display: flex;
  gap: 18px;
}

.ft-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.2s;
}

.ft-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* WA float */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  text-decoration: none;
}

.wa-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}

.wa-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.wa-tip {
  position: absolute;
  bottom: 50%;
  right: 66px;
  transform: translateY(50%) translateX(8px);
  background: #fff;
  color: #1a1a1a;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.wa-tip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
  border-right: none;
}

.wa-float:hover .wa-circle {
  transform: scale(1.1);
}

.wa-float:hover .wa-tip {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .masonry {
    columns: 3;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .masonry {
    columns: 2;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .masonry {
    columns: 1;
  }

  .ft-grid {
    grid-template-columns: 1fr;
  }
}
