/*
Theme Name: Lyn-Sue's Paralegal & Immigration Services
Theme URI: https://lynsue.ca
Author: Lyn-Sue's
Author URI: https://lynsue.ca
Description: A professional WordPress theme for Lyn-Sue's Paralegal & Immigration Services. Gold and navy color scheme with Playfair Display headings.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lynsue
Tags: legal, immigration, paralegal, one-column, custom-menu, featured-images
*/

/* ---- Reset & Base ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --gold: #997a2e;
  --gold-light: #c9a84c;
  --gold-dark: #6b5520;
  --navy: #171e2d;
  --navy-light: #2a3347;
  --bg: #f7f5f0;
  --fg: #1f2937;
  --card: #ffffff;
  --muted: #6b7280;
  --border: #e0dcd4;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

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

/* ---- Gold Gradient ---- */
.gold-gradient {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
}

/* ---- Header / Navbar ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.site-header .site-logo img { height: 56px; width: auto; }
.site-header .site-logo { display: flex; align-items: center; gap: .75rem; }

/* Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  padding: .5rem .75rem;
  font-size: .8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(247,245,240,.85);
  transition: color .2s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--gold); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(247,245,240,.85);
  font-size: 1.75rem;
  cursor: pointer;
}

@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--navy-light);
  }
  .main-nav.open ul { display: flex; }
  .main-nav { width: 100%; }
  .site-header .container { flex-wrap: wrap; }
}

/* ---- Page Hero ---- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.page-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(23,30,45,.92), rgba(23,30,45,.6), transparent);
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.page-hero p { color: rgba(247,245,240,.8); font-size: 1.125rem; }

/* ---- Home Hero (full height) ---- */
.home-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.home-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(23,30,45,.9), rgba(23,30,45,.7), transparent);
}
.home-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.home-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.home-hero p {
  color: rgba(247,245,240,.85);
  font-size: 1.125rem;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.btn-gold {
  display: inline-block;
  padding: .75rem 2rem;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  border-radius: .375rem;
  transition: transform .2s;
}
.btn-gold:hover { transform: scale(1.05); }
.btn-outline-gold {
  display: inline-block;
  padding: .75rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: .375rem;
  transition: background .2s;
}
.btn-outline-gold:hover { background: rgba(153,122,46,.1); }

/* ---- Services Grid ---- */
.services-section { padding: 5rem 0; }
.services-section .section-title { text-align: center; margin-bottom: 3.5rem; }
.services-section .section-title h2 { font-size: 1.875rem; margin-bottom: .75rem; }
.services-section .section-title .underline {
  width: 5rem;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: .5rem;
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}
.service-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}
.service-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 { font-size: 1.875rem; color: var(--gold); margin-bottom: 1rem; }
.cta-section p { color: rgba(247,245,240,.8); max-width: 560px; margin: 0 auto 2rem; }

/* ---- Content Pages ---- */
.page-content { padding: 4rem 0; }
.page-content .narrow { max-width: 48rem; margin: 0 auto; }
.page-content h2 { color: var(--gold); font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.page-content p { margin-bottom: 1rem; line-height: 1.7; }
.page-content ul { list-style: none; padding: 0; }
.page-content ul li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
}
.page-content ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: .5rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
}

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 64rem; margin: 0 auto; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.contact-detail { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.contact-detail svg { width: 1.25rem; height: 1.25rem; color: var(--gold); flex-shrink: 0; }

.contact-form label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .25rem; text-transform: capitalize; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .625rem 1rem;
  border: 1px solid var(--border);
  border-radius: .375rem;
  background: var(--card);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  outline: none;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(153,122,46,.15); }
.contact-form button {
  width: 100%;
  padding: .75rem;
  border: none;
  border-radius: .375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .875rem;
  color: var(--navy);
  cursor: pointer;
  transition: transform .2s;
}
.contact-form button:hover { transform: scale(1.02); }

/* ---- Resources ---- */
.resources-list { max-width: 48rem; margin: 0 auto; }
.resource-link {
  display: block;
  background: var(--card);
  padding: 1.25rem;
  border-radius: .5rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: border-color .2s;
}
.resource-link:hover { border-color: var(--gold); }
.resource-link h3 { font-size: 1.125rem; transition: color .2s; }
.resource-link:hover h3 { color: var(--gold); }
.resource-link .url { font-size: .8125rem; color: var(--muted); margin-top: .25rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(247,245,240,.85);
  padding: 3rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3,
.footer-grid h4 { color: var(--gold); margin-bottom: 1rem; }
.footer-grid h3 { font-size: 1.25rem; }
.footer-grid h4 { font-size: 1.125rem; }
.footer-grid p,
.footer-grid a { font-size: .875rem; opacity: .8; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: .5rem; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--navy-light);
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: .75rem;
  opacity: .6;
}
