/* ==========================================================================
   HEAVENHUES GLOBALS PVT. LTD. - Core Design System & Global Styles
   Brand Identity: "Your Home, Our Passion" | Building Trust, Creating Futures
   ========================================================================== */

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

:root {
  /* Brand Colors matching Logo */
  --primary: #18444a;
  --primary-rgb: 24, 68, 74;
  --primary-light: #24616a;
  --primary-dark: #12363a;
  --primary-hover: #153d42;

  --accent: #a4852c;
  --accent-rgb: 164, 133, 44;
  --accent-light: #c0a45a;
  --accent-dark: #85691f;
  
  --emerald: #15803d;         /* Eco Green from Tree silhouette & plots */
  --emerald-light: #22c55e;
  --emerald-soft: #f0fdf4;
  
  --secondary: #2c4f5e;
  --dark: #0f172a;
  --dark-rgb: 15, 23, 42;
  --light: #f8fafc;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Status Colors */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --info: #0284c7;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 10px 25px -5px rgba(198, 146, 20, 0.3);
  --shadow-card: 0 12px 32px rgba(10, 51, 66, 0.08);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background-color: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

input, button, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   CONTAINER & LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 85px 0;
  position: relative;
}

.section-sm {
  padding: 50px 0;
}

.section-lg {
  padding: 115px 0;
}

.bg-light {
  background-color: var(--gray-100);
}

.bg-white {
  background-color: var(--white);
}

.bg-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3d4e 100%);
  color: var(--white);
}

.bg-primary-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.bg-accent-soft {
  background-color: var(--accent-soft);
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(198, 146, 20, 0.28);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-light);
  border-color: rgba(224, 170, 44, 0.4);
}

.section-tag.green {
  background: var(--emerald-soft);
  color: var(--emerald);
  border-color: rgba(21, 128, 61, 0.25);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.section-subtitle.light {
  color: var(--gray-300);
}

.highlight-gold {
  color: var(--accent);
}

.highlight-green {
  color: var(--emerald);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 51, 66, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(10, 51, 66, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(198, 146, 20, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, #16a34a 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}

.btn-emerald:hover {
  background: #15803d;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

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

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-accent {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   BADGES & PILLS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-gold {
  background-color: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(198, 146, 20, 0.3);
}

.badge-green {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-blue {
  background-color: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}

.badge-navy {
  background-color: rgba(10, 51, 66, 0.9);
  color: #ffffff;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(198, 146, 20, 0.35);
}

/* Flex utilities */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 14px; }
.gap-4 { gap: 20px; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .section-title { font-size: 1.7rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
