/* ==========================================================================
   LK Solutions LLC - Clean White & Tan Aesthetics
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design Tokens (White & Tan Palette)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Clean White & Warm Tan */
  --clr-bg-main: #FAF8F5;          /* Warm off-white / cream background */
  --clr-bg-card: #FFFFFF;          /* Pure white card backgrounds */
  --clr-bg-card-hover: #F6F2EC;    /* Soft tan tint on card hover */
  --clr-bg-nav: rgba(250, 248, 245, 0.92);
  
  --clr-text-primary: #2C2623;      /* Deep warm charcoal text */
  --clr-text-secondary: #6B625B;    /* Soft taupe / medium tan-gray */
  --clr-text-muted: #948A81;        /* Muted tan text */

  /* Tan / Bronze Accent Tokens */
  --clr-primary: #B37B47;          /* Refined warm tan / amber bronze */
  --clr-primary-hover: #966131;    /* Richer brown-tan hover */
  --clr-primary-glow: rgba(179, 123, 71, 0.15);
  
  --clr-accent-tan: #D9C4AA;        /* Light sand / tan border accent */
  --clr-accent-warm: #C89968;       /* Medium warm terracotta accent */

  --clr-border: #E8E2D9;           /* Light subtle tan border */
  --clr-border-highlight: #D4C5B3; /* Emphasized warm tan border */

  /* Typography */
  --ff-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background-color: var(--clr-bg-main);
  color: var(--clr-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Soft Warm Ambient Lighting Header Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background: radial-gradient(circle at 50% -10%, #F3EBE0 0%, #FAF8F5 70%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. Header & Navigation (Clean White Glass)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--clr-bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--clr-text-primary);
  letter-spacing: -0.02em;
}

.brand-logo img {
  height: 42px;
  width: auto;
  border-radius: 6px;
}

.brand-logo span {
  color: var(--clr-text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--clr-primary);
  transition: width var(--tr-smooth);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--clr-text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--clr-primary);
  color: #FFFFFF;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--clr-primary-glow);
  transition: all var(--tr-smooth);
}

.btn-primary:hover {
  background: var(--clr-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(179, 123, 71, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--clr-bg-card);
  color: var(--clr-text-primary);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: all var(--tr-smooth);
}

.btn-secondary:hover {
  background: #F3ECE2;
  border-color: var(--clr-border-highlight);
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F2E8DB;
  border: 1px solid #E4D5C2;
  color: #8C5C2E;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background-color: #B37B47;
  border-radius: 50%;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--clr-text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--clr-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--clr-border);
  box-shadow: 0 12px 30px rgba(100, 80, 60, 0.08);
  overflow: hidden;
}

.hero-image-wrapper img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--tr-smooth);
}

.hero-image-wrapper:hover img {
  transform: scale(1.01);
}

.hero-image-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-image-tag strong {
  display: block;
  color: var(--clr-text-primary);
  font-size: 0.95rem;
}

.hero-image-tag span {
  color: var(--clr-text-secondary);
}

/* --------------------------------------------------------------------------
   5. Overview / Solutions Section
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--clr-border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-tag {
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clr-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--clr-text-secondary);
}

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

.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--tr-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--clr-bg-card-hover);
  border-color: var(--clr-border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(150, 120, 90, 0.08);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #F5ECE1;
  border: 1px solid #E6D8C6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  margin-bottom: 24px;
}

.card-title {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-text-primary);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. Headquarters & Location Section
   -------------------------------------------------------------------------- */
.location-box {
  background: #FFFFFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.location-info h3 {
  font-family: var(--ff-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-bottom: 16px;
}

.location-info p {
  color: var(--clr-text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
}

.address-card {
  background: #FAF6F0;
  border: 1px solid #E6DEC6;
  border-left: 4px solid var(--clr-primary);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.address-card strong {
  display: block;
  font-size: 1.1rem;
  color: var(--clr-text-primary);
  margin-bottom: 6px;
}

.address-details {
  color: var(--clr-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.map-placeholder {
  height: 260px;
  background: #F6F0E6;
  border-radius: var(--radius-md);
  border: 1px solid #E6DBC9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.map-pin {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(179, 123, 71, 0.2);
}

/* --------------------------------------------------------------------------
   7. Contact Form Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #F5ECE1;
  border: 1px solid #E6D8C6;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.contact-form {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  background: #FAF8F5;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--clr-text-primary);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: all var(--tr-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px var(--clr-primary-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-alert.success {
  display: block;
  background: #EBF7F1;
  border: 1px solid #BCE5CF;
  color: #166534;
}

.form-alert.error {
  display: block;
  background: #FDF2F2;
  border: 1px solid #F87171;
  color: #991B1B;
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--clr-border);
  padding: 60px 0 30px 0;
  background: #F3ECE2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-title {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text-primary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--clr-text-primary);
}

.footer-bottom {
  border-top: 1px solid #E4D5C2;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-text-muted);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   9. Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid, .location-box, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .cards-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
