/* ============ THINGS TO DO PAGE ============ */

/* Hero */
.ttd-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ttd-hero-bg {
  position: absolute;
  inset: 0;
}

.ttd-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ttd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.ttd-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 48px;
}

.ttd-hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
}

/* Category Nav */
.ttd-category-nav {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.category-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition);
}

.category-tab:hover {
  border-color: var(--terra);
  color: var(--terra);
}

.category-tab.active {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}

/* Fixed Background Behind Listings */
.ttd-listings {
  position: relative;
  background-image: url('../images/Msc Images for website/DARK FOREST PINE .jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.ttd-listings::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 0;
}

.ttd-listings > .container {
  position: relative;
  z-index: 1;
}

/* Section Headers */
.ttd-section-header {
  margin-top: 64px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ttd-section-header:first-of-type {
  margin-top: 0;
}

.ttd-section-header .section-title {
  color: #fff;
}

.ttd-section-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Card Grid */
.ttd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

/* Cards */
.ttd-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ttd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ttd-card.hidden {
  display: none;
}

.ttd-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ttd-card-img img {
  transition: transform 0.6s ease;
}

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

.ttd-card-body {
  padding: 22px;
}

.ttd-card-body h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.ttd-card-body p {
  font-size: 0.925rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 12px;
}

.ttd-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ttd-tag {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--light);
  color: var(--text-muted);
}

/* Contact Info */
.ttd-card-contact {
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ttd-card-contact p,
.ttd-card-contact a {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}

.ttd-card-contact a:hover {
  color: var(--terra-dark);
}

.ttd-card-contact svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.ttd-contact-website {
  color: var(--terra-dark) !important;
  font-weight: 500;
}

.ttd-contact-website:hover {
  text-decoration: underline !important;
}

/* Wide info card - spans full width */
.ttd-info-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1a2e1a 0%, #0d1f0d 100%);
  border-radius: var(--radius);
  padding: 32px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ttd-info-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ttd-info-card h3 svg {
  color: var(--terra);
}

.ttd-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ttd-info-column h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--terra);
  margin-bottom: 12px;
}

.ttd-info-column p,
.ttd-info-column li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 8px;
}

.ttd-info-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ttd-info-column li {
  padding-left: 16px;
  position: relative;
}

.ttd-info-column li::before {
  content: '•';
  color: var(--terra);
  position: absolute;
  left: 0;
}

.ttd-info-column a {
  color: var(--terra);
  text-decoration: none;
  font-weight: 500;
}

.ttd-info-column a:hover {
  text-decoration: underline;
}

.ttd-info-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Section header hiding for filters */
.ttd-section-header.hidden {
  display: none;
}

/* Active nav link */
.nav-links a.active {
  color: var(--terra);
}

.nav-links a.active::after {
  width: 100%;
}

/* ============ ON-SITE AMENITIES ============ */
.amenities-section {
  background: var(--dark);
  padding: 80px 0;
}

.amenities-section .section-eyebrow {
  color: var(--terra);
}

.amenities-section .section-title {
  color: #fff;
}

.amenities-section .section-subtitle {
  color: var(--text-light);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.amenity-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: default;
}

.amenity-item.amenity-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.amenity-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.amenity-item:hover img {
  transform: scale(1.05);
}

.amenity-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.amenity-label h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
}

.amenity-label p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .ttd-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ttd-listings {
    background-attachment: scroll;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenity-item.amenity-wide {
    grid-column: span 2;
  }

  .ttd-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .ttd-info-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .ttd-grid {
    grid-template-columns: 1fr;
  }

  .ttd-category-nav {
    top: 56px;
  }

  .ttd-info-card {
    padding: 24px 20px;
  }

  .ttd-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ttd-info-column:last-child {
    grid-column: auto;
  }

  .category-tabs {
    gap: 6px;
  }

  .category-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .ttd-hero {
    min-height: 40vh;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenity-item.amenity-wide {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
  }

  .amenities-section {
    padding: 56px 0;
  }
}
