/******** START STOP UNHINGING FROM BUTTONS ********/

html, body {
  overflow-x: hidden;   /* cuts off anything sticking past */
}

img, iframe, video {
  max-width: 100%;      /* keep media from overflowing */
  height: auto;
}

* {
  box-sizing: border-box;
}

/******** END STOP UNHINGING FROM BUTTONS ********/


/* Make body a flex container */
html, body {
  height: 100%;          /* allow full height */
  display: flex;
  flex-direction: column;
}

/* Let main content grow, footer pushed down */
main {
  flex: 1;               /* fills leftover space */
}

/* Remove theme margins/padding if needed */
.site-main,
.site-footer {
  margin: 0;
  padding: 0;
}



:root {
  --light-blue: #8fbfff;
  --bright-blue: #0368ff;
  --royal-blue: #071ca8;
  --dark-blue: #030b45; 
  --soft-white: #F4F6F9;
  --dark-gray: #1d2229;
  --charcoal: #2B2B2B;
  --accent-orange: #d97745;
  --accent-sun: #ffc76e;
  --accent-red: #7d111a;
  --font-script: 'Kaushan Script', cursive;
  --font-body: 'Lato', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--soft-white);
  color: var(--dark-gray);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--dark-gray);
  margin-top: 0;
}

.text-white h1{
	color: var(--soft-white);
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1976D2;
  text-decoration: none;
}

/* Menu button */
.menu-button {
  background: #1976D2;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1001;
}

.site-logo {
  font-family: var(--font-script);
  font-size: 1.75rem;
  color: var(--bright-blue);
  text-decoration: none;
}

.section-hero h1{
	margin-top:4rem;
}

.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap:wrap;
}

.column {
  flex: 1 1 48%;              /* grow, shrink, basis */
  min-width: 280px;           /* prevent squeezing too small */
}

.hero-headline{
	color:white;
	font-size:3rem;
}

.hero-tagline {
  font-family: var(--font-script);
  margin-top:5rem;
  text-decoration: none;
	padding:10px;
}

.hero {
  background: var(--bright-blue);
  color: var(--soft-white-alt);
  padding: 4rem 0;
  text-align: center;
}



.section-hero { 
	background-color: var(--bright-blue);
}

.grid {
	display: grid;
}

.grid-cols-2 {
	grid-template-columns: repeat(2,1fr);
}

/* style the nav list as a horizontal menu */
.site-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu li a {
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  display: block;
}

/* spacing between items */
.site-menu.flex {
  gap: 1.5rem;
}

/*–– Force nav list side-by-side ––*/
.site-nav ul {
  display: flex !important;
  flex-direction: row !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul li {
  margin: .5rem .01rem; 
}

.site-nav ul li a {
  display: block;   
  padding: 0.5rem 0;
}

.section-hero {
  min-height: 80vh;  
  /* plus the flex/center rules above */
}

.section-hero {
  position: relative;
  overflow: hidden;
  padding-top:10rem;
  /* existing min-height, centering, etc. */
}

/* Hero tagline under H1 */
.hero-tagline {
  font-size: 2rem;            
  color: rgba(255, 255, 255, 0.9); /* slightly transparent white */
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* WAVES START */

/* SVG wave container */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;  
  overflow: hidden;
  pointer-events: none;
}

.waves {
  position: absolute;
  display: block;
  width: 200%;
  height: 100%;
}

/* shared keyframes */
@keyframes waveAnim {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* wave1 */
.wave1 {
  animation: waveAnim 15s ease-in-out infinite alternate;
  fill: rgba(255,255,255,0.7);
}

/* wave2 */
.wave2 {
  animation: waveAnim 30s ease-in-out infinite alternate;
  animation-delay: -15s;   
  fill: rgba(255,255,255,0.5);
}

/* wave3  */
.wave3 {
  animation: waveAnim 45s ease-in-out infinite alternate;
  animation-delay: -30s;   
  fill: rgba(255,255,255,0.3);
}
/* WAVES END */

/* BUTTONS START */

/* button base */
.btn {
  display: flex;
  margin:1rem;
  flex-direction: column;
  padding: 0.75rem 2rem 1.5rem 2rem;
  font-size: 1.4rem;
  text-align: center;
  cursor: pointer;
  border: none;
  background-color: var(--light-blue);
  color: white;
  border-radius: 0.5em;
  float:right;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  padding: .75rem 1.5rem; 
  border-radius: .375rem; 
  text-decoration: none;
}

.btn-primary { 
  background-color: #FFFFFF; 
  color: var(--royal-blue); 
}

.btn-secondary {
  background-color: transparent; 
  border: 2px solid #FFFFFF; 
  color: #FFFFFF; 
}

a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: 0.5em;
}

/* light button on blue background */
.btn-light {
  background-color: #ffffff;
  color: #1976D2;
}

.btn-light:hover {
  background-color: #f0f0f0;
}

/* Outline button on blue background */
.btn-outline-light {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
}

/* large btn */
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.wp-block-button__link {margin:.2rem;
	
}

/* BUTTONS END */

/* SERVICES START */
.services-section {
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  animation: floatUp 1s ease-out both;
}

.service-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 50%;
  background-color: #f0f4f8;
  color: #1e2a38;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background 0.3s, transform 0.3s;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: floatUp 0.8s ease forwards;
}

