/* Featured Card Component Styles */
/* 
 * This file contains all styles specific to the featured card component.
 * All styles are self-contained and customized for the featured card display.
 * Featured card displays a randomly selected park with description and CTA.
 */

/* Featured Card Container */
.featured-card {
  width: 100%;
  height: var(--card-height-featured);
  border-radius: var(--radius-md);
  background-color: var(--white);
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Featured Card Content Layout */
.featured-content {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Featured Text Section */
.featured-text {
  flex: 0 0 50%;
  width: 50%;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  position: relative; /* For absolute positioning of icons */
}

/* Featured Content Top - Wrapper for text content */
.featured-content-top {
  margin: 0;
  padding: 0;
  flex: 1; /* Take up available space */
}

/* Featured Title - "Featured Park" label */
.featured-title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Featured Park Name - Main heading */
.featured-park-name {
  font-size: var(--text-3xl);
  font-weight: bold;
  margin-top: var(--space-sm);
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  color: var(--text-color);
  text-align: left;
}

/* Featured Location - State and establishment year */
.featured-location {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin-top: var(--space-sm);
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  text-align: left;
}

/* Featured Description - Park description text */
.featured-description {
  font-size: var(--text-lg);
  color: var(--text-color);
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  text-align: left;
}

/* Featured Tag */
.featured-tag {
  height: var(--space-md);
  padding: 0 var(--space-xs);
  background-color: var(--gray-100);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
  width: auto;
  white-space: nowrap;
}

/* Featured Icons Container */
.featured-icons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
}

/* Featured Icon */
.featured-icon {
  width: var(--space-md);
  height: var(--space-md);
  margin: 0;
  padding: 0;
  display: block;
  flex-shrink: 0;
}


/* Featured Image Container */
.featured-image-container {
  flex: 0 0 50%;
  width: 50%;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Featured Image */
.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  padding: 0;
  display: block;
}

/* Featured Image Placeholder */
.featured-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Featured Image Text - Placeholder text */
.featured-image-text {
  font-size: var(--text-3xl);
  color: var(--gray-600);
  opacity: 0.5;
  font-family: 'DM Mono', monospace;
  margin: 0;
  padding: 0;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .featured-card {
    height: var(--card-height-featured); /* 10rem photo + 20rem text = 30rem total */
  }
  
  .featured-content {
    flex-direction: column;
  }
  
  .featured-text {
    flex: none;
    width: 100%;
    height: 20rem;
    padding: var(--space-lg);
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
  }
  
  .featured-content-top {
    flex: 1;
  }
  
  .featured-icons {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
  }
  
  .featured-park-name {
    font-size: var(--text-3xl);
  }
  
  .featured-image-container {
    flex: none;
    width: 100%;
    height: 10rem;
    order: 1;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
  }
  
  .featured-image {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}