/* ===== ROLLSTAR BRAND COLORS (PREMIUM) ===== */
:root {
  --rs-gold: #D4AF37;
  /* Rich Metallic Gold */
  --rs-gold-hover: #B5952F;
  --rs-dark: #121212;
  /* Deep Charcoal/Black */
  --rs-light: #F8F9FA;
  --rs-gray: #8e959b;
}

body {
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  color: var(--rs-dark);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
  font-weight: 800;
  letter-spacing: -1px;
}

.ls-1 {
  letter-spacing: 1px;
}

.ls-2 {
  letter-spacing: 2px;
}

/* ===== UTILITIES ===== */
.bg-primary {
  background-color: var(--rs-gold) !important;
}

.text-primary {
  color: var(--rs-gold) !important;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 1rem 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--rs-gold) !important;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 0;
  /* Sharp edges for luxury feel */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

.btn-primary {
  background-color: var(--rs-gold);
  border-color: var(--rs-gold);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--rs-gold-hover);
  border-color: var(--rs-gold-hover);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--rs-dark);
  border: none;
}

.btn-light:hover {
  background: var(--rs-gold);
  color: #fff;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--rs-dark);
  border-color: #fff;
}

/* ===== CARDS ===== */
.card,
.feature-card,
.collection-card,
.country-card,
.bg-white {
  border: none !important;
  border-radius: 0 !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.shadow-sm {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.feature-card:hover,
.collection-card:hover,
.country-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* ===== HERO PARALLAX ===== */
.hero-section {
  position: relative;
  background-color: var(--rs-dark);
  /* Fallback */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ===== IMAGE HOVER ZOOM ===== */
.img-zoom-container {
  overflow: hidden;
  border-radius: 4px;
  /* Slight radius */
}

.hover-zoom {
  transition: transform 0.6s ease;
}

.img-zoom-container:hover .hover-zoom {
  transform: scale(1.05);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

/* Stagger Delays */
.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-top: 4px solid var(--rs-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }

  /* Mobile perf */
  .display-2 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.ls-1 {
  letter-spacing: 1px;
}

.ls-2 {
  letter-spacing: 2px;
}

/* ===== ROLLSTAR BRAND COLORS ===== */
:root {
  --rs-gold: #C5A065;
  --rs-dark: #1a1a1a;
  --rs-gray: #6c757d;
}

.bg-primary {
  background-color: var(--rs-gold) !important;
}

.text-primary {
  color: var(--rs-gold) !important;
}

.btn-primary {
  background-color: var(--rs-gold);
  border-color: var(--rs-gold);
}

.btn-primary:hover {
  background-color: #b3904f;
  border-color: #b3904f;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 0.75rem 0;
  transition: box-shadow 0.3s;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar-brand img {
  transition: transform 0.3s;
}

.navbar-brand img:hover {
  transform: scale(1.02);
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--rs-gold) !important;
}

/* Dropdown styling for Collection */
.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0;
}

.dropdown-item {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: var(--rs-gold);
  color: #fff;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
}

.hero-title {
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

/* ===== BUTTONS ===== */
.btn-outline-dark {
  border-width: 2px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-outline-dark:hover {
  background-color: #000;
  border-color: #000;
  transform: translateY(-2px);
}

.btn-outline-light {
  border-width: 2px;
  transition: all 0.3s;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: linear-gradient(135deg, var(--rs-gold) 0%, #9a7840 100%);
}

.counter-number {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== COLLECTION CARDS ===== */
.collection-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
}

.collection-card:hover h5 {
  color: var(--rs-gold) !important;
}

/* ===== FOOTER ===== */
footer {
  font-size: 0.9rem;
}

footer h5 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--rs-gold);
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul li a:hover {
  color: var(--rs-gold) !important;
}

.social-links a {
  font-size: 1.2rem;
  transition: color 0.3s;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--rs-gold) !important;
  border-color: var(--rs-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .navbar-brand img {
    height: 35px !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .stats-section .display-3 {
    font-size: 2rem;
  }
}

/* ===== TOP BAR ===== */
.topbar {
  font-size: 0.8rem;
}

.topbar a:hover {
  color: var(--rs-gold) !important;
}

/* ===== COUNTRY CARDS ===== */
.country-card {
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .1) !important;
  border-left: 3px solid var(--rs-gold);
}

/* ===== FORM CONTROLS ===== */
.form-control:focus {
  border-color: var(--rs-gold);
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 101, 0.25);
}

/* ===== INNER PAGE BANNER ===== */
section.bg-dark.text-center h1 {
  letter-spacing: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
    /* Smaller font on mobile */
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .navbar-brand img {
    height: 40px;
  }

  /* Improve card spacing on mobile */
  .feature-card,
  .collection-card {
    margin-bottom: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}