/* ============================================
   BIẾN TÙY CHỈNH (GIỐNG NHƯ .ENV)
   ============================================ */
:root {
  --primary-font: 'Poppins', sans-serif;
  --background-color: #000000;
  --text-color: #FFFFFF;
  --accent-color: #fedf4b; /* Màu vàng gốc là #fedf4b */
  --button-hover-bg: #FFFFFF;
  --button-hover-text: #000000;
  --section-padding: 8rem 0;
  scroll-behavior: smooth;
}

/* ============================================
   RESET & STYLES TOÀN CỤC
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: var(--primary-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  text-transform: uppercase;
}

/* Hiệu ứng text-stroke giống trang gốc */

.text-item {
    /* color: #fedf4b; */
    color: #5ef577; /* Màu vàng tương ứng với --accent-color */
    font-size: 1.5rem; /* Kích thước chữ lớn hơn để dễ đọc */
    line-height: 1.6; /* Khoảng cách dòng */
    margin-bottom: 0.5rem; /* Khoảng cách giữa các dòng */
    display: flex;
    align-items: flex-start; /* Căn chỉnh bullet với text */
    font-weight: bold;
    font-family: "Roboto Condensed", sans-serif;
}

.bullet {
    margin-right: 0.5rem; /* Khoảng cách giữa bullet và text */
    font-size: 1.1rem; /* Kích thước bullet hơi nhỏ hơn text */
    color: #fedf4b; /* Đảm bảo bullet cùng màu với text */
    font-weight: bold;
}

.padding-global {
    padding-left: 2rem;
    padding-right: 2rem;
}
.padding-vertical.padding-huge {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.container-large {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ============================================
   INFO SECTION
   ============================================ */
.info-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}
.info_content-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}
.info_text-layout {
    flex: 1;
    min-width: 300px;
}
.info_images-layout {
  position: relative;
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.info_image.main-image {
  width: 100%;
  max-width: 500px;
  border: 2px solid var(--accent-color);
}
.info_image.overlay-image {
  position: absolute;
  bottom: 10%;
  left: -15%;
  width: 40%;
  border: 2px solid var(--accent-color);
  z-index: 2;
}
.info_image {
    width: 48%;
    height: auto;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    transition: transform 0.3s ease;
}
.info_image.position-absolute {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 30%;
    z-index: 1;
}
.info_image.spinning-text {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: auto;
  animation: spinOnScroll linear infinite;
  z-index: 1;
  border: none; 
}


.black-stroke-black {
    /* color: #fedf4b !important; */
    color: #fedf4b !important;
    /* -webkit-text-stroke: 5px #fedf4b;  */
    -webkit-text-fill-color: #000000; /* Đảm bảo màu chữ vàng */
    font-size: 2rem;
    /* font-weight: bold; */
    font-family: "Pacifico", cursive;
}

.text-stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-color);
}
.text-white-bold-underline {
    color: #FFFFFF !important;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.2rem;
    font-family: "Roboto Condensed", sans-serif;
}
.text-red-red {
    color: #f55e5e !important;
}
.text-red-bold {
    color: #f55e5e !important;
    font-weight: bold;
}
.text-green-bold {
    color: #5ef577 !important;
    font-weight: bold;
}
.text-yellow {
  /* color: #f1da66 !important; */
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--background-color);
  /* padding: 0.2rem 0.8rem; */
}
.text-red-italic {
    color: #f55e5e !important;
    font-style: italic;
}
.text-green-italic {
    color: #5ef577 !important;
    font-style: italic;
}
.text-allcaps {
    text-transform: uppercase;
    /* font-size: 0.9rem; */
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.max-width-large {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--accent-color);
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.nav-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}
.nav-links-left, .nav-links-right {
    display: flex;
    gap: 1.5rem;
}
.nav-link {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--accent-color);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px; /* Để không bị navbar che */
}


