/* ==========================================================================
   Lyk Designs — Stylesheet
   ========================================================================== */

:root {
  --deep-teal: #173F3D;
  --deep-teal-dark: #0F2E2C;
  --mid-teal: #5FA3A5;
  --graphite: #26323A;
  --slate: #5A6B70;
  --light: #F4F7F7;
  --white: #FFFFFF;
  --accent: #C9A227;
  --accent-light: #E4C55E;

  --shadow-sm: 0 2px 8px rgba(15, 46, 44, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 46, 44, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 46, 44, 0.18);

  --radius: 10px;
  --transition: all 0.3s ease;
  --header-height: 108px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--graphite);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--deep-teal-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: 2.4rem; margin: 10px 0 16px; }
.section-sub { color: var(--slate); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-light);
}
.eyebrow-dark { color: var(--mid-teal); }

.icon-sm { width: 15px; height: 15px; fill: currentColor; }
.icon-md { width: 22px; height: 22px; fill: none; stroke: var(--mid-teal); stroke-width: 1.6; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--deep-teal); color: var(--white); }
.btn-primary:hover { background: var(--deep-teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--deep-teal-dark); }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.top-bar { background: var(--deep-teal-dark); color: var(--light); font-size: 0.85rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; }
.top-contact { display: flex; gap: 24px; }
.top-contact-item { display: flex; align-items: center; gap: 6px; opacity: 0.9; transition: var(--transition); }
.top-contact-item:hover { opacity: 1; color: var(--accent-light); }
.top-tagline { opacity: 0.75; display: none; }
@media (min-width: 768px) { .top-tagline { display: block; } }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-size: 1.3rem; font-weight: 700; color: var(--deep-teal-dark); }
.brand-name em { font-style: normal; font-weight: 400; color: var(--mid-teal); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--graphite);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--deep-teal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { padding: 10px 22px; }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--deep-teal-dark); transition: var(--transition); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--deep-teal-dark) 0%, var(--deep-teal) 45%, var(--graphite) 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.blueprint-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.exit-route { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }

.hero-content { position: relative; z-index: 2; max-width: 720px; color: var(--white); padding: 80px 24px; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: 3.1rem; color: var(--white); margin-bottom: 22px; }
.hero-sub { font-size: 1.1rem; color: rgba(244,247,247,0.85); margin-bottom: 36px; max-width: 600px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { background: var(--light); padding: 56px 0; border-bottom: 1px solid rgba(23,63,61,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { display: flex; flex-direction: column; gap: 6px; }
.stat-number { font-size: 2.6rem; font-weight: 800; color: var(--deep-teal); }
.stat-label { font-size: 0.9rem; color: var(--slate); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==========================================================================
   Services
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid rgba(23,63,61,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--deep-teal), var(--mid-teal));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: 0.95rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 992px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-text h2 { font-size: 2.2rem; margin: 10px 0 20px; }
.about-text p { color: var(--slate); margin-bottom: 16px; }
.about-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.about-list li { position: relative; padding-left: 26px; color: var(--graphite); font-weight: 500; }
.about-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.drafting-art { width: 100%; height: auto; filter: drop-shadow(var(--shadow-lg)); border-radius: var(--radius); }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  background: var(--white);
  border: 1.5px solid rgba(23,63,61,0.18);
  color: var(--graphite);
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--mid-teal); color: var(--deep-teal); }
.filter-btn.active { background: var(--deep-teal); border-color: var(--deep-teal); color: var(--white); }

.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.portfolio-card.hidden { display: none; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.portfolio-visual { height: 190px; position: relative; overflow: hidden; }
.portfolio-visual::before, .portfolio-visual::after { content: ''; position: absolute; }

.pattern-1 { background: linear-gradient(135deg, var(--deep-teal), var(--deep-teal-dark)); }
.pattern-1::before { inset: 20px; border: 2px dashed rgba(201,162,39,0.6); border-radius: 6px; }
.pattern-2 { background: linear-gradient(135deg, var(--mid-teal), var(--deep-teal)); }
.pattern-2::before { top: 20%; left: 15%; right: 15%; bottom: 20%; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0 2px, transparent 2px 26px); }
.pattern-3 { background: linear-gradient(135deg, var(--accent), var(--deep-teal-dark)); }
.pattern-3::before { top: 30px; left: 30px; width: 60px; height: 60px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.5); }
.pattern-3::after { bottom: 24px; right: 24px; width: 90px; height: 4px; background: rgba(255,255,255,0.5); }
.pattern-4 { background: linear-gradient(135deg, var(--graphite), var(--deep-teal)); }
.pattern-4::before { inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 24px); }
.pattern-5 { background: linear-gradient(135deg, var(--deep-teal-dark), var(--mid-teal)); }
.pattern-5::before { top: 24px; right: 24px; bottom: 24px; left: 24px; border: 2px solid rgba(255,255,255,0.4); border-radius: 4px; }
.pattern-6 { background: linear-gradient(135deg, var(--accent-light), var(--graphite)); }
.pattern-6::before { top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: rgba(255,255,255,0.15); }

.has-image {
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.has-image img { width: 100%; height: 100%; object-fit: contain; }

.portfolio-body { padding: 24px; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--deep-teal);
  background: rgba(95,163,165,0.14);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.portfolio-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.portfolio-body p { color: var(--slate); font-size: 0.92rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; justify-items: center; text-align: center; }
.contact-info { max-width: 560px; }
.contact-info h2 { font-size: 2.2rem; margin: 10px 0 16px; }

.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; text-align: left; }
.contact-details li { display: flex; gap: 16px; align-items: flex-start; }
.contact-details li a { display: flex; gap: 16px; align-items: flex-start; color: inherit; text-decoration: none; transition: var(--transition); }
.contact-details li a:hover { color: var(--accent); }
.contact-details strong { display: block; color: var(--deep-teal-dark); margin-bottom: 2px; }
.contact-details span { color: var(--slate); font-size: 0.95rem; }
.contact-details em { color: var(--accent); font-style: normal; font-size: 0.8rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--deep-teal-dark); color: rgba(244,247,247,0.85); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin: 16px 0 20px; font-size: 0.92rem; opacity: 0.8; max-width: 320px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-links svg { width: 18px; height: 18px; fill: var(--light); }
.social-links a:hover { background: var(--accent); }
.social-links a:hover svg { fill: var(--deep-teal-dark); }

.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col a { opacity: 0.8; transition: var(--transition); }
.footer-col a:hover { opacity: 1; color: var(--accent-light); }
.footer-col em { opacity: 0.6; font-style: normal; font-size: 0.8rem; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; opacity: 0.7; text-align: center; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Mobile nav
   ========================================================================== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(23,63,61,0.06); }
  .nav-cta { display: inline-block; margin-top: 8px; }
  .top-contact { gap: 14px; }
  .top-contact-item span { display: none; }
  @media (min-width: 480px) { .top-contact-item span { display: inline; } }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero h1 { font-size: 1.9rem; }
  .section-head h2 { font-size: 1.8rem; }
}
