/* ===================================================================
   UNIFIED TYPOGRAPHY SYSTEM
   Corporate-Grade Typography with Helvetica & Open Sans
   ================================================================= */

/* ===================================================================
   CSS VARIABLES - TYPOGRAPHY
   ================================================================= */

:root {
  /* Font Families */
  --font-heading: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --font-body: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  
  /* Font Sizes */
  --font-size-base: 16px;
  --font-size-h1: 48px;
  --font-size-h2: 38px;
  --font-size-h3: 30px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 18px;
  --font-size-small: 14px;
  --font-size-tiny: 12px;
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
  --line-height-loose: 2;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.04em;
  --letter-spacing-wider: 0.05em;
  
  /* Colors */
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #333;
  --color-text-muted: #666;
  --color-text-light: #999;
  --color-heading: #111;
}

/* ===================================================================
   GLOBAL BODY TYPOGRAPHY
   ================================================================= */

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-primary);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===================================================================
   HEADINGS - HELVETICA
   ================================================================= */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading) !important;
  color: var(--color-heading);
  margin-bottom: 0.5em;
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-semibold);
}

h1, .h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
}

h2, .h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
}

h3, .h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
}

h4, .h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-medium);
}

h5, .h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-medium);
}

h6, .h6 {
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-medium);
}

/* ===================================================================
   PARAGRAPHS & BODY TEXT - OPEN SANS
   ================================================================= */

p, .paragraph {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-secondary);
  margin-bottom: 1em;
  line-height: var(--line-height-relaxed);
}

/* Lead paragraph */
.lead, p.lead {
  font-size: 18px;
  font-weight: var(--font-weight-normal);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Small text */
small, .small {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

/* Tiny text */
.tiny {
  font-size: var(--font-size-tiny);
  color: var(--color-text-light);
}

/* ===================================================================
   NAVBAR TYPOGRAPHY - HELVETICA (Glass Navbar Optimized)
   ================================================================= */

/* Navbar Base - Preserve Glass Effect */
.navbar {
  font-family: var(--font-heading) !important;
}

/* Nav Links - Optimized for Glass Navbar */
.nav-link,
.nav-links a,
.menu-item a,
.navbar .nav-link {
  font-family: var(--font-heading) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.25px !important;
  color: #4E102F !important;
  transition: all 0.4s ease-in-out !important;
}

/* Logo Container - Preserve Glass Effect */
.logo {
  font-family: var(--font-heading) !important;
  text-decoration: none !important;
}

/* Logo Text - Helvetica Bold */
.logo h1,
.logo .text-lg,
.brand-name {
  font-family: var(--font-heading) !important;
  font-weight: var(--font-weight-bold) !important;
  letter-spacing: var(--letter-spacing-tight) !important;
  font-size: 1.125rem !important;
  line-height: 1.3 !important;
}

/* Mobile Menu */
#mobile-menu a {
  font-family: var(--font-heading) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
}

/* ===================================================================
   BUTTONS - HELVETICA
   ================================================================= */

button,
.btn,
.button,
.elementor-button,
a.btn,
input[type="submit"],
input[type="button"],
.learn-more .button-text,
.btn-animated,
.btn-primary,
.btn-secondary {
  font-family: var(--font-heading) !important;
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
}

button:hover,
.btn:hover,
.button:hover,
.elementor-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Button variants */
.btn-lg {
  font-size: 16px;
  padding: 14px 32px;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 20px;
}

/* ===================================================================
   FOOTER TYPOGRAPHY
   ================================================================= */

footer,
.footer {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

footer h1, footer h2, footer h3,
footer h4, footer h5, footer h6,
.footer h1, .footer h2, .footer h3,
.footer h4, .footer h5, .footer h6 {
  font-family: var(--font-heading) !important;
  font-weight: var(--font-weight-semibold);
  color: #222;
  margin-bottom: 0.6em;
  letter-spacing: var(--letter-spacing-tight);
}

footer a,
.footer a {
  font-family: var(--font-body);
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
.footer a:hover {
  color: #4E102F; /* Primary color */
}

footer p,
.footer p {
  font-family: var(--font-body);
  color: var(--color-text-muted);
}

/* ===================================================================
   LISTS
   ================================================================= */

ul, ol {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em;
}

/* ===================================================================
   LINKS
   ================================================================= */

a {
  font-family: inherit;
  color: #4E102F;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #6b1d42;
}

/* ===================================================================
   BLOCKQUOTES
   ================================================================= */

blockquote {
  font-family: var(--font-body);
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-secondary);
  border-left: 4px solid #4E102F;
  padding-left: 1.5em;
  margin: 1.5em 0;
  line-height: var(--line-height-relaxed);
}

/* ===================================================================
   FORMS & INPUTS
   ================================================================= */

label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-heading);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin-bottom: 0.5em;
  display: block;
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
}

