/* ==========================================================================
   California Occupational Medical Professionals (COMP) - Static Stylesheet
   Reconstructed from the original Wix site for static / GitHub Pages hosting
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cookie&family=Forum&family=Oswald:wght@200;300;400;700&display=swap');

@font-face {
  font-family: 'oswald-extralight';
  font-style: normal;
  font-weight: 400;
  src: url('https://static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/oswald/v16/GwZ_PiN1Aind9Eyjp868E1tXRa8TVwTICgirnJhmVJw.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'oswald-extralight';
  font-style: normal;
  font-weight: 700;
  src: url('https://static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/oswald/v16/RqRF4AQrkUh3ft98NHH2mA.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'wf_6e0e1d3287e640529fe8c380f';
  font-style: normal;
  font-weight: 400;
  src: url('https://static.wixstatic.com/ufonts/fbc274_6e0e1d3287e640529fe8c380f0b515e5/woff2/file.woff2') format('woff2'),
       url('https://static.wixstatic.com/ufonts/fbc274_6e0e1d3287e640529fe8c380f0b515e5/woff/file.woff') format('woff'),
       url('https://static.wixstatic.com/ufonts/fbc274_6e0e1d3287e640529fe8c380f0b515e5/ttf/file.ttf') format('truetype');
  font-display: swap;
}

:root {
  --site-width: 980px;
  --font-main: 'oswald-extralight', 'Oswald', sans-serif;
  --font-cursive: 'Cookie', cursive;
  --font-serif: 'Forum', serif;
  --font-memory: 'wf_6e0e1d3287e640529fe8c380f', 'Old English Text MT', serif;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-accent: #4285f4;
  --color-accent-hover: rgba(66, 133, 244, 0.7);
  --color-placeholder: #667085;
  --color-divider: rgba(255, 255, 255, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

/* Skip to content accessibility link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 1000;
  background: var(--color-white);
  color: var(--color-black);
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
}

.skip-to-content:focus {
  left: 16px;
}

/* Fixed Full-Viewport Background Layer */
.page-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--color-black);
  overflow: hidden;
  pointer-events: none;
}

.page-background__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.page-background--home .page-background__image {
  opacity: 0.56;
}

.page-background--about .page-background__image,
.page-background--memory .page-background__image {
  opacity: 0.50;
}

/* Main Site Wrapper */
.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  width: 100%;
}

.header-top {
  width: 100%;
  padding-left: clamp(24px, 7vw, 140px);
  padding-right: clamp(24px, 7vw, 140px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.header-brand-col {
  flex: 1;
  position: relative;
  padding-top: 23px;
  padding-bottom: 54px;
  display: flex;
  justify-content: flex-start;
}

/* Tiny agency credit from original Wix header */
.agency-credit {
  position: absolute;
  top: 47px;
  left: 19px;
  width: 60px;
  font-family: var(--font-serif);
  font-size: 6px;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-black);
  z-index: 0;
}

.logo-link {
  position: relative;
  z-index: 1;
  display: block;
  width: 170px;
  height: 74px;
  border-radius: 3px;
  overflow: hidden;
}

.logo-img {
  width: 170px;
  height: 74px;
  object-fit: cover;
}

.header-info-col {
  flex: 1;
  padding-top: 15px;
  padding-bottom: 24px;
  display: flex;
  justify-content: flex-end;
}

.header-contact-text {
  width: 394px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6em;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.header-contact-text a {
  text-decoration: underline;
}

.header-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--color-divider);
  margin: 0 0 3px 0;
}

