/*
Theme Name:  Ace Hospitality
Theme URI:   https://acehospitality.in
Description: Premium Event Management Website — White & Gold Edition. Child theme of Hello Elementor.
Author:      Ace Hospitality
Author URI:  https://acehospitality.in
Template:    hello-elementor
Version:     1.0.0
Text Domain: ace-hospitality
Tags:        elementor, white, luxury, events
*/

/* ============================================================
   DESIGN SYSTEM — WHITE & GOLD THEME
   ============================================================ */
:root {
  /* Backgrounds */
  --bg-main:    #FAFAF8;   /* Warm Ivory — main background */
  --bg-surface: #F2EDE4;   /* Warm Off-White — alternate sections */
  --bg-white:   #FFFFFF;   /* Cards */
  --bg-dark:    #111111;   /* Footer & dark accent sections */

  /* Gold Palette */
  --gold-primary: #C9A84C;              /* Rich Gold (tuned for light BG) */
  --gold-light:   #E8D5A3;              /* Champagne */
  --gold-dark:    #8B6914;              /* Deep Gold */
  --gold-border:  rgba(180,140,40,0.25);

  /* Text */
  --text-primary:   #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted:     #767676;
  --text-light:     #F5F5F5;  /* On dark sections */

  /* Borders */
  --border-light:  rgba(180,140,40,0.2);
  --border-strong: rgba(180,140,40,0.45);
  --border-gray:   rgba(0,0,0,0.08);

  /* Navbar */
  --navbar-bg:     rgba(250,250,248,0.97);
  --navbar-border: rgba(180,140,40,0.2);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Outfit', 'Helvetica Neue', Arial, sans-serif;

  /* Type Scale */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base:1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-2:  0.5rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1280px;
  --section-y:     clamp(60px, 8vw, 110px);

  /* Transitions */
  --ease-fast:   0.2s ease;
  --ease-normal: 0.35s ease;
  --ease-slow:   0.6s cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.1);
  --shadow-gold: 0 4px 20px rgba(180,140,40,0.15);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h4 { font-size: var(--text-2xl); }

p {
  color: var(--text-secondary);
  font-size: var(--text-base);
  font-weight: 300;
  margin-bottom: var(--space-4);
  line-height: 1.75;
}

em { font-style: italic; color: var(--gold-primary); }

a { color: var(--gold-primary); text-decoration: none; transition: color var(--ease-fast); }
a:hover { color: var(--gold-dark); }

ul, ol { padding-left: 1.5rem; color: var(--text-secondary); }
li { margin-bottom: 0.4rem; }

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.ace-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.ace-section {
  padding: var(--section-y) 0;
  position: relative;
}

.ace-section--surface { background-color: var(--bg-surface); }
.ace-section--dark    { background-color: var(--bg-dark); }
.ace-section--white   { background-color: var(--bg-white); }

.text-center { text-align: center; }
.text-gold   { color: var(--gold-primary); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-4);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--ease-normal);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--gold-primary);
  color: #111;
}
.btn-primary:hover {
  background-color: var(--gold-dark);
  color: #fff;
}

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

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--gold-light);
}
.btn-dark:hover {
  background-color: #222;
  color: #fff;
}

.btn-text {
  color: var(--gold-primary);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 2px;
}
.btn-text:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

/* ============================================================
   ANIMATE ON SCROLL
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* WordPress Core Compatibility */
.wp-block-image { margin: var(--space-6) 0; }
.alignwide  { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull  { max-width: 100%; }
.has-text-align-center { text-align: center; }
