/* ═══════════════════════════════════════
   MAIN.CSS — Out Shine Web Design
   Global styles: reset, variables, nav, footer, shared
═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #ffffff;
  --bg:         #ffffff;
  --blush:      #CA9084;
  --blush-dark: #b87a6e;
  --teal:       #122d52;
  --teal-light: rgba(17,85,98,0.08);
  --ink:        #111111;
  --ink-soft:   rgba(0, 0, 0, 1);

  --font-serif: 'Playfair Display', serif;
  --font-sans:  'DM Sans', sans-serif;

  --section-pad: 6rem 5rem;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY UTILITIES ── */
.eyebrow {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.85rem;
}
.eyebrow--light { color: rgba(255,255,255,0.65); }

h1, h2 {
  font-family: var(--font-serif);
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.25rem; }
h2 em, h1 em { font-style: italic; color: var(--blush); }

p.lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
  max-width: 520px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--blush);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blush-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid rgba(17,85,98,0.35);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--teal); transform: translateY(-2px); }

.btn-primary--light {
  background: var(--cream);
  color: var(--teal);
}
.btn-primary--light:hover { background: #f0edeb; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  background: var(--teal);
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--blush); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--cream); }

.nav-cta {
  background: var(--blush);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blush-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 190;
}
.nav-overlay.open { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--teal);
  padding: 4rem 5rem 2.5rem;
  color: var(--cream);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--cream);
}
.footer-logo-text span { color: var(--blush); font-style: italic; }
.footer-tagline {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,1);
  max-width: 220px;
}
.footer-heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.25rem;
}
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.6rem; }
.footer-nav a {
  color: rgba(255,255,255,1);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,1);
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--blush);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-cta-block { text-align: right; }
.footer-cta-hook {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── SECTION BASE ── */
section { padding: var(--section-pad); }

/* ── CHECKMARK LIST ── */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.check-list li::before {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blush);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════
   TABLET (≤ 1100px)
══════════════════════ */
@media (max-width: 1100px) {
  :root { --section-pad: 5rem 3rem; }
  nav { padding: 0 3rem; }
  footer { padding: 3.5rem 3rem 2rem; }
  .footer-inner { gap: 2rem; }
}

/* ══════════════════════
   MOBILE (≤ 768px)
══════════════════════ */
@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.5rem; }

  nav { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 78vw;
    max-width: 310px;
    height: 100vh;
    background: var(--teal);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 200;
    box-shadow: -6px 0 30px rgba(0,0,0,0.25);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.05rem; }
  .nav-cta { font-size: 0.85rem; padding: 0.7rem 1.4rem; }

  footer { padding: 3rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cta-block { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
