/* ============================================================
   ANCHOR & COASTAL — PHOTOGRAPHY
   Generated from anchorandcoastal.pen
============================================================ */

/* ---- CSS Variables ---- */
:root {
  --accent:          #C4956A;
  --accent-dark:     #A07B55;
  --bg-cream:        #F5F0E8;
  --bg-dark:         #1A1714;
  --bg-primary:      #FAF8F5;
  --bg-warm:         #F0EBE3;
  --border:          #E0D8CC;
  --text-light:      #FAF8F5;
  --text-muted:      #9B917F;
  --text-primary:    #1A1714;
  --text-secondary:  #6B6358;
  --white:           #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --max-w: 1440px;
  --side-pad: 80px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--side-pad);
  background: var(--bg-primary);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.08);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-wrap .anchor-icon { color: var(--text-primary); flex-shrink: 0; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); }

.btn-book {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 100px;
  background: var(--text-primary);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.15s;
}
.btn-book:hover { background: #2e2925; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   SHARED BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  background: var(--text-primary);
  color: var(--text-light);
  transform: translateY(-1px);
}

/* ============================================================
   SHARED SECTION TYPOGRAPHY
============================================================ */
.tag {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent);
}
.tag.accent { color: var(--accent); }

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.1;
}
.section-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  margin-top: 70px; /* header height */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* fallback gradient if image missing */
  background-color: #2a3d45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,47,0.31) 0%, rgba(27,42,47,0.80) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 700px;
  padding: 0 var(--side-pad);
  padding-top: 200px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 700px;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  background: var(--bg-primary);
  padding: 100px var(--side-pad);
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 12px;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-cream);
}
.card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
}
.card-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  background: var(--bg-warm);
  padding: 100px var(--side-pad);
  display: flex;
  align-items: center;
  gap: 80px;
}
.about-img-wrap {
  flex-shrink: 0;
  width: 500px;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-cream);
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}
.about-content .section-title {
  text-align: left;
}
.about-bio {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: gap 0.2s;
}
.about-cta:hover { gap: 16px; }
.about-cta svg { color: var(--accent); }

/* ============================================================
   SERVICE AREA MAP
============================================================ */
.service-area {
  background: var(--bg-warm);
  padding: 100px var(--side-pad);
}
.service-area-inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.service-area-text {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-area-text .section-title { text-align: left; }

.area-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-secondary);
}
.area-list li svg { color: var(--accent); flex-shrink: 0; }

.map-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 440px;
  border: none;
  display: block;
}
.map-credit {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: var(--bg-primary);
}
.map-credit a { color: var(--accent); }
.map-credit a:hover { text-decoration: underline; }

/* ============================================================
   PORTFOLIO GALLERY
============================================================ */
.gallery {
  background: var(--bg-primary);
  padding: 100px var(--side-pad);
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gallery-img {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-cream);
}
.gallery-img.tall  { height: 380px; }
.gallery-img.short { height: 260px; }
.gallery-img.mid   { height: 320px; }
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-img:hover img { transform: scale(1.03); }
.gallery-footer {
  display: flex;
  justify-content: center;
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a3d45;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 47, 0.73);
}
.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 0 var(--side-pad);
  max-width: 700px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1.1;
}
.cta-desc {
  font-family: var(--font-sans);
  font-size: 17px;
  color: rgba(255,255,255,0.73);
  line-height: 1.6;
  max-width: 560px;
}
.cta-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-dark);
  padding: 60px var(--side-pad);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}
.footer-logo .anchor-icon { color: var(--text-light); }
.footer-logo span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-light);
}
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.53);
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-socials a {
  color: rgba(255,255,255,0.53);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--white); }

.footer-nav {
  display: flex;
  gap: 80px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light);
  text-transform: uppercase;
}
.footer-col a,
.footer-col .footer-location {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.53);
  transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.33);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  :root { --side-pad: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; }
  .about-img-wrap { width: 100%; height: 400px; }
  .service-area-inner { flex-direction: column; }
  .service-area-text { flex: unset; width: 100%; }
  .footer-nav { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --side-pad: 24px; }

  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-primary);
    gap: 32px;
    z-index: 90;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; z-index: 101; }

  .hero { height: auto; min-height: 100svh; margin-top: 0; }
  .hero-content { padding-top: 140px; padding-bottom: 80px; }
  .hero-title { font-size: 44px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-col { flex-direction: row; flex-wrap: wrap; }
  .gallery-img { flex: 1 1 calc(50% - 8px); }

  .map-wrap iframe { height: 300px; }
  .cta-section { height: auto; padding: 80px 0; }

  .footer-top { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title { font-size: 36px; }
  .cta-title { font-size: 36px; }
}
