/* ============================================
   Enhanced CSS Styles for Dorset Estate Visuals
   All 12 CSS & Styling Improvements
   
   Organization:
   - CSS Variables (Theming)
   - Typography
   - Colors
   - Components (Buttons, Cards, Forms, etc.)
   - Layout & Spacing
   - Responsive Design
   - Utilities
   ============================================ */

/* ============================================
   1. TYPOGRAPHY IMPROVEMENTS
   ============================================ */
:root {
  /* Font Variables */
  --font-primary: 'Verdana', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Georgia', 'Times New Roman', serif;
  --font-heading: 'Georgia', 'Arial', sans-serif;
  
  /* Typography Scale (rem units) - Increased for better visibility */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.5rem;     /* 24px - increased from 1.25rem */
  --font-size-2xl: 2rem;      /* 32px - increased from 1.5rem */
  --font-size-3xl: 2.5rem;     /* 40px - increased from 2rem */
  --font-size-4xl: 3.5rem;     /* 56px - increased from 2.5rem */
  --font-size-5xl: 4.5rem;     /* 72px - new extra large size */
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffffff !important;
}

/* ============================================
   D17: TYPOGRAPHY ENHANCEMENTS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: 1rem;
}

/* D17.1: Solid White Text for Headings - Maximum Visibility */
h1,
h2,
section h1,
section h2,
[class*="Section"] h1,
[class*="Section"] h2 {
  /* Solid white color - no gradient for maximum readability */
  color: #ffffff !important;
  display: inline-block;
  font-weight: var(--font-weight-bold);
  /* Remove gradient text - use solid white */
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
}

/* Ensure headings are always visible with strong white color */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
  font-weight: var(--font-weight-bold);
}

/* Remove gradient text - use solid white for all headings */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1,
  h2,
  section h1,
  section h2,
  [class*="Section"] h1,
  [class*="Section"] h2 {
    /* Solid white - no gradient */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
  }
}

/* Fallback for browsers that don't support gradient text */
@supports not (-webkit-background-clip: text) {
  h1, h2, section h1, section h2 {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }
}

/* D17.2: Text Shadows - Simple outline only, no rectangle glow */
h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: #ffffff !important;
  /* Simple outline only - no large glow effects */
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.8),
    1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px 1px 0 rgba(0, 0, 0, 0.8),
    1px 1px 0 rgba(0, 0, 0, 0.8);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: #ffffff !important;
  /* Simple outline only - no large glow effects */
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.7),
    1px -1px 0 rgba(0, 0, 0, 0.7),
    -1px 1px 0 rgba(0, 0, 0, 0.7),
    1px 1px 0 rgba(0, 0, 0, 0.7);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: #ffffff !important;
  /* Simple outline only - no large glow effects */
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.6),
    1px -1px 0 rgba(0, 0, 0, 0.6),
    -1px 1px 0 rgba(0, 0, 0, 0.6),
    1px 1px 0 rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--font-size-2xl);
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h5 {
  font-size: var(--font-size-xl);
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

h6 {
  font-size: var(--font-size-lg);
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* D17.3: Letter Spacing Adjustments - Already set in h1/h2/h3 above */

h3 {
  letter-spacing: 0;
}

h4, h5, h6 {
  letter-spacing: 0.01em; /* Slightly wider for smaller headings */
}

/* Additional visibility enhancements for larger fonts - Solid White with Outline and Glow */
h1, h2, h3 {
  /* Solid white text - no gradient */
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  color: #ffffff !important;
}

/* Responsive font size adjustments for better visibility */
@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-4xl);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8),
                 0 0 25px rgba(255, 255, 255, 0.4),
                 0 0 50px rgba(255, 255, 255, 0.25);
  }
  
  h2 {
    font-size: var(--font-size-3xl);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7),
                 0 0 20px rgba(255, 255, 255, 0.3);
  }
  
  h3 {
    font-size: var(--font-size-2xl);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6),
                 0 0 15px rgba(255, 255, 255, 0.25);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--font-size-3xl);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8),
                 1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px 1px 0 rgba(0, 0, 0, 0.8),
                 1px 1px 0 rgba(0, 0, 0, 0.8);
  }
  
  h2 {
    font-size: var(--font-size-2xl);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.7),
                 1px -1px 0 rgba(0, 0, 0, 0.7),
                 -1px 1px 0 rgba(0, 0, 0, 0.7),
                 1px 1px 0 rgba(0, 0, 0, 0.7);
  }
}

/* Body text letter spacing */
body, p {
  letter-spacing: 0.01em;
}

/* Buttons and CTAs */
button, .button, a.button {
  letter-spacing: 0.05em; /* Wider for emphasis */
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
}

/* D17.4: Decorative Typography Elements */
/* Decorative underline for special headings */
h1.decorative,
h2.decorative,
.decorative-heading {
  position: relative;
  padding-bottom: var(--spacing-2);
}

h1.decorative::after,
h2.decorative::after,
.decorative-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  border-radius: 2px;
}

/* Decorative quote marks */
.quote-decorative::before {
  content: '"';
  font-size: 4em;
  line-height: 0;
  color: var(--accent-primary);
  opacity: 0.3;
  position: absolute;
  left: -0.5em;
  top: 0.3em;
  font-family: Georgia, serif;
}

.quote-decorative::after {
  content: '"';
  font-size: 4em;
  line-height: 0;
  color: var(--accent-primary);
  opacity: 0.3;
  position: absolute;
  right: -0.5em;
  bottom: -0.3em;
  font-family: Georgia, serif;
}

/* Decorative initial letter (drop cap style) */
.drop-cap::first-letter {
  float: left;
  font-size: 4em;
  line-height: 0.8;
  padding-right: 0.1em;
  padding-top: 0.1em;
  color: var(--accent-primary);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-heading);
}

/* D17.5: Better Font Pairing */
/* Refined font stack for better readability and hierarchy */
:root {
  --font-primary: 'Verdana', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Georgia', 'Times New Roman', serif;
  --font-heading: 'Georgia', 'Palatino', 'Book Antiqua', serif;
  --font-accent: 'Verdana', 'Helvetica Neue', Arial, sans-serif;
}

/* Apply refined font pairing */
body {
  font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
}

/* Use secondary font for emphasis and quotes */
blockquote,
.quote,
.testimonial-text {
  font-family: var(--font-secondary);
  font-style: italic;
  font-size: 1.1em;
  line-height: var(--line-height-relaxed);
}

/* Accent font for buttons and CTAs */
button, .button, a.button,
.nav-link, nav a {
  font-family: var(--font-accent);
  font-weight: var(--font-weight-semibold);
}

p {
  line-height: var(--line-height-relaxed);
  margin-bottom: 1rem;
  color: #ffffff !important;
}

/* Ensure all text elements are white/light for readability */
body,
p,
div,
span,
li,
td,
th,
label,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  color: #ffffff !important;
}

/* Input fields should have white text */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
  color: #ffffff !important;
}

/* Placeholder text should be lighter grey but visible */
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1;
}

/* ============================================
   2. COLOR SCHEME ENHANCEMENTS
   ============================================ */
