/* ===================================================
   Cheever Tavern — style.css
   Palette: Deep navy · Warm amber · Linen cream
   Fonts: Cormorant Garamond (headings) · DM Sans (body)
   =================================================== */

:root {
  --navy:        #0f1e2c;
  --navy-mid:    #1a2d3e;
  --navy-light:  #243748;
  --amber:       #c9883e;
  --amber-light: #dfa05a;
  --cream:       #f5f0e6;
  --cream-mid:   #ede5d5;
  --cream-dark:  #e0d6c4;
  --text-dark:   #1c1409;
  --text-body:   #3d3022;
  --text-muted:  #7a6e5f;
  --text-light:  #e8e0d0;
  --text-dim:    rgba(232, 224, 208, 0.62);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-body);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-light); }

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

/* === NAVBAR === */
.ct-navbar {
  background: rgba(10, 18, 26, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 136, 62, 0.18);
  padding: 0.65rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.ct-navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.ct-logo {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}

.ct-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1;
}

.ct-navbar .nav-link {
  color: rgba(245, 240, 230, 0.82);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  transition: color 0.2s;
}
.ct-navbar .nav-link:hover { color: var(--amber); }

.ct-nav-reserve {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 1px;
  transition: background 0.2s;
  white-space: nowrap;
}
.ct-nav-reserve:hover { background: var(--amber-light); color: #fff; }

.navbar-toggler {
  border: 1px solid rgba(245,240,230,0.3);
  padding: 0.3rem 0.5rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28245,240,230,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  #navMenu {
    background: var(--navy);
    padding: 1rem 1.25rem 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(201,136,62,0.2);
  }
  .ct-navbar .nav-link { padding: 0.6rem 0; }
  .ct-nav-reserve { margin-top: 0.75rem; display: inline-block; }
}

/* === HERO === */
.ct-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 35% / cover no-repeat;
}

