/* ==========================================================================
   ULTIMATE SMILE DESIGNING - PREMIUM CSS DESIGN SYSTEM
   ========================================================================== */

/* --- ROOT VARIABLES --- */
:root {
  --color-bg-primary: #0a0a0a;
  --color-bg-header: rgba(10, 10, 10, 0.8);
  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-text-primary: #ffffff;
  --color-text-muted: #ffffff;
  --color-text-hover: #ffffff;

  /* Premium Gold Palette (Matches Logo) */
  --color-gold-primary: #d4af37;
  --color-gold-hover: #ffd700;
  --color-gold-glow: rgba(212, 175, 55, 0.4);

  /* Metallic Silver/Chrome Button Gradient */
  --gradient-metallic: linear-gradient(
    135deg,
    #eceff1 0%,
    #ffffff 35%,
    #cfd8dc 65%,
    #90a4ae 100%
  );
  --gradient-metallic-hover: linear-gradient(
    135deg,
    #ffffff 0%,
    #eceff1 35%,
    #90a4ae 65%,
    #cfd8dc 100%
  );

  /* Animation Speeds */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);

  --text-gradient: linear-gradient(
    270deg,
    #be9644 0%,
    #aa803c 15%,
    #f3dc87 43%,
    #fbefac 59%,
    #f3dc87 73%,
    #aa803c 93%,
    #c49d47 100%
  );
  --button-gradient: linear-gradient(
    130deg,
    #636363 0%,
    #9b9b9b 20%,
    #b1b1b1 36%,
    #e1e1e1 50%,
    #b1b1b1 62%,
    #9b9b9b 75%,
    #636363 100%
  );
  --new-button-gradient: linear-gradient(
    101.58deg,
    #636363 0.97%,
    #9b9b9b 20.97%,
    #b1b1b1 37.13%,
    #e1e1e1 50.61%,
    #b1b1b1 62.82%,
    #9b9b9b 76.44%,
    #636363 100.96%
  );
  --white: #fff;
  --black: #000;
  --bg-content-color: rgba(34, 34, 34, 0.6);
  --light-gray: rgba(255, 255, 255, 0.8);
  --bg-content: #000;
  --font-Montserrat: "Montserrat", sans-serif;
  --font-Glida-Display: "Gilda Display", serif;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-900: 900;
}

/* --- BASICS & SCROLLBARS --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-Montserrat);
  background-color: var(--bg-content);
  color: var(--color-text-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Base Anchor Styling */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: black;
  text-decoration: none;
}

/* Custom Scrollbar to match premium dark theme */
::-webkit-scrollbar {
  width: 8px;
  display: none;
}

::-webkit-scrollbar-thumb {
  background: #252525;
  border-radius: 4px;
  border: 1px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-gradient);
}

/* Scroll Lock */
body.no-scroll {
  overflow: hidden;
}

/* Main Content Spacing to offset fixed header */
.usd-main-content {
  min-height: calc(100vh - 80px);
}

.bat {
  background: var(--new-button-gradient) !important;
  font-weight: var(--fw-600) !important;
  transition: background 2s ease-in-out;
  border-radius: 8px;
  border: none;
}
.bat:hover {
  background: linear-gradient(
    30deg,
    #636363 0%,
    #9b9b9b 20%,
    #b1b1b1 36%,
    #e1e1e1 50%,
    #b1b1b1 62%,
    #9b9b9b 75%,
    #636363 100%
  ) !important;
}

.cool {
  background: var(--text-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  background-color: #2d2d2d !important;
  display: block;
}

/* ==========================================================================
   PREMIUM HEADER & NAVBAR STYLES
   ========================================================================== */

.usd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(10, 10, 10, 0.2);
  /* highly transparent glass base */
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  /* subtle reflective glass edge */
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

/* Compact header on scroll */
.usd-header.scrolled {
  height: 70px;
  background: rgba(10, 10, 10, 0.2);
  /* slightly more filled but clearly glassmorphic */
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.usd-header-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- LOGO --- */
.usd-logo {
  display: flex;
  align-items: center;
  height: 52px;
  transition: transform var(--transition-normal);
}

.usd-logo:hover {
  transform: scale(1.02);
}

.usd-logo img {
  height: 100%;
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

/* --- DESKTOP NAV --- */
.usd-nav-desktop {
  display: flex;
  align-items: center;
}

.usd-nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.usd-nav-link {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  text-transform: capitalize;
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.usd-nav-link:hover,
.usd-nav-link.active {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* --- METALLIC ACTION BUTTON --- */
.usd-btn-metallic {
  display: inline-block;
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}

/* --- HAMBURGER MENU --- */
.usd-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 1100;
  position: relative;
  transition: transform var(--transition-fast);
}

.usd-hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-gradient);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: left center;
}

/* Morph Hamburger to "X" close state */
.usd-hamburger.active .line-1 {
  transform: rotate(45deg) translate(3px, -2px);
  background: var(--color-gold-primary);
}

.usd-hamburger.active .line-2 {
  width: 0%;
  opacity: 0;
}

.usd-hamburger.active .line-3 {
  transform: rotate(-45deg) translate(3px, 2px);
  background: var(--color-gold-primary);
}

/* ==========================================================================
   OFF-CANVAS SIDE DRAWER FOR TABLET & MOBILE
   ========================================================================== */

.usd-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.usd-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.usd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 85%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--color-border-subtle);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform var(--transition-slow),
    visibility var(--transition-slow),
    box-shadow var(--transition-slow);
}

.usd-drawer.active {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.usd-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.usd-drawer-logo {
  height: 40px;
}

.usd-drawer-logo img {
  height: 100%;
  width: auto;
}

.usd-drawer-close {
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-slow);
}

.usd-drawer-close:hover {
  color: var(--color-gold-primary);
}

.usd-nav-mobile-list {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.usd-nav-mobile-link {
  color: var(--white) !important;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.usd-nav-mobile-link:hover,
.usd-nav-mobile-link.active {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  text-decoration: none !important;
}

.usd-drawer-btn-container {
  margin: 0px 50px 0px 0px;
}

.new-footer-bottom {
  padding: 20px 0px;
  background-color: rgba(85, 84, 84, 0.756);
  width: 100%;
  text-align: center;
}

.new-footer-copyright {
  font-size: 18px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet Screens (under 1024px) */
@media screen and (max-width: 991px) {
  .usd-header {
    height: 70px;
  }

  .usd-header-wrapper {
    padding: 10px 12px;
  }

  .usd-nav-desktop,
  .usd-action {
    display: none;
    /* Hide standard nav and CTA */
  }

  .usd-hamburger {
    display: flex;
    /* Show responsive toggle */
  }
}

/* Mobile Screens (under 768px) */
@media screen and (max-width: 768px) {
  .usd-header-wrapper {
    padding: 0 12px;
  }

  .usd-logo {
    height: 42px;
  }

  .usd-logo img {
    max-height: 42px;
  }

  .usd-drawer {
    width: 100%;
    /* Take full width on small mobile screens */
    padding: 24px;
  }
}

@media screen and (max-width: 576px) {
  .usd-drawer {
    max-width: 100%;
    padding: 20px !important;
  }

  .usd-drawer-overlay.active {
    width: 100%;
  }

  .usd-btn-metallic {
    letter-spacing: 0.7px;
    padding: 10px 20px;
  }
  .new-footer-copyright {
    font-size: 14px;
  }
}

/* ==========================================================================
   OPTIONAL PREMIUM SCROLLER SCRIPT COMPANION CLASS
   ========================================================================== */
.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}