:root {
  /* Background Colors */
  --bg-primary: #0a0a0a;        /* Dark gray instead of pure black */
  --bg-secondary: #1a1a1a;      /* Slightly lighter for depth */
  --bg-tertiary: #2a2a2a;       /* For cards and elevated elements */
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-tertiary: #b0b0b0;
  --text-muted: #888888;
  
  /* Accent Colors */
  --accent-primary: #C9A227;
  --accent-primary-hover: #E5C76B;
  --accent-primary-dark: #A68B2B;
  --accent-secondary: #D4AF37;
  --accent-warning: #ff9800;
  --accent-error: #f44336;
  --accent-success: #ffffff;
  /* Glow effects */
  --glow-primary: 0 0 10px rgba(201, 162, 39, 0.5), 0 0 20px rgba(201, 162, 39, 0.3), 0 0 30px rgba(201, 162, 39, 0.2);
  --glow-primary-hover: 0 0 15px rgba(201, 162, 39, 0.7), 0 0 30px rgba(201, 162, 39, 0.5), 0 0 45px rgba(201, 162, 39, 0.3);
  --glow-text: 0 0 5px rgba(212, 175, 55, 0.8), 0 0 10px rgba(201, 162, 39, 0.5);
  
  /* Border Colors */
  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-dark: rgba(255, 255, 255, 0.3);
  
  /* Shadow Colors */
  --shadow-sm: rgba(0, 0, 0, 0.2);
  --shadow-md: rgba(0, 0, 0, 0.3);
  --shadow-lg: rgba(0, 0, 0, 0.4);
  --shadow-xl: rgba(0, 0, 0, 0.5);
}

body {
  background-color: var(--bg-primary);
  color: #ffffff !important;
  position: relative;
  z-index: 0;
}

/* Ensure root container doesn't have overlays */
#root {
  position: relative;
  z-index: 0;
  background: var(--bg-primary);
}

/* ============================================
   3. BUTTON & INTERACTIVE ELEMENT STYLING
   ============================================ */
button,
.button,
input[type="submit"],
input[type="button"],
a.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  min-height: 44px; /* Accessibility: minimum touch target */
  min-width: 44px;
  position: relative;
  overflow: hidden;
}

/* Primary Button - D19.1: Gradient Accents */
button.primary,
.button.primary,
input[type="submit"],
button:not(.secondary):not(.outline):not(.photo-lightbox-btn),
.button:not(.secondary):not(.outline) {
  background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(255, 255, 255, 0.9) 100%);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary);
}

button.primary:hover,
.button.primary:hover,
input[type="submit"]:hover,
button:not(.secondary):not(.outline):not(.photo-lightbox-btn):hover,
.button:not(.secondary):not(.outline):hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, var(--accent-primary) 100%);
  border-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow-primary-hover);
}

button.primary:active,
.button.primary:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px var(--shadow-sm);
}

button.primary:focus,
.button.primary:focus,
input[type="submit"]:focus {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Secondary Button */
button.secondary,
.button.secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}

button.secondary:hover,
.button.secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-md);
}

/* Loading State */
button.loading,
.button.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

button.loading::after,
.button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--text-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Disabled State */
button:disabled,
.button:disabled,
input[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   4. PACKAGE CARD ENHANCEMENTS
   ============================================ */
.package-card,
.service-card,
[class*="Card"] {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

.package-card::before,
.service-card::before,
[class*="Card"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
  /* Removed box-shadow - was creating rectangle glow effect */
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* D20.3: Enhanced Card Hover Effects */
.package-card:hover,
.service-card:hover,
[class*="Card"]:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), var(--glow-primary);
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
}

.package-card:hover::before,
.service-card:hover::before,
[class*="Card"]:hover::before {
  transform: scaleX(1);
}

/* Popular Badge */
.package-card.popular,
.service-card.popular,
[class*="Card"].popular {
  border-color: var(--accent-primary);
  box-shadow: var(--glow-primary);
}

.package-card.popular::after,
.service-card.popular::after,
[class*="Card"].popular::after {
  content: "Most Popular";
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent-primary);
  color: var(--text-primary);
  padding: 0.25rem 2.5rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px var(--shadow-md);
}

/* Card Icons */
.package-card .icon,
.service-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.package-card:hover .icon,
.service-card:hover .icon {
  transform: scale(1.1);
  background: var(--accent-primary);
}

/* ============================================
   5. SPACING & LAYOUT CONSISTENCY
   ============================================ */
:root {
  /* 8px Spacing Scale */
  --spacing-1: 0.5rem;   /* 8px */
  --spacing-2: 1rem;     /* 16px */
  --spacing-3: 1.5rem;   /* 24px */
  --spacing-4: 2rem;     /* 32px */
  --spacing-5: 3rem;     /* 48px */
  --spacing-6: 4rem;     /* 64px */
  --spacing-8: 6rem;     /* 96px */
  --spacing-10: 8rem;    /* 128px */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-4);
}

section {
  padding: var(--spacing-5) var(--spacing-4);
  margin-bottom: var(--spacing-4);
}

.section-spacing {
  margin-top: var(--spacing-6);
  margin-bottom: var(--spacing-6);
}

/* Consistent margins */
.mt-1 { margin-top: var(--spacing-1); }
.mt-2 { margin-top: var(--spacing-2); }
.mt-3 { margin-top: var(--spacing-3); }
.mt-4 { margin-top: var(--spacing-4); }

.mb-1 { margin-bottom: var(--spacing-1); }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-3 { margin-bottom: var(--spacing-3); }
.mb-4 { margin-bottom: var(--spacing-4); }

.p-1 { padding: var(--spacing-1); }
.p-2 { padding: var(--spacing-2); }
.p-3 { padding: var(--spacing-3); }
.p-4 { padding: var(--spacing-4); }

/* ============================================
   6. GALLERY & IMAGE IMPROVEMENTS
   ============================================ */
.gallery-image,
[class*="PhotoGrid"] img,
[class*="Gallery"] img {
  width: 100%;
  height: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  border-radius: 4px;
  overflow: hidden;
}

.gallery-image:hover,
[class*="PhotoGrid"] img:hover,
[class*="Gallery"] img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px var(--shadow-lg);
}

/* D6.1: Masonry/Waterfall Layout Option */
[class*="PhotoGrid"].masonry,
[class*="Gallery"].masonry,
.gallery-masonry {
  column-count: 3;
  column-gap: var(--spacing-3);
  column-fill: balance;
}

[class*="PhotoGrid"].masonry img,
[class*="Gallery"].masonry img,
.gallery-masonry img {
  display: block;
  width: 100%;
  margin-bottom: var(--spacing-3);
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Responsive masonry */
@media (max-width: 1024px) {
  [class*="PhotoGrid"].masonry,
  [class*="Gallery"].masonry,
  .gallery-masonry {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  [class*="PhotoGrid"].masonry,
  [class*="Gallery"].masonry,
  .gallery-masonry {
    column-count: 1;
  }
}

/* Alternative: CSS Grid masonry (fallback) */
[class*="PhotoGrid"].masonry-grid,
[class*="Gallery"].masonry-grid,
.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 10px;
  gap: var(--spacing-3);
}

[class*="PhotoGrid"].masonry-grid img,
[class*="Gallery"].masonry-grid img,
.gallery-masonry-grid img {
  width: 100%;
  grid-row-end: span var(--row-span, 20);
}

/* Lazy Loading */
img[loading="lazy"] {
  opacity: 1; /* Show images by default, fade in when loaded */
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Ensure all images are visible by default */
img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Specific fix for About Me photo */
img[src*="AboutMePhoto"],
img[src="/AboutMePhoto.png"] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  max-width: 100%;
  height: auto;
}

/* Fix for photo gallery images */
[class*="PhotoGrid"] img,
[class*="Gallery"] img,
[class*="Photo"] img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Image Placeholder/Skeleton */
.image-skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 0%,
    var(--bg-tertiary) 50%,
    var(--bg-secondary) 100%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  min-height: 200px;
  border-radius: 4px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Enhanced Loading Skeletons */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 0%,
    var(--bg-tertiary) 50%,
    var(--bg-secondary) 100%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
  border-radius: 4px;
}

.skeleton-title {
  height: 1.5em;
  width: 60%;
  margin-bottom: 1em;
  border-radius: 4px;
}

.skeleton-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.skeleton-card {
  padding: var(--spacing-4);
  border-radius: 8px;
  min-height: 200px;
}

.skeleton-button {
  height: 44px;
  width: 120px;
  border-radius: 4px;
}

/* Enhanced Loading Skeletons */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 0%,
    var(--bg-tertiary) 50%,
    var(--bg-secondary) 100%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
  border-radius: 4px;
}

