/* YYK Services LLC - site styles */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333333;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid #d4d4d4;
  padding: 26px 0 18px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.brand {
  font-family: Georgia, "Times New Roman", "Source Serif Pro", serif;
  font-size: 26px;
  color: #1a3a5c;
  font-weight: normal;
  letter-spacing: 0.2px;
  margin: 0;
  line-height: 1.15;
}

.brand a,
.brand a:hover,
.brand a:focus {
  color: inherit;
  text-decoration: none;
}

.brand-sub {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  color: #777777;
  letter-spacing: 0.4px;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
}

.site-nav a {
  color: #1a3a5c;
  text-decoration: none;
  font-size: 15px;
  padding: 5px 9px;
  margin: -5px -9px;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  background-color: #eaf0f7;
  text-decoration: none;
}

/* Hero (home page) */
.hero {
  width: 100%;
  height: 450px;
  background: linear-gradient(rgba(26, 58, 92, 0.6), rgba(26, 58, 92, 0.6)),
              url('https://images.unsplash.com/photo-1714742016775-111a6d5768f9?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* Hero variant - solid navy, used on the contact page */
.hero-solid {
  height: auto;
  min-height: 280px;
  background: #1a3a5c;
  padding: 56px 24px;
}

.hero-inner {
  max-width: 760px;
  padding: 0 28px;
  text-align: center;
}

.hero-title {
  font-family: Georgia, "Times New Roman", "Source Serif Pro", serif;
  font-size: 40px;
  font-weight: normal;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.2;
}

.hero-sub {
  font-size: 19px;
  color: #f1efe7;
  margin: 0;
  line-height: 1.45;
}

/* Main */
main {
  padding: 34px 0 48px;
}

main > .container > h2:first-child {
  margin-top: 4px;
}

/* Why Choose Us - full-width navy band with centered white card */
.why-band {
  background-color: #1a3a5c;
  padding: 44px 24px;
  margin-top: 28px;
}

.why-inner {
  max-width: 760px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 28px 34px 30px;
  border-radius: 4px;
}

.why-inner h2 {
  margin-top: 0;
}

.why-inner p:last-child {
  margin-bottom: 0;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  counter-reset: why-counter;
}

.why-list li {
  counter-increment: why-counter;
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid #e6e6e6;
}

.why-list li:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.why-list li::before {
  content: counter(why-counter) ".";
  position: absolute;
  left: 0;
  top: 18px;
  font-family: Georgia, "Times New Roman", "Source Serif Pro", serif;
  color: #1a3a5c;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.3;
}

.why-title {
  display: block;
  font-family: Georgia, "Times New Roman", "Source Serif Pro", serif;
  font-weight: normal;
  color: #1a3a5c;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.why-desc {
  display: block;
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
}

h1 {
  font-family: Georgia, "Times New Roman", "Source Serif Pro", serif;
  color: #1a3a5c;
  font-size: 30px;
  font-weight: normal;
  margin: 0 0 8px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 17px;
  color: #555555;
  font-style: italic;
  margin: 0 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e6e6e6;
  line-height: 1.45;
}

.page-meta {
  font-size: 14px;
  color: #666666;
  margin: -10px 0 22px;
}

h2 {
  font-family: Georgia, "Times New Roman", "Source Serif Pro", serif;
  color: #1a3a5c;
  font-size: 21px;
  font-weight: normal;
  margin: 34px 0 10px;
  line-height: 1.3;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

a {
  color: #1a3a5c;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Our Services - side-by-side list and image */
.services-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 8px 0 22px;
}

.services-row > ul {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.services-image {
  flex: 1;
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Contact page - layout */
.contact-main {
  padding: 68px 0 64px;
}

.contact-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  margin-top: 72px;
}

.contact-info-col h2 {
  margin: 0 0 10px;
}

.contact-info-col p {
  margin: 0;
  line-height: 1.7;
}

.contact-info a {
  color: #1a3a5c;
  text-decoration: none;
}

/* Hours / small notes */
.note {
  font-size: 14px;
  color: #666666;
  font-style: italic;
  text-align: center;
}


/* Footer - clean, centered, plain text */
.site-footer {
  border-top: 1px solid #d4d4d4;
  padding: 22px 0 30px;
  margin-top: 16px;
  font-size: 13px;
  color: #777777;
  text-align: center;
}

.site-footer p {
  margin: 3px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-main {
    padding: 44px 0 48px;
  }

  .hero-solid {
    min-height: 220px;
    padding: 44px 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 52px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    margin-top: 6px;
    gap: 6px 14px;
  }

  .site-nav a {
    font-size: 14px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 19px;
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    height: 340px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .why-band {
    padding: 32px 16px;
  }

  .why-inner {
    padding: 22px 20px 24px;
  }

  .services-row {
    flex-direction: column;
    gap: 18px;
  }

  .services-image {
    max-height: 240px;
  }

  .contact-body {
    padding: 0 18px;
  }
}
