/* ============================================
   ALAMO3D LANDING PAGE STYLES
   Modern Real Estate + Tex-Mex Aesthetic
   ============================================ */

/* Color Palette */
:root {
  /* Primary Colors - Modern & Fresh */
  --primary-dark: #0f2027;
  --primary-teal: #2c5364;
  --primary-light: #f0f4f8;

  /* Accent Colors */
  --accent-coral: #ff6b6b;
  --accent-orange: #ffa07a;
  --accent-gold: #f4a261;
  --accent-mint: #06d6a0;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #fafbfc;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --black: #0d1117;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;

  /* Spacing */
  --section-padding: 80px 20px;
  --container-max: 1200px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 80px;
}

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

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin: 0;
  font-weight: 700;
}

.logo span {
  color: var(--accent-coral);
}

.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: var(--primary-dark);
  border: 2px solid transparent;
}

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

.header-btn-primary {
  background-color: var(--accent-coral);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.25);
}

.header-btn-primary:hover {
  background-color: #ff5252;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-coral), var(--accent-orange));
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-coral);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.25);
}

.btn-primary:hover {
  background-color: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.35);
}

.btn-secondary {
  background-color: var(--primary-teal);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #1f3d4a;
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-300);
}

.btn-white:hover {
  background-color: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--gray-600);
}

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

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

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(15, 32, 39, 0.45) 0%;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 32, 39, 0.45) 0%;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;

  opacity: 0.15;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  text-align: center;
}

.hero-headline {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
  color: var(--gray-100);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-supporting {
  color: var(--gray-200);
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 2rem;
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.section-intro {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.8;
}

.section-image-container {
  max-width: 1000px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.section-feature-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.section-image-container:hover .section-feature-image {
  transform: scale(1.02);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--gray-100);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-coral);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--accent-coral),
    var(--accent-orange)
  );
  border-radius: 50%;
  color: var(--white);
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.benefit-card p {
  color: var(--gray-600);
}

/* ============================================
   PROVIDES SECTION
   ============================================ */

.provides-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.provides-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 6px solid var(--accent-coral);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.provides-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.equipment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.provides-list-container {
  flex: 1;
}

.provides-list {
  list-style: none;
  margin-bottom: 2rem;
}

.provides-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.125rem;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
}

.provides-list li:last-child {
  border-bottom: none;
}

.provides-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--accent-mint);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.provides-note {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: 8px;
  font-style: italic;
  color: var(--primary-teal);
  font-weight: 500;
  border-left: 4px solid var(--primary-teal);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.client-card {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-teal) 100%
  );
  color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-coral), var(--accent-orange));
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26, 35, 50, 0.3);
}

.client-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.client-card p {
  color: var(--gray-200);
  font-size: 1rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--gray-100) 0%,
    var(--off-white) 100%
  );
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
  border: 3px solid var(--accent-coral);
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-coral);
  font-family: var(--font-display);
  margin: 1rem 0;
}

.pricing-amount span {
  font-size: 1.25rem;
  color: var(--gray-600);
  font-weight: 400;
}

.pricing-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.pricing-addons {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: left;
}

.addons-title {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.pricing-addons ul {
  list-style: none;
  padding-left: 0;
}

.pricing-addons li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-700);
}

.pricing-addons li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-coral);
  font-size: 1.5rem;
  line-height: 1;
}

.pricing-card .btn {
  margin-top: 2rem;
  width: 100%;
  max-width: 300px;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.process-visual {
  max-width: 900px;
  margin: 0 auto 4rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.process-visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 107, 107, 0.1) 0%,
    transparent 50%,
    rgba(6, 214, 160, 0.1) 100%
  );
  pointer-events: none;
}

.process-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--accent-coral),
    var(--accent-orange)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.process-step h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.process-step p {
  color: var(--gray-600);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-teal) 100%
  );
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  width: 100%;
}

.city-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.about-content {
  flex: 1;
}

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

.about-section .section-title::after {
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-coral));
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-100);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta {
  padding: var(--section-padding);
  background: var(--off-white);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.final-cta-sub {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.final-cta .cta-buttons {
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--primary-dark);
  color: var(--gray-200);
  padding: 3rem 20px 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--gray-300);
}

.footer-contact p {
  margin: 0.5rem 0;
  color: var(--gray-300);
}

.footer-contact a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 20px;
  }

  body {
    padding-top: 70px;
  }

  .header-content {
    padding: 0.75rem 20px;
  }

  .logo h2 {
    font-size: 1.5rem;
  }

  .header-nav {
    gap: 0.5rem;
  }

  .header-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .hero {
    min-height: 100vh;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    max-width: 400px;
  }

  .benefits-grid,
  .clients-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .provides-content {
    padding: 2rem 1.5rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .provides-image {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pricing-amount {
    font-size: 2.5rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--accent-coral);
  outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .hero-background,
  .hero-accent,
  .btn,
  .cta-buttons {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
