/*
Theme Name: Astra Luxury Child V2
Theme URI: https://balirelocation.com
Description: Premium child theme for Bali Relocation - luxury relocation services. Zero-bug workflow.
Author: Bali Relocation Team
Author URI: https://balirelocation.com
Template: astra
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: astra-luxury-child-v2
*/

:root {
  --brand-navy: #1B2B4B;
  --brand-gold: #C9A84C;
  --brand-teal: #2A9D8F;
  --brand-cream: #FAF6F0;
  --brand-charcoal: #2D2D2D;
  --brand-white: #FFFFFF;
  --color-bg-primary: var(--brand-white);
  --color-bg-secondary: var(--brand-cream);
  --color-bg-dark: var(--brand-navy);
  --color-text-primary: var(--brand-charcoal);
  --color-text-secondary: #6B7280;
  --color-text-inverse: var(--brand-white);
  --color-accent: var(--brand-gold);
  --color-accent-hover: #B8973F;
  --color-link: var(--brand-teal);
  --color-link-hover: #238577;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-h4: clamp(1.1rem, 1.5vw, 1.25rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-section: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-card: 0 4px 20px rgba(27,43,75,0.08);
  --shadow-card-hover: 0 8px 40px rgba(27,43,75,0.15);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

body { font-family: var(--font-body); color: var(--color-text-primary); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--brand-navy); line-height: 1.3; font-weight: 600; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-h3); margin-bottom: var(--space-sm); } h4 { font-size: var(--fs-h4); }
p { font-size: var(--fs-body); margin-bottom: var(--space-md); }
a { color: var(--color-link); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-link-hover); }

[style*="grid-template-columns: repeat(3"],[style*="grid-template-columns:repeat(3"] { display: grid !important; gap: var(--space-lg); }
[style*="grid-template-columns: repeat(2"],[style*="grid-template-columns:repeat(2"] { display: grid !important; gap: var(--space-lg); }
@media (max-width: 768px) {
  [style*="grid-template-columns: repeat(3"],[style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(2"],[style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; gap: var(--space-md) !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  [style*="grid-template-columns: repeat(3"],[style*="grid-template-columns:repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
}

.db-card { background: var(--brand-white); border-radius: var(--border-radius); padding: var(--space-lg); box-shadow: var(--shadow-card); transition: transform var(--transition-base), box-shadow var(--transition-base); }
.db-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

figure.db-content-image { margin: var(--space-lg) 0; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-md); }
figure.db-content-image img { width: 100%; height: auto; display: block; object-fit: cover; }
figure.db-content-image figcaption { padding: var(--space-sm) var(--space-md); font-size: var(--fs-small); color: var(--color-text-secondary); background: var(--brand-cream); text-align: center; }

.aeo-answer-box { background: linear-gradient(135deg, var(--brand-cream) 0%, #f0ebe3 100%); border-left: 4px solid var(--brand-gold); border-radius: 0 var(--border-radius) var(--border-radius) 0; padding: var(--space-lg); margin: var(--space-xl) 0; }
.aeo-answer-box strong:first-child { display: block; font-family: var(--font-heading); font-size: var(--fs-h4); color: var(--brand-navy); margin-bottom: var(--space-sm); }

.db-btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--brand-gold); color: var(--brand-white); padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all var(--transition-base); border: none; cursor: pointer; }
.db-btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--brand-white); }

.db-hero { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--space-3xl) var(--space-lg); background-size: cover; background-position: center; overflow: hidden; }
.db-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,43,75,0.85) 0%, rgba(27,43,75,0.6) 100%); z-index: 1; }
.db-hero > * { position: relative; z-index: 2; }
.db-hero h1 { font-size: var(--fs-hero); color: var(--brand-white); margin-bottom: var(--space-md); }
.db-hero p { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto var(--space-lg); }

.db-faq h3 { font-family: var(--font-heading); color: var(--brand-navy); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--brand-cream); margin-bottom: var(--space-sm); }
.db-faq h3 + p { color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-lg); }

.site-footer { background: var(--brand-navy) !important; color: rgba(255,255,255,0.8); }
.site-footer a { color: var(--brand-gold); }
.site-footer a:hover { color: var(--brand-white); }

section.bg-cream { background-color: var(--brand-cream); }
section.bg-navy { background-color: var(--brand-navy); color: var(--brand-white); }
section.bg-navy h2, section.bg-navy h3 { color: var(--brand-white); }
section.bg-white { background-color: var(--brand-white); }

.db-stats { display: flex; justify-content: center; gap: var(--space-xl); flex-wrap: wrap; padding: var(--space-xl) 0; }
.db-stat-number { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--brand-gold); line-height: 1; margin-bottom: var(--space-xs); }
.db-stat-label { font-size: var(--fs-small); color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }

.db-fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.db-fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .db-hero { min-height: 50vh; padding: var(--space-2xl) var(--space-sm); }
  .db-stats { gap: var(--space-md); }
  .db-card { padding: var(--space-md); }
  section { padding: var(--space-2xl) var(--space-sm); }
}