input::placeholder,
textarea::placeholder {
  font-family: var(--font-body);
  color: var(--color-text-light);
}

/* ===================================================================
   CARDS & COMPONENTS
   ================================================================= */

.card-title,
.article-title,
.post-title,
.service-title {
  font-family: var(--font-heading) !important;
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
}

.card-text,
.card-description,
.article-text,
.post-description {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ===================================================================
   HERO SECTIONS
   ================================================================= */

.hero-title,
.page-title,
.section-title {
  font-family: var(--font-heading) !important;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-tight);
}

.hero-subtitle,
.page-subtitle,
.section-subtitle {
  font-family: var(--font-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-relaxed);
}

/* ===================================================================
   BADGES & TAGS
   ================================================================= */

.badge,
.tag,
.label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

/* ===================================================================
   BREADCRUMBS
   ================================================================= */

.breadcrumb,
.breadcrumb a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ===================================================================
   RESPONSIVE TYPOGRAPHY
   ================================================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --font-size-h1: 42px;
    --font-size-h2: 34px;
    --font-size-h3: 26px;
    --font-size-h4: 22px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --font-size-base: 15px;
    --font-size-h1: 36px;
    --font-size-h2: 28px;
    --font-size-h3: 22px;
    --font-size-h4: 20px;
    --font-size-h5: 18px;
    --font-size-h6: 16px;
  }
  
  body {
    font-size: 15px;
  }
  
  .navbar,
  .navbar a,
  .nav-link {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --font-size-h1: 32px;
    --font-size-h2: 26px;
    --font-size-h3: 20px;
  }
}

/* ===================================================================
   UTILITY CLASSES
   ================================================================= */

/* Font families */
.font-heading { font-family: var(--font-heading) !important; }
.font-body { font-family: var(--font-body) !important; }

/* Font weights */
.font-normal { font-weight: var(--font-weight-normal) !important; }
.font-medium { font-weight: var(--font-weight-medium) !important; }
.font-semibold { font-weight: var(--font-weight-semibold) !important; }
.font-bold { font-weight: var(--font-weight-bold) !important; }

/* Text transforms */
.uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }

/* Letter spacing */
.tracking-tight { letter-spacing: var(--letter-spacing-tight) !important; }
.tracking-normal { letter-spacing: var(--letter-spacing-normal) !important; }
.tracking-wide { letter-spacing: var(--letter-spacing-wide) !important; }
.tracking-wider { letter-spacing: var(--letter-spacing-wider) !important; }

/* Line heights */
.leading-tight { line-height: var(--line-height-tight) !important; }
.leading-normal { line-height: var(--line-height-normal) !important; }
.leading-relaxed { line-height: var(--line-height-relaxed) !important; }
.leading-loose { line-height: var(--line-height-loose) !important; }

/* Text colors */
.text-primary { color: var(--color-text-primary) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }
.text-muted { color: var(--color-text-muted) !important; }
.text-light { color: var(--color-text-light) !important; }

/* ===================================================================
   ACCESSIBILITY
   ================================================================= */

/* Focus states */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #4E102F;
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================================================================
   UNIFIED SCROLLBAR SYSTEM - LUXURY DESIGN
   ================================================================= */

/* Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.3);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4E102F 0%, #8b7d73 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #6b1d42 0%, #a1316c 100%);
  box-shadow: 0 2px 8px rgba(78, 16, 47, 0.3);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #4E102F rgba(241, 245, 249, 0.3);
}

/* Prevent horizontal overflow globally */
html {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ensure all containers respect viewport width */
.container,
.search-overlay,
.navbar,
.footer,
section,
main {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Footer specific - prevent scrollbar */
.luxury-footer,
footer {
  max-width: 100vw !important;
  overflow: hidden !important;
}

.luxury-footer .container,
footer .container {
  overflow: visible !important;
  max-width: 100% !important;
}

/* Footer Disclaimer Box */
.footer-disclaimer {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.disclaimer-text {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.disclaimer-text strong {
  font-family: var(--font-heading);
  color: #D4AF37;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive disclaimer */
@media (max-width: 768px) {
  .footer-disclaimer {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .disclaimer-text {
    font-size: 0.85rem;
  }
}

/* ===================================================================
   PRINT STYLES
   ================================================================= */

@media print {
  body {
    font-family: var(--font-body);
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    page-break-after: avoid;
  }
  
  p {
    orphans: 3;
    widows: 3;
  }
}
