:root {
  --primary: #000000;
  --bg: #ffffff;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
body {
  height: 100%;
  width: 100%;
  font-family: "natya" ;
  src: url('font/natya.tff') format('truetype');
  background-color: var(--bg);
  color: #03001c;
  min-height: 1000px;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 8%;
  background-color: #f9f8f8 ;
  border-bottom: 0.25rem solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo img {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  gap: 0.2rem;
  height: 6rem;
}

.navbar .navbar-logo {
  font-family: "natya" ;
  src: url('font/natya.tff') format('truetype');
  display: flex;
  align-items: center;
  gap: 0.2rem ;
  font-size: 1.9rem;
  font-weight: 500;
  color: #03001c;
  font-style: bold;
}

.navbar .navbar-logo span {
  color:red ;
}

.navbar .navbar-nav a {
  font-family: "natya" ;
  src: url('font/natya.tff') format('truetype');
  color: #03001c;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 1rem;
  font-family: "natya" ;
  src: url('font/natya.tff') format('truetype');
  text-align: center;
  
}

.navbar .navbar-nav a:hover {
  color: red;
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-block: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: red;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

.navbar .navbar-extra a {
  color: #03001c;
  margin: 0 0.5rem;
  font-size: 1.9rem;
}

#hamburger-menu {
  display: none;
}

/* Hero Section */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/header-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(0deg, grey 8%, rgba(225, 225, 225, 0) 50%);
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 1px 1px 3px grey 0.5;
  line-height: 1.2;
}

.hero .content h1 span {
  color: red;
}

.hero .content p {
  font-size: 1.6rem;
  color: #ffffff;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 300;
}



/* Semua Isian Navbar */
.tentang-kami {
  margin-top: 3rem;
}
.cv-card{
  margin: 0;
  line-height: 1.6;
  padding: 2rem;
  display: flex;
  justify-content: center;
}


/* Tentang kami */
.tentang-kami,
.program-komunitas,
.cv-card,
.gatra,
.kriya-sastra,
.publikasi,
.literary-work {
  padding: 8rem 8% 1.4rem;
  
 
}
.kriya-sastra h2 {
   text-align: center;
  font-size: 2.6rem;
   
}

.tentang-kami h2,
.program-komunitas h2,
.gatra h2,
.publikasi h2,
.literary-work h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.ᬧ᭄ᬭᭀᬕ᭄ᬭᬫ᭄‌ᬓᭀᬫᬸᬦᬶᬢᬲ᭄ article p {
    line-height: 2rem;
}


 

/* Tombol */
    .tentang-kami .container-btn {
      height: 10vh;
      display: flex;
      justify-content: center; /* horizontal center */
      align-items: center; 
    }
    .tentang-kami .container-btn .btn-link {
      padding: 12px 24px;
      background-color: #2563eb;
      color: white;
      border: none;
      border-radius: 0.5rem;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: background-color 0.3s ease;
      user-select: none;
      text-align: center;
    }
    .tentang-kami .container-btn .btn-link:hover {
      background-color: #1e40af;
    }
    .tentang-kami .container-btn .btn-link:active {
      background-color: #1e3a8a;
      transform: translateY(2px);
    }

.tentang-kami h2 {
  margin-bottom: 1rem;
}
.tentang-kami p {
  text-align: justify;
  margin: auto;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  
}
.tentang-kami h3 {
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/*Visi Misi*/
.container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: nowrap; /* buat tidak membungkus supaya berdampingan */
    justify-content: center;
  }
  .box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.05);
    padding: 2rem 1.8rem;
    flex: 1 1 45%;
    min-width: 300px;
    flex: 1 1 45%;
    min-width: 300px;
  }
  .box h2 {
    font-size: 1.8rem;
    color: red;
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 3px solid red;
    padding-bottom: 0.3rem;
  }
  .box ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #34495e;
  }
  .box ul li {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
  }
  .box ul li span {
    font-weight: bold;
  }
  /* Responsive supaya tetap rapi pada layar kecil */
  @media (max-width: 640px) {
    .container {
      flex-wrap: wrap;
    }
   .box {
      flex-basis: 100%;
      min-width: auto;
    }
  }
