/* Mid-Range Tours CSS - Professional Responsive Design */

/* Import Earthy Theme Colors */
@import url("./earthy-theme.css");

/* Reset and Base Styles - Scoped to avoid affecting other components like footer */
.midrange-container *,
.hero-section * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.midrange-container,
.hero-section {
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--neutral-light);
  font-size: 16px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/bird/ny.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.087);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}
.hero-content h1 {
  color: #ffffff;
}
.hero-content p {
  color: #ffffff;
}

.hero-content .container {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff !important;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-width: 120px;
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.hero-feature i {
  font-size: 2rem;
  color: var(--white);
}

.hero-feature span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}

/* Container and Layout */
.midrange-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Typography Hierarchy - Reduced Font Sizes */
.midrange-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-brown);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.midrange-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 400;
  font-style: italic;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-terracotta),
    var(--accent-light-brown)
  );
  border-radius: 2px;
}

.subsection-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
}

.intro-section {
  background: linear-gradient(
    135deg,
    var(--neutral-cream),
    var(--neutral-light)
  );
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border-left: 5px solid var(--accent-terracotta);
  margin-bottom: 3rem;
}

.value-proposition {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-beige);
}

/* Lists and Bullet Points */
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-terracotta);
  font-weight: bold;
  font-size: 1.2rem;
}

.highlight-box .feature-list li::before,
.cta-section .feature-list li::before {
  color: #ffffff !important;
}

.bullet-list {
  list-style: none;
  margin: 1.5rem 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-medium);
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.1rem;
}

.highlight-box .bullet-list li::before,
.cta-section .bullet-list li::before {
  color: #ffffff !important;
}

/* Highlight Boxes */
.highlight-box {
  background: linear-gradient(135deg, var(--accent-sage), var(--primary-green));
  color: #ffffff !important;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.highlight-box h3,
.highlight-box p,
.highlight-box strong,
.highlight-box i,
.highlight-box ul,
.highlight-box li {
  color: #ffffff !important;
}

.highlight-box h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.highlight-box p {
  line-height: 1.6;
}

/* Newest Tours Section */
.newest-tours {
  padding: 3rem 0;
  background: var(--neutral-light);
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
}

.tours-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.tour-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-beige);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.tour-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 0;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.1);
}

.tour-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-green);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 600;
}

.tour-offer {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--accent-terracotta);
  color: #ffffff;
  padding: 0.3rem 0.6rem;
  border-radius: 0;
  font-size: 0.65rem;
  font-weight: 700;
}

.tour-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-content h3 {
  font-size: 1.2rem;
  color: var(--primary-brown);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tour-duration {
  font-size: 0.8rem;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.tour-card-content p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 1.2rem;
  line-height: 1.5;
  text-align: left;
}

.read-more-btn {
  margin-top: auto;
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: var(--primary-brown);
  color: #ffffff;
  text-align: center;
  border-radius: 0;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.hidden-card {
  display: none;
}

.view-more-container {
  text-align: center;
  margin-top: 2rem;
}

.view-more-btn {
  padding: 0.8rem 2.5rem;
  background: var(--primary-green);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.view-more-btn:hover {
  background: var(--accent-sage);
  transform: translateY(-2px);
}

.read-more-btn:hover {
  background: var(--accent-terracotta);
  color: var(--white);
}

/* Community Impact Section Enhanced */
.community-impact-section {
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--neutral-cream), var(--white));
  border-radius: var(--border-radius-lg);
  border-left: 5px solid var(--accent-terracotta);
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.community-impact-section .section-title {
  margin-top: 0;
  color: var(--primary-brown);
}

.impact-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-beige);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-card h4 {
  color: var(--primary-brown);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.info-card p {
  color: var(--text-medium);
  line-height: 1.6;
}

/* Statistics or Numbers */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--neutral-cream);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-beige);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-medium);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-brown),
    var(--accent-light-brown)
  );
  color: #ffffff !important;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}

.cta-section h3,
.cta-section p,
.cta-section strong,
.cta-section i,
.cta-section ul,
.cta-section li {
  color: #ffffff !important;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Paragraphs within the midrange section */
.midrange-container p,
.hero-section p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

/* Strong text within the midrange section */
.midrange-container strong,
.hero-section strong {
  color: var(--primary-brown);
  font-weight: 600;
}

/* Emphasis within the midrange section */
.midrange-container em,
.hero-section em {
  color: var(--accent-terracotta);
  font-style: italic;
}

.section-divider {
  height: 1px;
  background: var(--neutral-beige);
  margin: 3rem 0;
  border: none;
}

.highlight-box .section-divider,
.cta-section .section-divider {
  background: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-section {
    height: 60vh;
    min-height: 450px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-features {
    gap: 2rem;
  }

  .midrange-container {
    padding: 1.5rem;
    margin: 1rem;
  }

  .midrange-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .midrange-container,
  .hero-section {
    font-size: 15px;
  }

  .hero-section {
    height: 50vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-features {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }

  .hero-feature {
    flex-direction: row;
    gap: 1rem;
    padding: 1rem 1.5rem;
    min-width: 200px;
  }

  .hero-feature i {
    font-size: 1.5rem;
  }

  .midrange-container {
    padding: 1rem;
    margin: 0.5rem;
    border-radius: var(--border-radius-md);
  }

  .midrange-title {
    font-size: 1.8rem;
  }

  .midrange-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .subsection-title {
    font-size: 1.2rem;
  }

  .intro-section {
    padding: 1.5rem;
  }

  .value-proposition {
    padding: 1.5rem;
  }

  .highlight-box {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 2rem;
  }

  .cta-section h3 {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .midrange-container,
  .hero-section {
    font-size: 14px;
  }

  .hero-section {
    height: 45vh;
    min-height: 350px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-features {
    gap: 1rem;
  }

  .hero-feature {
    padding: 0.8rem 1.2rem;
    min-width: 180px;
  }

  .midrange-container {
    padding: 0.8rem;
    margin: 0.3rem;
  }

  .midrange-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .feature-list li,
  .bullet-list li {
    font-size: 0.9rem;
  }

  .intro-section,
  .value-proposition,
  .highlight-box {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  .midrange-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .highlight-box,
  .cta-section {
    background: #f5f5f5 !important;
    color: #333 !important;
  }

  .highlight-box h3,
  .cta-section h3 {
    color: #333 !important;
  }
}
