/* ==========================================================================
   1. Reset & Global Layout
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-gradient);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-orientation: from-image !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  color: inherit;
}

.section-padding {
  padding: 140px 10% 120px 10%;
  position: relative;
  contain: layout style;
}

@media (max-width: 991px) {
  .section-padding {
    padding: 100px 6% 80px 6%;
  }
}

/* GPU hardware acceleration hints for smooth 60fps/120fps scrolling */
.reveal-3d, .hero, .works-item, .service-card, .category-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}
