/* Global Resets & Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;700&display=swap');

:root {
  /* Colors */
  --primary: #4A5D4E; /* Deep Sage / Olive Green */
  --primary-light: #5a705e;
  --secondary: #F7F5F0; /* Warm Beige / Off-white */
  --accent: #A3A8A6; /* Metallic Grey */
  --text: #1A1A1A; /* Charcoal Black */
  --text-light: #555555;
  --white: #FFFFFF;
  --border: #e0e0e0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --section-padding: 6rem 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1.5rem;}
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { font-size: 1.125rem; color: var(--text-light); }

/* Layout & Utils */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding);
}

.text-center { text-align: center; }
.bg-secondary { background-color: var(--secondary); }
.bg-primary { background-color: var(--primary); color: var(--white); }
.bg-primary p { color: rgba(255,255,255,0.8); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  border-radius: 2px;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 100;
  transition: background-color 0.3s ease, padding 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

header.scrolled .logo { color: var(--text); }
header.scrolled .nav-links a { color: var(--text); }
header.scrolled .btn-primary { background-color: var(--primary); }

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
}

header.scrolled .hamburger { color: var(--text); }

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero p { color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; font-size: 1.25rem; font-weight: 300;}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Trust Banner */
.trust-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--font-heading);
}

.trust-item i { font-size: 1.5rem; color: var(--secondary); }

/* Split Section (Problem vs Solution) */
.split-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 60vh;
}

.split-half {
  flex: 1;
  min-width: 300px;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.split-problem { background-color: var(--secondary); }
.split-solution { background-color: var(--primary); color: var(--white); }
.split-solution p, .split-solution h3 { color: var(--white); }

.split-half ul {
  list-style: none;
  margin-top: 2rem;
  text-align: left;
}

.split-half li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.split-problem li { color: #888; }
.split-solution li { color: rgba(255,255,255,0.9); font-weight: 500;}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 { margin-bottom: 1rem; font-size: 1.25rem;}
.service-card p { font-size: 1rem; }

/* Why Spacemint */
.why-section {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.why-content { flex: 1; }
.why-image {
  flex: 1;
  position: relative;
}

.why-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.feature-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

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

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 { margin-bottom: 0.5rem; }

/* Showcase Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* CTA Section */
.cta-section {
  text-align: center;
  background-color: var(--primary);
  color: var(--white);
  padding: 6rem 2rem;
}

.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

.lead-form {
  max-width: 600px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form input, .lead-form select {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.5); }
.lead-form select { color: rgba(255,255,255,0.8); }
.lead-form select option { background-color: var(--white); color: var(--text); font-weight: 500; }

.lead-form button {
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}

.lead-form button:hover {
  background-color: var(--white);
}

.urgency {
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
footer {
  background-color: var(--text);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-col h4 { margin-bottom: 1.5rem; color: var(--white); }
.footer-col p, .footer-col a { color: #aaa; text-decoration: none; margin-bottom: 0.5rem; display: block; }
.footer-col a:hover { color: var(--white); }

.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { color: var(--white); font-size: 1.5rem; }

.footer-bottom {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #777;
  font-size: 0.9rem;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--text);
    font-size: 1.2rem;
  }

  .nav-links .btn-primary {
    color: var(--white);
  }

  .hamburger {
    display: block;
    z-index: 101;
  }
  
  .hamburger.active { color: var(--text); }
  header.scrolled .hamburger.active { color: var(--text); }

  .hero h1 { font-size: 2.5rem; }
  .hero-btns { flex-direction: column; }
  
  .why-section { flex-direction: column; }
  
  /* Sticky Mobile CTA */
  .mobile-sticky-cta {
    display: block !important;
  }
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 99;
  font-family: var(--font-body);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
