/* Krown of Maine — Site Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;900&display=swap');

:root {
  --gold: #fcce0b;
  --black: #000;
  --white: #fff;
  --grey: #d9d9d9;
  --grey-lt: #f2f2f2;
  --grey-dark: #666;
  --red: #cc0000;
  --max-width: 1280px;
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
.h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}
.h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.h3 {
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.eyebrow {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
p { margin-bottom: 1rem; letter-spacing: -0.02em; }
p:last-child { margin-bottom: 0; }

hr.gold-bar {
  border: none;
  background: var(--gold);
  height: 10px;
  margin: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #e8bc00; }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #222; }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn svg, .btn .arrow { margin-left: 0.25rem; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HEADER / NAV ── */
header {
  position: static;
  background: var(--black);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
#SeventyMile { text-align: center; }
.contact-bar {
  background: #111;
  border-bottom: 1px solid #2a2a2a;
  padding: 0.45rem 0;
}
.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-bar-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #aaa;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.contact-bar-item:hover { color: var(--gold); }
.contact-bar-item strong { color: var(--white); font-weight: 700; }
.contact-bar-item .icon { color: var(--gold); font-style: normal; font-size: 0.7rem; }
.contact-bar-hours {
  font-size: 0.72rem;
  font-weight: 600;
  color: #777;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .contact-bar { display: none; }
  .nav-divider, .nav-contact { display: none; }
}
.nav-logo {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
}
.nav-logo-img {
  display: block;
  width: 100%;
  height: auto;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}
.nav-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}
.nav-contact-item {
  display: flex;
  align-items: center;
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-contact-item:hover { color: var(--gold); }
.nav-contact-item .ci { color: var(--gold); font-style: normal; font-size: 1.1rem; line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.85rem;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-book { margin-left: 1rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #111;
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 0;
  border-bottom: 1px solid #333;
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 1rem; }

/* ── HERO ── */
.hero {
  background: var(--gold);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem calc((100vw - var(--max-width)) / 2 + 1.5rem);
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--gold);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  background: rgba(0,0,0,0.07);
}
.page-hero .container { position: relative; z-index: 1; }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.bg-black { background: var(--black); color: var(--white); }
.bg-grey-lt { background: var(--grey-lt); }
.bg-gold { background: var(--gold); }
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 2px solid var(--black);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 28px; height: 28px; }

/* ── Service cards ── */
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 0.4s, opacity 0.4s;
}
.service-card:hover img { transform: scale(1.05); opacity: 0.35; }
.service-card-content { position: relative; z-index: 1; }

/* ── Product cards ── */
.product-card {
  border: 2px solid var(--grey);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(252,206,11,0.2);
}
.product-card img {
  height: 180px;
  width: auto;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}
.product-badge {
  display: inline-block;
  background: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  color: var(--grey);
}

/* ── Why section ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.why-image { position: relative; overflow: hidden; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-content {
  background: var(--black);
  color: var(--white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}
.why-check {
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white);
  border-left: 6px solid var(--gold);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.testimonial-text {
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gold);
  padding: 4rem 0;
  text-align: center;
}

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--black);
  letter-spacing: -0.02em;
  transition: border-color 0.2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(252,206,11,0.25);
}
textarea { resize: vertical; min-height: 120px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-logo img { height: 36px; margin-bottom: 1rem; }
.footer-tagline { color: var(--grey); font-size: 0.85rem; line-height: 1.5; margin-bottom: 1rem; }
.footer-heading {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--grey); transition: color 0.2s; font-size: 0.9rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { color: var(--grey); margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-contact a { color: var(--grey); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #222;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--grey-dark);
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
  color: var(--grey);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--gold); }

/* ── About page ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--grey-lt);
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 4px solid var(--gold);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.location-box {
  background: var(--grey-lt);
  border-left: 6px solid var(--gold);
  padding: 2rem 2.5rem;
}
.location-box p { margin-bottom: 0.4rem; font-size: 1rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav-links, .nav-book { display: none; }
  .nav-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem; }
  .hero-image { min-height: 280px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { min-height: 260px; }
  .why-content { padding: 2.5rem 1.5rem; }
  .section { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 3.5rem 0 3rem; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
