/* Lakefront Technology Professional Services — site styles */

:root {
  --navy: #1f3d2e;
  --blue: #2f6690;
  --blue-dark: #234f70;
  --blue-light: #eef1e0;
  --sky: #f7eeda;
  --gold: #c9873c;
  --text: #2b2a22;
  --text-muted: #5c5646;
  --border: #ddd3bb;
  --white: #fbf8f2;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(31, 45, 31, 0.14);
  --max-width: 1140px;
  --font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

h1, h2, h3, .brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
}

.eyebrow.center {
  text-align: center;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0 0 16px;
  color: var(--navy);
}

.section-title.center {
  text-align: center;
  margin-bottom: 40px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 0 rgba(31, 45, 31, 0);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(31, 45, 31, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--navy);
  white-space: nowrap;
}

.brand-mark {
  color: var(--blue);
  display: inline-flex;
}

.brand-text strong {
  color: var(--blue);
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav a {
  position: relative;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover {
  color: var(--blue);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  white-space: nowrap;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(47, 102, 144, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%);
  padding: 72px 0;
}

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

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--navy);
  margin: 0 0 20px;
  line-height: 1.15;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.parallax-layer {
  transition: transform 0.25s ease-out;
  will-change: transform;
}

@keyframes sunPulse {
  0%, 100% { opacity: 0.9; filter: none; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(217, 151, 63, 0.55)); }
}

.sun {
  animation: sunPulse 5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes rippleShimmer1 {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.62; }
}

@keyframes rippleShimmer2 {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.35; }
}

.ripple-1 {
  animation: rippleShimmer1 6s ease-in-out infinite;
}

.ripple-2 {
  animation: rippleShimmer2 7s ease-in-out infinite;
}

/* Cards / services */

.services {
  padding: 88px 0;
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sky);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  transition: transform 0.25s ease;
}

.card:hover .card-icon {
  transform: translateY(-4px) scale(1.1);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* About */

.about {
  background: var(--blue-light);
  padding: 80px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

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

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.stat-list li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue);
}

.stat-label {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Why us */

.why-us {
  padding: 88px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.why-item {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.why-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.why-item p {
  margin: 0;
  color: var(--text-muted);
}

/* Contact */

.contact {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact .eyebrow {
  color: var(--gold);
}

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

.contact-copy p {
  color: #d7dcc6;
  max-width: 46ch;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.contact-details a {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: #ece6d5;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b7ae98;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* Footer */

.site-footer {
  background: #14261c;
  color: #a9a290;
  padding: 24px 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
}

.footer-inner a:hover {
  color: var(--white);
}

/* Responsive */

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 12px;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
