@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
  --primary-gold: #EAB308;
  --primary-gold-hover: #ca8a04;
  --dark-navy: #0F172A;
  --light-cream: #FAF9F6;
  --text-body: #475569;
}

html, body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: #fff;
  color: var(--text-body);
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-navy);
}

.bg-gold { background-color: var(--primary-gold); }
.text-gold { color: var(--primary-gold); }
.border-gold { border-color: var(--primary-gold); }
.bg-navy { background-color: var(--dark-navy); }
.text-navy { color: var(--dark-navy); }
.bg-cream { background-color: var(--light-cream); }

/* Buttons & 3D Hover Effects */
.btn-gold {
  background-color: var(--primary-gold);
  color: #000;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
  border: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
    .btn-gold {
        padding: 0.75rem 2rem;
    }
}

.btn-gold:hover {
  background-color: var(--primary-gold-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(234, 179, 8, 0.6);
  color: #000;
}

/* 3D Impact Animations for Cards */
.tilt-card {
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card-inner {
  transform: translateZ(30px);
}

.gold-square-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 4px 10px rgba(234,179,8,0.3);
  flex-shrink: 0;
}

/* Asymmetric Images Component */
.asymmetric-images {
  position: relative;
  height: 350px;
  width: 100%;
}

@media (min-width: 768px) {
  .asymmetric-images {
    height: 500px;
  }
}

.asymmetric-images img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 75%;
  border-radius: 16px;
  object-fit: cover;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.asymmetric-images img:nth-child(2) {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 70%;
  border-radius: 16px;
  object-fit: cover;
  z-index: 2;
  border: 4px solid #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
  .asymmetric-images img:nth-child(2) {
      border-width: 8px;
  }
}

.image-overlay-dark {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.4));
}
.hero-text-shadow {
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Navigation */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav-link {
  font-weight: 700;
  color: var(--dark-navy) !important;
  position: relative;
  padding-bottom: 5px;
  display: inline-block;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-gold);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Fix intl-tel-input width inside bootstrap form */
.iti { width: 100%; display: block; }

/* FIX TAILWIND & BOOTSTRAP COLLISION ON MOBILE MENU */
.collapse.show {
  visibility: visible !important;
}
.collapsing {
  visibility: visible !important;
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.preloader-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  animation: preloaderPulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.4);
}

.preloader-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 6px;
  color: #fff;
  margin: 0;
}

.preloader-bar-container {
  width: 180px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-gold), #f59e0b, var(--primary-gold));
  border-radius: 4px;
  transition: width 0.15s linear;
}

.preloader-percent {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary-gold);
  letter-spacing: 2px;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(234, 179, 8, 0.3); }
  50% { transform: scale(1.08); box-shadow: 0 0 50px rgba(234, 179, 8, 0.6); }
}
