/* Krave Kitchen & Bar – color scheme from logo #176e73 */
:root {
  --krave-teal: #176e73;
  --krave-teal-dark: #0f5054;
  --krave-teal-light: #2a8a90;
  --krave-bg: #f8f9fa;
  --krave-text: #1a1a1a;
  --krave-text-muted: #555;
  --white: #fff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--krave-text);
  background: var(--white);
}

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

a {
  color: var(--krave-teal);
  text-decoration: none;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--krave-teal);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.nav-main a {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--krave-teal);
  text-decoration: none;
}

.nav-main a:hover {
  color: var(--krave-teal-dark);
  text-decoration: underline;
}

.nav-arrow {
  font-size: 0.85em;
  opacity: 0.9;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-social a {
  color: var(--krave-teal);
  display: flex;
}

.nav-social a:hover {
  color: var(--krave-teal-dark);
}

.nav-social .social-icon {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--krave-teal);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--krave-teal);
}

@media (max-width: 900px) {
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid var(--krave-teal);
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Hero & slideshow – full viewport, images fill, diffuse crossfade */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  transition: opacity 2.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem;
  max-width: 640px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
}

.hero-overlay .btn {
  text-shadow: none;
}

.hero-tagline {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-phone {
  margin: 0 0 0.25rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}

.hero-phone a {
  color: var(--white);
  font-weight: 600;
}

.hero-phone a:hover {
  text-decoration: underline;
}

.hero-hours {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.hero-serving {
  margin: 1rem 0 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--krave-teal);
  color: var(--white);
  border-color: var(--krave-teal);
}

.btn-primary:hover {
  background: var(--krave-teal-dark);
  border-color: var(--krave-teal-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--krave-teal);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 3rem 0;
}

section[id] {
  scroll-margin-top: 5rem;
}

.section:nth-child(even) {
  background: var(--krave-bg);
}

.section-title {
  margin: 0 0 0.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--krave-teal);
}

.section-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--krave-text-muted);
}

.subsection-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--krave-text);
}

.address,
.phone,
.hours {
  margin: 0 0 0.5rem;
}

/* Find Us */
.find-us .btn {
  margin-bottom: 1.5rem;
}

.map-wrap {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.map-wrap iframe {
  display: block;
}

/* Reviews */
.reviews-intro {
  margin-bottom: 1rem;
}

.reviews-widget-heading {
  margin-top: 2.5rem;
}

.reviews-plugin {
  margin-top: 1.5rem;
  min-height: 120px;
}

.reviews-placeholder {
  padding: 1.5rem;
  background: var(--white);
  border: 1px dashed var(--krave-teal);
  border-radius: 8px;
  color: var(--krave-text-muted);
  font-size: 0.9rem;
}

/* Forms */
.form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form label:first-of-type {
  margin-top: 0;
}

.required {
  color: var(--krave-teal);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="file"],
.form textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--krave-teal);
  box-shadow: 0 0 0 2px rgba(23, 110, 115, 0.2);
}

.form button[type="submit"] {
  display: block;
  margin-top: 1.5rem;
}

.form-radio-group {
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  margin-top: 0;
  font-weight: 400;
}

.form-radio input {
  width: auto;
  max-width: none;
}

.catering-intro {
  margin-bottom: 1.5rem;
  max-width: 560px;
}

/* Print Menus */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.menu-tab {
  padding: 0.5rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--krave-teal);
  background: var(--white);
  border: 2px solid var(--krave-teal);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.menu-tab:hover {
  background: rgba(23, 110, 115, 0.08);
}

.menu-tab.active {
  background: var(--krave-teal);
  color: var(--white);
}

.menu-frame-wrap {
  margin-top: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.menu-frame {
  display: block;
  width: 100%;
  min-height: 70vh;
  height: 800px;
  border: 0;
}

/* Updates */
.updates-placeholder {
  color: var(--krave-text-muted);
}

/* Footer */
.site-footer {
  background: var(--krave-teal);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-phone,
.footer-address,
.footer-hours {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: var(--white);
  display: flex;
}

.footer-social a:hover {
  opacity: 0.9;
}

.footer-social .social-icon {
  display: block;
}
