/* ============================================
   NYC CHURCHES - MAIN STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --navy: #1a365d;
  --navy-deep: #0f2240;
  --gold: #d4af37;
  --gold-light: #e8cc6e;
  --cream: #f8f5ef;
  --cream-dark: #ede8de;
  --charcoal: #2d3748;
  --gray: #718096;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --red-accent: #8b1a1a;
  --shadow: 0 4px 24px rgba(15, 34, 64, 0.12);
  --shadow-lg: 0 12px 48px rgba(15, 34, 64, 0.18);
  --radius: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.display-serif {
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-header {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--navy-deep);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

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

.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px !important;
  border-bottom: none !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  border-bottom: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 34, 64, 0.92) 0%,
    rgba(26, 54, 93, 0.75) 50%,
    rgba(139, 26, 26, 0.4) 100%
  );
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1438032005730-c779502df39b?w=1800&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  max-width: 700px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* ============================================
   SECTION COMMONS
   ============================================ */

section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.8;
}

/* ============================================
   TESTIMONIALS / FAITH CARDS (Homepage)
   ============================================ */

.faith-section {
  background: var(--cream);
  padding: 6rem 2rem;
}

.faith-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faith-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faith-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.faith-card-image {
  height: 220px;
  overflow: hidden;
}

.faith-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.faith-card:hover .faith-card-image img {
  transform: scale(1.05);
}

.faith-card-body {
  padding: 1.75rem;
}

.faith-card-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.faith-card-attr {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================
   DENOMINATION BADGES
   ============================================ */

.denominations-section {
  background: var(--navy-deep);
  padding: 4rem 2rem;
  text-align: center;
}

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

.denomination-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.denomination-tag {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 100px;
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.denomination-tag:hover,
.denomination-tag.active {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

/* ============================================
   CHURCH FINDER SECTION
   ============================================ */

.finder-section {
  background: var(--white);
  padding: 6rem 2rem;
}

.finder-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 3rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.finder-title {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.finder-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.finder-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  transition: var(--transition);
  width: 100%;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.15);
}

.btn-search {
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Lato', sans-serif;
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

#search-results {
  margin-top: 2rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.result-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
}

.result-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
}

.result-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.result-card-denom {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.result-card-info {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.result-card-info span {
  display: block;
}

.result-card-links {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.result-link {
  font-size: 0.75rem;
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: var(--transition);
}

.result-link:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.result-distance {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 0.5rem;
}

.no-results {
  text-align: center;
  color: rgba(255,255,255,0.5);
  padding: 2rem;
  font-style: italic;
}

/* ============================================
   CHURCH DIRECTORY PAGE
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Directory filters */
.directory-section {
  background: var(--cream);
  padding: 4rem 2rem 6rem;
}

.filter-bar {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.filter-bar label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.filter-bar select,
.filter-bar input {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  font-size: 0.88rem;
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
}

.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: var(--navy);
}

.filter-count {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--gray);
}

.church-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.church-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
}

.church-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold);
}

.church-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.church-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.3;
}

.borough-badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-manhattan { background: #e8f4fd; color: #1a6b9e; }
.badge-brooklyn { background: #fef3e2; color: #9c5e00; }
.badge-queens { background: #e8f5e9; color: #2e7d32; }
.badge-bronx { background: #fce4ec; color: #ad1457; }
.badge-staten { background: #ede7f6; color: #512da8; }

.church-card-denom {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.church-card-address {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.church-card-address svg {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  fill: var(--gray);
  vertical-align: middle;
}

.church-card-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.church-link {
  font-size: 0.75rem;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--gray-light);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.church-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================
   MISSION PAGE
   ============================================ */

.mission-section {
  background: var(--white);
  padding: 6rem 2rem;
}

.mission-content {
  max-width: 780px;
  margin: 0 auto;
}

.mission-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.mission-body p {
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.9;
  margin-bottom: 1.75rem;
}

.mission-body p:last-child {
  margin-bottom: 0;
}

.mission-pullquote {
  border-left: 4px solid var(--gold);
  padding-left: 1.75rem;
  margin: 2.5rem 0;
}

.mission-pullquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy) !important;
  line-height: 1.5 !important;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.mission-value {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--cream);
  border-radius: 8px;
}

.mission-value-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.mission-value-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
}

.mission-value h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.mission-value p {
  font-size: 0.85rem !important;
  color: var(--gray) !important;
  margin: 0 !important;
}

/* ============================================
   ABOUT / TEAM SECTION
   ============================================ */

.team-section {
  background: var(--cream);
  padding: 6rem 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
}

.team-card-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid var(--gold);
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
  padding: 6rem 2rem;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.contact-info h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.contact-detail svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--cream);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-form textarea {
  height: 130px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Lato', sans-serif;
}

.btn-submit:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-cross {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

/* ============================================
   UTILITY
   ============================================ */

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-navy { background: var(--navy); }
.bg-cream { background: var(--cream); }
.mt-auto { margin-top: auto; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* Fade in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 2rem; border-bottom: none; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 2.4rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

  .finder-form {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  section { padding: 4rem 1.25rem; }
}

/* ============================================
   LOADING / SPINNER
   ============================================ */

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   SUCCESS / ALERT
   ============================================ */

.alert {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