.skeleton-title {
  height: 1.5em;
  width: 60%;
  margin-bottom: 1em;
  border-radius: 4px;
}

.skeleton-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.skeleton-card {
  padding: var(--spacing-4);
  border-radius: 8px;
  min-height: 200px;
}

.skeleton-button {
  height: 44px;
  width: 120px;
  border-radius: 4px;
}

/* D6.3: Enhanced Lightbox Improvements (additional styles) */
.lightbox-overlay {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-image {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-image:hover {
  transform: scale(1.02);
}

/* Smooth image transitions in lightbox */
.lb-image {
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lb-image.lb-loading {
  opacity: 0;
  transform: scale(0.9);
}

.lb-image.lb-loaded {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   7. FORM STYLING ENHANCEMENTS
   ============================================ */

/* D10.1: Form Background with Subtle Pattern */
form,
[class*="Form"],
[class*="Contact"] form {
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  padding: var(--spacing-4);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Pattern removed - clean background */
form::before,
[class*="Form"]::before,
[class*="Contact"] form::before {
  display: none;
}

form > *,
[class*="Form"] > *,
[class*="Contact"] form > * {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: var(--spacing-3);
  position: relative;
}

label {
  display: block;
  margin-bottom: var(--spacing-1);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* D10.4: Form Field Icons */
.form-group {
  position: relative;
}

.form-group.has-icon input,
.form-group.has-icon textarea {
  padding-left: 2.5rem;
}

.form-group .field-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  z-index: 2;
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-group input:focus ~ .field-icon,
.form-group textarea:focus ~ .field-icon {
  color: var(--accent-primary);
}

.form-group textarea ~ .field-icon {
  top: 1.25rem;
  transform: translateY(0);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-light);
  border-radius: 4px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* D10.6: Helpful Placeholder Text */
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
  font-style: italic;
  transition: opacity 0.3s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0.4;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  background-color: var(--bg-tertiary);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="date"]:hover,
input[type="number"]:hover,
textarea:hover,
select:hover {
  border-color: var(--border-medium);
}

/* D10.2 & D21.1: Enhanced Floating Labels with Animation */
.form-group.floating-label,
.form-group {
  position: relative;
}

.form-group.floating-label label,
.form-group label {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  font-size: var(--font-size-base);
  z-index: 1;
  transform-origin: left top;
}

.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label,
.form-group.floating-label textarea:focus + label,
.form-group.floating-label textarea:not(:placeholder-shown) + label,
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: var(--font-size-xs);
  color: var(--accent-primary);
  background: var(--bg-primary);
  padding: 0 0.25rem;
  font-weight: var(--font-weight-medium);
  transform: scale(0.9) translateY(0);
  animation: labelFloat 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes labelFloat {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: scale(0.95) translateY(-2px);
  }
  100% {
    transform: scale(0.9) translateY(0);
    opacity: 1;
  }
}

/* Auto-apply floating label behavior to all form groups */
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.form-group textarea {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
.form-group textarea:focus {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

/* Error States */
input.error,
textarea.error,
select.error {
  border-color: var(--accent-error);
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.error-message {
  color: var(--accent-error);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-1);
  display: block;
  padding: var(--spacing-1);
  background: rgba(244, 67, 54, 0.1);
  border-left: 3px solid var(--accent-error);
  border-radius: 4px;
}

/* D10.3: Success Animation (Checkmark, Confetti) */
.form-success-message {
  position: relative;
  padding: var(--spacing-3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid var(--accent-success);
  border-radius: 8px;
  margin-bottom: var(--spacing-3);
  display: none;
  animation: successSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success-message.show {
  display: block;
}

.form-success-message::before {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--accent-success);
  color: white;
  border-radius: 50%;
  margin-right: var(--spacing-2);
  animation: checkmarkPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Confetti Animation */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  animation: confettiFall 3s ease-out forwards;
}

.confetti:nth-child(2n) {
  background: var(--accent-secondary);
  animation-duration: 2.5s;
}

.confetti:nth-child(3n) {
  background: var(--accent-success);
  animation-duration: 3.5s;
}

.confetti:nth-child(4n) {
  background: #ff9800;
  animation-duration: 2s;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Success States */
input.success,
textarea.success,
select.success {
  border-color: var(--accent-success);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.success-message {
  color: var(--accent-success);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-1);
  display: block;
  padding: var(--spacing-1);
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent-success);
  border-radius: 4px;
}

/* Form Messages */
.form-message {
  padding: var(--spacing-2);
  margin-bottom: var(--spacing-3);
  border-radius: 4px;
  font-weight: var(--font-weight-medium);
  animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message-success {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-success);
  border: 1px solid var(--accent-success);
}

.form-message-error {
  background: rgba(244, 67, 54, 0.15);
  color: var(--accent-error);
  border: 1px solid var(--accent-error);
}

.form-message-info {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-secondary);
  border: 1px solid var(--accent-secondary);
}

/* Checkbox & Radio Styling */
input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: var(--spacing-1);
  cursor: pointer;
  accent-color: var(--accent-primary);
}

/* ============================================
   8. NAVIGATION & MENU IMPROVEMENTS
   ============================================ */
html {
  scroll-behavior: smooth;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Smooth scroll for anchor links */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  
  * {
    scroll-margin-top: 80px; /* Offset for fixed headers */
  }
}

nav,
[class*="Nav"],
[class*="navbar"] {
  transition: all 0.3s ease;
}

nav a,
[class*="Nav"] a,
[class*="navbar"] a {
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  display: inline-block;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* D2.4: Enhanced Active Page Indicator with Animated Underline */
nav a,
[class*="Nav"] a,
[class*="navbar"] a {
  position: relative;
  overflow: hidden;
}

nav a::after,
[class*="Nav"] a::after,
[class*="navbar"] a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
  /* Removed rectangle glow - simple underline only */
}

nav a:hover::after,
[class*="Nav"] a:hover::after,
[class*="navbar"] a:hover::after {
  width: 80%;
  animation: underlineExpand 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* D2.4: Active page indicator with animated underline */
nav a.active::after,
[class*="Nav"] a.active::after,
[class*="navbar"] a.active::after {
  width: 90%;
  animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    width: 80%;
    opacity: 1;
  }
}

@keyframes underlinePulse {
  0%, 100% {
    opacity: 1;
    height: 2px;
  }
  50% {
    opacity: 0.8;
    height: 3px;
  }
}

nav a:hover,
[class*="Nav"] a:hover,
[class*="navbar"] a:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* D2.4: Active Page Indicator with enhanced styling */
nav a.active,
[class*="Nav"] a.active,
[class*="navbar"] a.active {
  color: #ffffff !important;
  font-weight: var(--font-weight-bold);
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Removed active indicator rectangle - was creating unwanted glow effect */
nav a.active::before,
[class*="Nav"] a.active::before,
[class*="navbar"] a.active::before {
  display: none;
}

@keyframes activeIndicatorSlide {
  0% {
    left: -1rem;
    opacity: 0;
  }
  100% {
    left: -0.5rem;
    opacity: 1;
  }
}

/* Mobile Menu Animations */
.mobile-menu,
[class*="mobile-menu"],
[class*="MobileMenu"] {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================
   HEADER GRADIENT - CLEAN REBUILD
   ============================================ */

/* Header base styling - ALWAYS VISIBLE */
header,
[class*="Header"] {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  z-index: 1000;
  /* Default: visible and auto height */
  min-height: auto;
  height: auto;
  overflow: visible;
  /* Ensure header is always visible */
  visibility: visible !important;
  opacity: 1 !important;
}

/* Nav styling */
nav,
[class*="Nav"],
[class*="navbar"] {
  position: relative;
  z-index: 10;
  background: transparent;
  /* Ensure nav is always visible */
  visibility: visible !important;
  opacity: 1 !important;
}

/* No header wash by default (prevents flash on inner pages) */
header::after,
[class*="Header"]::after,
header.has-nav::after,
[class*="Header"].has-nav::after,
header.scrolled::after,
[class*="Header"].scrolled::after {
  display: none !important;
  content: none !important;
  pointer-events: none;
}

/* Header gradient — home hero only */
main:has(> [class*="Home"]) header.has-nav::after,
main:has(> [class*="Home"]) [class*="Header"].has-nav::after {
  display: block !important;
  content: '' !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

main:has(> [class*="Home"]) header.scrolled.has-nav::after,
main:has(> [class*="Home"]) [class*="Header"].scrolled.has-nav::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.2) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Ensure all header content is above gradient */
header > *,
[class*="Header"] > *,
nav > *,
[class*="Nav"] > *,
[class*="navbar"] > * {
  position: relative;
  z-index: 10;
  /* Ensure content is always visible */
  visibility: visible !important;
  opacity: 1 !important;
}

/* D2.1: Glassmorphism effect for navigation */
header,
[class*="Header"] {
  background: transparent;
  border-bottom: none !important;
  box-shadow: none;
}

nav,
[class*="Nav"],
[class*="navbar"] {
  background: transparent;
  border-bottom: none !important;
  box-shadow: none;
}

/* Remove any white lines or borders from pseudo-elements */
header::after,
[class*="Header"]::after,
header::before,
[class*="Header"]::before {
  border: none !important;
  outline: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Remove any top strip or weird behavior */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Removed body::before overlay - was causing double-darkening on home page */

header,
[class*="Header"] {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  /* Ensure header starts at absolute top */
  position: relative;
  top: 0;
}

/* Ensure nav links are visible and properly colored */
nav a:link,
nav a:visited,
[class*="Nav"] a:link,
[class*="Nav"] a:visited,
[class*="navbar"] a:link,
[class*="navbar"] a:visited {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

nav a:active,
[class*="Nav"] a:active,
[class*="navbar"] a:active {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sticky header state */
header.sticky,
[class*="Header"].sticky {
  position: sticky;
  top: 0;
}

/* D2.3: Logo Hover Effects */
header img[alt*="logo" i],
header img[src*="logo" i],
[class*="Header"] img[alt*="logo" i],
[class*="Header"] img[src*="logo" i],
[class*="Logo"] img,
.logo img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1);
  transform: scale(1);
}

header img[alt*="logo" i]:hover,
header img[src*="logo" i]:hover,
[class*="Header"] img[alt*="logo" i]:hover,
[class*="Header"] img[src*="logo" i]:hover,
[class*="Logo"] img:hover,
.logo img:hover {
  transform: scale(1.05) translateY(-2px);
  filter: brightness(1.1);
  /* Removed green glow and animation */
}

/* Logo container hover effect - no underline animation */
header [id*="logo" i],
header [class*="logo" i],
[class*="Header"] [id*="logo" i],
[class*="Header"] [class*="logo" i] {
  transition: all 0.3s ease;
}

header [id*="logo" i]:hover,
header [class*="logo" i]:hover,
[class*="Header"] [id*="logo" i]:hover,
[class*="Header"] [class*="logo" i]:hover {
  transform: translateY(-2px);
}

/* Remove underline animation from logo links */
header [id*="logo" i] a::after,
header [class*="logo" i] a::after,
[class*="Header"] [id*="logo" i] a::after,
[class*="Header"] [class*="logo" i] a::after,
header a[href*="logo" i]::after,
header a[href="#home"]::after,
header a[href="/"]::after {
  display: none !important;
}

/* Sticky Header */
header.sticky,
[class*="Header"].sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ============================================
   9. RESPONSIVE DESIGN REFINEMENTS
   ============================================ */
/* Breakpoints */
:root {
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* Mobile First Approach */
@media (max-width: 767px) {
  :root {
    --font-size-4xl: 2rem;      /* 32px */
    --font-size-3xl: 1.75rem;   /* 28px */
    --font-size-2xl: 1.25rem;   /* 20px */
    --font-size-xl: 1.125rem;   /* 18px */
    --font-size-lg: 1rem;       /* 16px */
  }
  
  /* Container and Layout */
  .container {
    padding: var(--spacing-2);
    max-width: 100%;
  }
  
  section {
    padding: var(--spacing-3) var(--spacing-2);
    margin-bottom: var(--spacing-2);
  }
  
  /* Typography Adjustments */
  h1 {
    font-size: var(--font-size-3xl);
    line-height: 1.2;
    margin-bottom: var(--spacing-2);
  }
  
  h2 {
    font-size: var(--font-size-2xl);
    line-height: 1.3;
    margin-bottom: var(--spacing-2);
  }
  
  h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-1);
  }
  
  p {
    font-size: var(--font-size-base);
    line-height: 1.6;
  }
  
  /* Buttons */
  button,
  .button,
  input[type="submit"],
  input[type="button"] {
    width: 100%;
    min-height: 48px; /* Larger touch target on mobile */
    font-size: var(--font-size-base);
    padding: 0.875rem 1.5rem;
  }
  
  /* Cards */
  .package-card,
  .service-card,
  [class*="Card"] {
    margin: var(--spacing-2) 0;
    padding: var(--spacing-3);
    width: 100%;
  }
  
  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Video Iframes - Only apply to videos in responsive containers */
  .video-container iframe,
  .video-container embed,
  .video-container object,
  .video-container video {
    max-width: 100%;
    height: auto;
  }
  
  /* Don't override existing video item styles */
  .videoitem iframe,
  [class*="VideoItem"] iframe,
  [class*="video-item"] iframe {
    width: 100%;
    height: 315px; /* Standard YouTube embed height */
    max-width: 100%;
  }
  
  /* Gallery Images */
  .gallery-image,
  [class*="PhotoGrid"] img,
  [class*="Gallery"] img {
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-2);
  }
  
  /* Forms */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.875rem;
    width: 100%;
  }
  
  /* Booking Calendar Specific */
  [class*="Calendar"],
  [class*="calendar"],
  [class*="booking"] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  [class*="Calendar"] table,
  [class*="calendar"] table {
    min-width: 100%;
    font-size: var(--font-size-sm);
  }
  
  [class*="Calendar"] td,
  [class*="calendar"] td {
    padding: 0.5rem;
    min-width: 44px; /* Touch target */
  }
  
  /* Navigation */
  nav,
  [class*="Nav"],
  [class*="navbar"] {
    width: 100%;
  }
  
  nav ul,
  [class*="Nav"] ul {
    flex-direction: column;
    width: 100%;
  }
  
  nav a,
  [class*="Nav"] a {
    display: block;
    width: 100%;
    padding: var(--spacing-2);
    text-align: left;
  }
  
  /* Mobile Menu */
  .mobile-menu,
  [class*="mobile-menu"],
  [class*="MobileMenu"] {
    width: 100%;
    max-width: 100vw;
  }
  
  /* Tables */
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  html {
    overflow-x: hidden;
  }
  
  /* About Me Section */
  [class*="AboutMe"],
  [class*="about-me"] {
    flex-direction: column;
  }
  
  [class*="AboutMe"] img,
  [class*="about-me"] img {
    width: 100%;
    max-width: 100%;
    margin-bottom: var(--spacing-3);
  }
  
  /* Service Categories - Horizontal Scroll */
  .service-categories,
  [class*="ServiceCategories"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--spacing-2);
  }
  
  .service-categories > *,
  [class*="ServiceCategories"] > * {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: var(--spacing-3);
    max-width: 100%;
  }
  
  section {
    padding: var(--spacing-4) var(--spacing-3);
  }
  
  /* Typography */
  h1 {
    font-size: var(--font-size-4xl);
  }
  
  h2 {
    font-size: var(--font-size-3xl);
  }
  
  /* Video Iframes - Only in responsive containers */
  .video-container iframe,
  .video-container embed,
  .video-container object {
    max-width: 100%;
    height: auto;
  }
  
  /* Existing video items - maintain original sizing */
  .videoitem iframe,
  [class*="VideoItem"] iframe {
    width: 100%;
    height: 400px;
    max-width: 100%;
  }
  
  /* Cards - 2 columns on tablet */
  .package-card,
  .service-card {
    width: calc(50% - var(--spacing-2));
    margin: var(--spacing-2);
  }
  
  /* Gallery - 2 columns */
  [class*="PhotoGrid"] {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Forms */
  form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Booking Calendar */
  [class*="Calendar"],
  [class*="calendar"] {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    padding: var(--spacing-4);
    max-width: 1200px;
  }
  
  /* Video Iframes - Only in responsive containers on desktop */
  .video-container iframe {
    max-width: 100%;
    height: 100%;
  }
  
  /* Existing video items - maintain original sizing */
  .videoitem iframe,
  [class*="VideoItem"] iframe,
  [class*="video-item"] iframe {
    width: 100%;
    height: 500px;
    max-width: 100%;
  }
  
  /* Gallery - 3+ columns on desktop */
  [class*="PhotoGrid"] {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Cards - Multiple columns */
  .package-card,
  .service-card {
    width: calc(33.333% - var(--spacing-3));
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .container {
    max-width: 1400px;
  }
  
  [class*="PhotoGrid"] {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra Small Devices (phones in portrait) */
@media (max-width: 480px) {
  :root {
    --font-size-5xl: 2.5rem;    /* 40px - scaled down from 72px */
    --font-size-4xl: 2rem;      /* 32px - scaled down from 56px */
    --font-size-3xl: 1.75rem;   /* 28px - scaled down from 40px */
    --font-size-2xl: 1.5rem;    /* 24px - scaled down from 32px */
  }
  
  .container {
    padding: var(--spacing-1);
  }
  
  section {
    padding: var(--spacing-2) var(--spacing-1);
  }
  
  button,
  .button {
    font-size: var(--font-size-sm);
    padding: 0.75rem 1rem;
  }
  
  /* Smaller images on very small screens */
  img {
    max-width: 100%;
  }
  
  /* Compact forms */
  input,
  textarea,
  select {
    font-size: 16px; /* Prevents zoom */
    padding: 0.75rem;
  }
}

/* Landscape Orientation on Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  section {
    padding: var(--spacing-2);
  }
  
  h1 {
    font-size: var(--font-size-2xl);
  }
  
  h2 {
    font-size: var(--font-size-xl);
  }
  
  /* Reduce vertical spacing in landscape */
  .container {
    padding: var(--spacing-1) var(--spacing-2);
  }
}

/* Touch Target Sizes (Accessibility) */
@media (pointer: coarse) {
  button,
  .button,
  a.button,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
    min-width: 44px;
    padding: 0.875rem 1.75rem;
  }
  
  nav a,
  [class*="Nav"] a {
    padding: 0.75rem 1.25rem;
  }
}

/* ============================================
   10. ANIMATION & TRANSITIONS
   ============================================ */
/* Page Transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Scroll-triggered Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Intersection Observer based scroll animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation classes for scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.animate-slide-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s ease;
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s ease;
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
}

.animate-fade-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   D15: MICRO-INTERACTIONS
   ============================================ */

/* D15.1: Button clicks (scale, ripple effect) */
button,
.button,
input[type="submit"],
input[type="button"],
a.button {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

button:active,
.button:active,
input[type="submit"]:active,
input[type="button"]:active,
a.button:active {
  transform: scale(0.95);
}

/* Ripple effect on click */
button::after,
.button::after,
input[type="submit"]::after,
input[type="button"]::after,
a.button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s, opacity 0.6s;
  pointer-events: none;
  opacity: 0;
}

button:active::after,
.button:active::after,
input[type="submit"]:active::after,
input[type="button"]:active::after,
a.button:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
  transition: width 0.6s, height 0.6s, opacity 0.6s;
}

/* D15.2: Icon hovers (rotation, color change) */
.icon,
svg,
[class*="icon"],
[class*="Icon"] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.3s ease,
              filter 0.3s ease;
  display: inline-block;
}

.icon:hover,
svg:hover,
[class*="icon"]:hover,
[class*="Icon"]:hover {
  transform: rotate(5deg) scale(1.1);
  color: var(--accent-primary);
  filter: drop-shadow(var(--glow-text));
}

.icon:active,
svg:active,
[class*="icon"]:active,
[class*="Icon"]:active {
  transform: rotate(-5deg) scale(0.95);
}

/* Social media icons specific */
.social-media svg:hover,
.social-media a:hover svg {
  transform: rotate(10deg) scale(1.15);
  filter: drop-shadow(var(--glow-text));
}

/* D15.3: Card hovers (lift, glow) - Enhanced */
.package-card:hover,
.service-card:hover,
[class*="Card"]:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), var(--glow-primary);
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
}

/* D15.4: Form field focus (expand, glow) - Enhanced */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
input:focus,
textarea:focus,
select:focus {
  transform: scale(1.02);
  box-shadow: var(--glow-primary), 0 0 0 3px rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  outline: none;
}

/* D15.5: Link hovers (underline animation) */
a:not(.button):not(button):not([class*="Button"]) {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:not(.button):not(button):not([class*="Button"])::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  /* Removed box-shadow - was creating rectangle glow effect */
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not(.button):not(button):not([class*="Button"]):hover {
  color: var(--accent-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

a:not(.button):not(button):not([class*="Button"]):hover::after {
  width: 100%;
}

/* Navigation links - enhanced underline */
nav a:not(.button):not(button),
[class*="Nav"] a:not(.button):not(button),
[class*="navbar"] a:not(.button):not(button) {
  position: relative;
}

nav a:not(.button):not(button)::after,
[class*="Nav"] a:not(.button):not(button)::after,
[class*="navbar"] a:not(.button):not(button)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  /* Removed box-shadow - was creating rectangle glow effect */
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:not(.button):not(button):hover::after,
[class*="Nav"] a:not(.button):not(button):hover::after,
[class*="navbar"] a:not(.button):not(button):hover::after {
  width: 100%;
}

/* Legacy clickable class for backwards compatibility */
.clickable {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.clickable:active {
  transform: scale(0.95);
}

/* Smooth Loading */
.content-loading {
  opacity: 0;
  animation: fadeIn 0.5s ease-in 0.2s forwards;
}

/* ============================================
   11. ACCESSIBILITY STYLING
   ============================================ */
/* Focus Indicators */
*:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip to Content Link - Removed as it was causing the horizontal strip issue */

/* Semantic HTML Structure Support */
main {
  display: block;
  /* Ensure main content is not affected by header shadow */
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
}

main#main-content {
  outline: none;
}

main#main-content:focus {
  outline: 2px dashed var(--accent-primary);
  outline-offset: 4px;
}

/* ARIA Landmark Support */
[role="banner"],
header[role="banner"] {
  display: block;
}

[role="navigation"],
nav[role="navigation"] {
  display: block;
}

[role="main"],
main[role="main"] {
  display: block;
}

[role="contentinfo"],
footer[role="contentinfo"] {
  display: block;
}

[role="complementary"],
aside[role="complementary"] {
  display: block;
}

[role="search"] {
  display: block;
}

/* Semantic section elements */
section {
  display: block;
}

article {
  display: block;
}

aside {
  display: block;
}

header {
  display: block;
}

footer {
  display: block;
}

nav {
  display: block;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --border-light: rgba(255, 255, 255, 0.5);
    --border-medium: rgba(255, 255, 255, 0.7);
    --border-dark: rgba(255, 255, 255, 0.9);
  }
  
  button,
  .button {
    border-width: 3px;
  }
}

/* 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;
}

/* ============================================
   12. PERFORMANCE CSS OPTIMIZATIONS
   ============================================ */
/* Use CSS Variables for Theming */
/* (Already implemented throughout) */

/* Optimize Selectors */
/* Use class-based selectors instead of tag selectors where possible */

/* Will-change for Animated Elements */
.animated-element {
  will-change: transform, opacity;
}

/* Use Transform Instead of Position Changes */
/* (Already implemented in hover effects) */

/* GPU Acceleration */
.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Contain Layout */
.contain-layout {
  contain: layout;
}

.contain-paint {
  contain: paint;
}

.contain-strict {
  contain: strict;
}

/* ============================================
   ADDITIONAL UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-normal { font-weight: var(--font-weight-normal); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent-primary); }

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-tertiary { background-color: var(--bg-tertiary); }

.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 2px 4px var(--shadow-sm); }
.shadow-md { box-shadow: 0 4px 12px var(--shadow-md); }
.shadow-lg { box-shadow: 0 8px 24px var(--shadow-lg); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* Mobile Utility Classes */
@media (max-width: 767px) {
  .mobile-hidden { display: none !important; }
  .mobile-block { display: block !important; }
  .mobile-full-width { width: 100% !important; }
  .mobile-no-margin { margin: 0 !important; }
  .mobile-no-padding { padding: 0 !important; }
}

@media (min-width: 768px) {
  .desktop-hidden { display: none !important; }
}

/* ============================================
   HERO SECTION ENHANCEMENTS (D1.1-D1.4)
   ============================================ */

/* D1.1: Gradient Overlay on Hero Images */
/* The carousel container is position: fixed, full viewport */
/* Target the carousel container div (first child of Home component) */
main > [class*="Home"] > div:first-child {
  position: relative;
}

/* Hero carousel gradient — home only (JS may also add .hero-gradient-overlay) */
main:not(:has(> [class*="Home"])) .hero-gradient-overlay {
  display: none !important;
}

main > [class*="Home"] > div:first-child::after,
main > [class*="Home"] .hero-gradient-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  ) !important;
  z-index: 10 !important;
  pointer-events: none;
}

/* Ensure carousel slides are positioned correctly */
main > [class*="Home"] > div:first-child > div {
  position: relative;
  z-index: 1;
}

/* D1.2: Animated Text Overlay with Fade-in */
/* Only apply to text in hero section */
.hero-text,
main > [class*="Home"] h1,
main > [class*="Home"] h2,
main > [class*="Home"] p {
  animation: fadeInUp 1s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Staggered animation delays for multiple text elements */
main > [class*="Home"] h1 {
  animation-delay: 0.2s;
}

main > [class*="Home"] h2 {
  animation-delay: 0.4s;
}

main > [class*="Home"] p {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* D1.3: Subtle Parallax Effect on Scroll */
/* Only target carousel images, don't change layout */
main > [class*="Home"] img[src*="/1.jpg"],
main > [class*="Home"] img[src*="/2.jpg"],
main > [class*="Home"] img[src*="/3.jpg"],
main > [class*="Home"] img[src*="/4.jpg"],
main > [class*="Home"] img[src*="/5.jpg"],
main > [class*="Home"] img[src*="/6.jpg"],
main > [class*="Home"] img[src*="Vertical Website Photos"] {
  will-change: transform;
  transition: transform 0.3s ease-out;
}

/* Parallax effect - applied via JavaScript */
.parallax-slow {
  transform: translateY(0);
}

/* D1.4: Call-to-Action Button with Pulse Animation */
/* Only target buttons in hero section, not carousel dots */
.hero-cta,
main > [class*="Home"] button:not([class*="dot"]):not([class*="Dot"]),
main > [class*="Home"] .button,
main > [class*="Home"] a[class*="Button"] {
  position: relative;
  animation: pulse 2s ease-in-out infinite;
  animation-delay: 0.8s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

/* Enhanced CTA button styling */
.hero-cta:hover,
main > [class*="Home"] button:not([class*="dot"]):not([class*="Dot"]):hover,
main > [class*="Home"] .button:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: var(--glow-primary-hover);
}

/* Hero content wrapper - only if it exists */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: var(--spacing-4);
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
  main:has(> [class*="Home"])::before,
  main > [class*="Home"]::before {
    display: none; /* Remove mobile overlay to prevent double-darkening */
  }
  
  .hero-content {
    padding: var(--spacing-3);
  }
  
  /* Reduce animation intensity on mobile */
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5);
    }
    50% {
      transform: scale(1.02);
      box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
  }
}

/* D3.1-D3.5: Enhanced Section Header Decorations */
section,
[class*="Section"] {
  position: relative;
}

/* D3.3: Patterns and textures removed - clean background */
section::before,
[class*="Section"]::before {
  display: none;
}

section h1,
section h2,
[class*="Section"] h1,
[class*="Section"] h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-2);
  margin-bottom: var(--spacing-4);
  z-index: 1;
  /* Ensure solid white text */
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
}

