:root {
  --primary-blue: #7098c0;
  --primary-orange: #b55527;
  --dark-orange: #603111;
  --light-orange: #d16736;
  --light-gray: #cad5e0;
  --dark-gray: #3b495c;
  --card-bg: rgba(80, 39, 15, 0.851);
  --card-border: rgba(255, 255, 255, 0.15);
  --text-light: rgba(255, 255, 255, 0.9);
  --text-lighter: rgba(255, 255, 255, 0.7);
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden !important;
  background: linear-gradient(135deg, #b55527, #803a1c, #603111);
  color: white;
  background-attachment: fixed;
}

/* Custom Size */
.fs-6 {
  font-size: 0.875rem !important;
}

.fs-7 {
  font-size: 0.7rem !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-orange);
  border-radius: 4px;
}

/* Navbar styles - TIDAK DIUBAH */
.navbar-custom {
  transition: all 0.3s ease;
  background: transparent;
}

.navbar-scrolled {
  background-color: rgba(59, 73, 92, 0.144) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.nav-link-custom {
  position: relative;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s;
}

.nav-link-custom:hover {
  color: white !important;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 75%;
  background-color: var(--primary-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-link-custom::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 50%;
  background-color: var(--light-gray);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s 0.1s;
}

.nav-link-custom:hover::after,
.nav-link-custom:hover::before {
  transform: scaleX(1);
}

.btn-login {
  text-decoration: none;
  background-color: var(--primary-orange);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.5s ease;
}

.btn-login:hover {
  transform: scale(1.05);
  text-decoration: none;
  background-color: #d16736;
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

/* Product Dropdown Styles */
.product-dropdown {
  min-width: 320px;
  padding: 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(45, 55, 72, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-item {
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
}

.product-item:last-child {
  border-bottom: none;
}

.product-item:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.product-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}

.product-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  flex: 1;
}

.product-title {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.product-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1.3;
}

.dropdown-menu {
  display: block; /* jangan pakai display:none */
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 0.3s;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.dropdown-item:hover {
  color: var(--primary-orange);
  background: transparent;
}

/* Mobile menu styles - TIDAK DIUBAH */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 55;
  opacity: 0;
  transition: opacity 0.3s;
  display: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  display: block;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 56;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-panel.active {
  transform: translateX(0);
}

#mobileMenuButton {
  border: none !important;
  background: transparent;
  box-shadow: none;
}

.mobile-menu-link {
  display: block;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.2s;
}

.mobile-menu-link:hover {
  color: var(--primary-orange);
}

.menu-icon {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 1.5rem;
  padding-right: 1rem;
}

/* Default: bars terlihat, X disembunyikan */
.bars-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.times-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.8);
}

/* Saat menu terbuka */
.menu-open .bars-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.8);
}

.menu-open .times-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.client-gradient-overlay {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, #603111);
  pointer-events: none;
  z-index: 10;
}

/* Creative Services Hero Section */
.creative-hero-section {
  position: relative;
  padding: 0 80px;
  padding-top: 10rem;
}

.creative-hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
}

.creative-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-image-container {
  position: relative;
  border-radius: 12px;
  overflow: visible;
  transition: all 0.5s ease;
}

.hero-image {
  width: 60%;
  height: auto;
  display: block;
  transition: transform 0.15s ease;
  margin-left: auto;
  margin-right: auto;
}

/* Service Details Section */
.service-details-section {
  padding: 120px 0 80px;
  position: relative;
}

.service-details-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 2rem;
}

.service-details-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-feature-list {
  list-style: none;
  padding-left: 0;
}

.service-feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.service-feature-list li:hover {
  color: white;
  transform: translateX(10px);
}

.service-feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  transition: all 0.3s ease;
}

.service-feature-list li:hover:before {
  transform: scale(1.3);
  text-shadow: 0 0 10px rgba(112, 152, 192, 0.7);
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 80px 0;
  position: relative;
}

.why-choose-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3rem;
  text-align: center;
}

.why-choose-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.why-choose-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.why-choose-card:hover:before {
  left: 100%;
}

.why-choose-card:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.why-choose-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.why-choose-card:hover .why-choose-icon {
  transform: scale(1.2) rotate(5deg);
}

.why-choose-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  text-align: center;
}

.why-choose-card:hover .why-choose-card-title {
  color: var(--primary-blue);
}

.why-choose-card-text {
  color: var(--text-light);
  line-height: 1.6;
  transition: all 0.3s ease;
  text-align: center;
}

.why-choose-card:hover .why-choose-card-text {
  color: rgba(255, 255, 255, 0.95);
}

/* Our Creative Services Section */
.creative-services-section {
  padding: 80px 0;
  position: relative;
}

.creative-services-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3rem;
  text-align: center;
}

.creative-service-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.creative-service-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(
    to bottom,
    var(--primary-blue),
    var(--light-orange)
  );
  transition: height 0.5s ease;
}

.creative-service-item:hover:before {
  height: 100%;
}

.creative-service-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.creative-service-icon-container {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.creative-service-icon {
  font-size: 2rem;
  color: var(--primary-orange);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.creative-service-item:hover .creative-service-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--primary-blue);
}

