/* Shared styles for beach photography AdWords landing pages */

:root {
  --sand: #faf6ef;
  --sand-dark: #f0e6d2;
  --ocean: #1b7a8c;
  --ocean-dark: #145e6c;
  --coral: #ff6f59;
  --coral-dark: #e55a45;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.5;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Slim announcement strip above the hero — used on pages where the hero
   photo is too tightly composed to also carry a badge without touching
   faces (e.g. a full family group with limited headroom). */
.promo-banner {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 10px 16px;
}

/* Top bar: logo + CTAs, no nav on purpose. Sticky so the CTAs stay visible while scrolling. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--sand-dark);
}

.topbar .logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ocean-dark);
}

.topbar .cta-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar .call-btn {
  background: var(--coral);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.topbar .call-btn:hover { background: var(--coral-dark); }

.topbar .call-btn.secondary {
  background: var(--white);
  color: var(--ocean-dark);
  border: 2px solid var(--ocean-dark);
  padding: 8px 16px;
}

.topbar .call-btn.secondary:hover { background: var(--sand-dark); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(20,60,70,.55), rgba(20,60,70,.35)), var(--ocean);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 64px 20px 56px;
  text-align: center;
}

.hero .badge {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.1rem;
  margin: 0 0 12px;
  line-height: 1.25;
}

.hero p.sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 28px;
  opacity: 0.95;
}

.hero .price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-bottom: 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.hero .price-tag .amount { font-size: 1.9rem; color: var(--ocean-dark); }
.hero .price-tag .desc { font-size: 0.95rem; color: var(--muted); font-weight: 500; }

/* Sale pricing: old price struck through next to the special price */
.hero .price-tag .old-amount {
  font-size: 1.3rem;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  font-weight: 600;
}
.hero .price-tag .amount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* Used on pages where the hero photo has faces centered where the price
   tag would normally sit in the text flow — pins it to a bottom corner
   over open sky/sand instead so it never covers a face. */
.hero .price-tag-corner {
  position: absolute;
  left: 24px;
  bottom: 24px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Plain white-text variant of the price tag — no white card, just white
   text matching the rest of the hero copy. */
.hero .price-tag.price-tag-plain {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  color: var(--white);
}
.hero .price-tag.price-tag-plain .amount { color: var(--white); }
.hero .price-tag.price-tag-plain .desc { color: rgba(255,255,255,0.9); }
.hero .price-tag.price-tag-plain .old-amount { color: rgba(255,255,255,0.75); }

/* Used when the hero photo is a tightly-composed group shot (e.g. a full
   family) that needs a much taller hero section to show everyone's full
   faces below the text instead of just the tops of their heads. */
.hero-tall {
  padding-bottom: 260px;
}

/* Base padding for the corner-pinned price tag so it has room below the
   subheading at any screen width, not just on mobile. */
.hero-corner-pad {
  padding-bottom: 130px;
}

/* When a hero uses both classes (a tightly-composed group shot that also
   has a corner-pinned price tag), the taller padding should win — this
   combined selector has higher specificity than either class alone so
   it isn't at the mercy of which rule happens to come later above. */
.hero-corner-pad.hero-tall {
  padding-bottom: 260px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-secondary { background: var(--white); color: var(--ocean-dark); }
.btn-secondary:hover { background: var(--sand-dark); }

/* Photo placeholder blocks (swap for real <img> tags later) */
.photo-placeholder {
  background: repeating-linear-gradient(45deg, #dfeaec, #dfeaec 12px, #eef5f6 12px, #eef5f6 24px);
  border: 2px dashed #9db8bd;
  border-radius: var(--radius);
  color: #567;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px;
}

/* Gallery */
.section { padding: 48px 20px; }
.section h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 28px;
  color: var(--ocean-dark);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery .photo-placeholder { height: 180px; }

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* What's included */
.included {
  background: var(--white);
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.included-list li {
  list-style: none;
  padding-left: 30px;
  position: relative;
  font-weight: 600;
}

.included-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  background: var(--ocean);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Testimonial */
.testimonial {
  background: var(--sand-dark);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.testimonial p.rating {
  font-weight: 700;
  color: var(--ocean-dark);
  font-size: 0.85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.testimonial p.quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial p.attribution {
  font-weight: 700;
  color: var(--ocean-dark);
  font-size: 0.9rem;
}

/* Form */
.form-section {
  background: var(--ocean);
  color: var(--white);
  text-align: center;
}

.form-section h2 { color: var(--white); }

.lead-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--ink);
}

.lead-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 14px 0 6px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.lead-form .btn-primary {
  width: 100%;
  margin-top: 20px;
  border: none;
}

.lead-form .fineprint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* FAQ */
.faq { max-width: 700px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
}
.faq p { margin: 10px 0 0; color: var(--muted); }

/* About the photographer */
.about-photographer { background: var(--white); }
.about-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 640px;
}
.about-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.about-photographer .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}
.about-photographer h2 {
  margin: 0 0 10px;
  color: var(--ocean-dark);
  font-size: 1.4rem;
  text-align: left;
}
.about-photographer .about-text p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 640px) {
  .about-wrap { flex-direction: column; text-align: center; }
  .about-photographer h2 { text-align: center; }
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 20px;
  color: var(--muted);
  font-size: 0.85rem;
}

footer a { color: var(--ocean-dark); }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .included-list { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  /* Give the corner-pinned price tag room on narrow screens so it
     doesn't creep up into the subheading text above it. */
  .hero-corner-pad { padding-bottom: 130px; }
  .price-tag-corner { bottom: 20px; left: 20px; }
}