/* D3.2: Solid white text for section headings - Maximum visibility */
section h1,
section h2,
[class*="Section"] h1,
[class*="Section"] h2 {
  /* Solid white - no gradient for maximum readability */
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  color: #ffffff !important;
  font-weight: 800;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  section h1,
  section h2,
  [class*="Section"] h1,
  [class*="Section"] h2 {
    /* Solid white - no transparent gradient */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
  }
}

/* D3.4: Section numbers or icons */
section[data-section-number] h1::before,
section[data-section-number] h2::before,
[class*="Section"][data-section-number] h1::before,
[class*="Section"][data-section-number] h2::before {
  content: attr(data-section-number);
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--accent-primary);
  opacity: 0.3;
  font-family: var(--font-heading);
}

/* Alternative: Icon-based section markers */
section[data-section-icon] h1::before,
section[data-section-icon] h2::before,
[class*="Section"][data-section-icon] h1::before,
[class*="Section"][data-section-icon] h2::before {
  content: attr(data-section-icon);
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-primary);
  opacity: 0.6;
}

/* Default decorative elements */
section h1::before,
section h2::before,
[class*="Section"] h1::before,
[class*="Section"] h2::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: var(--glow-primary);
}

section h1::after,
section h2::after,
[class*="Section"] h1::after,
[class*="Section"] h2::after {
  content: '';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: var(--glow-primary);
}

