:root {
  --sand: #e8dcc4;
  --earth: #8b6f47;
  --deep-earth: #5c4a30;
  --sunset: #d97341;
  --savanna: #a8996e;
  --sky: #7ba8c4;
  --forest: #4a6b4f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background: linear-gradient(135deg, var(--sand) 0%, #f5ede0 100%);
  color: var(--deep-earth);
  line-height: 1.6;
  overflow-x: hidden;
}

.location-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 30px;
  position: relative;
}

.decorative-line {
  width: 80px;
  height: 3px;
  background: var(--sunset);
  margin: 0 auto 40px;
  position: relative;
  animation: expandLine 1s ease-out;
}

.decorative-line::before,
.decorative-line::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--sunset);
  border-radius: 50%;
  top: -2.5px;
}

.decorative-line::before {
  left: -15px;
}

.decorative-line::after {
  right: -15px;
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.header-section {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--earth);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--savanna);
  font-weight: 300;
  letter-spacing: 1px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-card {
  background: rgba(255, 255, 255, 0.75);
  padding: 40px;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(139, 111, 71, 0.15);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sunset), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(139, 111, 71, 0.25);
}

.card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 30px;
  height: 30px;
  background: var(--sunset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.info-card p {
  font-size: 1.1rem;
  color: var(--deep-earth);
  line-height: 1.8;
}

.highlight {
  color: var(--sunset);
  font-weight: 400;
  font-style: italic;
}

.parks-section {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(232, 220, 196, 0.4)
  );
  padding: 50px;
  border-radius: 2px;
  margin-top: 50px;
  box-shadow: 0 15px 60px rgba(139, 111, 71, 0.2);
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.parks-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--earth);
  text-align: center;
  margin-bottom: 40px;
}

.parks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.park-item {
  background: rgba(255, 255, 255, 0.7);
  padding: 30px;
  border-radius: 2px;
  border-left: 4px solid var(--forest);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.park-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle at center,
    rgba(217, 115, 65, 0.15),
    transparent
  );
  border-radius: 50%;
  transform: translate(30px, 30px);
  transition: transform 0.4s ease;
}

.park-item:hover::after {
  transform: translate(0, 0);
}

.park-item:hover {
  transform: translateX(10px);
  border-left-width: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.park-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 10px;
}

.park-distance {
  font-size: 1.3rem;
  color: var(--sunset);
  font-weight: 400;
}

.activities-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(217, 115, 65, 0.08),
    transparent
  );
  animation: fadeIn 1.2s ease-out 0.9s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.activities-section p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--earth);
  font-weight: 400;
  font-style: italic;
}

.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--earth) 0px,
      var(--earth) 2px,
      transparent 2px,
      transparent 20px
    ),
    repeating-linear-gradient(
      -45deg,
      var(--earth) 0px,
      var(--earth) 2px,
      transparent 2px,
      transparent 20px
    );
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .info-card,
  .parks-section {
    padding: 30px;
  }

  .parks-grid {
    grid-template-columns: 1fr;
  }

  .activities-section p {
    font-size: 1.4rem;
  }
}

.floating-elements {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  animation: float 20s infinite ease-in-out;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: var(--sunset);
  top: 10%;
  left: -100px;
  animation-delay: 0s;
}

.circle-2 {
  width: 200px;
  height: 200px;
  background: var(--sky);
  bottom: 20%;
  right: -50px;
  animation-delay: 5s;
}

.circle-3 {
  width: 150px;
  height: 150px;
  background: var(--forest);
  top: 60%;
  left: 10%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(30px, -30px);
  }
  66% {
    transform: translate(-20px, 20px);
  }
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  min-height: 100vh;
}

/* Page Header */
.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--earth);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* .gallery-header h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(232, 220, 196, 0.4)
  );
  border-radius: 3px;
} */

.gallery-header p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 700px;
  margin: 30px auto 0;
}

/* Category Filter */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  padding: 0 15px;
}

.filter-btn {
  padding: 12px 30px;
  background: white;
  color: rgb(63, 31, 9);
  border: 2px solid #e5e7eb;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-btn i {
  font-size: 18px;
}

.filter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #3f1f08;
  color: #3f1f08;
}

.filter-btn.active {
  background: #3f1f08;
  color: white;
  border-color: #f0f0f0;
  box-shadow: 0 5px 20px #f0f0f0;
}

.filter-btn .count {
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  margin-left: 5px;
}

.filter-btn.active .count {
  background: rgba(255, 255, 255, 0.3);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 0 15px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  display: none;
  animation: fadeIn 0.6s ease;
}

.gallery-item.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
  background-color: #f0f0f0;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-title {
  transform: translateY(0);
}

.gallery-category {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transform: translateY(20px);
  transition: transform 0.3s ease 0.2s;
  width: fit-content;
}

.gallery-item:hover .gallery-category {
  transform: translateY(0);
}

.zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 18px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 80px 20px;
  display: none;
}

.no-results.show {
  display: block;
}

.no-results i {
  font-size: 80px;
  color: #d1d5db;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.no-results p {
  font-size: 1.1rem;
  color: #9ca3af;
}

/* Results Counter */
.results-counter {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 500;
}

.results-counter span {
  color: #667eea;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-header h1 {
    font-size: 2.5rem;
  }

  .gallery-header p {
    font-size: 1rem;
  }

  .category-filter {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
