/* Hero Section - Adapted from Eventify Template */

.hero1-section-area {
  position: relative;
  z-index: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 280px 0 180px; /* Increased top padding to avoid header overlap, increased bottom padding */
  overflow: hidden;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero1-section-area {
    padding: 180px 0 80px; /* Adjusted for tablet */
  }
}

@media (max-width: 767px) {
  .hero1-section-area {
    padding: 180px 0 80px; /* Adjusted for mobile */
  }
}

.hero1-section-area .header-bg1 {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0px; /* Turunkan gambar 50px, sesuaikan angkanya */
  z-index: -2;
  height: 100%;
  object-fit: cover;
}

.hero1-section-area .hero1-header {
  padding: 0;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero1-section-area .hero1-header {
    background: rgba(255, 255, 255, 0.92);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 767px) {
  .hero1-section-area .hero1-header {
    background: rgba(255, 255, 255, 0.92);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}

.hero1-section-area .hero1-header h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
}

.hero1-section-area .hero1-header h5 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.hero1-section-area .hero1-header p {
  font-size: 16px;
  line-height: 1.6;
}

/* Spacing utilities */
.space8 { height: 8px; }
.space12 { height: 12px; }
.space14 { height: 14px; }
.space16 { height: 16px; }
.space32 { height: 32px; }

/* Button Area */
.hero1-section-area .btn-area1 .vl-btn1 {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.4s;
  background: #00277F;
  color: #ffffff;
  text-decoration: none;
  border: none;
}

.hero1-section-area .btn-area1 .vl-btn1:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 39, 127, 0.3);
  color: #c1ac82;
}

/* Header Images */
.hero1-section-area .header-images {
  position: relative;
  z-index: 1;
}

.hero1-section-area .header-images .img1 {
  position: absolute;
  top: -100px;
  height: 700px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero1-section-area .header-images .img1 {
    position: relative;
    top: 0;
    margin-top: 50px;
    height: 800px;
  }
}

@media (max-width: 767px) {
  .hero1-section-area .header-images .img1 {
    position: relative;
    top: 0;
    margin-top: 50px;
    height: 400px;
  }
}

.hero1-section-area .header-images .img1 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.hero1-section-area .header-images .images-content-area {
  background: white;
  border-radius: 8px;
  padding: 24px;
  position: absolute;
  top: 265px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero1-section-area .header-images .images-content-area {
    top: 580px;
  }
}

@media (max-width: 767px) {
  .hero1-section-area .header-images .images-content-area {
    position: relative;
    top: 0;
    margin-top: 20px;
  }
}

.hero1-section-area .header-images .images-content-area h3 {
  color: #1a1719;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 0;
}

.hero1-section-area .header-images .images-content-area a {
  color: #1a1719;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}

.hero1-section-area .header-images .images-content-area p {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 23, 25, 0.1);
  margin-bottom: 0;
}

/* Timer/Countdown - Single White Box */
.hero1-section-area .timer {
  position: absolute;
  width: 140px;
  right: 55px;
  top: 55%;
  transform: translateY(-50%);
  background: white;
  border-radius: 10px;
  padding: 15px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero1-section-area .timer {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 500px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    right: 0;
  }
  
  .hero1-section-area .timer .time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 1;
    padding: 10px 8px;
    margin: 0;
  }
  
  .hero1-section-area .timer .time-value {
    font-size: 24px !important;
    margin-bottom: 4px !important;
  }
  
  .hero1-section-area .timer .time-box span:last-child {
    font-size: 10px !important;
  }
}

@media (max-width: 767px) {
  .hero1-section-area .timer {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 350px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px;
    right: 0;
  }
  
  .hero1-section-area .timer .time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 1;
    padding: 8px 5px;
    margin: 0;
  }
  
  .hero1-section-area .timer .time-value {
    font-size: 20px !important;
    margin-bottom: 2px !important;
  }
  
  .hero1-section-area .timer .time-box span:last-child {
    font-size: 9px !important;
  }
}

.hero1-section-area .timer .time-box {
  display: block;
  text-align: center;
  border: none;
  background: transparent;
  width: 100%;
  padding: 8px 0;
  font-weight: bold;
  margin-bottom: 6px;
}

.hero1-section-area .timer .time-box:last-child {
  margin-bottom: 0;
}

.hero1-section-area .timer .time-value {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 3px;
}

.hero1-section-area .timer .time-box span:last-child {
  text-align: center;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  display: block;
}

/* Days - Gold color */
.hero1-section-area .timer .time-box-days .time-value {
  color: #c1ac82 !important;
}

.hero1-section-area .timer .time-box-days span:last-child {
  color: #254460 !important;
}

/* Hours - Blue color */
.hero1-section-area .timer .time-box-hours .time-value {
  color: #1e3956 !important;
}

.hero1-section-area .timer .time-box-hours span:last-child {
  color: #254460 !important;
}

/* Minutes - Dark blue */
.hero1-section-area .timer .time-box-minutes .time-value {
  color: #254460 !important;
}

.hero1-section-area .timer .time-box-minutes span:last-child {
  color: #254460 !important;
}

/* Seconds - Dark blue */
.hero1-section-area .timer .time-box-seconds .time-value {
  color: #254460 !important;
}

.hero1-section-area .timer .time-box-seconds span:last-child {
  color: #254460 !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero1-section-area .hero1-header h1 {
    font-size: 32px;
  }
  
  .hero1-section-area .hero1-header h5 {
    font-size: 16px;
  }
  
  .hero1-section-area .hero1-header p {
    font-size: 14px;
  }
}

/* Utility Classes */
.normal-case {
  text-transform: none !important;
}

/* Pink color for KV SOS design */
.pink {
  color: #c1ac82 !important;
}

/* Responsive text adjustments */
@media (max-width: 767px) {
  .hero1-section-area .hero1-header h1 {
    font-size: 32px;
  }
  
  .hero1-section-area .hero1-header h5 {
    font-size: 16px;
  }
  
  .hero1-section-area .hero1-header p {
    font-size: 14px;
  }
}