/* D3.5: Animated underline on scroll */
section h1,
section h2,
[class*="Section"] h1,
[class*="Section"] h2 {
  position: relative;
  overflow: hidden;
}

section h1::after,
section h2::after,
[class*="Section"] h1::after,
[class*="Section"] h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), var(--glow-primary);
}

/* Animate underline when section comes into view */
section.animate-underline h1::after,
section.animate-underline h2::after,
[class*="Section"].animate-underline h1::after,
[class*="Section"].animate-underline h2::after {
  width: 100%;
  animation: underlineDraw 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes underlineDraw {
  0% {
    width: 0;
    left: 50%;
  }
  50% {
    left: 0;
  }
  100% {
    width: 100%;
    left: 0;
  }
}

/* Decorative lines around headings (enhanced) */
section h1,
section h2,
[class*="Section"] h1,
[class*="Section"] h2 {
  border-bottom: 2px solid transparent;
  background-image: linear-gradient(to right, transparent 0%, var(--accent-primary) 20%, var(--accent-primary) 80%, transparent 100%);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
  padding-bottom: var(--spacing-2);
  transition: background-size 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.animate-underline h1,
section.animate-underline h2,
[class*="Section"].animate-underline h1,
[class*="Section"].animate-underline h2 {
  background-size: 100% 2px;
}

/* Video Container - Responsive Wrapper */
.video-container,
[class*="VideoContainer"],
[class*="video-container"] {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: var(--spacing-3) 0;
}

.video-container iframe,
.video-container embed,
.video-container object,
[class*="VideoContainer"] iframe,
[class*="video-container"] iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Only make videos responsive if they're in a video-container */
.video-container iframe[src*="youtube"],
.video-container iframe[src*="youtu.be"],
.video-container iframe[src*="vimeo"],
.video-container iframe[src*="dailymotion"] {
  max-width: 100%;
  height: 100%;
}

/* Preserve existing video item layouts */
.videoitem,
[class*="VideoItem"],
[class*="video-item"] {
  position: relative;
  width: 100%;
  margin-bottom: var(--spacing-3);
}

.videoitem iframe,
[class*="VideoItem"] iframe,
[class*="video-item"] iframe {
  display: block;
  margin: 0 auto;
  border: none;
}

/* Booking Form Mobile Optimizations */
@media (max-width: 767px) {
  [class*="Booking"],
  [class*="booking"] {
    width: 100%;
    padding: var(--spacing-2);
  }
  
  [class*="Booking"] form,
  [class*="booking"] form {
    width: 100%;
    max-width: 100%;
  }
  
  [class*="Booking"] .form-group,
  [class*="booking"] .form-group {
    margin-bottom: var(--spacing-2);
  }
  
  /* Date picker mobile optimization */
  input[type="date"] {
    font-size: 16px; /* Prevents zoom */
    min-height: 48px;
  }
  
  /* Select dropdowns */
  select {
    font-size: 16px; /* Prevents zoom */
    min-height: 48px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }
}

/* ============================================
   NOSCRIPT STYLES
   ============================================ */
.noscript-message {
  text-align: center;
  padding: var(--spacing-5);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.noscript-message h1 {
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
}

.noscript-message p {
  margin-bottom: var(--spacing-2);
  color: var(--text-secondary);
}

/* ============================================
   OVERRIDES FOR EXISTING STYLES
   ============================================ */
/* Override existing body background */
body {
  background-color: var(--bg-primary) !important;
}

/* Ensure proper contrast */
a {
  color: var(--accent-secondary);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-primary);
}

/* D19.1: Gradient accents for all buttons (if not already styled) */
button:not(.secondary):not(.outline):not(.primary):not(.photo-lightbox-btn),
input[type="submit"]:not(.secondary):not(.outline),
input[type="button"]:not(.secondary):not(.outline) {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-dark) 100%);
  color: var(--text-primary);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.3);
}

