/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f6f6f6;
  color: #333;
}


/* =========================
   HEADER
========================= */
.header-top {
  background: #8B0000;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 80px;
  position: relative;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  height: 100px;
  width: auto;
  transform: translateY(10px);
}

.header-title {
  font-family: 'Inria Serif', serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.header-right {
  position: absolute;
  top: 15px;
  right: 40px;
  font-size: 14px;
  text-align: right;
}


/* =========================
   NAVIGATION
========================= */
nav {
  background: linear-gradient(90deg, #5c0000, #8B0000, #5c0000);
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 90px;
  flex-wrap: wrap;
}
nav ul li a {
    text-decoration: none; 
    color: white;          
}
nav ul li {
  color: white;
  cursor: pointer;
  position: relative;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  transition: 0.3s ease;
  
}

nav ul li:hover {
  color: #ffe5e5;
}

nav ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: 0.3s;
}

nav ul li:hover::after {
  width: 100%;
}

.dropdown-content {
    background-color: #ffffff;    
    min-width: 250px;            
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2); 
    border-radius: 8px;        
}


.dropdown-content a {
    color: #333333 !important;   
    padding: 12px 16px;
    text-decoration: none;        
    display: block;
    text-align: left;            
    font-size: 14px;             
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;    
    color: #990000 !important;   
}

.dropdown-content {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 260px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.dropdown-content div {
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;          
  color: #111111;           
  letter-spacing: 0.3px;     
  transition: all 0.25s ease;
  cursor: pointer;
  border-left: 4px solid transparent;
}

.dropdown-content div:hover {
  background: #f3f3f3;
  border-left: 4px solid #8B0000;
  color: #000000;            
  padding-left: 28px;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   Welcome Section
========================= */
.Welcome {
    background-image: url('image/welcome.jpg');
    background-size: cover;          
    background-position: center;     
    background-repeat: no-repeat;
    width: 100%;
    min-height: 50vh;                
    padding: 100px 20px;             
    display: flex;
    justify-content: center;
    align-items: center;
}
.welcome-button {
  padding: 12px 24px;
  margin-top: 500px;
  font-size: 16px;
  cursor: pointer;
  background-color: rgb(255, 255, 255); 
  color: rgb(104, 26, 26);
  border: none;
  border-radius: 8px; 
  transition: background-color 0.3s ease, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  font-weight: bold;
}
.my-button:hover {
    background-color: #0056b3; 
    transform: translateY(-2px); 
}

.my-button:active {
  transform: translateY(0);
}
/* =========================
   New Section
========================= */
.news-header {
    background-color: #800000; 
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

.news-grid {
    display: flex;            
    flex-wrap: wrap;         
    justify-content: center; 
    gap: 0;                  
}

.news-grid a {
    width: 33.33%;           
    display: block;
}

.news-grid img {
    width: 100%;             
    height: 300px;           
    object-fit: cover;       
    transition: transform 0.3s; 
}

.news-grid img:hover {
    transform: scale(1.02);  
    filter: brightness(90%); 
    cursor: pointer;
}


/* =========================
   Activity Section
========================= */
.activities-section {
    position: relative;
    width: 100%;
    min-height: 100vh;     
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;      
}


.activities-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/back.jpg'); 
    background-size: cover;
    background-position: center;
    opacity: 0.35;          
    z-index: 1;             
}


.activities-section > * {
    position: relative;
    z-index: 2;           
}


.activities-title {
    text-align: center;
    font-size: 36px;
    color: #4d1a1a;         
    margin-bottom: 50px;
    font-weight: 800;      
    text-transform: uppercase;
    letter-spacing: 2px;
}


.activities-grid {
    display: flex;
    justify-content: center;
    gap: 30px;            
    padding: 0 20px;
    flex-wrap: wrap;        
}


.activity-card {
    width: 320px;
    background: white;      
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;    
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); 
    transition: transform 0.3s ease;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-10px); 
}

.image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover img {
    transform: scale(1.1);   
}


.activity-btn {
    width: 100%;
    background-color: #4d1a1a;
    color: white !important;
    text-decoration: none;   
    text-align: center;
    padding: 18px 0;
    font-weight: 700;        
    font-size: 16px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.activity-btn:hover {
    background-color: #800000; 
    text-decoration: none;
}
/* =========================
   More Section
========================= */
.activities-details-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
}

.detail-box {
    display: flex;
    background: white;
    width: 90%;
    max-width: 1100px;
    padding: 40px;
    border-radius: 25px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px; 
    align-items: flex-start;
    gap: 40px; 
}

.detail-box img {
    width: 450px; 
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.detail-text {
    flex: 1;
    text-align: left;
    border-left: 3px solid #4d1a1a; 
    padding-left: 30px;
}

.detail-text h3 {
    color: #4d1a1a;
    font-size: 24px;
    font-weight: 700; 
    margin-bottom: 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.detail-text h3::before {
    content: "●";
    margin-right: 10px;
    font-size: 18px;
}
.detail-text p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 25px;
}

/* =========================
   End Section
========================= */
.footer {
  width: 100%;
  height: 400px;
  background-image: url('image/back2.png');
  background-size: cover;   
  background-position: center; 
  background-repeat: no-repeat;
}

/* =========================
   RESPONSIVE - TABLET
========================= */
@media (max-width: 1024px) {

  .header-top {
    padding: 30px 40px;
  }

  nav ul {
    gap: 40px;
  }

  .hero {
    height: 280px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .container {
    width: 90%;
  }

  /* Detail section */
  .detail-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
  }

  .detail-box img {
    width: 100%;
    max-width: 500px;
  }

  .detail-text {
    border-left: none;
    border-top: 3px solid #4d1a1a;
    padding-left: 0;
    padding-top: 20px;
    text-align: center;
  }

}


/* =========================
   RESPONSIVE - MOBILE
========================= */
@media (max-width: 768px) {

  .header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    gap: 15px;
  }

  .header-left {
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    height: 80px;
    transform: none;
  }

  .header-title h1 {
    font-size: 18px;
  }

  .header-right {
    position: static;
    margin-top: 10px;
    text-align: center;
  }

  nav {
    padding: 15px 0;
  }

  nav ul {
    flex-direction: column;
    gap: 18px;
  }

  nav ul li {
    font-size: 16px;
  }

  .hero {
    height: 220px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .container {
    width: 92%;
    margin: 40px auto;
  }

  .content-box {
    padding: 25px;
  }

  .footer-logo {
    width: 150px;
  }

  /* Detail section */
  .detail-box {
    width: 95%;
    padding: 25px;
    gap: 25px;
  }

  .detail-text h3 {
    font-size: 20px;
  }

  .detail-text p {
    font-size: 15px;
    line-height: 1.7;
  }

}


/* =========================
   RESPONSIVE - SMALL MOBILE
========================= */
@media (max-width: 480px) {

  .hero h2 {
    font-size: 22px;
  }

  .section-title {
    font-size: 18px;
    padding: 10px 18px;
  }

  .content-box {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Detail section */
  .detail-box {
    padding: 20px;
    border-radius: 18px;
  }

  .detail-text h3 {
    font-size: 18px;
  }

  .detail-text p {
    font-size: 14px;
  }

}

