/* ----------------------------------------------------
   Google Font Imports (Merged)
---------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap");

/* ----------------------------------------------------
   Universal Reset
---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Infinity View Window Washing Color Scheme === */

/* Primary Background (dark theme base) */
:root {
  --color-midnight-blue: #1F2937;
  /* Deep navy background */
  --color-sky-blue: #3B82F6;
  /* Accent: CTA buttons, links */
  --color-cloud-white: #F9FAFB;
  /* Main text on dark bg */
  --color-cool-gray: #9CA3AF;
  /* Secondary text, borders */
  --color-infinity-black: #111827;
  /* Deep accent, text on light bg */
}

/* ----------------------------------------------------
   Body (Merged Properties)
---------------------------------------------------- */
body {
  padding-top: 60px;
  /* Adjust this value to match your header's height */
  font-family: 'Montserrat', 'Poppins';
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  text-align: center;
  background-color: #fff;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ----------------------------------------------------
   Header
---------------------------------------------------- */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f8f8;
  padding: 10px 20px;
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  transition: transform 0.3s ease-in-out;
  transform: translateY(-100%);
}

header.show {
  transform: translateY(0);
}


/* Logo */
.header-logo img {
  height: 40px;
  cursor: pointer;
}

/* ----------------------------------------------------
   Navigation (Desktop)
---------------------------------------------------- */
.header-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.header-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

/* Hover underline effect */
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #006733;
  /* kept this blue for the underline */
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

/* ----------------------------------------------------
   Hamburger Toggle (Mobile)
---------------------------------------------------- */
.menu-toggle-checkbox {
  display: none;
}

.hamburger-lines {
  display: none;
  height: 24px;
  width: 32px;
  position: relative;
  cursor: pointer;
}

.line {
  display: block;
  height: 4px;
  width: 100%;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.4s ease-in-out;
}

.line1 {
  transform-origin: 0% 0%;
}

.line3 {
  transform-origin: 0% 100%;
}

/* ----------------------------------------------------
   Responsive Nav
---------------------------------------------------- */
@media (max-width: 768px) {
  .hamburger-lines {
    display: block;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8f8f8;
    border-top: 1px solid #ccc;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .header-nav li {
    margin: 10px 0;
    text-align: center;
  }

  .header-nav a {
    font-size: 1.1rem;
  }

  .menu-toggle-checkbox:checked~.hamburger-lines .line1 {
    transform: rotate(45deg);
  }

  .menu-toggle-checkbox:checked~.hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .menu-toggle-checkbox:checked~.hamburger-lines .line3 {
    transform: rotate(-45deg);
  }

  .menu-toggle-checkbox:checked~.header-nav {
    max-height: 300px;
  }
}


/* ----------------------------------------------------
   Phone number (desktop only)
---------------------------------------------------- */
.header-phone {
  display: block;
  /* show by default (desktop) */
  font-weight: 500;
  margin-left: 20px;
  /* spacing from nav */
}

.header-phone a {
  color: #333;
  text-decoration: none;
}

.header-phone a:hover {
  text-decoration: underline;
}

/* hide on mobile */
@media (max-width: 768px) {
  .header-phone {
    display: none;
  }
}

/* ---------------------
   styles/hero.css
   --------------------- */

/* Base hero styles */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/window-clean.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background-position: center top;
  }

  .hero-content {
    padding: 2rem 1rem;
    max-width: 100%;
    height: auto;
  }

  .hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
  }

  .hero-content {
    padding: 1.5rem 0.75rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}



/* ----------------------------------------------------
   Services Section (Infinity View Theme)
---------------------------------------------------- */
.service-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

/* Headings/intro text */
.service-text h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: #3B82F6;
  /* Sky Blue */
}

.service-text p {
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.6;
}

/* Service List Container */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Individual service items (light cards on dark bg) */
.service-item {
  display: flex;
  align-items: center;
  background-color: #F9FAFB;
  /* Cloud White */
  border-radius: 2rem;
  border: 2px solid #3B82F6;
  /* Sky Blue */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  text-align: left;
}

/* Make icons blue to match brand accent */
.service-icon {
  width: 3rem;
  height: 3rem;
  margin-right: 20px;
  flex-shrink: 0;

  /* Blue-tone filter to match logo */
  filter: invert(41%) sepia(94%) saturate(747%) hue-rotate(199deg) brightness(95%) contrast(102%);
}