.site-nav-wrapper {
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.site-nav {
  width: 354px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: -12px;
  margin-right: -12px;
}

.site-nav__item {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 4px 12px;
  padding: 12px 0;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link--active {
  border-bottom-color: var(--color-white);
}

/* ==========================================================================
   Page Sections - Home
   ========================================================================== */
.main-content {
  flex: 1;
}

.section-block {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Home Section 1: Walk-in Services */
.home-hero-section {
  padding-top: 100px;
  padding-bottom: 59px;
}

.home-hero-box {
  width: 100%;
  max-width: 600px;
  text-align: center;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.cursive-notice {
  font-family: var(--font-cursive);
  font-size: 20px;
  font-weight: 400;
  text-decoration: underline;
  display: block;
}

.cursive-notice a {
  text-decoration: underline;
}

/* Home Section 2: Veteran Discount & Values */
.home-veteran-section {
  min-height: 600px;
  padding-top: 219px;
  padding-bottom: 10px;
}

.home-veteran-box {
  width: 100%;
  max-width: 721px;
  text-align: center;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

/* Home Section 3: DWC-1 Form & Authorization Info */
.home-dwc-section {
  min-height: 600px;
  padding-top: 203px;
  padding-bottom: 10px;
}

.home-dwc-box {
  width: 100%;
  max-width: 685px;
  text-align: center;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.home-dwc-box a {
  text-decoration: underline;
}

/* Home Section 4: Ethical & Timely Care Statement */
.home-mission-section {
  min-height: 590px;
  padding-top: 119px;
  padding-bottom: 10px;
}

.home-mission-box {
  width: 100%;
  max-width: 980px;
  text-align: center;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

/* ==========================================================================
   Page Sections - About Us
   ========================================================================== */
.about-intro-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.about-title {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 25px auto;
  text-align: center;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.about-description {
  width: 100%;
  max-width: 980px;
  text-align: center;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.about-team-section {
  min-height: 537px;
  padding-top: 25px;
  padding-bottom: 10px;
}

.team-grid {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.team-card {
  width: 234px;
  margin-bottom: 51px;
}

.team-card__img {
  width: 234px;
  height: 368px;
  object-fit: cover;
}

/* ==========================================================================
   Page Sections - In Memory (*)
   ========================================================================== */
@keyframes motion-fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes motion-blurIn {
  0% { filter: blur(6px); }
  100% { filter: blur(0px); }
}

.memory-tribute-section {
  min-height: 677px;
  padding-top: 49px;
  padding-bottom: 10px;
}

.memory-tribute-box {
  width: 100%;
  max-width: 562px;
  margin: 0 auto;
  text-align: center;
  animation: motion-fadeIn 1400ms cubic-bezier(0.47, 0, 0.745, 0.715) forwards,
             motion-blurIn 2000ms linear forwards;
}

.memory-tribute-title {
  font-family: var(--font-memory);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
  margin-bottom: 61px;
}

.memory-tribute-text {
  font-family: var(--font-memory);
  font-size: 16px;
  font-weight: 400;
  line-height: 2em;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

/* ==========================================================================
   Shared Contact Form Section ("Get in touch")
   ========================================================================== */
.contact-section {
  min-height: 785px;
  padding-top: 99px;
  padding-bottom: 10px;
}

.contact-section--memory {
  padding-top: 69px;
}

.contact-heading {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.4em;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 7px;
}

.contact-subheading {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4em;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 58px;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.form-label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4em;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-required {
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-white);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-placeholder);
}

.form-input:hover,
.form-textarea:hover,
.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
}

.phone-input-group {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.phone-input-group:hover,
.phone-input-group:focus-within {
  border-color: var(--color-accent);
}

.phone-prefix {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px 0 12px;
  color: var(--color-black);
  opacity: 0.75;
}

.phone-input-group .form-input {
  border: none;
  border-radius: 0;
  padding-left: 4px;
}

.form-textarea {
  min-height: 96px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-submit-btn:hover {
  background-color: var(--color-accent-hover);
  text-decoration: underline;
}

.form-status {
  text-align: center;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-white);
  min-height: 24px;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

.form-status.is-visible {
  opacity: 1;
}

/* ==========================================================================
   Shared Footer (Clinic Locations & Google Maps)
   ========================================================================== */
.site-footer {
  width: 100%;
  padding-top: 28px;
  padding-bottom: 42px;
}

.footer-grid {
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.footer-location {
  width: 479px;
  display: flex;
  flex-direction: column;
}

.footer-location__title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8em;
  letter-spacing: 0.04em;
  color: var(--color-white);
  margin-bottom: 21px;
}

.footer-location__map {
  width: 100%;
  height: 280px;
  background-color: #1a1a1a;
  overflow: hidden;
}

.footer-location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1020px) {
  .container,
  .header-top,
  .site-nav-wrapper,
  .section-block,
  .footer-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-top {
    gap: 24px;
  }

  .header-brand-col,
  .header-info-col {
    width: auto;
  }

  .team-grid {
    justify-content: center;
    gap: 24px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer-location {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 680px) {
  .header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .header-brand-col {
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-info-col {
    justify-content: center;
    padding-top: 0;
  }

  .header-contact-text {
    width: 100%;
  }

  .site-nav {
    width: 100%;
    max-width: 354px;
  }

  .home-hero-section {
    padding-top: 48px;
  }

  .home-veteran-section,
  .home-dwc-section,
  .home-mission-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .contact-section {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 40px;
  }

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