.creative-service-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.creative-service-item:hover .creative-service-title {
  color: var(--primary-blue);
}

.creative-service-text {
  height: 100px;
  color: var(--text-light);
  line-height: 1.6;
  transition: all 0.3s ease;
}

.creative-service-item:hover .creative-service-text {
  color: rgba(255, 255, 255, 0.95);
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  position: relative;
}

.pricing-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 3rem;
}

.pricing-card {
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--card-bg);
}

.pricing-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--light-orange)
  );
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.pricing-card:hover:before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.pricing-card-blue {
  background-color: var(--card-bg);
}

.pricing-card-orange {
  background-color: var(--card-bg);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.pricing-feature:hover {
  transform: translateX(5px);
  color: white;
}

.pricing-feature span {
  flex-shrink: 0;
  font-size: 1.2rem;
  width: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-feature:hover span {
  transform: scale(1.2);
}

.pricing-feature p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.pricing-feature-icon-blue {
  color: var(--primary-blue);
}

.pricing-feature-icon-orange {
  color: var(--light-orange);
}

.pricing-cta-section {
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: white;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
}

.pricing-cta-section:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.pricing-cta-button {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.pricing-cta-button:hover {
  background-color: var(--light-orange);
  transform: scale(1.05);
  color: white;
}

/* Submit Button */
.submit-btn {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.5s ease;
  text-decoration: none;
  display: inline-block;
}

.submit-btn:hover {
  background-color: var(--light-orange) !important;
  transform: scale(1.05) !important;
  color: white;
}

/* Spinning Icons */
.spinning-icon {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s linear;
}

/* Footer - TIDAK DIUBAH */
.client-gradient-overlay {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, black);
  pointer-events: none;
  z-index: 10;
}

.footer {
  background-color: black;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.footer h4 {
  font-size: 1rem;
  color: white;
}

.footer p {
  text-align: justify;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
  width: 2.5rem;
  height: auto;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-link:hover {
  color: white;
}

.social-icon {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.social-icon:hover {
  color: white;
}

/* Animation classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.dropdown-menu {
  display: block; /* jangan pakai display:none */
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 0.3s;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.dropdown-item:hover {
  color: var(--primary-orange);
  background: transparent;
}

/* Mobile Dropdown */
.mobile-dropdown {
  width: 100%;
  text-align: center;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.mobile-dropdown-menu.show {
  max-height: 500px;
  opacity: 1;
}

.mobile-login-btn {
  display: block;
  margin-top: 25px;
  padding: 12px 0;
  width: 50%;
  max-width: 150px;
  background-color: var(--primary-orange);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.mobile-login-btn:hover {
  background-color: #e65c00;
  color: white;
}

.mobile-social-icons {
  justify-content: center;
  margin-top: 2rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  transition: all 0.4s ease;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(96, 49, 17, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-title {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .mobile-menu-panel {
    width: 80%;
    max-width: 400px;
    align-items: flex-start;
    padding-left: 20px;
    text-align: left;
  }

  .mobile-menu-link {
    text-align: left;
    width: 100%;
  }

  .mobile-dropdown,
  .mobile-dropdown-toggle,
  .mobile-dropdown-menu {
    text-align: left;
    width: 100%;
  }

  .mobile-dropdown-toggle {
    justify-content: flex-start;
  }

  .creative-hero-title {
    font-size: 2.5rem;
  }

  .service-details-title,
  .why-choose-title,
  .creative-services-title,
  .pricing-title {
    font-size: 2rem;
  }

  .creative-hero-section {
    padding: 0 0 0;
    padding-top: 120px;
  }

  .hero-image-container {
    transform: none;
    margin-top: 2rem;
  }

  .footer-top .row {
    display: flex;
    flex-wrap: wrap;
  }

  .footer-top .col-md-6.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .footer-top .col-md-6.col-lg-2,
  .footer-top .col-md-6.col-lg-2 + .col-md-6.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .footer-top .footer-support {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }

  .footer-top .footer-support > div {
    flex: 0 0 97%;
    max-width: 100%;
  }

  .footer-top .footer-support h4,
  .footer-top .footer-support p {
    text-align: left;
  }

  .footer-top .col-md-6.col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer-top h4,
  .footer-top ul,
  .footer-top p {
    text-align: justify;
  }

  .mobile-social-icons {
    justify-content: flex-start;
  }

  /* Adjust icon containers for mobile */
  .why-choose-icon-container {
    width: 60px;
    height: 60px;
  }

  .why-choose-icon {
    font-size: 2.5rem;
  }

  .creative-service-icon-container {
    width: 50px;
    height: 50px;
  }

  .creative-service-icon {
    font-size: 1.75rem;
  }

  .creative-service-text {
    font-size: 0.9rem;
    height: 100px;
    color: var(--text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .creative-hero-title {
    font-size: 2rem;
  }

  .service-details-title,
  .why-choose-title,
  .creative-services-title,
  .pricing-title {
    font-size: 1.75rem;
  }
}
