/* Pizza Post Lake Mary — Stone Love layout, navy/gold brand */

:root {
  --color-navy: #0a1f3d;
  --color-navy-dark: #061428;
  --color-gold: #c5a35a;
  --color-gold-dark: #a8883f;
  --color-cream: #f7f3ea;
  --color-cream-dark: #efe6d4;
  --color-charcoal: #0a1f3d;
  --color-text: #1c2430;
  --color-text-muted: #5a6170;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  --ribbon-height: 72px;
  --touch-min: 44px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-cream);
}

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

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

a:hover {
  text-decoration: underline;
}

/* Ribbon Navigation */
.ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-navy);
  color: var(--color-cream);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ribbon-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-right: 0.5rem;
}

.ribbon-logo img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.ribbon-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.95;
  margin-top: 1px;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ribbon-link {
  color: var(--color-cream);
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}

.ribbon-link:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.ribbon-link-external::after {
  content: " ↗";
  font-size: 0.75em;
  opacity: 0.8;
}

.ribbon-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch-min);
  height: var(--touch-min);
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-cream);
}

.ribbon-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

@media (max-width: 768px) {
  .ribbon-inner {
    justify-content: space-between;
  }

  .ribbon-logo img {
    height: 36px;
  }

  .ribbon-link {
    display: none;
  }

  .ribbon.expanded .ribbon-link {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .ribbon.expanded .ribbon-logo {
    display: none;
  }

  .ribbon.expanded .ribbon-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .ribbon-toggle {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--ribbon-height);
  overflow: hidden;
  background: var(--color-navy);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 4rem 1rem 2rem;
}

.hero-slideshow .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 31, 61, 0.25) 0%,
    rgba(10, 31, 61, 0.55) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 600px;
}

.hero-logo {
  max-width: 280px;
  width: 72%;
  height: auto;
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

.hero-location {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 600;
  color: var(--color-cream);
  margin: 0 0 0.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5rem;
}

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

.hero-phone {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-cream);
  padding: 0.5rem 1rem;
  min-height: var(--touch-min);
  line-height: 1.4;
}

.hero-phone:hover {
  text-decoration: none;
  color: var(--color-gold);
}

.hero-hours {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: var(--color-cream);
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  min-height: var(--touch-min);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-gold-dark);
  text-decoration: none;
}

.btn-secondary {
  background: var(--color-navy);
  color: var(--color-cream);
  box-shadow: inset 0 0 0 2px var(--color-gold);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-navy-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-cream);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
  scroll-margin-top: var(--ribbon-height);
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.25rem;
  text-align: center;
}

.section-location {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  text-align: center;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}

.section-intro {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 auto 2rem;
  max-width: 600px;
}

/* Menu */
.section-menu {
  background: white;
}

.menu-pdf-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

.menu-pdf {
  width: 100%;
  height: 70vh;
  min-height: 500px;
  border: none;
}

.menu-pdf-wrapper p {
  padding: 2rem;
  text-align: center;
  margin: 0;
}

.menu-download-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* About */
.section-about {
  background: var(--color-cream-dark);
}

.about-content {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.about-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 1.5rem 0 0.5rem;
}

.about-content h3:first-child {
  margin-top: 0;
}

.about-content p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.about-content .about-formula {
  font-style: italic;
  padding-left: 1rem;
  border-left: 3px solid var(--color-gold);
}

.about-content ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.about-content li {
  margin-bottom: 0.5rem;
}

/* Find Us */
.section-find-us {
  background: white;
}

.find-us-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.find-us-info {
  text-align: center;
}

.find-us-info h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--color-navy);
}

.find-us-address {
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.find-us-phone {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.find-us-hours {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.find-us-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-height: 300px;
}

.find-us-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

@media (min-width: 768px) {
  .find-us-grid {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }

  .find-us-info {
    text-align: left;
  }

  .find-us-map iframe {
    height: 350px;
  }
}

@media (min-width: 1024px) {
  .ribbon-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.25rem;
  }

  .ribbon-logo {
    margin-right: 1rem;
  }

  .ribbon-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.5rem;
  }
}

/* Forms */
.section-catering {
  background: white;
}

.section-feedback,
.section-join {
  background: var(--color-cream-dark);
}

.form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label,
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #b42318;
}

.form-error {
  display: none;
  color: #b42318;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-error:not(:empty) {
  display: block;
}

.form-radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  margin: 0;
}

.form-radio-group input {
  width: auto;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  background: #e7f6ec;
  color: #17663a;
}

.form-status.error {
  background: #fdecea;
  color: #b42318;
}

.form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--color-navy);
  color: var(--color-cream);
  padding: 2rem 1.5rem;
  text-align: center;
}

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

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

.footer-hours {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide {
    transition: none;
  }
}
