/* ==========================================================================
   RAITHUMITHRA BOREWELLS - GLOBAL STYLES & DESIGN TOKENS
   Theme: Premium Agricultural + Engineering Authority
   ========================================================================== */

:root {
  /* Logo Espresso & Deep Authority Stones */
  --color-primary-900: #14120e;
  --color-primary-800: #221c15;
  --color-primary-700: #332a1f;
  --color-primary-600: #664d28;
  --color-primary-500: #a17024;
  --color-primary-100: #fef3c7;
  --color-primary-50:  #fffbeb;

  /* Logo Saffron & Sunset Orange */
  --color-saffron-700: #9a3412;
  --color-saffron-600: #c2410c;
  --color-saffron-500: #ea580c;
  --color-saffron-400: #f97316;
  --color-saffron-100: #ffedd5;
  --color-saffron-50:  #fff7ed;

  /* Logo Metallic Gold (Beveled Typography & Crest) */
  --color-gold-700: #8c5e0e;
  --color-gold-600: #b47b16;
  --color-gold-500: #d99b26;
  --color-gold-400: #f3c467;
  --color-gold-300: #fce7b0;
  --color-gold-100: #fef7e6;

  /* Logo Precision Water Cyan & Sky Azure */
  --color-water-700: #0369a1;
  --color-water-600: #0284c7;
  --color-water-500: #0ea5e9;
  --color-water-400: #38bdf8;
  --color-water-100: #e0f2fe;

  /* Logo Leaf Green */
  --color-leaf-700: #15803d;
  --color-leaf-600: #16a34a;
  --color-leaf-500: #22c55e;
  --color-leaf-100: #dcfce7;

  /* Logo Earth & Terracotta Accents */
  --color-earth-800: #7c2d12;
  --color-earth-700: #9a3412;
  --color-earth-600: #c2410c;
  --color-earth-500: #ea580c;
  --color-earth-100: #ffedd5;
  --color-earth-50:  #fff7ed;

  /* Neutrals & Surfaces */
  --color-bg-main: #ffffff;
  --color-bg-alt: #fcf9f4;
  --color-bg-card: #ffffff;
  --color-bg-dark: #f6efe4;
  --color-bg-darker: #f9f5ed;
  --color-text-main: #1c1917;
  --color-text-muted: #57534e;
  --color-text-light: #1c1917;
  --color-text-light-muted: #78716c;
  --color-border: #ede4d5;
  --color-border-dark: #dfd4c0;

  /* Typography */
  --font-family-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-family-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(28, 25, 23, 0.04), 0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 8px 20px rgba(28, 25, 23, 0.06), 0 2px 6px rgba(28, 25, 23, 0.03);
  --shadow-lg: 0 16px 36px rgba(28, 25, 23, 0.08), 0 4px 12px rgba(28, 25, 23, 0.03);
  --shadow-xl: 0 24px 50px rgba(28, 25, 23, 0.1);
  --shadow-gold: 0 10px 25px rgba(217, 155, 38, 0.25);

  /* Spacing & Layout */
  --container-max-width: 1240px;
  --container-padding: clamp(1rem, 3.5vw, 1.5rem);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-family-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

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

p {
  color: var(--color-text-muted);
}

.text-gold {
  color: var(--color-gold-500);
}

.text-water {
  color: var(--color-water-500);
}

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

@media (max-width: 768px) {
  .section {
    padding: 3.25rem 0;
  }
}

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

.section-dark {
  background-color: #eef6f1;
  color: var(--color-text-main);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-primary-900);
}

.section-dark p {
  color: var(--color-text-muted);
}

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

@media (max-width: 768px) {
  .section-header {
    margin: 0 auto 2rem auto;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background-color: var(--color-saffron-50);
  color: var(--color-saffron-700);
  border: 1px solid rgba(234, 88, 12, 0.22);
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-dark .section-badge {
  background-color: var(--color-gold-100);
  color: var(--color-gold-700);
  border-color: rgba(217, 155, 38, 0.3);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--color-primary-900);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-saffron-500), var(--color-saffron-600));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-saffron-400), var(--color-saffron-500));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.38);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-500));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 151, 38, 0.35);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae06d, #169b8c);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--color-primary-900);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-primary-900);
  border: 2px solid var(--color-primary-700);
}

.btn-outline-dark:hover {
  background-color: var(--color-primary-700);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder notification badge */
.placeholder-tag {
  display: inline-block;
  background: rgba(201, 151, 38, 0.15);
  color: var(--color-gold-600);
  border: 1px dashed var(--color-gold-500);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 600;
}
