/* ===================================================================
   Island View Exterior Cleaning — styles.css
   Palette: deep navy, gold, sunset orange, ocean teal, off-white
   =================================================================== */

:root {
  --navy: #0d2240;
  --navy-deep: #081626;
  --navy-soft: #143256;
  --gold: #c8932f;
  --gold-bright: #e0a93c;
  --sunset: #e8862e;
  --teal: #1b6f8c;
  --teal-light: #2a8fb0;
  --cream: #f7f3ea;
  --paper: #fbfaf6;
  --ink: #1c2733;
  --muted: #5d6b7a;
  --line: #e4ddcf;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(13, 34, 64, 0.08);
  --shadow-md: 0 10px 30px rgba(13, 34, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 22, 38, 0.28);

  --serif: "Cinzel", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1160px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: .01em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #2a1c00; box-shadow: 0 6px 18px rgba(200,147,47,.35); }
.btn-gold:hover { box-shadow: 0 10px 26px rgba(200,147,47,.5); color: #2a1c00; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color:#fff; }
.btn-outline-light { background: transparent; border-color: var(--gold); color: var(--cream); }
.btn-outline-light:hover { background: rgba(200,147,47,.15); color:#fff; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,246,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(251,250,246,.96); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: .98rem; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .2s ease; }
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { color: var(--navy); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.phone-link .phone-icon { color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(232,134,46,.35), transparent 55%),
    linear-gradient(170deg, var(--teal) 0%, var(--navy-soft) 42%, var(--navy-deep) 100%);
  padding: 70px 0 130px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 80% 20%, rgba(42,143,176,.4), transparent 60%),
    radial-gradient(40% 30% at 10% 30%, rgba(200,147,47,.18), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-badge { display: inline-block; margin-bottom: 22px; }
.hero-badge img { width: 150px; height: 150px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,.18); }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; font-weight: 700; color: var(--gold-bright); margin: 0 0 14px; }
.hero-title { color: #fff; font-size: clamp(1.85rem, 6vw, 4rem); margin: 0 0 18px; text-shadow: 0 2px 18px rgba(0,0,0,.35); overflow-wrap: break-word; }
.hero-title .accent { color: var(--gold-bright); }
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 30px 0 0; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-trust li { font-size: .95rem; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 110px; }
.hero-wave path { fill: var(--paper); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 700; color: var(--gold); margin: 0 0 10px; text-align: center; }
.eyebrow.light { color: var(--gold-bright); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; margin: 0 0 14px; }
.section-title.light { color: #fff; }
.section-intro { text-align: center; max-width: 660px; margin: 0 auto 46px; color: var(--muted); font-size: 1.08rem; }
.section-intro.light { color: rgba(255,255,255,.85); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card-icon {
  width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.7rem;
  border-radius: 14px; margin-bottom: 18px; color: var(--navy);
  background: linear-gradient(160deg, rgba(200,147,47,.22), rgba(27,111,140,.16));
}
.card h3 { font-size: 1.22rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); }

/* ---------- Showcase banner ---------- */
.showcase { background: var(--navy-deep); }
.showcase img { width: 100%; max-height: 360px; object-fit: cover; margin: 0 auto; }

/* ---------- Why / badges ---------- */
.why { background: var(--cream); }
.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.badge { background: var(--white); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.badge-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold-bright); font-size: 1.5rem; margin-bottom: 14px; }
.badge h3 { font-size: 1.08rem; margin-bottom: .4em; }
.badge p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Service area ---------- */
.area-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.area .eyebrow, .area .section-title, .area .section-intro { text-align: left; margin-left: 0; }
.area-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; max-width: 420px; }
.area-list li { position: relative; padding-left: 26px; font-weight: 600; color: var(--navy); }
.area-list li::before { content: "\1F3DD"; position: absolute; left: 0; }
.area-card img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* ---------- Our work / gallery ---------- */
.work { background: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy-deep); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; margin: 0; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold-bright); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 1.05rem; color: var(--ink); margin: 0 0 16px; font-style: italic; }
.quote footer { font-weight: 700; color: var(--navy); font-style: normal; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(80% 60% at 85% 10%, rgba(27,111,140,.5), transparent 60%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  color: #fff;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact .eyebrow, .contact .section-title, .contact .section-intro { text-align: left; margin-left: 0; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 30px; }
.contact-details { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-details li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.92); }
.contact-details a { color: var(--gold-bright); }
.contact-note { color: rgba(255,255,255,.7); font-size: .92rem; }

.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-lg); }
.contact-form h3 { color: var(--navy); margin-bottom: 22px; font-size: 1.3rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,147,47,.18); }
.field textarea { resize: vertical; }
.form-hint { text-align: center; color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.field input:invalid:not(:placeholder-shown) { border-color: #d9534f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer-logo { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; margin-bottom: 14px; }
.footer-tagline { font-family: var(--serif); color: var(--gold-bright); font-size: 1.1rem; }
.footer-col h4 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer-bottom p { margin: 0; text-align: center; font-size: .9rem; color: rgba(255,255,255,.6); }

/* ---------- Mobile call/text bar ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--navy-deep); box-shadow: 0 -6px 20px rgba(0,0,0,.3); }
.mobile-bar-btn { flex: 1; text-align: center; padding: 14px 4px; color: #fff; font-weight: 700; font-size: .95rem; }
.mobile-bar-btn.call { background: var(--teal); }
.mobile-bar-btn.text { background: var(--navy-soft); }
.mobile-bar-btn.quote { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #2a1c00; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .area-inner, .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .header-cta .phone-link { display: none; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 0; transform: translateY(-130%); transition: transform .28s ease;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 22px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; order: 3; }
  .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
  .header-cta .phone-link { display: inline; }

  .section { padding: 60px 0; }
  .hero { padding: 50px 0 100px; }
  .hero-eyebrow { letter-spacing: .08em; font-size: .64rem; }
  .hero-title { font-size: 1.62rem; letter-spacing: 0; }
  .hero-badge img { width: 120px; height: 120px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 14px 22px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 52px; } /* room for mobile bar */
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .gallery-item:hover img { transform: none; }
}