.service-circle:nth-child(1) { animation-delay: 0.1s; }
.service-circle:nth-child(2) { animation-delay: 0.2s; }
.service-circle:nth-child(3) { animation-delay: 0.3s; }
.service-circle:nth-child(4) { animation-delay: 0.4s; }
.service-circle:nth-child(5) { animation-delay: 0.5s; }

.service-circle:hover {
  background-color: #e0ecf3;
  transform: translateY(-4px);
}

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICES END */


/* REVIEW START */
.reviews-section {
  background-color: #e6f3fb;
  padding: 4rem 1rem;
  overflow-x: hidden;
}

.reviews-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  animation: slideInLeft 0.8s ease forwards;
}

.review-card {
  background-color: #fff;
  color: #1e2a38;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex: 1 1 22%;
  min-width: 180px;
  max-width: 240px;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.stars {
  font-size: 1.2rem;
  color: #f6b500; /* Gold */
  margin-bottom: 0.5rem;
}

.review-text {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-author {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

@keyframes slideInLeft {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* REVIEW END */


/* SERVICES AREAS START */

/*.reviews-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  animation: slideInLeft 0.8s ease forwards;
}*/

.service-areas {
  padding: 2rem;
  background-color: #f9fbfd;
}

.service-areas h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-areas p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.area {
  background: #ffffff;
  border: 1px solid #e0e6ed;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* SERVICES AREAS END */

/* ABOUT START */

.about-section {
  background-color: #f4f6f9;
  padding: 4rem 1rem;
  color: #1e2a38;
}

.about-container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.about-container h2{
	padding-bottom: 2rem;
}

/* ABOUT END */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

/* Keyframes for fade */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CALL TO ACTION START */

.cta {
  background-color: var(--bright-blue);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.cta h2 {
	text-align:center !important;
	color:var(--soft-white);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.call-now {
  max-width: 1000px;
  margin: 0 auto;
}

.cta-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  gap: 2rem;
}

.cta-left,
.cta-right {
  flex: 1 1 45%;
  padding:1rem;	
}

.cta a {
  color: #fff;
  text-decoration: underline;
}

.cta .button {
  background-color: var(--royal-blue);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  border-radius: 6px;
  color: #fff;
}
.cta .button:hover {
  background-color: var(--accent-sun);
}

.cta .button {
  background-color: var(--light-blue);
  border: box;
  padding: 1rem 2rem;
  font-size: 1rem;
  display: grid;
  margin: 1rem;
  text-decoration: none;
  border-radius: 6px;
  color: #fff;
  transition: background 0.3s ease;
  text-align: center;
  align-items: center;
}

/* CALL TO ACTION END */

/* FOOTER START */

footer {
display:flex;
  background-color: var(--dark-blue); /* dark background (optional) */
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
	  justify-content: center;
  align-items: center;
  text-align: center;
}

footer a {
  color: #f0f4f8;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer{justify-content: center;
  align-items: center;
  text-align: center;}

.site-footer {
  color: #fff;
  padding: 2rem 1rem;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-container a {
  color: #f0f4f8;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}
/* FOOTER END */


/* MOBILE STARTS UNDER HERE */

/* Mobile Carousel Style */

@media (max-width: 768px) {
  .reviews-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem;
    justify-content: flex-start;
  }

  /* Hide scrollbar for WebKit browsers */
  .reviews-container::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for Firefox */
  .reviews-container {
    scrollbar-width: none; /* Firefox */
  }
}

/* Mobile layout */


@media (max-width: 768px) {
  .cta-columns {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-left,
  .cta-right {
    flex: 1 1 90%;
  }
}

/* Default hidden */
.mobile-menu {
  display: none;
}

.mobile-menu ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #1e2a38;
  font-weight: 500;
  padding: 0.5rem;
}

/* Mobile only */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
    display: none; /* override base display */
    z-index: 1000;
  }

  .mobile-menu.open {
    display: block;
  }

 .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu ul li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: #1e2a38;
    text-decoration: none;
  }
}

.mobile-menu ul li a:hover {
  background: #f1f5fa;
}

@media (max-width: 768px) {
  .mobile-menu {
    padding: 1rem 1.5rem;
    max-width: 200px;
    margin: 0 auto;
    border-radius: 6px;
  }
}

@media (max-width: 768px) {
  .section-hero {
    padding: 3rem 1rem 3rem;
  }

  .section-hero h1 {
    font-size: 1.75rem;
    line-height: 1.4;
	text-align:center;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 300px;
  }

  .hero-tagline {
    font-size: 1.4rem;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
	padding:2rem;
  }
}

/* Responsive: stack at smaller screen sizes services circles*/

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }

  .service-circle {
    width: 10rem;
    height: 10rem;
    font-size: 1rem;
  }
}


@media (min-width: 769px) {
  .mobile-menu {
    display: flex !important;
    position: static !important;
    flex-direction: row;
    background: none;
    box-shadow: none;
    width: auto;
    margin-left: auto;
  }

  .mobile-menu ul {
    display: flex;
    gap: 2rem;
  }

  .mobile-menu ul li a {
    border: none;
    padding: 0.5rem 0;
    color: #1e2a38;
  }

  .menu-button {
    display: none;
  }
}

@media (min-width: 768px) {
	.hero { 
	padding: 6rem 0; 
	}
}

@media (max-width: 768px) {
  .column{
    flex-basis: 100%;
	}
}
	
/* Ripple Effect */

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.6);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}



