/* Custom CSS for Budaya Mahakam Ulu website */

:root {
  --leaf-green: #2e7d32;
  --wood-brown: #795548;
  --river-blue: #1976d2;
  --accent-color: #ff9800;
  --light-bg: #f8f9fa;
  --dark-bg: #343a40;
}

/* Font improvements */
* {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  color: #333;
}

/* Header styling */
header .intro h3 {
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

header .intro p {
  font-size: 18px;
  max-width: 600px;
  margin: 20px auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.tombol {
  background-color: var(--leaf-green);
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.tombol:hover {
  background-color: var(--wood-brown);
}

/* Section styling */
section h3::after {
  border-bottom: 5px solid var(--river-blue);
}

#aboutus .konten-isi {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Support section */
.support div {
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.support h6 {
  color: var(--wood-brown);
  margin-bottom: 15px;
}

/* Quote section */
section.quote {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
}

section.quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

section.quote .layar-dalam {
  position: relative;
  z-index: 1;
}

section.quote .layar-dalam p {
  font-size: 24px;
  line-height: 1.6;
}

/* Team/Culture section */
.tim div {
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tim div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tim h6 {
  color: var(--wood-brown);
  font-size: 20px;
  margin-top: 15px;
}

.tim span {
  color: var(--river-blue);
  font-style: italic;
}

/* Blog/Festival section */
.blog .area {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog .area:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog .area .text article h4 a {
  color: var(--wood-brown);
  font-weight: 600;
}

.blog .area .text article h4 a:hover {
  color: var(--river-blue);
}

/* Gallery section */
section#gallery {
  flex-wrap: wrap;
  padding: 30px 0;
}

section#gallery div {
  flex: 1 0 22%;
  margin: 10px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section#gallery div img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Footer styling */
footer {
  background-color: var(--dark-bg);
}

footer .layar-dalam div a {
  color: #fff;
  text-decoration: none;
}

footer .layar-dalam div a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

/* Responsive adjustments */
@media screen and (max-width: 991.98px) {
  section#gallery div {
    flex: 1 0 45%;
  }
  
  .tim div {
    width: 100%;
    margin-bottom: 30px;
  }

  .tim {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  section#gallery div {
    flex: 1 0 100%;
  }

  header .intro h3 {
    font-size: 36px;
  }
  
  header .intro p {
    font-size: 16px;
  }
  
  section.quote .layar-dalam p {
    font-size: 20px;
  }
}