/*-----------------------------------*\
  #ENERGY.CSS - AMNU Energy Page Styles
\*-----------------------------------*/

/**
 * Energy-specific styling for AMNU Energy page
 */

/*-----------------------------------*\
  #ENERGY HERO SECTION
\*-----------------------------------*/

.energy-hero {
  background: linear-gradient(135deg, #192334 0%, #e51f30 100%);
  color: white;
  text-align: center;
  padding: 120px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.energy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/photovoltaic-system-2742302_1280.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.energy-hero h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.energy-hero .subtitle {
  font-size: 1.4rem;
  opacity: 0.9;
  font-weight: 500;
}

/*-----------------------------------*\
  #ENERGY CONTENT SECTION
\*-----------------------------------*/

.energy-content {
  padding: 80px 0;
  background-color: #f8fafc;
  overflow-x: hidden;
}

.energy-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(25, 35, 52, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.energy-content h3 {
  color: #192334;
  font-size: 2rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  border-bottom: 3px solid #e51f30;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.energy-content h3:first-of-type {
  margin-top: 0;
}

.energy-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.energy-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.energy-content ol > li {
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #192334;
}

.energy-content ol > li > ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.energy-content ol > li > ul > li {
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: #4a5568;
  list-style-type: disc;
}

.energy-value-list {
  background: #f7fafc;
  border-left: 4px solid #e51f30;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.energy-value-list li {
  margin-bottom: 0.75rem;
  color: #2d3748;
  position: relative;
  padding-left: 1.5rem;
}

.energy-value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e51f30;
  font-weight: bold;
}

.energy-content blockquote {
  background: #192334;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-style: italic;
  position: relative;
}

.energy-content blockquote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -10px;
  left: 20px;
  color: #e51f30;
  opacity: 0.7;
}

.energy-content blockquote span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: #e51f30;
}

/*-----------------------------------*\
  #PHOTO GALLERY
\*-----------------------------------*/
.photo-gallery {
  padding: 80px 0;
  background-color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(25, 35, 52, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 300px;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(25, 35, 52, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery item caption */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(25, 35, 52, 0.85);
  color: white;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  transition: background-color 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  background: #192334;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/*-----------------------------------*\
  #RESPONSIVE DESIGN
\*-----------------------------------*/

@media (max-width: 768px) {
  .energy-hero {
    padding: 100px 0 60px 0;
  }

  .energy-hero h2 {
    font-size: 2.5rem;
  }

  .energy-hero .subtitle {
    font-size: 1.2rem;
  }

  .energy-container {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .energy-content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .energy-hero {
    padding: 80px 0 40px 0;
  }

  .energy-hero h2 {
    font-size: 2rem;
  }

  .energy-container {
    padding: 20px 15px;
    margin: 0 10px;
  }

  .energy-content h3 {
    font-size: 1.4rem;
  }

  .energy-content {
    padding: 40px 0;
  }
}
