/* =============================================
   AAA CLEANING SERVICES — STYLESHEET
   Brand: Turquoise · Cream · Slate
   ============================================= */

:root {
  --teal:        #1A9E9E;
  --teal-dark:   #127a7a;
  --teal-light:  #e6f7f7;
  --cream:       #FAF8F4;
  --white:       #ffffff;
  --slate:       #3d4f5c;
  --slate-light: #6b7f8c;
  --charcoal:    #1e2a30;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:       12px;
  --shadow:       0 4px 32px rgba(26,158,158,0.10);
  --shadow-lg:    0 12px 48px rgba(26,158,158,0.18);
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--slate);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; font-weight: 400; }
em { font-style: italic; color: var(--teal); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-desc {
  margin-top: 1rem;
  color: var(--slate-light);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,158,158,0.12);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img {
  height: 140px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--transition);
  letter-spacing: 0.05em;
}
.main-nav a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--teal-light);
  gap: 1rem;
}
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--teal-light);
}
.mobile-nav.open { display: flex; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  margin-top: 150px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,158,158,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  padding: 4rem 3rem 4rem 5vw;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.hero-title { color: var(--white); margin-bottom: 1.25rem; }
.hero-title em { color: var(--teal); }
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.hero-contact a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.hero-contact a:hover { color: var(--teal); }

.hero-image-wrap {
  position: relative;
  height: 100%;
  min-height: calc(100vh - 150px);
  overflow: visible;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.75);
}
.hero-badge {
  position: absolute;
  bottom: 3rem;
  left: -1.5rem;
  background: var(--teal);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.badge-line1 { display: block; font-size: 1.1rem; font-weight: 500; }
.badge-line2 { display: block; font-size: 0.8rem; opacity: 0.85; }

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 7rem 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26,158,158,0.15);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured {
  background: var(--charcoal);
  border-color: var(--teal);
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,0.7); }
.service-card--featured li { color: rgba(255,255,255,0.7); }
.service-card--featured::before { transform: scaleX(1); }
.service-icon { font-size: 2.2rem; margin-bottom: 1.25rem; }
.service-card h3 { margin-bottom: 0.85rem; }
.service-card p { font-size: 0.9rem; color: var(--slate-light); margin-bottom: 1.25rem; }
.service-card li {
  font-size: 0.85rem;
  color: var(--slate-light);
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
}
.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* =============================================
   BEFORE & AFTER GALLERY — FLIP CARDS
   ============================================= */
.gallery {
  padding: 7rem 0;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.flip-card {
  height: 320px;
  perspective: 1200px;
  cursor: pointer;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
/* Mobile tap support */
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip-back {
  transform: rotateY(180deg);
}

/* All flip cards use single full images */
.flip-front img,
.flip-back img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Nudge specific cards where subject is off-center after split */
.flip-card:nth-child(8) .flip-front img,
.flip-card:nth-child(8) .flip-back img  { object-position: center center; } /* shower glass */
.flip-card:nth-child(9) .flip-front img,
.flip-card:nth-child(9) .flip-back img  { object-position: left center; }   /* moen faucet */
.flip-card:nth-child(10) .flip-front img,
.flip-card:nth-child(10) .flip-back img { object-position: left top; }      /* stove */

/* =============================================
   LOGO WATERMARK — appears on all images sitewide
   ============================================= */

/* Large hero watermark — stable size, not cut off */
.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background-image: url('../images/imagetr.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  opacity: 0.22;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

/* Small watermark on all photo containers */
.flip-front::after,
.flip-back::after,
.showcase-item::after,
.why-image::after {
  content: '';
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 52px;
  height: 52px;
  background-image: url('../images/imagetr.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0.7;
}

/* Labels */
.flip-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.after-label { background: var(--teal); }
.hover-hint {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(26,158,158,0.85);
  color: var(--white);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  animation: pulse 2s infinite;
  z-index: 2;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* =============================================
   SHOWCASE GRID
   ============================================= */
.showcase {
  padding: 7rem 0;
  background: var(--white);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.showcase-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.showcase-item.tall {
  grid-row: span 2;
  aspect-ratio: unset;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.showcase-item:hover img { transform: scale(1.05); }
.showcase-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* =============================================
   WHY AAA
   ============================================= */
.why {
  padding: 7rem 0;
  background: var(--teal-light);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-desc {
  font-size: 1rem;
  color: var(--slate-light);
  margin: 1.5rem 0 2.5rem;
  line-height: 1.8;
}
.why-points { display: flex; flex-direction: column; gap: 1.75rem; }
.why-point { display: flex; gap: 1.25rem; align-items: flex-start; }
.why-icon { color: var(--teal); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.why-point strong { display: block; font-size: 1rem; color: var(--charcoal); margin-bottom: 0.3rem; }
.why-point p { font-size: 0.88rem; color: var(--slate-light); }

.why-image { position: relative; }
.why-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.why-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 130px;
  height: 130px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px white, 0 0 0 7px var(--teal), 0 8px 24px rgba(0,0,0,0.3);
  transform: rotate(-12deg);
}
.why-badge-inner { text-align: center; color: var(--white); padding: 0.5rem; }
.why-badge-inner span {
  display: block;
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.why-badge-inner small {
  display: block;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 1;
  margin-top: 4px;
  font-weight: 600;
  line-height: 1.4;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 7rem 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(26,158,158,0.15);
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial-card--cta {
  background: var(--teal-light);
  border-color: var(--teal);
  text-align: center;
  align-items: center;
}
.testimonial-card--area {
  background: var(--charcoal);
  border-color: var(--teal);
  color: rgba(255,255,255,0.85);
}
.testimonial-card--area h3 { color: var(--white); margin-bottom: 0.75rem; }
.testimonial-card--area p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 1rem; }
.testimonial-stars {
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--slate);
  font-style: italic;
  flex: 1;
}
.testimonial-card--cta .testimonial-text { color: var(--slate); font-style: normal; }
.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--charcoal);
}
.author-source {
  font-size: 0.75rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.area-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.area-list li {
  color: var(--teal);
  font-weight: 500;
  font-size: 0.95rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 7rem 0;
  background: var(--charcoal);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-inner .eyebrow { color: var(--teal); }
.contact-inner h2 { color: var(--white); }
.contact-desc { color: rgba(255,255,255,0.6); margin: 1.25rem 0 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.contact-item:hover { color: var(--teal); }
.contact-icon { font-size: 1.1rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(26,158,158,0.2);
  border-radius: 8px;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,158,158,0.12);
}
textarea { resize: vertical; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111c22;
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}
.footer-links, .footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a, .footer-contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--teal); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .why-image { order: -1; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 768px) {
  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 150px;
    min-height: auto;
  }
  .hero-content {
    padding: 2rem 1.5rem;
    order: 2;
    background: var(--charcoal);
  }
  .hero-image-wrap {
    order: 1;
    height: 60vw;
    min-height: unset;
  }
  .hero-title { font-size: 2.4rem; }
  .hero-badge { display: none; }
  .hero-image-wrap::after { display: none; }

  /* Nav */
  .main-nav { display: none; }
  .hamburger { display: flex; }

  /* Grid layouts */
  .gallery-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .why-badge { right: 0.5rem; bottom: 0.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Header */
  .header-inner { height: 100px; }
  .logo-img { height: 90px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 1.5rem; }
  .hero-title { font-size: 2rem; }
}