.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.ct-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2.75rem 2.25rem;
  max-width: 860px;
  width: 90%;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.ct-hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.ct-hero-title {
  font-size: clamp(3.8rem, 10vw, 7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.ct-hero-subtitle {
  font-size: clamp(0.92rem, 2vw, 1.12rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.90);
  margin-bottom: 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

/* === BUTTONS === */
.ct-btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 1px;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}

.ct-btn-amber {
  background: var(--amber);
  color: #fff;
  border: 1px solid var(--amber);
}
.ct-btn-amber:hover { background: var(--amber-light); border-color: var(--amber-light); color: #fff; }

.ct-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.ct-btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

.ct-btn-navy {
  background: var(--navy-mid);
  color: #fff;
  border: 1px solid var(--navy-mid);
}
.ct-btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }

.ct-btn-outline-navy {
  background: transparent;
  color: var(--navy-mid);
  border: 1px solid var(--navy-mid);
}
.ct-btn-outline-navy:hover { background: var(--navy-mid); color: #fff; }

/* === SECTION CHROME === */
.ct-section {
  padding: 5.5rem 0;
}

.bg-cream { background: var(--cream); }
.bg-navy  { background: var(--navy); }
.bg-mid   { background: var(--cream-mid); }

.ct-overline {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.ct-overline.light { color: var(--amber); }

.ct-heading {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.ct-heading.light { color: var(--text-light); }
.ct-heading em { font-style: italic; font-weight: 400; }

.ct-body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

/* === ABOUT === */
.ct-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}
.ct-contact-row a {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 400;
  transition: color 0.2s;
}
.ct-contact-row a:hover { color: var(--amber); }
.ct-contact-row i {
  color: var(--amber);
  margin-right: 0.5rem;
  font-size: 0.85rem;
}

.ct-about-photo-wrap {
  position: relative;
}

.ct-about-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
}

.ct-photo-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  text-align: right;
}

/* === MENU === */
.ct-menu-note {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.ct-menu-divider {
  width: 60px;
  height: 1px;
  background: rgba(201,136,62,0.4);
  margin: 0 auto;
}

.ct-menu-block { margin-bottom: 0.5rem; }

.ct-menu-cat {
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  color: var(--amber);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,136,62,0.2);
}

.ct-dish {
  padding: 1.1rem 1.4rem;
  border-left: 2px solid rgba(201,136,62,0.35);
  height: 100%;
}

.ct-dish h4 {
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3rem;
}

.ct-dish p {
  font-size: 0.87rem;
  color: var(--text-dim);
  margin: 0;
  font-style: italic;
  line-height: 1.55;
}

.ct-menu-hours {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* === GALLERY === */
.ct-gallery-cell {
  overflow: hidden;
  border-radius: 1px;
}

.ct-gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ct-gallery-cell:hover .ct-gallery-img { transform: scale(1.05); }

/* === EVENTS === */
.ct-events-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.ct-event-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ct-event-tile {
  background: #fff;
  border-radius: 1px;
  padding: 1.5rem 1.1rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: box-shadow 0.25s;
}
.ct-event-tile:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

.ct-event-tile i {
  font-size: 1.8rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.65rem;
}

.ct-event-tile h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.ct-event-tile p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* === GIFT CARDS === */
.ct-gift-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 0.5rem;
}

/* === HOURS & LOCATION === */
.ct-hours-card {
  background: var(--cream-mid);
  border-radius: 1px;
  padding: 2.25rem 2rem;
  border: 1px solid var(--cream-dark);
}

.ct-hours-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.ct-hours-title i { font-size: 1rem; }

.ct-hours-table {
  width: 100%;
  border-collapse: collapse;
}
.ct-hours-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.ct-hours-table tr:last-child { border-bottom: none; }
.ct-hours-table td {
  padding: 0.6rem 0;
  vertical-align: top;
  font-size: 0.9rem;
  color: var(--text-body);
}
.ct-day {
  font-weight: 500;
  padding-right: 1.5rem;
  white-space: nowrap;
  color: var(--text-dark);
}
.ct-time { color: var(--text-body); }

.ct-location-info { }
.ct-location-info p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.ct-location-info i {
  color: var(--amber);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.ct-location-info a { color: var(--navy-mid); font-weight: 500; }
.ct-location-info a:hover { color: var(--amber); }

.ct-resy-note {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
  margin-top: 0.25rem;
}

.ct-map-wrap {
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
.ct-map-wrap iframe {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
}

/* === FOOTER === */
.ct-footer {
  background: #060f18;
  padding: 4rem 0 2.5rem;
  color: rgba(245,240,230,0.45);
}

.ct-footer-logo {
  height: 52px;
  width: auto;
  opacity: 0.88;
  margin-bottom: 1rem;
}

.ct-footer-sub {
  font-size: 0.82rem;
  color: rgba(245,240,230,0.4);
  line-height: 1.65;
  margin: 0;
}

.ct-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-bottom: 1rem;
}
.ct-footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.45);
  transition: color 0.2s;
}
.ct-footer-nav a:hover { color: var(--amber); }

.ct-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}
.ct-social a {
  font-size: 1.25rem;
  color: rgba(245,240,230,0.45);
  transition: color 0.2s;
}
.ct-social a:hover { color: var(--amber); }

.ct-powered {
  font-size: 0.82rem;
  color: rgba(245,240,230,0.45);
  margin-bottom: 0.35rem;
}
.ct-powered a { color: var(--amber); font-weight: 500; }
.ct-powered a:hover { color: var(--amber-light); }

.ct-copy {
  font-size: 0.75rem;
  color: rgba(245,240,230,0.25);
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .ct-section { padding: 4rem 0; }
  .ct-about-photo { height: 380px; }
  .ct-gallery-img { height: 240px; }
  .ct-footer .col-md-4:last-child { text-align: center !important; }
}

@media (max-width: 767px) {
  .ct-section { padding: 3.25rem 0; }
  .ct-hero-content { padding: 2rem 1.5rem; }
  .ct-about-photo { height: 280px; }
  .ct-gallery-img { height: 200px; }
  .ct-event-tiles { gap: 0.75rem; }
  .ct-event-tile { padding: 1.1rem 0.85rem; }
  .ct-hours-card { padding: 1.75rem 1.25rem; }
  .ct-map-wrap iframe { height: 340px; }
  .ct-events-ctas { flex-direction: column; }
  .ct-events-ctas .ct-btn { text-align: center; }
  .ct-contact-row { flex-direction: column; gap: 0.5rem; }
  .ct-hero-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
  .ct-hero-actions .ct-btn { width: 100%; max-width: 260px; text-align: center; }
  .ms-3 { margin-left: 0 !important; }
  .ct-footer-logo { height: 44px; }
}

@media (max-width: 480px) {
  .ct-gallery-img { height: 175px; }
  .ct-event-tiles { grid-template-columns: 1fr 1fr; }
}
