/* General Reset and Body */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7fafc;
}

/* Main Container for Layout */

/* Page Header */
.page-header {
  background: url('photos/IMG_Dirt1.jpg') no-repeat center center/cover;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  background: #ffffff;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.breadcrumb-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  justify-content: center;
}

.breadcrumb a {
  color: #10b981;
  text-decoration: none;
}

.breadcrumb-separator {
  color: #a0aec0;
}

/* Content Section */
.content-section {
  margin-bottom: 40px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 30px;
}

/* Text Content */
.text-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  padding: 10px;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.text-content p {
  margin-bottom: 1.5rem;
}

/* Gallery Layout */
.text-gallery-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .text-gallery-layout {
    grid-template-columns: 1fr 450px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item {
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Button Styling */
.btn-center {
  text-align: center;
  margin-top: 40px;
}

/*.btn-primary {*/
/*  background-color: #87cc46;*/
/*  color: white;*/
/*  padding: 15px 30px;*/
/*  border-radius: 50px;*/
/*  text-decoration: none;*/
/*  font-weight: 600;*/
/*  display: inline-block;*/
/*}*/

.btn-primary:hover {
  background-color: #6fa33f;
  transform: translateY(-3px);
}

/* Horizontal Gallery */
.horizontal-gallery {
  margin-top: 60px;
  padding: 30px 0;
}

.horizontal-gallery h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 40px;
}

.horizontal-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .horizontal-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .horizontal-photos {
    grid-template-columns: repeat(4, 1fr);
  }
}

.horizontal-photo {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  background: white;
  transition: all 0.3s ease;
}

.horizontal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.horizontal-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.horizontal-photo .gallery-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.horizontal-photo:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}

.gallery-overlay p {
  font-size: 0.9rem;
  color: white;
}

/* ===== TIMELINE — own full-width section ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
  clear: both;
  width: 100%;
}

.timeline-item {
  background: white;
  border: 2px solid #87cc46;
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(135, 204, 70, 0.2);
}

.timeline-year {
  font-size: 2.5rem;
  font-weight: 700;
  color: #87cc46;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
}

.timeline-description {
  color: #4a5568;
  line-height: 1.7;
  font-size: 0.95rem;
}

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

/* Media Queries for Small Screens */
@media (max-width: 768px) {
  .content-section {
    margin-bottom: 60px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

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

  .horizontal-photos {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.page-header {
  background: url('../photos/IMG_Dirt1.jpg') no-repeat center center / cover;
  position: relative;
  padding: 100px 20px;
  text-align: center;
}

/* Add dark overlay */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: #ffffff !important;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header p {
  color: #ffffffcc;
  font-size: 1.1rem;
}
.text-gallery-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .text-gallery-layout {
    grid-template-columns: 1fr 1fr; /* was 1fr 450px — equal columns */
    align-items: start;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* always 2 columns */
  gap: 15px;
}
.text-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
  text-align: left; /* remove justify */
  max-width: 100%;
  padding: 0;
}
/* Force main content to stack vertically */
.main-content .container {
  display: block !important;
}

/* Each section takes full width and clears everything */
.content-section {
  display: block;
  width: 100%;
  margin-bottom: 60px;
  clear: both;
}

/* Timeline must break completely below the gallery section */
.timeline-section {
  display: block;
  width: 100%;
  padding: 60px 0;
  background: #f7fafc;
}
/* ===== TEXT + GALLERY LAYOUT ===== */
.text-gallery-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center; /* vertically center text with gallery */
  margin-top: 40px;
}

@media (max-width: 768px) {
  .text-gallery-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ===== TEXT COLUMN ===== */
.text-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4a5568;
  text-align: left;
  padding: 0;
  max-width: 100%;
}

.text-content p {
  margin-bottom: 1.4rem;
}

/* ===== GALLERY GRID — fixed equal heights ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  height: 200px;        /* fixed height so all 4 are equal */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* crops to fill without stretching */
  display: block;
  border-radius: 0;     /* radius handled by parent */
}
.header-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px; /* gives it more vertical breathing room */
}

.page-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
