/* about.css */
@import url('base.css');

/* Hero Section */
.about--hero {
  height: 60vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('/images/abt---banner.jpg') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.about--hero h1 {
  font-size: 3.5rem;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

/* Intro Section */
.about__intro {
  padding: 4rem 2rem;
  background-color: var(--primary);
  color: white;
}

.about__intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
}

/* History Section */
.history--board {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.history--board h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

.history__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.history--col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.history--col p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.history--img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Dream Section */
.dream {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
}

.dream--sub {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.dream--txt {
  padding: 2rem;
}

.dream--txt h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.dream--txt p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.dream--img {
  height: 400px;
  background: url('/images/dream.jpg') center/cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Vision Section */
.vision--board {
  padding: 4rem 2rem;
  background-color: var(--primary);
  color: white;
}

.sub--vision {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.vis--col {
  text-align: center;
  padding: 2rem;
}

.vis--col img {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.vis--col h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.vis--col p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Gallery Section */
.gallery {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

#gal-h {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary);
}

.images--sec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gal--img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gal--img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Map Section */
.location {
  padding: 0 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.locate {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .about--hero h1 {
    font-size: 2.8rem;
  }
  
  .history__sub, .dream--sub, .sub--vision {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about--hero {
    min-height: 300px;
  }
  
  .about--hero h1 {
    font-size: 2.2rem;
  }
  
  .history__sub, .dream--sub, .sub--vision {
    grid-template-columns: 1fr;
  }
  
  .dream--img {
    height: 300px;
    order: -1;
  }
  
  .vis--col {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about--hero h1 {
    font-size: 1.8rem;
  }
  
  .about__intro p {
    font-size: 1rem;
  }
  
  .history--board h1, #gal-h {
    font-size: 2rem;
  }
  
  .images--sec {
    grid-template-columns: 1fr;
  }
}