/* style.css */
:root {
  --primary-color: #d63031;
  --secondary-color: #2d3436;
  --light-color: #f5f6fa;
  --dark-color: #1e272e;
  --transition: all 0.3s ease-in-out;
}

.logo-image {
  width: 70%; /* Anda bisa menyesuaikan ukuran sesuai kebutuhan */
  max-width: auto; /* Batasan maksimal lebar gambar */
  display: block;
  margin: 0 auto;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

html,
body {
  overflow: scroll; /* Memastikan scroll aktif */
  -ms-overflow-style: none; /* Untuk Internet Explorer */
  scrollbar-width: none; /* Untuk Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Menyembunyikan scrollbar pada Webkit browser (Chrome, Safari, dll.) */
}
/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 70%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("../assets/images/hero-bg.jpg") center/cover no-repeat;
  padding: 100px 0;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-dark {
  background: var(--dark-color);
  border: 2px solid var(--dark-color);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark-color);
}

/* Services Section */
.services .card {
  transition: var(--transition);
  border-radius: 15px;
  overflow: hidden;
}

.services .card:hover {
  transform: translateY(-10px);
}

.services .card-body {
  padding: 2rem;
}

.services .fas {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Gallery Section */
.gallery {
  background: var(--dark-color);
}

.carousel-item img {
  height: 600px;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  border-radius: 50%;
}

/* Location Section */
.location {
  background: var(--light-color);
}

.location i {
  font-size: 1.5rem;
  width: 40px;
}

.location iframe {
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.social-links {
  font-size: 1.5rem;
}

.social-links a {
  color: white;
  margin-right: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .carousel-item img {
    height: 400px;
  }

  .services .card {
    margin-bottom: 1.5rem;
  }
}

/* Custom Animations */
.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

/* Hover Effects */
.hover-grow {
  transition: var(--transition);
}

.hover-grow:hover {
  transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-color);
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.shadow-custom {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
  border-radius: 15px;
}