.hero-section .background-image {
  position: absolute;
  top: 13%;
  left: 35%;
  width: 30%;
  height: 30%;
  min-height: 100vh;
  background: url('../images/bg5.jpeg') no-repeat center center/cover;
  opacity: 0.6;
}

.hero-content {
  transform: translateY(-100px); /* Dịch lên 1cm (10px) */
}

.hero-content h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: "Roboto Condensed", sans-serif;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-family: "Roboto Condensed", sans-serif;
}
.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-color); /* Màu vàng làm nền */
  color: var(--background-color); /* Màu đen cho chữ */
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 1;
}

.button:hover {
  background-color: #d4c03f; /* Màu vàng nhạt khi hover */
}


/* ============================================
   ABOUT & INFO SECTIONS
   ============================================ */
.about-section {
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
}

.about-section p:last-child {
    font-style: italic;
    font-family: "Birthstone", cursive;
    font-size: 2rem; 
    text-align: right;
    letter-spacing: 0.5; 
    margin-right: 200px;
    color: #1dbd37 
}

.about-heading h2 {
    font-size: 3.5rem;
    line-height: 1.1;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.info-images {
    display: flex;
    gap: 1rem;
}
.info-images img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

/* ============================================
   EVENTS (HORIZONTAL SCROLL)
   ============================================ */
.events-section {
    background-color: #111;
}
.events-header h4 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}
.highlight-yellow {
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 0.2rem 0.8rem;
    display: inline-block;
    /* margin: 0.1rem 0; */
    font-size: 3rem;
    font-family: "Roboto Condensed", sans-serif;
}
.events-carousel-wrapper {
    padding-bottom: 2rem;
}
.events-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    /* CSS Scroll Snap cho hiệu ứng cuộn mượt */
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Ẩn scrollbar trên Firefox */
}
.events-carousel::-webkit-scrollbar {
    display: none; /* Ẩn scrollbar trên Chrome, Safari */
}

.event-card {
    flex: 0 0 40%; /* Mỗi card chiếm 40% chiều rộng */
    min-width: 350px;
    background-color: #000;
    border: 2px solid var(--accent-color);
    scroll-snap-align: start; /* Căn card vào đầu khi cuộn */
    transition: transform 0.3s ease;
}
.event-card:hover {
    transform: translateY(-10px);
}
.event-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.event-card-content {
    padding: 1.5rem;
}
.event-card-content p {
    font-size: 0.9rem;
    font-weight: 600;
}
.event-card-content h5 {
    font-size: 1.5rem;
    margin: 0.5rem 0 1.5rem;
}
.button-animated {
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    background-color: transparent;
    transition: all 0.3s;
}
.button-animated:hover {
    background-color: var(--accent-color);
    color: #000;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background-color: #111;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-title {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: "Roboto Condensed", sans-serif;
}

.contact-text {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 1rem;
    font-family: "Roboto Condensed", sans-serif;
}

.contact-details {
    font-size: 1.5rem;
    color: #5ef577;
    font-family: "Roboto Condensed", sans-serif;
}

.contact-details a {
    color: #5ef577;
    text-decoration: none;
    transition: color 0.3s;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .nav-links-left, .nav-links-right { display: none; } /* Tạm ẩn cho đơn giản */
    .hero-content h1 { font-size: 3.5rem; }
    .info-grid { grid-template-columns: 1fr; }
    .event-card { flex-basis: 60%; }
}

@media (max-width: 479px) {
    :root { --section-padding: 4rem 0; }
    .hero-content h1 { font-size: 2.5rem; }
    .about-heading h2 { font-size: 2.5rem; }
    .event-card { flex-basis: 90%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinOnScroll {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


@media (max-width: 768px) {
  .hero-section .background-image {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    opacity: 0.3 !important;
    background: url('../images/bg5.jpeg') no-repeat center center / cover !important;
  }

  .hero-content {
    transform: none !important;
    padding: 2rem 1rem !important;
    text-align: center !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .hero-content p {
    font-size: 1rem !important;
  }
}
