/* ============================================
   JIM STEINWORTH PIANO MAN — SITE STYLES
   Clean + Fun | Targeting 45+ audience
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-navy:     #1a2744;
  --color-navy-lt:  #243354;
  --color-gold:     #c8952e;
  --color-gold-lt:  #e4b65c;
  --color-cream:    #faf6f0;
  --color-white:    #ffffff;
  --color-gray:     #6b7280;
  --color-gray-lt:  #e5e7eb;
  --color-warm-bg:  #f5f0e8;
  --color-text:     #2d2d2d;
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Open Sans', Arial, sans-serif;
  --radius:         8px;
  --shadow:         0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.12);
  --transition:     0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
  color: var(--color-navy);
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-lt);
  border-color: var(--color-gold-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn-secondary:hover {
  background: var(--color-navy-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* --- HEADER / NAV --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
}
.logo-tagline {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--color-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--color-gold);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, #0f1a30 60%, #1a2744 100%);
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,149,46,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(200,149,46,0.06) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { color: var(--color-white); margin-bottom: 20px; }
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- SECTION SPACING --- */
.section { padding: 80px 0; }

/* --- INTRO --- */
.intro-section { background: var(--color-white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text h2 {
  color: var(--color-navy);
  margin-bottom: 20px;
}
.intro-text p {
  color: var(--color-gray);
  margin-bottom: 16px;
}
.intro-text .btn { margin-top: 12px; }

.intro-image { display: flex; justify-content: center; }
.image-placeholder {
  width: 340px;
  height: 400px;
  background: var(--color-warm-bg);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-gray-lt);
}
.placeholder-icon { font-size: 4rem; color: var(--color-gold); margin-bottom: 12px; }
.image-placeholder p { color: var(--color-gray); font-size: 0.85rem; }

/* --- HIGHLIGHTS --- */
.highlights-section { background: var(--color-cream); }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.highlight-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.highlight-card h3 {
  color: var(--color-navy);
  margin-bottom: 10px;
}
.highlight-card p {
  color: var(--color-gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* --- TESTIMONIAL --- */
.testimonial-section {
  background: var(--color-navy);
  text-align: center;
}
.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-gold);
  line-height: 0.8;
  margin-bottom: 12px;
}
.testimonial-card blockquote {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}
.testimonial-card cite {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- CTA --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-gold) 0%, #b8862a 100%);
  text-align: center;
}
.cta-container h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}
.cta-container p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.cta-section .btn-primary {
  background: var(--color-navy);
  border-color: var(--color-navy);
}
.cta-section .btn-primary:hover {
  background: var(--color-navy-lt);
  border-color: var(--color-navy-lt);
}

/* --- FOOTER --- */
.site-footer {
  background: #111a2e;
  padding: 48px 0 28px;
  text-align: center;
}
.footer-container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-name {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
}
.footer-loc {
  display: block;
  color: var(--color-gray);
  font-size: 0.82rem;
}
.footer-contact { display: flex; gap: 24px; }
.footer-contact a {
  color: var(--color-gold);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--color-gold-lt); }
.footer-nav { display: flex; gap: 24px; margin-top: 4px; }
.footer-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--color-gold); }
.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.72rem;
  margin-top: 16px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  background: var(--color-navy);
  padding: 120px 24px 60px;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); font-size: 2.4rem; }
.page-hero p { color: rgba(255,255,255,0.65); margin-top: 8px; font-size: 1rem; }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.about-photo .image-placeholder {
  width: 100%;
  height: 480px;
}
.about-bio h2 {
  color: var(--color-navy);
  margin-bottom: 16px;
}
.about-bio p {
  color: var(--color-gray);
  margin-bottom: 16px;
}
.about-fun {
  margin-top: 32px;
  padding: 28px;
  background: var(--color-cream);
  border-radius: 12px;
  border-left: 4px solid var(--color-gold);
}
.about-fun h3 {
  color: var(--color-navy);
  margin-bottom: 8px;
}
.about-fun p {
  color: var(--color-gray);
  font-size: 0.92rem;
}

/* ============================================
   EVENTS PAGE — CALENDAR
   ============================================ */
.calendar-container { max-width: 900px; margin: 0 auto; }

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.calendar-header h2 {
  font-size: 1.6rem;
  color: var(--color-navy);
}
.cal-nav-btn {
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.cal-nav-btn:hover {
  background: var(--color-navy-lt);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--color-gray-lt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cal-day-name {
  background: var(--color-navy);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 12px 4px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cal-day {
  background: var(--color-white);
  min-height: 90px;
  padding: 8px;
  position: relative;
  cursor: default;
  transition: var(--transition);
}
.cal-day.empty { background: var(--color-warm-bg); }
.cal-day .day-num {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gray);
}
.cal-day.today .day-num {
  background: var(--color-navy);
  color: var(--color-white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-day.has-event { cursor: pointer; }
.cal-day.has-event:hover { background: #fdf8f0; }

.cal-event-dot {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Event modal */
.event-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.event-modal-overlay.open { display: flex; }

.event-modal {
  background: var(--color-white);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-gray);
  transition: var(--transition);
}
.modal-close:hover { color: var(--color-text); }
.event-modal h3 {
  color: var(--color-navy);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.event-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--color-gray);
  font-size: 0.92rem;
}
.event-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   BOOKING FORM
   ============================================ */
.book-section { background: var(--color-white); }
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.book-info h2 {
  color: var(--color-navy);
  margin-bottom: 16px;
}
.book-info p {
  color: var(--color-gray);
  margin-bottom: 16px;
}
.book-contact-list {
  list-style: none;
  margin-top: 24px;
}
.book-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-lt);
  color: var(--color-text);
  font-size: 0.95rem;
}
.book-contact-list li:last-child { border-bottom: none; }
.contact-icon { font-size: 1.3rem; }

.book-form-card {
  background: var(--color-cream);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.book-form-card h3 {
  color: var(--color-navy);
  margin-bottom: 24px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-lt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200,149,46,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success .check-icon {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 12px;
}
.form-success h3 { color: var(--color-navy); margin-bottom: 8px; }
.form-success p { color: var(--color-gray); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  html { font-size: 16px; }
  h1 { font-size: 2.2rem; }

  .mobile-menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }

  .intro-grid,
  .about-content,
  .book-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero { min-height: 70vh; padding: 100px 24px 60px; }
}

@media (max-width: 600px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-contact { flex-direction: column; gap: 8px; }
  .cal-day { min-height: 60px; padding: 4px; }
  .cal-day-name { font-size: 0.65rem; padding: 8px 2px; }
  .cal-event-dot { font-size: 0.55rem; padding: 2px 4px; }
}