/*Struktur Pengurus*/

  .scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1.25rem;
    padding-bottom: 5rem;
    scroll-behavior: smooth;
  }
  .scroll-container::-webkit-scrollbar {
    height: 10px;
  }
  .scroll-container::-webkit-scrollbar-track {
    background: #e1e5ea;
    border-radius: 5px;
  }
  .scroll-container::-webkit-scrollbar-thumb {
    background: #535f68;
    border-radius: 5px;
  }
  
  
  .name-card {
    min-width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(41, 128, 185, 0.15);
    padding: 1.8rem 2rem;
    flex-shrink: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: transform 0.3s ease;
  }
  .name-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(41, 128, 185, 0.35);
  }
  .profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgb(255, 0, 0);
    flex-shrink: 0;
  }
  .card-info {
    flex-grow: 1;
  }
  .card-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: #000000;
  }
  .card-title {
    font-size: 1.3rem;
    color: #000000;
    margin: 0.4rem 0 1rem 0;
  }
  .card-contact {
    font-size: 1rem;
    color: #34495e;
  }
  .card-contact span {
    display: block;
    margin-bottom: 0.3rem;
  }
  @media (max-width: 50rem) {
    .name-card {
      min-width: 25rem;
      padding: 1.2rem 1.5rem;
      gap: 1rem;
    }
    .profile-image {
      width: 10rem;
      height: 10rem;
    }
  }

/* CV */
  
  .cv-container {
    
      background-color: white;
      max-width: 800px;
      width: 100%;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      padding: 2.5rem 3rem;
      
    }
    header {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }
    .profile-pic {
      flex-shrink: 0;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #2980b9;
      box-shadow: 0 4px 12px rgba(41, 128, 185, 0.4);
    }
    .header-info {
      flex-grow: 1;
    }
    .header-info h1 {
      margin: 0;
      font-size: 2.4rem;
      font-weight: 700;
      color: #2c3e50;
    }
    .header-info p {
      margin: 0.3rem 0 0 0;
      font-size: 1.5rem;
      font-weight: 600;
      color: #7f8c8d;
    }
    section {
      margin-bottom: 2rem;
    }
    section h4 {
      font-size: 2rem;
      font-weight: 700;
      color: #2980b9;
      border-bottom: 3px solid #2980b9;
      padding-bottom: 0.3rem;
      margin-bottom: 1rem;
    }
    .section-content p {
      font-size: 1.8rem;
    }
    .section-content ul {
      list-style-type: disc;
      padding-left: 1.2rem;
      margin: 0;
      color: #34495e;
    }
    .section-content ul li {
      margin-bottom: 0.8rem;
      font-size: 1.8rem;
    }
    
    .skills-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .skill {
      background-color: #2980b9;
      color: white;
      padding: 6px 14px;
      border-radius: 20px;
      font-weight: 600;
      font-size: 0.95rem;
    }
    /* Responsive */
    @media (max-width: 600px) {
      .cv-container {
        padding: 2rem;
      }
      header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }
      .header-info h1 {
        font-size: 2rem;
        text-align: center;
      }
      .header-info p {
        text-align: center;
      }
      .profile-pic {
        width: 100px;
        height: 100px;
      }
    }

/* Kegiatan */
  .program-komunitas{
    margin-top: 3rem;
    margin-bottom: 3rem;
    
  }
 .kegiatan-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  .card .card-description {
    text-align: justify;
    margin: auto;
  }
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(41, 128, 185, 0.25);
  }
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
  }
  .card-content {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .card-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
  }
  .card-description {
    font-size: 1.65rem;
    color: #555;
    line-height: 1.4;
    flex-grow: 1;
  }
  @media (max-width: 480px) {
    .card img {
      height: 140px;
    }
  }

