/* ============================================================
   Wilmington Backyard Cottage Co. — Main Stylesheet
   Beachy theme: sand, ocean teal, driftwood, seafoam
   ============================================================ */

:root {
  --ocean:      #1a7a8a;
  --ocean-dark: #135f6d;
  --ocean-light:#e6f4f6;
  --sand:       #f5f0e8;
  --sand-dark:  #e8dfc8;
  --driftwood:  #8b7355;
  --driftwood-dark: #6b5a42;
  --seafoam:    #a8d5ba;
  --seafoam-dark:#7dbf97;
  --white:      #ffffff;
  --text-dark:  #2c2c2c;
  --text-mid:   #555555;
  --text-light: #777777;
  --cta:        #e07b39;
  --cta-hover:  #c4662a;
  --radius:     8px;
  --shadow:     0 4px 18px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Open Sans', Arial, sans-serif;
  --max-w:      1140px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ocean-dark); }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.25; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { margin-bottom: 1rem; color: var(--text-mid); }
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: .6rem;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 640px; margin: .75rem auto 0; font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-align: center;
}
.btn-primary { background: var(--cta); color: var(--white); border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ocean); }
.btn-ocean { background: var(--ocean); color: var(--white); border-color: var(--ocean); }
.btn-ocean:hover { background: var(--ocean-dark); border-color: var(--ocean-dark); color: var(--white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.09);
  transition: box-shadow .3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.nav-logo .logo-icon { font-size: 1.8rem; }
.nav-logo .logo-text { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.2; color: var(--text-dark); }
.nav-logo .logo-text span { color: var(--ocean); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--text-dark); transition: color .2s; }
.nav-links a:hover { color: var(--ocean); }
.nav-links .nav-cta {
  background: var(--cta);
  color: var(--white) !important;
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
}
.nav-links .nav-cta:hover { background: var(--cta-hover); color: var(--white); }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  padding: .5rem 0;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: .55rem 1.2rem;
  font-size: .9rem;
  color: var(--text-dark);
}
.dropdown-menu a:hover { background: var(--ocean-light); color: var(--ocean); }
/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--text-dark); border-radius: 2px; transition: all .3s; }
.mobile-menu { display: none; }

/* ============================================================
   TOP BAR
   ============================================================ */
#topbar {
  background: var(--ocean);
  color: var(--white);
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.2rem; }
.topbar-inner a { color: var(--white); font-weight: 600; }
.topbar-inner a:hover { color: var(--seafoam); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ocean-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 3rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(4px);
}
#hero h1 { color: var(--white); margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
#hero h1 span { color: var(--seafoam); }
#hero p.hero-sub {
  font-size: 1.18rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .num { font-family: var(--font-head); font-size: 2.2rem; color: var(--white); font-weight: 700; line-height: 1; }
.hero-stat .label { font-size: .82rem; color: rgba(255,255,255,.75); margin-top: .2rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
#trustbar {
  background: var(--sand);
  padding: 28px 0;
  border-bottom: 1px solid var(--sand-dark);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dark);
}
.trust-item .icon { font-size: 1.4rem; color: var(--ocean); }
.trust-divider { color: var(--sand-dark); font-size: 1.4rem; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-body { padding: 1.4rem; }
.service-icon { font-size: 2rem; margin-bottom: .6rem; }
.service-body h3 { margin-bottom: .5rem; font-size: 1.25rem; }
.service-body p { font-size: .92rem; margin-bottom: .8rem; }
.service-link { font-weight: 700; font-size: .9rem; color: var(--ocean); }
.service-link:hover { color: var(--ocean-dark); }

/* ============================================================
   WHY US
   ============================================================ */
#whyus { background: var(--sand); }
.whyus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.whyus-img-wrap { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.whyus-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.whyus-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: .1rem; }
.why-text h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.why-text p { font-size: .9rem; margin-bottom: 0; }

/* ============================================================
   PROCESS
   ============================================================ */
#process { background: var(--ocean); }
#process .section-header h2,
#process .section-header p { color: var(--white); }
#process .section-label { color: var(--seafoam); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}
.step-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  backdrop-filter: blur(4px);
  position: relative;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--seafoam);
  color: var(--ocean-dark);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .4rem; }
.step-card p { color: rgba(255,255,255,.82); font-size: .9rem; margin-bottom: 0; }

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item { border-radius: 10px; overflow: hidden; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.featured img { height: 460px; }
.gallery-item.featured { grid-row: span 2; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--sand); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--seafoam);
}
.testi-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .8rem; letter-spacing: .05em; }
.testi-text { font-size: .95rem; color: var(--text-mid); font-style: italic; margin-bottom: 1rem; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ocean-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.testi-name { font-weight: 700; font-size: .92rem; }
.testi-loc { font-size: .8rem; color: var(--text-light); }

/* ============================================================
   SERVICE AREAS (homepage snippet)
   ============================================================ */
#areas { background: var(--ocean-light); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--ocean);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  display: block;
  color: var(--text-dark);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ocean); }
.area-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.area-name { font-weight: 700; font-size: .95rem; }
.area-sub { font-size: .78rem; color: var(--text-light); margin-top: .15rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean) 100%);
  padding: 80px 0;
  text-align: center;
}
#cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
#cta-banner p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-detail { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-detail .ci-icon { font-size: 1.4rem; color: var(--ocean); flex-shrink: 0; margin-top: .1rem; }
.contact-detail strong { display: block; font-size: .85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; }
.contact-detail span { font-weight: 600; }
.contact-form { background: var(--sand); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--ocean); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 1rem; font-size: 1.05rem; }
.form-note { font-size: .78rem; color: var(--text-light); margin-top: .6rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #1a1a1a;
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-text { color: var(--white); font-size: 1.1rem; }
.footer-brand .logo-text span { color: var(--seafoam); }
.footer-brand p { font-size: .88rem; margin-top: .8rem; line-height: 1.65; color: rgba(255,255,255,.6); }
.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; font-family: var(--font-body); }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--seafoam); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--seafoam); }

/* ============================================================
   SERVICE AREA PAGE SPECIFIC
   ============================================================ */
.area-hero {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
  padding: 80px 0 60px;
  text-align: center;
}
.area-hero h1 { color: var(--white); margin-bottom: .8rem; }
.area-hero p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--white); }
.area-content { padding: 64px 0; }
.area-content-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.area-sidebar { position: sticky; top: 90px; }
.area-sidebar .contact-form { margin-bottom: 1.5rem; }
.area-sidebar .nearby-areas h4 { font-size: 1rem; margin-bottom: .8rem; }
.area-sidebar .nearby-areas ul { display: flex; flex-direction: column; gap: .4rem; }
.area-sidebar .nearby-areas ul li a { font-size: .9rem; font-weight: 600; color: var(--ocean); }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--sand);
  border: none;
  text-align: left;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--ocean); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding: 1.2rem 1.4rem; background: var(--white); font-size: .95rem; }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.value-card { background: var(--sand); border-radius: 12px; padding: 1.6rem; text-align: center; }
.value-card .v-icon { font-size: 2.4rem; margin-bottom: .8rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.value-card p { font-size: .88rem; margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .whyus-grid { grid-template-columns: 1fr; }
  .whyus-img-wrap { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .area-content-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-row: span 1; }
  .gallery-item.featured img { height: 220px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem 1.5rem;
    z-index: 999;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: .65rem 0; font-weight: 600; border-bottom: 1px solid var(--sand-dark); color: var(--text-dark); }
  .mobile-menu a:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .trust-divider { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.bg-sand { background: var(--sand); }
.bg-ocean { background: var(--ocean); }
.text-white { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