button:not(.secondary):not(.outline):not(.primary):not(.photo-lightbox-btn):hover,
input[type="submit"]:not(.secondary):not(.outline):hover,
input[type="button"]:not(.secondary):not(.outline):hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, var(--accent-primary) 100%);
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.5);
}

/* Improve form inputs */
input,
textarea,
select {
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-light);
  color: var(--text-primary);
}

/* ============================================
   MOBILE MENU TOGGLE (hamburger) — override global button styles
   ============================================ */
header button[aria-label="Toggle menu"] {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 12px;
  margin: 12px auto 16px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  color: #fff !important;
  text-transform: none;
  letter-spacing: normal;
  font-weight: normal;
  overflow: visible;
  position: relative;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

header button[aria-label="Toggle menu"]:hover,
header button[aria-label="Toggle menu"]:focus {
  background: rgba(0, 0, 0, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
}

header button[aria-label="Toggle menu"]:active {
  transform: scale(0.96);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4) !important;
}

header button[aria-label="Toggle menu"] span {
  display: block !important;
  width: 26px;
  height: 3px;
  min-height: 3px;
  margin: 0;
  padding: 0;
  background: #fff !important;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Close (×) button inside mobile nav overlay */
header button.mobile-menu-close,
header button[aria-label="Close menu"] {
  display: none;
}

body.menu-open header button.mobile-menu-close,
body.menu-open header button[aria-label="Close menu"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10002 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  border: 2px solid #C9A227 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
  color: #C9A227 !important;
  font-size: 1.75rem !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  overflow: visible !important;
  transform: none !important;
}

body.menu-open header button.mobile-menu-close::after,
body.menu-open header button[aria-label="Close menu"]::after {
  display: none !important;
  content: none !important;
}

body.menu-open header button.mobile-menu-close:hover,
body.menu-open header button[aria-label="Close menu"]:hover {
  background: rgba(201, 162, 39, 0.9) !important;
  color: #111 !important;
  transform: none !important;
}

/* Hide hamburger while menu is open */
body.menu-open header button[aria-label="Toggle menu"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.menu-open header,
body.menu-open header.sticky {
  z-index: 9999 !important;
}

/* Lightbox is inside main (z-index 1); header is z-index 1000 — hide header so it cannot cover controls */
body.photo-lightbox-open header,
body.photo-lightbox-open header.sticky,
body.photo-lightbox-open [class*="Header"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.photo-lightbox-open main {
  z-index: 25000 !important;
}

@media (max-width: 768px) {
  header button[aria-label="Toggle menu"] {
    display: flex !important;
  }

  /* Keep header stack tidy on small screens */
  header[class*="Header"],
  header {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8px;
  }

  /* Full-screen mobile menu — centre every item (fixes Contact sitting off to the side) */
  body.menu-open header nav ul,
  body.menu-open header[class*="Header"] nav ul {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }

  body.menu-open header nav ul li,
  body.menu-open header[class*="Header"] nav ul li {
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 !important;
    text-align: center !important;
  }

  body.menu-open header nav ul li a,
  body.menu-open header[class*="Header"] nav ul li a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 16px !important;
    font-size: 1.125rem !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 769px) {
  header button[aria-label="Toggle menu"] {
    display: none !important;
  }
}

/* Hide legacy price tier lists if cached bundle still renders them */
[class*="PriceList"],
[class*="PriceItem"] {
  display: none !important;
}

/* ============================================
   TESTIMONIALS PAGE
   ============================================ */
#testimonials > div > div {
  position: relative;
}

#testimonials > div > div::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 3rem;
  line-height: 1;
  color: rgba(201, 162, 39, 0.2);
  font-family: Georgia, serif;
  pointer-events: none;
}

#testimonials cite {
  color: #fff;
}

#testimonials cite span {
  color: var(--accent-primary-hover) !important;
  opacity: 1 !important;
}

