/*
 * Pixel-Perfect Activity Grid Section - 2 Columns × 3 Rows Layout
 * - NO GAPS between cards (gap: 0)
 * - Square corners (border-radius: 0)
 * - 8px inner padding creating white border effect
 * - Gold/brown color scheme (#a48858)
 * - Desktop: 2 columns × 3 rows, Mobile: 1 column × 6 rows
 */

.luxury-activities-grid-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 120px 0;
}

.luxury-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #2c3e50;
  letter-spacing: -0.02em;
}

.luxury-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 300;
}

/* Grid container with NO GAPS - 2 columns × 3 rows default */
.activities-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 auto;
  max-width: 1200px;
}

/* Card wrapper with 8px padding creating white border effect */
.activity-grid-card-wrapper {
  background: #ffffff;
  padding: 8px;
  height: 100%;
}

/* Inner card with square corners */
.activity-grid-card {
  position: relative;
  height: 320px; /* Reduced to 320px for more compact look */
  border-radius: 0;
  overflow: hidden;
}

.activity-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for readability */
.activity-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Price tag - Top right, flush with right edge, small space from top */
.activity-grid-price {
  position: absolute;
  top: 16px;
  right: -8px; /* 8px margin from right edge */
  background: #bc6c25;
  color: white;
  padding: 10px 20px;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  z-index: 139;
}

.activity-grid-price-label {
  font-size: 0.75rem;
  display: block;
  font-weight: 400;
}

.activity-grid-price-amount {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  margin-top: 2px;
}

/* Activity info - Bottom left */
.activity-grid-info {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 12px;
  color: white;
  z-index: 10;
}

.activity-grid-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

/* Booking button */
.activity-grid-btn {
  background: #bc6c25;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.activity-grid-btn:hover {
  background: #a05a1e;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Responsive Design - Mobile: 1 column × 6 rows */
@media (max-width: 768px) {
  .activities-grid-container {
    grid-template-columns: 1fr;
  }

  .activity-grid-card {
    height: 256px; /* Reduced to 256px for mobile compact look */
  }

  .luxury-section-title {
    font-size: 2rem;
  }

  .activity-grid-title {
    font-size: 1.2rem;
  }

  .activity-grid-btn {
    font-size: 0.85rem;
    padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .luxury-activities-grid-section {
    padding: 60px 0;
  }
  
  .activity-grid-card {
    height: 280px;
  }
  
  .activity-grid-title {
    font-size: 1.1rem;
  }
  
  .activity-grid-price {
    padding: 8px 16px;
    right: 8px; /* 8px margin from right edge for mobile */
  }
  
  .activity-grid-price-amount {
    font-size: 1.2rem;
  }
}