/* Tombol Program */
    .program-komunitas .container-btn {
      height: 10vh;
      display: flex;
      justify-content: center; /* horizontal center */
      align-items: center;   
    }
    .program-komunitas .container-btn .btn-link {
      display: inline-block;
      padding: 12px 24px;
      background-color: #2563eb;
      color: white;
      border: none;
      border-radius: 0.5rem;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: background-color 0.3s ease;
      user-select: none;
      text-align: center;

    }
    .program-komunitas .container-btn  .btn-link:hover {
      background-color: #1e40af;
    }
    .program-komunitas .container-btn  .btn-link:active {
      background-color: #1e3a8a;
      transform: translateY(2px);
    }

/*Gatra Section*/

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(17rem,1fr));
    gap: 24px;
  }
  .card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease;
  }
  .card:hover,
  .card:focus-within {
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  }
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
  }
  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(79, 83, 92, 0.8);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
  }
  .card:hover .overlay,
  .card:focus-within .overlay {
    opacity: 1;
  }
  .overlay h2 {
    text-align: left;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 500;
  }
  .overlay p {
    font-size: 1.5rem;
    line-height: 1.4;
  }
 

/* Kriya Sastra */
.catalog {
    margin: 0;
    font-family: "natya" ;
    src: url('font/natya.tff') format('truetype');
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 24px;
}
.catalog .image-container {
    position: relative;
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
  }
  .catalog .image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* gambar akan dimuat penuh dalam container tanpa crop */
    object-position: center center; /* posisikan gambar di tengah */
  }
   .catalog .overlay-text {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    user-select: none;
  }

/* Tombol Kriya Sasta */
    .kriya-sastra .container-btn {
      height: 10vh;
      display: flex;
      justify-content: center; /* horizontal center */
      align-items: center;   
    }
    .kriya-sastra .container-btn .btn-link {
      display: inline-block;
      padding: 12px 24px;
      background-color: #2563eb;
      color: white;
      border: none;
      border-radius: 0.5rem;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: background-color 0.3s ease;
      user-select: none;
      text-align: center;

    }
    .kriya-sastra .container-btn  .btn-link:hover {
      background-color: #1e40af;
    }
    .kriya-sastra .container-btn  .btn-link:active {
      background-color: #1e3a8a;
      transform: translateY(2px);
    }


/* Container utama untuk form */
.form-container {
    max-width: 800px; /* Lebar maksimal untuk desktop */
    margin: 0 auto;
    margin-top: 1rem;
    padding-top: 3rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Styling iframe form */
.form-container iframe {
    width: 100%; /* Lebar penuh untuk responsivitas */
    height: 800px; /* Tinggi default untuk desktop */
    border: none;
    display: block;
}


/* Media Queries */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}
/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 60%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #ffffff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #03001c;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.1);
  }

  
}

/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}

/* Footers */
 /* Footer styling full width */
  footer {
    background-color: #000000;
    color: #ffffff;
    padding: 2rem 2rem;
    width: 100vw; /* full viewport width */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
  }
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  .footer-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
    color: #ffffff;
    border-bottom: 2px solid #555555;
    padding-bottom: 0.5rem;
  }

  .footer-section p {
    font-size: 1.3rem;
  }
  .footer-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 1.3rem;
  }
  .footer-section li {
    margin-bottom: 0.7rem;
  }
  .footer-section a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-section a:hover,
  .footer-section a:focus {
    color: #ffffff;
    outline: none;
  }
  .social-icons {
    display: flex;
    gap: 1rem;
    padding: 0;
    list-style: none;
  }
  .social-icons li {
    display: inline-flex;
  }
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #bbbbbb;
    background-color: transparent;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
  }
  .social-icons a:hover,
  .social-icons a:focus {
    color: #000000;
    background-color: #ffffff;
    outline: none;
  }
  .social-icons svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777777;
  }
  /* Responsive for mobile */
  @media (max-width: 600px) {
    footer {
      padding: 1.5rem 1rem;
    }
   .footer-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .footer-bottom {
      font-size: 0.85rem;
    }
  } 