/* ============================================
   Waterman's Grill — styles.css
   Rebuilt from archive · May 2026
   ============================================ */

/* --- Google Fonts loaded via <link> in HTML for performance --- */

/* --- CSS Variables --- */
:root {
  --teal:        #4a8b8c;
  --teal-dark:   #2e6b6c;
  --teal-light:  #d4e9e9;
  --cream:       #f5f2e8;
  --cream-dark:  #e8e3d0;
  --navy:        #1e3a5f;
  --text:        #2c2c2c;
  --text-light:  #555;
  --white:       #ffffff;
  --footer-bg:   #3d7d7e;
  --nav-height:  42px;
}

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

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

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* --- Navigation --- */
#nav-wrap {
  background: var(--cream-dark);
  border-bottom: 1px solid #c8c0a8;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

#nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

#nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: var(--nav-height);
}

#nav ul li {
  display: inline;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#nav ul li a {
  color: var(--navy);
  padding: 4px 14px;
  transition: color 0.2s;
}
#nav ul li a:hover,
#nav ul li a.active {
  color: var(--teal-dark);
  text-decoration: none;
}

#nav ul li.sep {
  color: #aaa;
  font-size: 0.7rem;
  user-select: none;
}

/* --- Mobile menu (hamburger) --- */
#menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 14px 20px;
  flex-direction: column;
  gap: 5px;
}
#menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* --- Header / Logo --- */
#header-wrap {
  background: var(--cream);
}

#header {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px 0;
  text-align: center;
}

#logo img {
  max-width: 320px;
  margin: 0 auto;
}

/* Slideshow flush against header when it leads the content area */
.content-wrap > .cycle-slide-show-wrapper:first-child {
  margin-top: -48px; /* cancel content-wrap top padding */
  margin-left: -60px;
  margin-right: -60px;
  width: calc(100% + 120px);
}
.cycle-slide-show-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.slide-show {
  width: 100%;
  background: #1a1a1a;
  line-height: 0; /* collapse gap below images */
}

.slide-show img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slideshow controls — no background, sits below image */
.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 0 6px;
  background: none;
  line-height: 1;
}

/* Prev / Next arrow buttons */
#prev, #next {
  background: none;
  border: none;
  color: rgba(140,140,140,0.85);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
  transition: color 0.2s;
}
#prev:hover, #next:hover { color: #888; }

/* Pager dot container */
.cycle-pager {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Dots — inline-flex forces the button to respect width/height */
.dot {
  display: inline-flex;
  width: 8px;
  min-width: 8px;
  height: 8px;
  min-height: 8px;
  border-radius: 50%;
  background: rgba(160,160,160,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  box-sizing: content-box;
  transition: background 0.2s;
}
.dot.active { background: rgba(100,100,100,0.85); }

/* --- Content Rows --- */
.row-wrap {
  width: 100%;
}

.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px;
}

/* --- Typography --- */
h1 {
  font-family: 'Lora', serif;
  font-size: 2.1rem;
  font-weight: 400;
  font-style: normal;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

h2 {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal-dark);
  margin-bottom: 0.8rem;
  letter-spacing: 0.01em;
}

p {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
#footer-wrap {
  background: var(--footer-bg);
}

#footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px;
  text-align: center;
  color: rgba(255,255,255,0.9);
}

#footer p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.5rem;
  max-width: none;
  line-height: 1.6;
}

#footer a {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#footer a:hover { color: var(--white); }

/* --- Menu page --- */
.menu-page .content-wrap {
  text-align: center;
  padding: 64px 20px;
}

.menu-intro {
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.menu-intro h1 { margin-bottom: 0.6rem; }

.menu-btn {
  display: inline-block;
  background: var(--teal-dark);
  color: var(--white) !important;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 2px;
  transition: background 0.2s;
  text-decoration: none !important;
  margin: 0.5rem;
}
.menu-btn:hover { background: var(--teal); text-decoration: none !important; }
.menu-btn.secondary {
  background: transparent;
  color: var(--teal-dark) !important;
  border: 2px solid var(--teal-dark);
}
.menu-btn.secondary:hover { background: var(--teal-light); }

.divider {
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin: 1.5rem auto;
  border: none;
}

/* Hours block on menu page */
.hours-block {
  margin: 2rem auto 0;
  display: inline-block;
  text-align: left;
}

.hours-table {
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.hours-table td {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  padding: 2px 0;
  vertical-align: top;
}

.hours-table td:first-child {
  padding-right: 20px;
  white-space: nowrap;
}

.reservations-note {
  font-size: 0.9rem;
  color: #666;
  max-width: 340px;
  margin-left: 0;
  margin-right: 0;
}

/* --- Location page --- */
.map-embed {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  #menu-toggle { display: flex; }

  #nav ul {
    display: none;
    flex-direction: column;
    height: auto;
    padding: 12px 0 16px;
    gap: 4px;
    background: var(--cream-dark);
  }
  #nav ul.open { display: flex; }
  #nav ul li.sep { display: none; }
  #nav ul li a { padding: 8px 20px; display: block; }

  #logo img { max-width: 280px; }
  h1 { font-size: 1.5rem; margin-bottom: 0.6rem; }
  .content-wrap { padding: 32px 20px; }
}
