/* ============================================================
   Platinum Touch Power Washing — styles.css
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:      #1A2744;
  --blue:      #2B7FD4;
  --sky:       #5BC8F5;
  --white:     #FFFFFF;
  --slate:     #4A4A4A;
  --light-bg:  #F2F6FB;
  --border:    #DDE6F0;
  --shadow:    0 4px 24px rgba(26,39,68,0.12);
  --radius:    10px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* --- Utility --- */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(43,127,212,0.35); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 1.2rem; /* increase this number to shift right more */
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 1rem 0;
}

#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--sky); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  opacity: 1 !important;
}

.nav-cta:hover { background: var(--sky); color: var(--navy) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1929 0%, #1A2744 50%, #1a3a6e 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235BC8F5' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content { color: var(--white); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-tagline span { color: var(--sky); }

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 1.8rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
  color: var(--white);
}

.hero-badge svg { color: var(--sky); flex-shrink: 0; }

/* --- Hero Large Logo --- */
.hero-logo-large {
  margin-bottom: 1.5rem;
}

.hero-logo-large img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(91,200,245,0.25));
}

/* --- Before/After Slider --- */
.before-after-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: col-resize;
  user-select: none;
  aspect-ratio: 4/3;
}

.slider-before,
.slider-after {
  position: absolute;
  inset: 0;
}

.slider-before img,
.slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.0s;
}

.slider-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 10;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  z-index: 11;
  color: var(--navy);
}

.slider-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 12;
}

.label-before {
  left: 12px;
  background: rgba(26,39,68,0.8);
  color: var(--white);
}

.label-after {
  right: 12px;
  background: var(--blue);
  color: var(--white);
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  padding: 90px 0;
  background: var(--light-bg);
}

.services-header { text-align: center; margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(26,39,68,0.15);
}

.service-card-header {
  background: var(--sky);
  padding: 1.1rem 1.5rem;
}

.service-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin: 0;
}

.service-card-body {
  padding: 1.4rem 1.5rem;
}

.service-card-body p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   BEFORE & AFTER GALLERY
   ============================================================ */
#gallery {
  padding: 90px 0;
  background: var(--navy);
}

.gallery-header { text-align: center; margin-bottom: 3rem; }

.gallery-header p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.gallery-pair { }

.gallery-pair-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sky);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-img-wrap { position: relative; }

.gallery-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Portrait images — nudge crop upward slightly so subject is centered */
.gallery-img-wrap img.portrait {
  object-position: center 20%;
}

.gallery-img-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.tag-before {
  background: rgba(26,39,68,0.85);
  color: var(--white);
}

.tag-after {
  background: var(--blue);
  color: var(--white);
}

/* ============================================================
   WHY PLATINUM TOUCH
   ============================================================ */
#why {
  padding: 90px 0;
  background: var(--white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.why-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--blue);
}

.why-item-text h4 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
  font-size: 0.97rem;
}

.why-item-text p {
  font-size: 0.875rem;
  color: var(--slate);
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: 90px 0;
  background: var(--navy);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { color: var(--white); }

.contact-info p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: rgba(91,200,245,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method-detail span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky);
  font-weight: 700;
}

.contact-method-detail a,
.contact-method-detail p {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.contact-method-detail a:hover { color: var(--sky); }

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--slate);
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0d1929;
  padding: 2.5rem 0;
  color: rgba(255,255,255,0.6);
}

 .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
} 

.footer-logo img { height: 50px; }

*.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
} 

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--sky); }

.footer-copy { font-size: 0.8rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sky);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-social a:hover { color: var(--white); }

/* ============================================================
   FLOATING CTA BAR (mobile)
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--navy);
  border-top: 2px solid var(--blue);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  justify-content: center;
}

.sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


/* .sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
} */

.sticky-cta .call { background: var(--blue); color: var(--white); }
.sticky-cta .text { background: var(--sky); color: var(--navy); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner,
  .why-inner,
  .contact-inner { grid-template-columns: 1fr; }

  .why-image { order: -1; }
  .why-image img { height: 280px; }

  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-logo-large img { max-width: 320px; margin: 0 auto; }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.4rem;
  }
  
  .footer-social {
    width: 100%;
    text-align: center;
  }

  .footer-copy {
    width: 100%;
    text-align: center;
  }

.footer-links {
  width: 100%;
  justify-content: center;
}

  .nav-hamburger { display: flex; }

  .sticky-cta { display: flex; }

  #contact { padding-bottom: 110px; }
  #footer { padding-bottom: 80px; }

  .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