/* Main layout for writeup pages */
#writeup-page.writeup-main {
  display: block;
  width: 100%;

}

#writeup-page .writeup-content {
  max-width: 700px;
  margin: 0 auto;
}
.writeup-page{padding:2rem;}
#writeup-page .writeup-content img {
  display: block;
  margin: 0 auto 2rem;
  max-width: 100%;
  
}

#writeup-page h1,
#writeup-page h2,
#writeup-page h3,
#writeup-page h4,
#writeup-page h5,
#writeup-page h6 {
  text-align: left;
  margin-top: 2rem;
	padding:1rem;
}

/* Paragraphs */
#writeup-page p {
  text-align: left;
  line-height: 1.6;
  margin-bottom: 1.5rem;
	padding:1rem;
}

#writeup-page h1 {
	font-size:28px;
}
html, body {
  height: 100%;
  margin: 0;
}


/* Mobile adjustments */
@media (max-width: 768px) {
  #writeup-page h1,
  #writeup-page h2,
  #writeup-page h3,
  #writeup-page h4,
  #writeup-page h5,
  #writeup-page h6 {
    text-align: center;
	  padding:1rem;
  }

  #writeup-page p {
    text-align: left;
  }
}
#writeup-page .writeup-featured-image {
  text-align: center;
}

#writeup-page .writeup-featured-image img {
  max-width: 100%;
  height: auto;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.writeup-main {
  flex: 1 0 auto;
}

/* SERVICE AREAS START */


.areas-we-serve {
  position: relative;
  height: 40vh;
  background: none;
  overflow: hidden;
}

@media (max-width: 768px) {
  .areas-we-serve {
    height: 100vh;
  }
}

.areas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://indetailpoolco.com/wp-content/uploads/2025/08/st-lucie-image-above.jpg'); /* fix path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

@media (min-width: 769px) {
  .areas-bg {
  
    background-attachment: fixed; /* only apply parallax on desktop */
  }
}


.areas-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4); /* subtle overlay for readability */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.areas-overlay h2 {
  margin: 0.5rem 0;
  font-size: 2rem;
}

.areas-overlay a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.areas-overlay a:hover {
  color: #F4F6F9; /* or your accent color */
}

.writeup-header{padding-top:3rem;}

/* SERVICE AREAS END */

/* QR CODE END */

.qr-landing {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.qr-card {
  width: 100%;
  max-width: 520px;
  margin: 16px; /* NEW: margin around the card */
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  padding: 20px;
  background: #ffffff;
  text-align: center;
}

    .qr-landing {
      min-height: 100dvh; display: grid; place-items: center; padding: 16px;
    }
    .qr-card {
      width: 100%; max-width: 520px; border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.12);
      padding: 20px; background: #ffffff; text-align: center;
    }
    .qr-title { font-size: 1.25rem; margin: 0 0 12px; }
    .qr-sub { color: #60656b; margin: 0 0 16px; }
    .qr-actions { display: grid; gap: 12px; margin-top: 8px; }
    .qr-btn {
      display: block; padding: 14px 16px; border-radius: 12px; text-decoration: none; font-weight: 600;
      border: 1px solid #d7dde3;
    }
    .qr-btn:active { transform: scale(0.99); }
    .qr-primary { background: #1976D2; color: #fff; border-color: #1976D2; }
    .qr-muted { background: #F4F6F9; color: #2b2f33; }


.main-section {margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;}


.trusted-products {
  text-align: center;
  padding: 3rem 1rem;
}

.trusted-products__title {
  display: block;
	clear:right;
  margin-bottom: 2rem; /* space below heading */
  text-align: center;
  font-size: 1.75rem;
}


.trusted-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.trusted-products__item img {
  max-width: 180px;
  height: auto;
  transition: transform 0.2s ease;
}

.trusted-products__item:hover img {
  transform: scale(1.05);
}


/* QR CODE END */

/*	debugging 
body {
  border: 1px dashed var(--accent-sun) !important;
}
* {
  outline: 1px dashed var(--accent-red) !important;
}
debugging-done*/

