/* EasydropUse — Palette-locked styles
   Palette:
   Primary Dark: #272A2E (headings, strong UI, footer)
   Secondary Gray: #626262 (body text, borders, icons)
   Light Background: #F2F2F2 (page background)
   Accent Gold: #B88945 (buttons, links, highlights)
   Deep Gold/Brown: #6D451D (hover states)
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Sora:wght@300;400;600&family=Poppins:wght@500;600&display=swap');

:root {
  --font-body: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-ui: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --heading: #272A2E;
  --muted: #626262;
  --bg: #F2F2F2;
  --accent: #B88945;
  --accent-dark: #6D451D;
  --border-faint: rgba(98,98,98,0.12);
  --shadow: rgba(39,42,46,0.06);
}

/* Typographic scale tokens with fluid typography */
:root {
  --base-size: 16px;
  /* Fluid typography: scales from mobile to desktop */
  --fs-hero: clamp(32px, 5vw, 48px);
  --fs-h2: clamp(22px, 3.5vw, 28px);
  --fs-h3: clamp(18px, 2.2vw, 20px);
  --lead-size: clamp(16px, 2vw, 18px);
  --line-height-loose: 1.25;
  
  /* Responsive container padding */
  --container-padding: clamp(16px, 4vw, 40px);
}

body {
  font-family: var(--font-body);
  color: var(--muted);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header & Nav */
.site-header {
  background: transparent;
  border-bottom: none;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(39, 42, 46, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  display: flex;
  align-items: center;
}

.brand img {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

/* Heading typography: Times New Roman for an editorial, elegant feel */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 400;
  letter-spacing: 0.2px;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.24s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

nav a:hover {
  color: white;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: clamp(10px, 2vw, 12px) clamp(16px, 3vw, 24px);
  border-radius: 6px;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.12s ease;
  cursor: pointer;
  border: 1px solid var(--border-faint);
  color: var(--muted);
  background: transparent;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Header Button Styling */
.site-header .btn {
  border: 2px solid white;
  color: var(--heading);
  background: white; /* header Request Quote button uses white background */
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-weight: 600;
}

.site-header .btn:hover {
  background: var(--accent);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.link:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(120px, 15vw, 150px) 0 clamp(60px, 12vw, 100px) 0;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(39, 42, 46, 0.7) 0%, rgba(39, 42, 46, 0.65) 40%, rgba(39, 42, 46, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(60px, 8vw, 100px);
}

.hero-left h2 {
  font-size: var(--fs-hero);
  margin-bottom: 22px;
  line-height: 1.2;
  color: white;
  font-weight: 600;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
}

.hero-left p {
  font-size: var(--lead-size);
  margin-bottom: 12px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-left .lead {
  margin-bottom: 28px; /* larger gap between lead text and CTA buttons */
  color: white;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  font-size: clamp(18px, 2.1vw, 20px);
  line-height: 1.5;
}

.hero-subtitle {
  display: inline-block;
  font-size: clamp(12px, 1.2vw, 14px);
  margin-top: 2px;    /* reduced space above */
  margin-bottom: 28px; /* increased space below */
  color: #ffffff;
  background: rgba(39,42,46,0.48); /* semi-transparent overlay */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 4px 8px;   /* more compact */
  border-radius: 4px;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.06);
}

.cta-row {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Hero buttons with better visibility */
.hero .btn {
  font-size: 13px;
  padding: 12px 28px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.18);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.icons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin-top: 28px;
}

/* Hero Right Column - Design Element */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 350px;
  padding-top: 10px;
}

.hero-right::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(185, 137, 69, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-right::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(185, 137, 69, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(185, 137, 69, 0.3);
  transform: translateY(-4px);
}

.stat-box strong {
  display: block;
  font-size: 28px;
  color: white; /* SLA percentage in white */
  margin-bottom: 6px;
  font-weight: 700;
}

.stat-box span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Wave Reflection */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 120px;
  z-index: 2;
  opacity: 0.8;
  animation: wave-motion 3s ease-in-out infinite;
}

@keyframes wave-motion {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Homepage Hero Background */
.hero-home {
  background-image: url('../images/EasyDropHero.png');
  background-size: cover;
  background-position: center right;
}

.image-placeholder {
  height: 400px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 600;
  text-align: center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* Stats Section */
.stats {
  background: var(--bg);
  padding: 40px 0;
  text-align: center;
  font-size: 16px;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
}

.stats strong {
  color: var(--heading);
  font-size: 18px;
}

/* Services Preview */
.services-preview {
  padding: clamp(40px, 10vw, 60px) 0;
}

.services-preview h2 {
  font-size: calc(var(--fs-h2));
  margin-bottom: 40px;
  text-align: center;
  color: var(--heading);
  font-weight: 400;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 30px);
}

.cards article {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--border-faint);
  border-radius: 8px;
  background: var(--bg);
  transition: box-shadow 0.22s, transform 0.18s;
}

.cards article:hover {
  box-shadow: 0 8px 20px var(--shadow);
  transform: translateY(-4px);
}

.cards h3 {
  font-size: var(--fs-h3);
  margin-bottom: 16px;
  color: var(--heading);
  font-weight: 400;
}

.lead {
  font-size: var(--lead-size);
  color: var(--muted);
  max-width: 56ch;
}

.cards p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Contact CTA */
.contact-cta {
  padding: clamp(40px, 10vw, 60px) 0;
  text-align: center;
  background: var(--bg);
  border-radius: 8px;
}

.contact-cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--heading);
}

.contact-cta p {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--muted);
}

/* Service Page Layouts */
.service-page {
  min-height: 100vh;
}

.service-page .hero {
  padding: clamp(100px, 12vw, 120px) 0 clamp(40px, 8vw, 60px) 0;
}

.service-page .hero h1 {
  font-size: calc(var(--fs-hero) * 0.95);
  margin-bottom: 15px;
  color: var(--heading);
}

.service-page .hero h2 {
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 400;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--border-faint);
  border-radius: 8px;
  margin-bottom: 20px;
  background: var(--bg);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--heading);
}

