/* CLEAN MODERN TECH THEME — Ithaca IT Solutions */

/* COLOR SYSTEM */
:root {
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --border: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-card: 18px;
  --radius-pill: 999px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0, #f5f5f7 40%, #e5e7eb 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, #22c55e, #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ecfdf5;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.5);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-text span:first-child {
  font-weight: 700;
  font-size: 1rem;
}

.nav-brand-text span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
}

/* FOOTER */
footer {
  background: #020617;
  color: #e5e7eb;
  padding: 2rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-brand {
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: #111827;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.footer-bottom {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* PAGE LAYOUT */
.page {
  padding: 2.5rem 0 2.75rem;
}

.page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page h2 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.page h3 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.page p {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.page ul {
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page ul li {
  margin-bottom: 0.25rem;
}

/* HERO */
.hero {
  padding: 3.25rem 0 2.75rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 32rem;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.7);
}

.btn-secondary {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: #e5e7eb;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease;
}

.btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-1px);
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* HERO IMAGE CARD */
.hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 231, 235, 0.9);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card-image {
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 2rem;
}

.contact-card {
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
  background: #f9fafb;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* PLACEHOLDER BOXES */
.placeholder {
  margin-top: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px dashed var(--border);
  background: #f9fafb;
  font-size: 0.85rem;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