/* Content area (heading + paragraph) */
.service-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  /* Infinity Black */
}

.service-content p {
  margin: 0;
  line-height: 1.6;
  color: #4B5563;
  /* Mid-gray for contrast */
}

/* Button area */
.service-action {
  text-align: center;
  margin: 40px 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}


/* Customer Reviews – full-width background */
.reviews-section {
  background-color: var(--color-cloud-white);
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 60px 20px;
  text-align: center;
}



.reviews-section h2 {
  font-size: 2.5rem;
  color: var(--color-sky-blue);
  margin-bottom: 1rem;
}

.review {
  display: inline-block;
  max-width: 700px;
  background-color: #fff;
  border-left: 5px solid var(--color-sky-blue);
  padding: 20px 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-style: italic;
  color: #111827;
}

.review footer {
  margin-top: 0.5rem;
  text-align: right;
  font-weight: 600;
  color: var(--color-infinity-black);
}



/* Container centering + max width */
.our-work-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section wrapper */
.our-work-section {
  background-color: var(--color-cloud-white);
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 60px 20px;
  text-align: center;
}

/* Section title */
.our-work-section h2 {
  font-size: 2.75rem;
  color: var(--color-sky-blue);
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Subtitle */
.subtitle {
  font-size: 1.25rem;
  color: var(--color-infinity-black);
  margin-bottom: 3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Grid of work items */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Each item */
.work-item {
  background: #fff;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Item heading */
.work-item h3 {
  font-size: 1.5rem;
  color: var(--color-infinity-black);
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Image grid inside each item */
.images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Figure reset + fixed aspect ratio box */
.images figure {
  position: relative;
  width: 100%;
  padding-top: 120%;
  /* 16:9 ratio */
  margin: 0;
  overflow: hidden;
  background: #f5f5f5;
}

/* Image fill + object-fit to avoid stretch */
.images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  /* sharp corners */
  box-shadow: none;
  transition: transform 0.3s ease;
}

/* Subtle zoom on hover */
.images img:hover {
  transform: scale(1.05);
}

/* Caption (if you add captions later) */
.images figcaption {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--color-infinity-black);
  font-size: 0.9rem;
  text-align: left;
}


/* ----------------------------------------------------
   Buttons (Mind-Blowing)
---------------------------------------------------- */
a.mind-blowing-button,
a.mind-blowing-button:link,
a.mind-blowing-button:visited,
a.mind-blowing-button:hover,
a.mind-blowing-button:active {
  color: var(--color-cloud-white) !important;
  text-decoration: none !important;
}

.mind-blowing-button {
  width: 220px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  /* Primary accent: Sky Blue */
  background: var(--color-sky-blue);
  border: none;
  border-radius: 8px;
  /* Neon glow uses RGBA of sky-blue (59,130,246) */
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5),
    0 0 20px rgba(59, 130, 246, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

/* Slower shimmer animation */
.mind-blowing-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  transform: rotate(45deg);
  animation: shimmer 6s infinite;
}

@keyframes shimmer {
  0% {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  50% {
    transform: translate(50%, 50%) rotate(45deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

/* Neon glow on hover, darker sky-blue hover BG */
.mind-blowing-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6),
    0 0 20px rgba(59, 130, 246, 0.4),
    0 0 30px rgba(59, 130, 246, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mind-blowing-button:hover::after {
  opacity: 1;
}

/* Hover background uses a darker shade of sky-blue and slight scale */
.mind-blowing-button:hover {
  background: #2563EB;
  /* blue-600 */
  transform: scale(1.05);
}


/* ----------------------------------------------------
   Footer Section
---------------------------------------------------- */
.footer-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  background-color: var(--color-midnight-blue);
  padding: 40px 20px;
  color: var(--color-cloud-white);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: center;
    /* Change from space-between to center */
    align-items: flex-start;
  }
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-contact a {
  color: var(--color-cloud-white);
  text-decoration: none;
  transition: color 0.3s ease;
  align-self: center;
  text-align: center;
}

.footer-contact a:hover {
  color: var(--color-sky-blue);
}

.footer-contact h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.footer-contact p {
  margin: 0.25rem 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-nav ul {
    flex-direction: row;
    gap: 20px;
  }
}

.footer-nav a {
  color: var(--color-cloud-white);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--color-sky-blue);
  text-decoration: underline;
}

.footer-divider {
  border: 0;
  height: 1px;
  background-color: var(--color-cool-gray);
  margin: 20px auto;
  width: 90%;
}

/* make both links match the footer-copy text style */
.footer-copy .footer-link {
  color: var(--color-cool-gray);
  font-size: 0.875rem;
}

/* add a little horizontal breathing room before the second link */
.footer-copy .footer-link + .footer-link {
  margin-left: 0.25rem;
}


.footer-link {
  color: var(--color-cloud-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-sky-blue);
  text-decoration: underline;
}


/* ---------------------------------
   Contact Page Styles
---------------------------------- */

.contact-section {
  padding: 60px 20px;
  background-color: #fff;
}

.contact-section h1 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--color-infinity-black);
  text-align: center;
}

.contact-form-wrapper {
  max-width: 550px;
  margin: 0 auto;
  background-color: var(--color-cloud-white);
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-infinity-black);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-cool-gray);
  border-radius: 5px;
  font-size: 1rem;
  color: var(--color-infinity-black);
  background-color: var(--color-cloud-white);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-cool-gray);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-sky-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--color-sky-blue);
  color: var(--color-cloud-white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #2563EB;
  /* darker sky-blue */
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}