.service-card ul {
  list-style-position: inside;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.service-card .btn-small {
  margin-top: 10px;
}

/* Footer */
.site-footer {
  background: var(--heading);
  color: var(--bg);
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

/* Utility panels and layout tokens used by service pages */
.panel {
  padding: 30px;
  background: var(--bg);
  border-radius: 8px;
  text-align: left;
  border: 1px solid var(--border-faint);
}

.how-it-works {
  padding: 60px 0;
  background: transparent;
  margin: 40px 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-panel {
  padding: 30px;
  background: var(--bg);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-faint);
}

.muted-text {
  font-size: 14px;
  color: var(--muted);
  margin: 15px 0;
}

.value-prop {
  padding: 40px;
  background: transparent;
  margin: 40px 0;
}

.testimonial {
  padding: 40px;
  background: transparent;
  margin: 40px 0;
  text-align: center;
}

/* Responsive Design — Mobile-first approach */

/* Small devices (phones, 480px and up) */
@media (max-width: 480px) {
  nav {
    flex-direction: column;
    gap: 8px;
  }

  .site-header .container {
    flex-direction: row;
    gap: 16px;
  }

  .hero {
    min-height: 450px;
    padding: 100px 0 40px 0;
  }

  .hero .container {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-right {
    min-height: 250px;
  }

  .hero-left h2 {
    margin-bottom: 16px;
  }

  .cta-row {
    flex-direction: column;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .image-placeholder {
    height: 250px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .step-panel {
    padding: 20px;
  }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
  .hero {
    min-height: 550px;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Medium devices (992px and up) */
@media (min-width: 992px) {
  .how-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  nav {
    flex-direction: row;
    gap: 28px;
  }
}

/* Large devices (1200px and up) */
@media (min-width: 1200px) {
  .hero {
    padding: 72px 0;
    min-height: 600px;
  }

  .services-preview {
    padding: 60px 0;
  }
}

/* Contact Page Styles */
.contact-section {
  padding: clamp(40px, 8vw, 60px) 0;
  background-color: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
}

.contact-form {
  background: white;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  color: var(--heading);
  margin-bottom: 24px;
  font-size: clamp(18px, 2.2vw, 20px);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--heading);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: clamp(12px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: clamp(10px, 1.5vw, 14px);
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--heading);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 137, 69, 0.08);
}

.form-group textarea {
  resize: vertical;
  font-family: var(--font-body);
}

.contact-info {
  padding: clamp(20px, 4vw, 40px);
}

.contact-info h3 {
  color: var(--heading);
  margin-bottom: 32px;
  font-size: clamp(18px, 2.2vw, 20px);
}

.info-block {
  margin-bottom: 32px;
}

.info-block h4 {
  color: var(--heading);
  margin-bottom: 12px;
  font-size: clamp(14px, 1.5vw, 16px);
  text-transform: uppercase;
  font-family: var(--font-ui);
  letter-spacing: 0.7px;
}

.info-block p {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.info-block strong {
  color: var(--heading);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: clamp(40px, 8vw, 60px) 0;
  background: white;
}

.faq-section h2 {
  margin-bottom: clamp(28px, 5vw, 40px);
  text-align: center;
  color: var(--heading);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
}

.faq-item {
  padding: clamp(20px, 3vw, 28px);
  background: var(--bg);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.faq-item h4 {
  color: var(--heading);
  margin-bottom: 12px;
  font-size: clamp(14px, 1.3vw, 16px);
}

.faq-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta {
  padding: clamp(40px, 8vw, 60px) 0;
  background-color: var(--heading);
  text-align: center;
  color: white;
}

.contact-cta h2 {
  color: white;
  margin-bottom: 16px;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-size: clamp(14px, 1.5vw, 16px);
}

/* Responsive Contact Grid */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 60px);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Utility Classes for Common Patterns */

/* Section Title - Centered heading with spacing */
.section-title {
  text-align: center;
  margin-bottom: clamp(28px, 5vw, 40px);
  color: var(--heading);
  font-size: clamp(22px, 3.5vw, 28px);
}

/* Feature List - Custom list styling */
.feature-list {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.feature-list li {
  margin-bottom: 12px;
}

/* Button with Top Margin */
.btn-with-margin {
  margin-top: 20px;
  display: inline-block;
}

/* Step Panel Title */
.step-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--heading);
  font-weight: 600;
}

/* Testimonial Quote */
.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 15px;
  color: var(--heading);
  line-height: 1.6;
}

/* Author/Attribution Name */
.author-name {
  font-weight: 600;
  color: var(--heading);
  margin-top: 12px;
}

/* Implementation Steps List */
.implementation-list {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  list-style: disc;
  padding-left: 20px;
}

.implementation-list li {
  margin-bottom: 10px;
}