/* Gold star ratings */
#testimonials > div > div > div:last-child > div:last-child {
  color: #C9A227 !important;
  letter-spacing: 3px;
}

/* ============================================
   CONTACT PAGE — iOS / touch fixes
   ============================================ */
main form button[type="submit"],
[class*="Contact"] form button[type="submit"] {
  position: relative;
  z-index: 5;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  cursor: pointer;
}

/* Keep contact fields plain/stable to avoid focus lag */
[class*="Contact"] .form-group label,
[class*="Contact"] form .form-group label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin-bottom: 0.4rem !important;
  pointer-events: auto !important;
}

[class*="Contact"] .form-group.has-icon input,
[class*="Contact"] .form-group.has-icon textarea,
[class*="Contact"] form input,
[class*="Contact"] form textarea {
  padding-left: 1rem !important;
  transition: border-color 0.2s ease !important;
}

[class*="Contact"] .field-icon,
[class*="Contact"] form .field-icon {
  display: none !important;
}

.dev-contact-status {
  padding: 14px 16px;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.4;
}

.dev-contact-status--success {
  background: rgba(76, 175, 80, 0.2);
  color: #a5d6a7;
  border: 1px solid rgba(76, 175, 80, 0.5);
}

.dev-contact-status--error {
  background: rgba(244, 67, 54, 0.2);
  color: #ef9a9a;
  border: 1px solid rgba(244, 67, 54, 0.5);
}

.dev-contact-status--info {
  background: rgba(201, 162, 39, 0.15);
  color: #e8d5a3;
  border: 1px solid rgba(201, 162, 39, 0.45);
}

/* ============================================
   REMOVE LEGACY BOOK NOW (cached old JS may still render it)
   ============================================ */
