@import url("fonts/fonts.css");

:root {
  --ink: #33200F;
  --cream: #FBF6EE;
  --brown: #5C3A21;
  --pink: #B93A57;
  --deep: #A22F4B;
  --muted: #77604F;
  --on-dark-pink: #F4C9D4;
  --white: #FFFFFF;
  --biscuit: #E8A13C;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Mulish', sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .display {
  font-family: 'Alfa Slab One', cursive;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 1rem;
  display: block;
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 600;
}

p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Masthead */
header {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  background-color: var(--white);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-area img {
  width: 60px;
  height: auto;
}
.logo-area span {
  font-family: 'Alfa Slab One', cursive;
  font-size: 1.5rem;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-weight: 700;
  color: var(--ink);
}
.nav-links a.btn {
  background-color: var(--deep);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Awning */
.awning {
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--pink) 0,
    var(--pink) 40px,
    var(--white) 40px,
    var(--white) 80px
  );
  position: relative;
  width: 100%;
}
.awning::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background-image: radial-gradient(circle at 20px 0, transparent 20px, var(--pink) 21px);
  background-size: 80px 16px;
  background-repeat: repeat-x;
  background-position: 0 0;
}
.awning-alt::after {
  background-image: radial-gradient(circle at 20px 0, transparent 20px, var(--white) 21px);
  background-position: 40px 0;
}

/* Fold */
.fold {
  padding: 5rem 0;
  background-color: var(--cream);
  overflow: hidden;
}
.fold-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.fold-copy p.sub {
  font-size: 1.125rem;
  color: var(--brown);
  max-width: 480px;
}
.fold-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.9;
}
.btn-primary {
  background-color: var(--deep);
  color: var(--white);
}
.btn-outline {
  border: 2px solid var(--deep);
  color: var(--deep);
}
.address-line {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

/* The Window */
.shop-window {
  background-color: var(--ink);
  padding: 2rem;
  border-radius: 1rem 1rem 0 0;
  position: relative;
  text-align: center;
  margin-bottom: -5rem; /* pull down if needed */
}
.window-arch {
  color: var(--on-dark-pink);
  font-family: 'Alfa Slab One', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.window-glass {
  background-color: var(--white);
  padding: 0.5rem;
  border-radius: 0.5rem;
  position: relative;
}
.window-glass img {
  width: 100%;
  display: block;
  border-radius: 0.25rem;
}
.decal {
  position: absolute;
  bottom: -1rem;
  left: -2rem;
  background-color: var(--cream);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(51,32,15,0.15);
  transform: rotate(-6deg);
  max-width: 240px;
  text-align: left;
}
.decal h3 {
  color: var(--deep);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.decal p {
  font-size: 0.75rem;
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

/* Pledge */
.pledge {
  background-color: var(--ink);
  color: var(--white);
  padding: 1.5rem 0;
}
.pledge-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}
.pledge-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}
.pledge-inner span::before {
  content: '♡';
  color: var(--biscuit);
  font-size: 1.25rem;
}

/* Menu */
.menu-section {
  padding: 6rem 0;
  text-align: center;
}
.menu-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--muted);
}
.menu-card {
  background-color: var(--white);
  border: 2px solid var(--cream);
  border-radius: 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 10px 30px rgba(51,32,15,0.05);
  padding: 2rem;
}
.menu-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cream);
}
.menu-row:last-child {
  border-bottom: none;
}
.menu-num {
  font-family: 'Alfa Slab One', cursive;
  font-size: 1.5rem;
  color: var(--pink);
  flex-shrink: 0;
  width: 2.5rem;
}
.menu-content h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.menu-content p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.fine-print {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Gallery */
.gallery-section {
  padding: 6rem 0;
  background-color: var(--cream);
  text-align: center;
}
.gallery-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.gallery-item {
  width: 220px;
}
.gallery-item:nth-child(even) {
  margin-top: 3rem;
}
.gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  background-color: var(--white);
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(51,32,15,0.05);
}
.gallery-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--deep);
  margin-top: 0.5rem;
  text-align: left;
}

/* About */
.about-section {
  padding: 6rem 0;
  background-color: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  width: 100%;
  border-radius: 1rem;
}
.about-pull {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  color: var(--deep);
  margin-top: 1.5rem;
  line-height: 1.2;
}

/* Contact */
.contact-section {
  padding: 6rem 0;
  background-color: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(51,32,15,0.05);
}
.contact-phone {
  font-family: 'Alfa Slab One', cursive;
  font-size: 2.5rem;
  color: var(--deep);
  display: block;
  margin-top: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E5D5C5;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--cream);
}
.form-input:focus {
  outline: none;
  border-color: var(--deep);
}
.form-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: var(--ink);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo img {
  width: 48px;
  filter: brightness(0) invert(1);
}
.footer-logo-text {
  text-align: left;
}
.footer-logo-text strong {
  display: block;
  font-family: 'Alfa Slab One', cursive;
  font-size: 1.25rem;
}
.footer-logo-text span {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--on-dark-pink);
  text-transform: uppercase;
}
.footer-contact {
  text-align: right;
  font-size: 0.875rem;
}
.footer-contact strong {
  display: block;
  font-size: 1rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.footer-signoff {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--white);
}

/* Ribbon */
.preview-ribbon {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.preview-ribbon a {
  color: var(--on-dark-pink);
  font-weight: 700;
}
.preview-ribbon button {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
  .fold-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .header-inner {
    padding: 0 1rem;
  }
  .nav-links {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
  details.nav-mobile > summary {
    list-style: none;
    font-size: 1.5rem;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  details.nav-mobile > summary::-webkit-details-marker {
    display: none;
  }
  .nav-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .nav-mobile-menu a {
    color: var(--ink);
    font-weight: 700;
    padding: 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pledge-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .gallery-item:nth-child(even) {
    margin-top: 0;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-contact {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  .sticky-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--deep);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    z-index: 90;
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }
}
@media (min-width: 769px) {
  .nav-mobile { display: none; }
  .sticky-call { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
