/* ==========================================================================
   WEDDINGS MINE HOSPITALITY — GLOBAL DESIGN SYSTEM & TOKENS
   Udaipur · Rajasthan
   Professional Luxury Wedding Company Platform
   Palette: Warm Ivory, Crisp White, Delicate Cream, Muted Gold, Deep Espresso
   ========================================================================== */

/* Note: Google Fonts (DM Serif Display & Manrope) are loaded asynchronously via HTML <head> with font-display: swap */

:root {
  /* Warm Luxury Palette (Professional Light Theme) */
  --bg-primary: #F8F4EC;          /* Warm Paper Ivory */
  --bg-white: #ffffff;            /* Crisp Pure White */
  --bg-secondary: #F1EADF;        /* Soft Beige */
  --bg-sand: #eee6d8;             /* Soft Natural Sand */
  --bg-card: #ffffff;             /* Clean Card Surface */
  --bg-dark: #1a130f;             /* Royal Deep Espresso */
  --bg-dark-surface: #241b16;     /* Deep Espresso Surface */

  /* Muted Antique Gold & Champagne Accents */
  --gold-primary: #a88442;
  --gold-light: #c7a76c;
  --gold-dark: #7f6027;
  --champagne: #d8c49d;
  --champagne-soft: #f2e7d3;
  --gold-subtle: rgba(168, 132, 66, 0.08);
  --gold-hairline: rgba(168, 132, 66, 0.2);

  /* Deep Contrast Typography (No Harsh Cold Black) */
  --text-primary: #1e1713;        /* Deep Espresso */
  --text-secondary: #42362c;      /* Warm Charcoal-Taupe */
  --text-muted: #786b60;          /* Professional Sub-text */
  --text-light: #fbf8f2;          /* Off-white on dark backgrounds */

  /* Delicate Architectural Borders & Shadows */
  --border-delicate: #e8dec8;
  --border-light: #f0e7d8;
  --border-card: rgba(168, 132, 66, 0.18);
  --border-card-hover: rgba(168, 132, 66, 0.42);
  --bg-card-hover: #faf5ec;
  --shadow-sm: 0 2px 8px rgba(30, 23, 19, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 23, 19, 0.07);
  --shadow-lg: 0 16px 45px rgba(30, 23, 19, 0.1);
  --shadow-card: 0 4px 20px rgba(30, 23, 19, 0.04);
  --shadow-card-hover: 0 14px 36px rgba(30, 23, 19, 0.08);
  --radius-card: 8px;

  /* Centralized Global Typography System (DM Serif Display + Manrope) */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: var(--font-display);
  --font-sub-serif: var(--font-display);
  --font-script: var(--font-display);
  --font-sans: var(--font-body);

  /* Sizing & Pacing */
  --header-height: 76px;
  --max-width: 1280px;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --card-transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy (DM Serif Display + Manrope) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 960px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h4 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
  font-weight: 400;
}

p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  max-width: 760px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

picture {
  display: contents;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Containers & Whitespace */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.section-space-lg {
  padding-top: clamp(56px, 5.5vw, 86px);
  padding-bottom: clamp(56px, 5.5vw, 86px);
  position: relative;
}

.section-space-md {
  padding-top: clamp(2.75rem, 3.5vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 3.5vw, 3.5rem);
  position: relative;
}

/* Utility & Section Header Styles */
.text-center {
  text-align: center !important;
}

.section-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.section-header-left {
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(34px, 4.2vw, 56px);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.section-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-primary);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  max-width: 720px;
}

/* Luxury Buttons (Clean Architectural Radii, NO Excessive Pills) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #c7a76c 0%, #b59354 100%);
  color: #1c1511;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(181, 147, 84, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ceae73 0%, #bd9b5b 100%);
  color: #140e0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(181, 147, 84, 0.35);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--text-primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-dark {
  background-color: var(--text-primary);
  color: #ffffff;
  border: 1px solid var(--text-primary);
}

.btn-dark:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(30, 23, 19, 0.2);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold-primary);
}

.btn-outline-gold:hover {
  background-color: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Minimal Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #d6ccbe;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* ==========================================================================
   Scroll Reveal Animation Engine
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Visible focus states for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   GLOBAL FORM SYSTEM (Universal Component)
   Warm Luxury Styling: Ivory/White backgrounds, Subtle Beige borders,
   Champagne/Gold Focus states, Deep Espresso typography
   ========================================================================== */

.form-group,
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  width: 100%;
}

.form-row,
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .form-row,
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.form-label span.req,
.form-label .required {
  color: var(--gold-primary);
  margin-left: 0.2rem;
}

/* Master Input, Select, and Textarea styling */
.form-input,
.form-select,
.form-control {
  width: 100%;
  height: 54px;
  background-color: var(--bg-white, #ffffff);
  border: 1px solid var(--border-delicate, #e8dec8);
  border-radius: 8px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary, #1e1713);
  line-height: normal;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder,
.form-control::placeholder {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #9c9488;
  opacity: 1;
  font-weight: 400;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover,
.form-control:hover {
  border-color: var(--gold-light, #c7a76c);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.form-control:focus {
  outline: none;
  border-color: var(--gold-primary, #a88442);
  box-shadow: 0 0 0 3px rgba(168, 132, 66, 0.16);
  background-color: #ffffff;
}

/* Custom Select Dropdown with subtle gold arrow */
.form-select {
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a88442' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

.form-select option {
  background-color: #ffffff;
  color: var(--text-primary, #1e1713);
  font-family: var(--font-body);
  padding: 12px 16px;
}

/* Textarea styling */
.form-textarea {
  width: 100%;
  min-height: 145px;
  background-color: var(--bg-white, #ffffff);
  border: 1px solid var(--border-delicate, #e8dec8);
  border-radius: 8px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary, #1e1713);
  line-height: 1.6;
  resize: vertical;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-sizing: border-box;
}

/* Checkbox & Radio */
.form-checkbox,
.form-radio {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Submit Button helper */
.form-submit {
  width: 100%;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
}