header a[href="/booking"],
header a[href="/booking/"],
[class*="Header"] a[href="/booking"],
nav a[href="/booking"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* ============================================
   PHOTO GALLERY LIGHTBOX
   ============================================ */
.photo-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  touch-action: manipulation;
  isolation: isolate;
  /* Override styled-component flex — grid places image + controls correctly */
  display: grid !important;
  grid-template-columns: minmax(72px, auto) 1fr minmax(72px, auto);
  grid-template-rows: minmax(64px, auto) 1fr;
  grid-template-areas:
    ". . close"
    "prev image next";
  align-items: center;
  justify-items: center;
  padding: 0 12px;
  box-sizing: border-box;
}

.photo-lightbox-image,
.photo-lightbox > img {
  grid-area: image;
  max-height: 85vh !important;
  max-width: min(calc(100vw - 160px), 1200px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  z-index: 1;
  pointer-events: auto;
  align-self: center;
  justify-self: center;
}

/* Shared lightbox control chrome (modern gallery style) */
.photo-lightbox .photo-lightbox-close,
.photo-lightbox .photo-lightbox-control.photo-lightbox-nav {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(18, 18, 18, 0.55) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 100002 !important;
  transform: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  outline: none;
  overflow: visible !important;
  pointer-events: auto !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: normal !important;
}

.photo-lightbox .photo-lightbox-close::after,
.photo-lightbox .photo-lightbox-control.photo-lightbox-nav::after {
  display: none !important;
  content: none !important;
}

/* Close */
.photo-lightbox .photo-lightbox-close {
  grid-area: close;
  justify-self: end;
  align-self: start;
  margin: 12px 8px 0 0;
}

.photo-lightbox .photo-lightbox-close svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  pointer-events: none !important;
  transform: none !important;
  transition: none !important;
  opacity: 0.95;
}

.photo-lightbox .photo-lightbox-close:hover,
.photo-lightbox .photo-lightbox-close:active,
.photo-lightbox .photo-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.photo-lightbox .photo-lightbox-close:hover svg,
.photo-lightbox .photo-lightbox-close:active svg {
  transform: none !important;
  filter: none !important;
}

/* Prev / next — CSS chevrons (hide text glyph from bundle) */
.photo-lightbox .photo-lightbox-control.photo-lightbox-nav {
  align-self: center;
  justify-self: center;
}

.photo-lightbox .photo-lightbox-nav-glyph {
  display: none !important;
}

.photo-lightbox .photo-lightbox-nav--prev::before,
.photo-lightbox .photo-lightbox-nav--next::before {
  content: "" !important;
  display: block !important;
  width: 9px !important;
  height: 9px !important;
  border-top: 2px solid currentColor !important;
  border-right: 2px solid currentColor !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  transition: none !important;
  opacity: 0.95;
}

.photo-lightbox .photo-lightbox-nav--prev::before {
  transform: rotate(-135deg) !important;
  margin-left: 3px;
}

.photo-lightbox .photo-lightbox-nav--next::before {
  transform: rotate(45deg) !important;
  margin-right: 3px;
}

.photo-lightbox .photo-lightbox-nav--prev {
  grid-area: prev;
}

.photo-lightbox .photo-lightbox-nav--next {
  grid-area: next;
}

.photo-lightbox .photo-lightbox-control.photo-lightbox-nav:hover,
.photo-lightbox .photo-lightbox-control.photo-lightbox-nav:active,
.photo-lightbox .photo-lightbox-control.photo-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.photo-lightbox .photo-lightbox-nav--prev:hover::before,
.photo-lightbox .photo-lightbox-nav--prev:active::before,
.photo-lightbox .photo-lightbox-nav--prev:focus-visible::before {
  transform: rotate(-135deg) !important;
  border-top-color: #ffffff !important;
  border-right-color: #ffffff !important;
}

.photo-lightbox .photo-lightbox-nav--next:hover::before,
.photo-lightbox .photo-lightbox-nav--next:active::before,
.photo-lightbox .photo-lightbox-nav--next:focus-visible::before {
  transform: rotate(45deg) !important;
  border-top-color: #ffffff !important;
  border-right-color: #ffffff !important;
}

/* Photo gallery page — grid spacing on mobile */
@media (max-width: 768px) {
  main section:first-of-type {
    padding-top: 20px !important;
  }

  [class*="PhotoGrid"],
  section[class*="Photo"] > div {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .photo-lightbox-image,
  .photo-lightbox > img {
    max-height: 70vh !important;
    max-width: 96vw !important;
  }

  .photo-lightbox {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: minmax(56px, auto) 1fr minmax(72px, auto);
    grid-template-areas:
      ". . close"
      "image image image"
      "prev . next";
    padding: 0 max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
  }

  .photo-lightbox-image,
  .photo-lightbox > img {
    max-height: 70vh !important;
    max-width: 96vw !important;
  }

  .photo-lightbox .photo-lightbox-close {
    margin: max(8px, env(safe-area-inset-top)) max(4px, env(safe-area-inset-right)) 0 0;
  }

  .photo-lightbox .photo-lightbox-close,
  .photo-lightbox .photo-lightbox-control.photo-lightbox-nav {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
  }

  .photo-lightbox .photo-lightbox-control.photo-lightbox-nav {
    align-self: center;
  }

  .photo-lightbox .photo-lightbox-nav--prev {
    justify-self: start;
    margin-left: max(4px, env(safe-area-inset-left));
  }

  .photo-lightbox .photo-lightbox-nav--next {
    justify-self: end;
    margin-right: max(4px, env(safe-area-inset-right));
  }
}

/* ============================================
   STANDARD PAGE HEADINGS (inner pages)
   ============================================ */
main:not(:has(> [class*="Home"])) h1,
main:not(:has(> [class*="Home"])) h2,
main:not(:has(> [class*="Home"])) h3 {
  text-decoration: none !important;
}

/* Disable decorative dots / animated underlines on inner pages */
main:not(:has(> [class*="Home"])) section h1::before,
main:not(:has(> [class*="Home"])) section h2::before,
main:not(:has(> [class*="Home"])) section h3::before,
#testimonials > h1::before {
  display: none !important;
  content: none !important;
}

/* Primary page titles */
#testimonials > h1,
main:not(:has(> [class*="Home"])) section > h2:first-child,
main:not(:has(> [class*="Home"])) section h1 {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  overflow: visible !important;
}

/* Gold rule under primary titles only */
#testimonials > h1::after,
main:not(:has(> [class*="Home"])) section > h2:first-child::after,
main:not(:has(> [class*="Home"])) section h1::after {
  content: '' !important;
  display: block !important;
  position: static !important;
  width: 64px !important;
  height: 3px !important;
  margin: 0.75rem auto 0 !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  background: linear-gradient(90deg, transparent, #C9A227, transparent) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
  border-radius: 0 !important;
}

/* Secondary section headings (e.g. About subheads) */
main:not(:has(> [class*="Home"])) section h2 {
  display: block !important;
  text-align: center !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #C9A227 !important;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  background: none !important;
  -webkit-text-fill-color: #C9A227 !important;
  text-shadow: none !important;
  overflow: visible !important;
}

main:not(:has(> [class*="Home"])) section h2:not(:first-child)::after,
main:not(:has(> [class*="Home"])) section h2:not(:first-child)::before {
  display: none !important;
  content: none !important;
}

/* Service card titles */
main:not(:has(> [class*="Home"])) section h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #ffffff !important;
  text-shadow: none !important;
  margin-bottom: 0.5rem !important;
  text-align: center !important;
}

/* Override legacy CRA green (#4caf50) in main.15b6ee12.css — enhanced loads after */
main .pricing-heading,
main h3.pricing-heading,
[class*="pricing"] h3,
main section h3[style*="color"] {
  color: #C9A227 !important;
  border-bottom-color: #C9A227 !important;
}

/* Styled-components: common green border/background patterns */
main div[style*="border"][style*="4caf"],
main button[style*="4caf"],
main a[style*="4caf"] {
  border-color: #C9A227 !important;
  background-color: #A68B2B !important;
  color: #111 !important;
}

