@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Primary — Logo Cyan: derived from beach-cuts-official-logo.png left edge */
  --accent: #0AABB8;
  --accent-dark: #088B96;
  --accent-light: #35C5D5;

  /* Coral — secondary CTAs, hover accents */
  --coral: #D9725E;
  --coral-dark: #C05C49;

  /* Text */
  --ink: #2C2C2C;
  --ink-muted: #6A7A80;

  /* Light surfaces */
  --canvas: #FDFAF5;
  --parchment: #EDE4D3;

  /* Dark surfaces — derived from beach-cuts-official-logo.png right edge */
  --surface-dark: #021F7C;
  --surface-dark-2: #011668;

  /* On-dark text */
  --on-dark: #FDFAF5;
  --on-dark-muted: #78C5D4;

  /* Hairlines/borders */
  --hairline: #D6CBBA;

  /* Nav — matches beach-cuts-official-logo.png gradient */
  --nav-bg: #021F7C;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-section: 80px;

  /* Radius */
  --radius-sm: 8px;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-photo: 0 8px 40px rgba(2, 31, 124, 0.22);
  --shadow-card: 0 4px 16px rgba(2, 31, 124, 0.10);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.2px;
  color: var(--ink);
  background: var(--canvas);
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to right, #0FB9CA 0%, #021F7C 100%);
  height: 58px;
  display: flex;
  align-items: center;
}

.site-nav.scrolled {
  backdrop-filter: saturate(180%) blur(12px);
  background: linear-gradient(to right, rgba(15,185,202,0.92) 0%, rgba(2,31,124,0.92) 100%);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.88;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--on-dark);
}

.nav-links a.active {
  color: var(--on-dark);
}

.nav-cta {
  margin-left: 16px;
  flex-shrink: 0;
  background: var(--coral) !important;
}

.nav-cta:hover {
  background: var(--coral-dark) !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--on-dark);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px 8px;
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: #021F7C;
  padding: 16px 24px 28px;
  gap: 0;
  z-index: 99;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a {
  font-size: 17px;
  color: var(--on-dark-muted);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: block;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--on-dark);
}

.mobile-menu .btn-primary {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-primary:focus {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-secondary:active {
  transform: scale(0.95);
}

.btn-secondary:focus {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1.5px solid rgba(253, 250, 245, 0.45);
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--on-dark);
  background: rgba(253, 250, 245, 0.08);
  color: var(--on-dark);
}

.btn-ghost:active {
  transform: scale(0.95);
}

.btn-ghost:focus {
  outline: 2px solid rgba(245, 239, 224, 0.5);
  outline-offset: 2px;
}

.btn-large {
  font-size: 16px;
  padding: 14px 32px;
}

/* ---- Tile System ---- */
.tile {
  padding: var(--space-section) 0;
}

.tile-light {
  background: var(--canvas);
  color: var(--ink);
}

.tile-parchment {
  background: var(--parchment);
  color: var(--ink);
}

.tile-dark {
  background: var(--surface-dark);
  color: var(--on-dark);
}

.tile-dark-2 {
  background: var(--surface-dark-2);
  color: var(--on-dark);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography Classes ---- */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.5px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.3px;
}

.display-md {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.sub-headline {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.5;
}

.lead-text {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
}

.body-text {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.2px;
}

.caption-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.caption-text-dark {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ---- Components ---- */
.card {
  background: var(--canvas);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
}

.card-dark {
  background: var(--surface-dark-2);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid rgba(126, 170, 184, 0.15);
}

.award-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  background: transparent;
}

/* ---- Photo Placeholder ---- */
.photo-placeholder {
  background: linear-gradient(135deg, #021F7C 0%, #011568 40%, #010F52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2, 31, 124, 0.45) 100%);
  pointer-events: none;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Scroll Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- Grid Utilities ---- */
.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: 16px;
}

.mt-md {
  margin-top: 32px;
}

.mt-lg {
  margin-top: 48px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--parchment);
  padding: 64px 0 32px;
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  line-height: 2.2;
  color: var(--ink-muted);
}

.footer-col a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-legal {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.footer-legal p {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ---- Responsive Breakpoints ---- */
@media (max-width: 1068px) {
  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 834px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .tile {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .four-col {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .tile {
    padding: 48px 0;
  }
}

@media (max-width: 420px) {
  .four-col {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
