/*
Theme Name: Lucky Duck Pen
Theme URI: https://luckyduckpen.com
Author: Lucky Duck Pen
Description: A cheerful, lightweight WordPress theme for cruise ducks, duck facts, stories, and free duck pens at sea.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: lucky-duck-pen
*/

:root {
  --ldp-navy: #123a63;
  --ldp-blue: #1488c9;
  --ldp-sky: #eaf8ff;
  --ldp-yellow: #ffd52f;
  --ldp-orange: #f7941d;
  --ldp-red: #df3346;
  --ldp-ink: #233342;
  --ldp-cream: #fffaf0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: var(--ldp-ink); background: #fff; }
a { color: var(--ldp-blue); text-underline-offset: 3px; }
a:hover { color: var(--ldp-red); }

.ldp-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ldp-site-header { background: #fff; border-bottom: 1px solid #dceaf2; position: sticky; top: 0; z-index: 50; }
.admin-bar .ldp-site-header { top: 32px; }
.ldp-header-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ldp-wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ldp-navy); text-decoration: none; font-size: clamp(1.35rem, 2.6vw, 2.05rem); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.ldp-wordmark .duck { color: var(--ldp-red); }
.ldp-wordmark .mark { width: 48px; height: 48px; }
.ldp-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: flex-end; font-size: .94rem; font-weight: 700; }
.ldp-nav a { color: var(--ldp-navy); text-decoration: none; }
.ldp-nav a:hover { color: var(--ldp-red); }

.ldp-hero { overflow: hidden; background: linear-gradient(135deg, #e9f8ff 0%, #fff9d7 100%); border-bottom: 5px solid var(--ldp-yellow); }
.ldp-hero-grid { min-height: 540px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 26px; padding-top: 56px; padding-bottom: 56px; }
.ldp-kicker { color: var(--ldp-red); text-transform: uppercase; font-size: .82rem; letter-spacing: .13em; font-weight: 900; }
.ldp-hero h1 { color: var(--ldp-navy); font-size: clamp(3rem, 7vw, 5.7rem); line-height: .93; letter-spacing: -.065em; margin: 12px 0 22px; }
.ldp-hero h1 span { color: var(--ldp-red); }
.ldp-hero .lead { max-width: 700px; font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.65; }
.ldp-duck-hero { width: 100%; max-height: 430px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(18,58,99,.15)); }
.ldp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ldp-button { display: inline-block; border-radius: 999px; padding: 13px 22px; background: var(--ldp-navy); color: #fff !important; text-decoration: none; font-weight: 800; box-shadow: 0 5px 0 #082441; }
.ldp-button:hover { transform: translateY(2px); box-shadow: 0 3px 0 #082441; }
.ldp-button.alt { background: var(--ldp-red); box-shadow-color: #9d1730; }

.ldp-section { padding: 76px 0; }
.ldp-section.tint { background: var(--ldp-sky); }
.ldp-section.sunny { background: var(--ldp-cream); }
.ldp-section h2 { color: var(--ldp-navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 14px; }
.ldp-section-intro { max-width: 720px; font-size: 1.12rem; line-height: 1.65; margin-bottom: 32px; }
.ldp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ldp-card { background: #fff; border: 1px solid #d9e8ef; border-radius: 22px; padding: 28px; box-shadow: 0 10px 30px rgba(18,58,99,.08); }
.ldp-card .emoji { font-size: 2.25rem; display: block; margin-bottom: 10px; }
.ldp-card h3 { color: var(--ldp-navy); font-size: 1.35rem; margin: 0 0 10px; }
.ldp-card p { line-height: 1.65; }
.ldp-card a { font-weight: 800; }
.ldp-cruise { border-radius: 26px; padding: 36px; background: var(--ldp-navy); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.ldp-cruise h3 { color: var(--ldp-yellow); margin: 0 0 8px; font-size: 1.8rem; }
.ldp-cruise p { margin: 7px 0; }
.ldp-cruise .ldp-button { background: var(--ldp-yellow); color: var(--ldp-navy) !important; box-shadow-color: var(--ldp-orange); }

.ldp-content { max-width: 840px; margin: 0 auto; padding: 64px 24px 88px; }
.ldp-content h1 { color: var(--ldp-navy); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.05em; }
.ldp-content h2 { color: var(--ldp-navy); margin-top: 2em; }
.ldp-content p, .ldp-content li { font-size: 1.08rem; line-height: 1.75; }
.ldp-note { padding: 22px; border-left: 6px solid var(--ldp-yellow); background: var(--ldp-cream); border-radius: 0 14px 14px 0; }
.ldp-site-footer { background: #082d50; color: #dceefa; padding: 52px 0; }
.ldp-site-footer a { color: var(--ldp-yellow); }
.ldp-footer-row { display: flex; align-items: start; justify-content: space-between; gap: 30px; }

@media (max-width: 850px) {
  .ldp-header-row { align-items: flex-start; flex-direction: column; padding-top: 16px; padding-bottom: 16px; }
  .ldp-nav { justify-content: flex-start; }
  .ldp-hero-grid { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .ldp-hero .lead { margin-left: auto; margin-right: auto; }
  .ldp-actions { justify-content: center; }
  .ldp-duck-hero { max-height: 300px; }
  .ldp-grid { grid-template-columns: 1fr; }
  .ldp-cruise { grid-template-columns: 1fr; }
}

@media (max-width: 782px) { .admin-bar .ldp-site-header { top: 46px; } }
@media (max-width: 500px) { .ldp-shell { padding-left: 18px; padding-right: 18px; } .ldp-nav { font-size: .86rem; } .ldp-section { padding: 54px 0; } .ldp-cruise { padding: 26px; } }

