/* Responsive section padding */
@media (max-width: 700px) {
  nav {
    flex-direction: column;
    gap: 0.6em;
    align-items: flex-start;
    width: 100%;
    margin-top: 0.8em;
    display: flex !important;
    background: linear-gradient(90deg, #ea4fa6, #c03a87);
    position: relative;
    padding: 1em 1.5em 1.5em 1.5em;
    box-shadow: 0 4px 24px #0002;
    border-radius: 0 0 16px 16px;
    z-index: 100;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 0.8em;
    position: relative;
    background: linear-gradient(90deg, #ea4fa6, #c03a87);
  }
  .logo img {
    max-width: 78vw;
    height: auto;
  }
  .cta {
    margin-top: 0.8em;
    width: 100%;
  }
  select#city-switcher {
    margin-top: 0.6em;
    width: 90vw;
    max-width: 360px;
    font-size: 1em;
  }
}

/* Responsive section padding */
@media (max-width: 700px) {
  .services, .about-quick, .contact-quick, .services-list, .about-full, .contact-section, .feature-block, .testimonials, .faq, .cta-banner {
    padding: 1em;
    margin: 1.2em 0;
  }
  .service-icons-row {
    gap: 0.7em 0.5em;
  }
}

/* Service icon images */
.service-icon {
  width: 48px;
  height: 48px;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #ececec;
  border: 2px solid #ea4fa6;
  margin-bottom: 0.4em;
}

/* Make all images scale responsively */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
body { font-family: Arial, sans-serif; margin: 0; padding: 0; color: #222; background: #f7f7fb;}
header {
  background: linear-gradient(90deg, #ea4fa6, #c03a87);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}
.logo h1 { margin: 0; font-size: 2em; letter-spacing: 2px;}
nav { display: flex; gap: 1.5em; align-items: center;}
nav a { color: #fff; text-decoration: none; font-weight: bold; }
nav a:hover {
  color: #c03a87;
}
.cta .call-btn { background: #fff; color: #ea4fa6; padding: 0.5em 1em; border-radius: 25px; text-decoration: none; font-weight: bold;}
main { max-width: 800px; margin: 2em auto; padding: 0 1em;}
.hero { background: #fff5fa; padding: 2em 1em; border-radius: 20px; box-shadow: 0 4px 16px #ea4fa633;}
.hero h2 { color: #ea4fa6; font-size: 2em;}
.btn-primary, .btn-secondary { display: inline-block; margin-top: 1em; padding: 0.7em 2em; border-radius: 25px; border: none; cursor: pointer;}
.btn-primary { background: #ea4fa6; color: #fff; font-weight: bold;}
.btn-secondary { background: #fff; color: #ea4fa6; border: 2px solid #ea4fa6;}
.services, .about-quick, .contact-quick, .services-list, .about-full, .contact-section { margin: 2em 0; background: rgba(255,255,255,0.88); padding: 2em; border-radius: 16px; box-shadow: 0 2px 12px rgba(246, 235, 235, 0.34);}
.services h3, .about-quick h3, .contact-quick h3, .about-full h2, .services-list h2, .contact-section h2 { color: #ea4fa6; }
.services ul, .services-list ul { padding-left: 1.2em;}
footer {
  background: linear-gradient(90deg, #c03a87, #ea4fa6);
  color: #fff;
  text-align: center;
  padding: 1.5em 0;
  font-size: 1em;
  margin-top: 3em;
}
footer a { color: #ea4fa6; text-decoration: underline;}
input, select, textarea, button { font-size: 1em; margin-bottom: 0.7em; border-radius: 7px; border: 1px solid #bbb; padding: 0.6em; width: 90%;}
button[type='submit'] { background: #ea4fa6; color: #fff; font-weight: bold; border: none; width: auto; padding: 0.7em 2em;}
@media (max-width: 600px) {
  header, main { flex-direction: column; align-items: flex-start; }
  main { padding: 0 0.5em; }
  header { padding: 1em 1em; background: #2b2b2b; }
}

/* Responsive flex grid for service icons row */
.service-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1em 2em;
  margin-top: 1.2em;
}
.service-icon-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 110px;
  margin-bottom: 0.7em;
  min-width: 90px;
  max-width: 120px;
}
@media (max-width: 700px) {
  .service-icons-row {
    gap: 0.7em 0.5em;
  }
  .service-icon-group {
    min-width: 72px;
    max-width: 110px;
    flex: 1 1 90px;
  }
}

/* Keep quick service overview icons uniform and not oversized */
.service-icon {
  width: 56px;
  height: 56px;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: #ececec;
  border: 3px solid #ea4fa6;
  margin-bottom: 0.5em;
}

/* Hero Parallax Video */
.hero-video-parallax {
  position: relative;
  height: 48vw;
  min-height: 320px;
  max-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 22px;
  margin-bottom: 1.8em;
  box-shadow: 0 4px 22px #ea4fa62a;
}
.video-parallax-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-video {
  width: 100vw;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  filter: brightness(0.68) blur(1px) saturate(1.08);
  transition: filter 0.2s;
  background: #000;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #fff;
  padding: 3.5em 1.5em;
  background: linear-gradient(0deg, #00000080 20%, #00000010 90%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-overlay h2 {
  color: #fff;
  font-size: 2.3em;
  text-shadow: 0 4px 20px #ea4fa6b8;
  margin-bottom: 0.45em;
}
.hero-overlay p {
  color: #fff;
  font-size: 1.15em;
  margin-bottom: 1.2em;
  text-shadow: 0 2px 10px #2227;
  font-weight: 400;
}
@media (max-width: 600px) {
  .hero-video-parallax {
    min-height: 180px;
    max-height: 260px;
    height: 40vw;
    border-radius: 12px;
    margin-bottom: 1em;
  }
  .hero-overlay {
    padding: 2em 0.7em 1.5em 0.7em;
  }
  .hero-overlay h2 {
    font-size: 1.3em;
  }
  .hero-overlay p {
    font-size: 1em;
  }
}
/* Parallax logo watermark in hero section */
.hero-video-parallax::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 80%; height: 90%;
  transform: translateX(-50%) translateY(-10px) scale(1.08);
  background: url('images/Pinkoceanyachtlogo.png') center center no-repeat;
  background-size: min(42vw, 340px) auto;
  opacity: 0.13;
  z-index: 1; /* beneath overlay, above video */
  pointer-events: none;
  will-change: transform;
}
.hero-overlay {
  position: relative;
  z-index: 2;
}
.video-parallax-wrapper {
  position: relative;
  z-index: 0;
}

/* body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: url('images/Pinkoceanyachtlogo.png') center center no-repeat;
  background-size: cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  will-change: opacity, transform;
  animation: fadeinlogo 1.8s ease-out 0.5s forwards;
} */
@keyframes fadeinlogo {
  from { opacity: 0; }
  to { opacity: 0.10; }
}
body {
  position: relative;
  z-index: 1;
}

#bg-video-sitewide {
  position: fixed;
  top: 0; left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.75) saturate(1.06) blur(0.5px);
  pointer-events: none;
  transition: filter 0.2s;
  background: #000;
}
/* Nav and footer text color */
nav, footer {
  color: #fff;
}

/* Nav links */
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Nav links hover: pink gradient text */
nav a:hover {
  background: linear-gradient(90deg, #ea4fa6, #c03a87);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer links */
footer a {
  color: #fff;
  text-decoration: underline;
  transition: background 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Footer links hover: pink gradient text */
footer a:hover {
  background: linear-gradient(90deg, #ea4fa6, #c03a87);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Trust subtext color override */
.trust-subtext {
  color: #fff !important;
}

/* Global fixes to prevent horizontal scrolling */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}

main {
  max-width: 100vw;
  padding: 0 1em;
  box-sizing: border-box;
  overflow-x: hidden;
}
@media (max-width: 599px) {
  body, html {
    overflow-x: hidden;
    padding: 0 8px; /* less padding */
  }

  header {
    padding: 0.8em 1em;
  }

  nav {
    flex-direction: column;
    gap: 0.5em;
    padding: 0.6em 1em;
  }

  nav a {
    font-size: 1em;
  }

  .logo img {
    max-width: 85vw;
  }

  .hero-overlay h2 {
    font-size: 1.1em;
  }

  .hero-overlay p {
    font-size: 0.9em;
  }

  main {
    padding: 0 0.8em;
    max-width: 100vw;
  }

  .services, .about-quick, .contact-quick, .services-list, .about-full, .contact-section {
    padding: 1em 0.8em;
    margin: 1em 0;
  }

  /* Form controls */
  input, select, textarea, button {
    width: 100% !important;
    font-size: 1em;
    padding: 0.5em 0.8em;
  }

  button[type='submit'] {
    padding: 0.6em 1.5em;
  }

  /* Service icon groups stacked */
  .service-icons-row {
    flex-direction: column;
    gap: 1em;
  }

  .service-icon-group {
    max-width: 100%;
    flex: none;
  }

  /* Hero video */
  .hero-video-parallax {
    height: 35vw;
    min-height: 180px;
    max-height: 220px;
  }
}
@media (max-width: 700px) {
  header {
    background: transparent !important;
    box-shadow: none !important;
  }
}
/* --- Custom hero video parallax overrides/additions --- */
.hero-video-parallax {
  width: 100%;
  max-height: 320px;
  min-height: 220px;
  height: 40vw;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 1.5em;
}

.hero-video-parallax video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.hero-overlay {
  padding: 3em 1.2em;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-overlay h2 {
  font-size: 2.1em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.hero-overlay p {
  font-size: 1.05em;
  margin-bottom: 1.5em;
}

.hero-overlay .btn-primary {
  padding: 0.8em 2.4em;
  font-size: 1em;
}

@media (max-width: 600px) {
  .hero-video-parallax {
    max-height: 260px;
    min-height: 180px;
    height: 45vw;
    margin-bottom: 1em;
  }
  .hero-overlay {
    padding: 2em 0.8em;
    max-width: 95%;
  }
  .hero-overlay h2 {
    font-size: 1.4em;
  }
  .hero-overlay p {
    font-size: 0.95em;
    margin-bottom: 1em;
  }
  .hero-overlay .btn-primary {
    padding: 0.6em 1.8em;
    font-size: 0.9em;
  }
}
/* --- Contact form input sizing fix for mobile and desktop --- */
.contact-section form input,
.contact-section form select,
.contact-section form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6em 0.8em;
  margin-bottom: 0.8em;
  border-radius: 8px;
  border: 1px solid #bbb;
  font-size: 1em;
}

.contact-section form button[type="submit"] {
  width: auto;
  padding: 0.7em 2em;
  border-radius: 8px;
}

@media (max-width: 600px) {
  form, .contact-section form {
    max-width: 99vw !important;
    padding: 1em 0.3em !important;
  }
  input, select, textarea, button {
    max-width: 100vw !important;
    min-width: 0;
    font-size: 1em;
  }
}