/* Aturan global untuk mencegah horizontal scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #4F5F54;
  position: relative;
}

.navbar {
  background-color: transparent !important;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    text-align: center;
  }
  
  .text-start {
    text-align: center !important;
  }
  
  .col-md-6 {
    margin-top: 2rem;
  }
}

/* Features Section Styles */
.features-section {
  background: linear-gradient(135deg, #2c3930 0%, #4F5F54 100%);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #C4A484;
}

.feature-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
}

.feature-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-card {
    margin-bottom: 1.5rem;
  }
}

/* Location Section Styles */
.location-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2c3930 0%, #4F5F54 100%);
}

.location-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.location-description {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .location-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .location-description {
    text-align: center;
    font-size: 1rem;
  }
}

/* Facilities Section Styles */
.facilities-section {
  background: linear-gradient(180deg, #2c3930 0%, #4F5F54 100%);
  padding: 4rem 0;
}

.facility-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.facility-card:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
}

.facility-icon {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 1rem;
}

.facility-text {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  flex: 1;
}

@media (max-width: 768px) {
  .facility-card {
    margin-bottom: 1rem;
  }
  
  .facility-text {
    font-size: 0.9rem;
  }
}

/* Strategic Location Section Styles */
.strategic-location-section {
  background: linear-gradient(180deg, #4F5F54 0%, #2c3930 100%);
}

.location-advantage-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
  height: 100%;
}

.location-advantage-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.location-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.location-img-vertical {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 10px;
}

.location-img-horizontal {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.location-img-large {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.location-advantage-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
  text-align: center;
}

.location-advantage-card.large {
  padding: 2rem;
}

.vertical-card {
  height: calc(100% + 310px);
  margin-bottom: -310px;
}

.horizontal-card {
  height: 100%;
}

@media (max-width: 768px) {
  .location-advantage-card {
    margin-bottom: 1rem;
  }
  
  .vertical-card {
    height: auto;
    margin-bottom: 1rem;
  }
  
  .location-img, .location-img-large {
    height: 180px;
  }
  
  .location-advantage-card h4 {
    font-size: 1rem;
  }
  
  .location-img-vertical {
    height: 400px;
  }
}

/* Why Choose Section Styles */
.why-choose-section {
  background: linear-gradient(180deg, #2c3930 0%, #4F5F54 100%);
}

.why-choose-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: #a27b5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle i {
  font-size: 1.5rem;
  color: white;
}

.why-choose-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-choose-section h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .why-choose-item {
    flex-direction: column;
    text-align: center;
  }
  
  .why-choose-item p {
    font-size: 1rem;
  }
}

/* Styling untuk tombol hubungi kami floating */
#floatingContactBtn {
    width: 300px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    text-decoration: none;
    margin-left: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #floatingContactBtn {
        max-width: 160px;
        font-size: 14px;
        right: 15px;
        left: auto;
        bottom: 20px;
        margin-left: auto;
    }
}

#floatingContactBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: floatIn 0.5s ease-out;
    box-shadow: 0 0 20px rgba(8, 146, 49, 0.6), 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animasi pulse untuk menarik perhatian */
@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(8, 146, 49, 0.6), 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(8, 146, 49, 0.8), 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(8, 146, 49, 0.6), 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Animasi bounce halus */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.02);
    }
    60% {
        transform: translateY(-4px) scale(1.01);
    }
}

/* Tambahkan hover effect */
#floatingContactBtn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 35px rgba(8, 146, 49, 0.9), 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: none; /* Stop animasi saat hover */
}

/* Animasi shake untuk menarik perhatian ekstra */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* Tambahkan class untuk animasi shake yang bisa dipicu */
#floatingContactBtn.attention {
    animation: shake 0.5s ease-in-out, pulse 2s infinite, bounce 3s infinite;
}

@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .col-md-6, .col-md-4 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .carousel-inner {
    width: 100%;
  }

  .carousel-item img {
    width: 100%;
    height: auto;
  }

  .location-advantage-card {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Navbar Contact Button Styles */
.nav-contact-btn {
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .nav-contact-btn {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .navbar-collapse {
    padding: 20px 0;
  }

  .d-flex {
    width: 100%;
  }
}

/* Modal Styles for Mobile */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }

  .feature-card img {
    border-radius: 1rem;
    margin-bottom: 1rem;
  }

  .card-header {
    border-radius: 0.5rem 0.5rem 0 0 !important;
  }

  .modal .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}

/* Bonus Section Styles */
.bonus-section {
  background: linear-gradient(180deg, #2c3930 0%, #4F5F54 100%);
  position: relative;
  overflow: hidden;
}

.bonus-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.bonus-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.bonus-icon {
  width: 70px;
  height: 70px;
  background: #a27b5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.bonus-card:hover .bonus-icon {
  transform: scale(1.1);
  background: #C4A484;
}

.bonus-icon i {
  font-size: 1.8rem;
  color: white;
}

.bonus-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.bonus-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.bonus-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .bonus-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .bonus-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .bonus-icon i {
    font-size: 1.5rem;
  }
  
  .bonus-title {
    font-size: 1.3rem;
  }
  
  .bonus-description {
    font-size: 0.95rem;
  }
}

/* Footer Social Media Icons */
.footer-social-icons {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.footer-social-icons .btn {
  padding: 4px !important;
  margin: 0 !important;
  min-width: auto !important;
  width: 40px !important;
  height: 40px !important;
}

.footer-social-icons img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  .footer-social-icons {
    gap: 0;
  }
  
  .footer-social-icons .btn {
    padding: 4px !important;
    width: 40px !important;
    height: 40px !important;
  }
}
