/* ==========================================================================
   GOLDEN PEARL RESORT ELLA - MASTER DESIGN SYSTEM & LUXURY STYLESHEET
   Theme: Royal Gold & Crisp Ivory White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Royal Gold Palette */
  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-hover: #C5A059;
  --gold-dark: #996515;
  --gold-deep: #7A5310;
  --gold-gradient: linear-gradient(135deg, #ECC86A 0%, #D4AF37 50%, #9B7825 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  --gold-glow: 0 8px 32px rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.35);

  /* Pristine White & Champagne Warm Neutrals */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAF8F5;
  --bg-champagne: #F5EFE6;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-dark: rgba(18, 22, 26, 0.88);

  /* Contrast & Charcoal Luxury Tones */
  --text-dark: #12161A;
  --text-heading: #181E24;
  --text-body: #4A5568;
  --text-muted: #718096;
  --text-light: #F7FAFC;
  --dark-luxury: #0E1216;
  --dark-surface: #161C22;
  --dark-border: rgba(212, 175, 55, 0.2);

  /* Nature Accents */
  --emerald-accent: #2E7D32;
  --emerald-light: #E8F5E9;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #1EBE5B;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  --font-title: 'Cinzel', 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 22, 26, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 22, 26, 0.12);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.22);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Global 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);
  color: var(--text-body);
  background-color: var(--bg-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-title {
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-dark {
  background-color: var(--dark-luxury);
  color: #E2E8F0;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: #A0AEC0;
}

.section-champagne {
  background-color: var(--bg-secondary);
}

.bg-pattern {
  background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
  padding: 0.35rem 1rem;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
}

.section-subtitle::before,
.section-subtitle::after {
  content: '✦';
  font-size: 0.75rem;
  color: var(--gold-primary);
}

.section-title {
  margin-bottom: 1.25rem;
  position: relative;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Gold Divider */
.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 1.2rem auto;
  border-radius: var(--radius-full);
  position: relative;
}

.gold-divider::after {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-primary);
  font-size: 0.65rem;
  background: var(--bg-primary);
  padding: 0 4px;
}

.section-dark .gold-divider::after {
  background: var(--dark-luxury);
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1A1813;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: #000000;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-gold:hover::before {
  left: 100%;
}

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

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #1A1813;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-white {
  background: #FFFFFF;
  color: var(--text-heading);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--bg-champagne);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

/* Floating WhatsApp Quick Action */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--whatsapp-green);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition-base);
  animation: floatPulse 3s infinite ease-in-out;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-whatsapp-text {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: var(--gold-gradient-soft);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
}

.badge-emerald {
  background: var(--emerald-light);
  color: var(--emerald-accent);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .section {
    padding: 4rem 0;
  }
  .floating-whatsapp-text {
    display: none;
  }
  .floating-whatsapp {
    padding: 0.85rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