/* ----------------------------------------------------
   Privacy Policy
---------------------------------------------------- */

/* ----------------------------------------------------
   Terms & Conditions Overrides
---------------------------------------------------- */

.terms-container {
  /* match site padding for sections */
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  /* paragraphs left-aligned */
  color: var(--color-infinity-black);
  /* dark text on white bg */
  font-family: 'Montserrat', 'Poppins';
  /* brand fonts */
  line-height: 1.8;
}

.terms-title {
  font-size: 2.75rem;
  /* same scale as .our-work-section h2 */
  color: var(--color-sky-blue);
  /* accent heading color */
  text-align: center;
  margin-bottom: 1.5rem;
}

.terms-section-title {
  font-size: 1.5rem;
  color: var(--color-infinity-black);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* body text paragraphs */
.terms-text {
  margin-bottom: 1.25rem;
}

/* Remove native bullets and use pseudo-elements for colored dots */
.terms-list {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  counter-reset: list-counter;
  /* for ordered lists */
}

.terms-list-item {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
}

.terms-list-item::before {
  content: "•";
  /* bullet */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  line-height: 1;
  color: var(--color-sky-blue);
}

/* ordered lists */
.terms-list.ordered {
  counter-reset: list-counter;
}

.terms-list.ordered .terms-list-item {
  counter-increment: list-counter;
}

.terms-list.ordered .terms-list-item::before {
  content: counter(list-counter) ".";
  font-weight: 600;
}

/* links in the terms copy */
.terms-link {
  color: var(--color-sky-blue);
  text-decoration: underline;
}

.terms-link:hover {
  color: var(--color-midnight-blue);
  text-decoration: none;
}

/* ----------------------------------------------------
   About Us Page Styles
---------------------------------------------------- */

/* Hero Banner (edge-to-edge photo) */
.about-hero {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  background-image: url('../images/window-washing.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 80px 1rem;
}

.about-hero .about-title {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-hero .about-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Mission section */
.about-mission {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  padding: 48px 1rem;
  text-align: center;
  background: #f9f9f9;
  box-sizing: border-box;
}

.mission-title {
  font-size: 2rem;
  color: #3B82F6;
  margin-bottom: 1rem;
}

.mission-copy {
  font-size: 1rem;
  color: #222222;
  max-width: 800px;
  margin: 0 auto;
}

/* Team section */
.about-team {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  background: #f9f9f9;
  padding: 48px 1rem;
  box-sizing: border-box;
}

.team-content {
  max-width: 1200px;
  margin: 0 auto;
}

.team-title {
  text-align: center;
  font-size: 2rem;
  color: #3B82F6;
  margin-bottom: 24px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Team member card with proper image display */
.member-panel {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* Image container with proper aspect ratio - made longer */
.member-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.member-panel:hover .member-image img {
  transform: scale(1.05);
}

/* Content area with better spacing - centered text */
.member-info {
  padding: 2rem;
  text-align: center;
  background: #fff;
}

.member-name {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: #222222;
}

.member-role {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-style: italic;
  color: #3B82F6;
  font-weight: 500;
}

.member-bio {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .member-panel {
    margin: 0 1rem;
  }
  
  .member-image {
    height: 450px;
  }
  
  .member-info {
    padding: 1.5rem;
  }
  
  .member-name {
    font-size: 1.5rem;
  }
}