/* ====== Root Variables ====== */
:root {
  --color-cream-white: #fff8f2;
  --color-ice-tan: #f2d7b6;
  --color-strawberry-pink: #f8afa6;
  --color-midnight-blue: #2a3d66;

  --color-text-dark: var(--color-midnight-blue);
  --color-bg-light: var(--color-cream-white);
  --color-accent: var(--color-strawberry-pink);
  --color-header-bg: var(--color-ice-tan);
  --color-footer-bg: var(--color-midnight-blue);

  --radius-card: 18px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-padding-top: 60px; /* adjust to match header height */
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.5;
}

/* ====== Layout Helpers ====== */
.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #ffffffcc;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  margin-bottom: 2rem;
  max-width: 40rem;
}

/* ====== Header & Nav ====== */
.site-header {
  background: var(--color-header-bg);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-main {
  font-weight: 800;
  font-size: 1.4rem;
}

.logo-sub {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a {
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
  color: var(--color-midnight-blue);
}

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

/* ====== Hero ====== */
.hero {
  background: linear-gradient(
    135deg,
    var(--color-cream-white),
    var(--color-ice-tan)
  );
  padding: 3rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-subheading {
  font-size: 1.6rem; /* You can adjust this size! */
  font-weight: 700;
  margin-top: 0.5rem;
}

.hero-image img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--color-strawberry-pink);
  color: var(--color-midnight-blue);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(0.97);
}

/* ====== Hours & Location ====== */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  margin-bottom: 0.4rem;
}

.hours-heading {
  margin-bottom: 0.6rem;
  font-size: 1.8rem;
  font-weight: 700; 
}

/* ================================
   GOOGLE MAP STYLING
================================ */
#hours-location iframe {
  width: 100%;
  height: 300px;
  margin-top: 1rem;
  border-radius: var(--radius-card);
  border: 18px solid var(--color-ice-tan);
  box-shadow: var(--shadow-soft);
}
/* ====== MENU TILE STYLING ====== */

.section #menu .container {
  padding-top: 1.5rem;
}

.menu-title-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.menu-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 100%;        /* ← keep this */
  justify-content: flex-start;  /* ← important change */
}

.menu-header-row a {
  color: inherit;          /* same color as surrounding text */
  text-decoration: none;   /* removes underline */
  font-weight: normal;     /* optional — matches your paragraph weight */
}

.menu-header-row a:hover {
  text-decoration: underline; /* optional hover state */
}


.menu-header-row h2 {
  margin: 0;
  white-space: nowrap;
}

.menu-header-row .section-intro {
  margin: 0;
  margin-top: 0.30rem;
  font-size: 1rem;
  opacity: 0.9;
}

.menu-title-row h2 {
  margin: 0;
  white-space: nowrap; /* keeps "Our Menu" on one line */
}

/* Make New Items and Specialties tiles wide + centered */
.menu-tile.new-items { /* Target any menu-tile that has the class new-items */
  grid-column: span 3;        /* spans the entire 3-column width */
  justify-self: center;       /* centers it */
  width: 100%;                /* full width of the 3 columns */
  max-width: 900px;           /* prevents it from getting too massive */
}

.section-intro-inline {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-dark);
  opacity: 0.9;
}

/* ================================
   NEW 2-COLUMN MENU TILE
================================ */
.new-items-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default to 1 column for mobile */
  gap: 1.5rem; /* Space between sections when stacked */
}

/* On wider screens (like desktop), switch to 2 columns */
@media (min-width: 700px) {
  .new-items-grid {
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 2rem; /* Space between the columns */
  }
}

/* Styling for the new column content */
.new-items-column h3 {
  font-size: 1.25rem; /* Make the specialty title slightly larger */
  margin-bottom: 0.6rem;
}

.new-items-column p {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Ensure lists inside the columns have no extra padding */
.new-items-column ul {
  padding-left: 0;
  margin-top: 0;
}

/* New Items with images */
.new-items .new-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.new-items .new-item-text {
  display: flex;
  flex-direction: column;
}

/* Image sizing */
.new-item-img {
  width: 80px;         /* adjustable size */
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

/* responsive */
@media (max-width: 500px) {
  .new-item-img {
    width: 60px;
    height: 60px;
  }
}

/* Make New Items tile wide + centered */
.new-items {
  grid-column: span 3;        /* spans two columns */
  justify-self: center;       /* centers it */
  width: 100%;                /* full width of the 2 columns */
  max-width: 900px;           /* prevents it from getting too massive */
}
/* Inside layout stays the same */
.new-items .new-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.new-items .new-item-text {
  display: flex;
  flex-direction: column;
}

.new-item-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

/* Mobile behavior: return to single-column width */
@media (max-width: 800px) {
  .new-items {
    grid-column: span 1;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-tile.icecream {
    grid-column: span 1;
  }
}

.menu-tile {
  background: var(--color-ice-tan);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* Ice Cream Flavor Wall */
.flavor-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.flavor-wall img {
  width: 100%;
  border-radius: 0px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: white;
}

.flavor-wall img:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 16px rgba(0,0,0,0.25);
  cursor: pointer;
}

/* Toppings 3-column layout */
.toppings-grid {
  columns: 3;
  column-gap: 1.2rem;
  list-style: none;
  margin-top: 0.75rem;
}

.toppings-grid li {
  margin-bottom: 0.3rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.menu-tile.icecream {
  grid-column: span 3;
}

.menu-column {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.5rem;
}

.menu-tile h3 {
  margin-bottom: 0.6rem;
  text-decoration: underline;
}

.menu-tile ul {
  padding-left: 0;
  margin-top: 0.4rem;
}

.menu-tile li {
  margin-bottom: 0.25rem;
  list-style: none;
}

.price {
  font-weight: 600;
}

.menu-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* ====== Gallery ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

/* ================================
      CORKBOARD BACKGROUND
================================ */
.corkboard {
  background: url('images/corkboard.png');
  background-size: cover;
  background-position: center;
  padding: 40px;
  border-radius: 18px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.25);
}

/* ================================
      POLAROID GALLERY (FIXED)
================================ */
.polaroid-gallery {
  position: relative;
  width: 100%;
  min-height: 1300px;
}

/* Polaroid base style */
.polaroid {
  position: absolute;
  background: white;
  padding: 10px 10px 30px 10px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  cursor: pointer;
  filter: drop-shadow(0px 10px 10px rgba(0,0,0,0.25));

  /* CONTROL IMAGE SIZE HERE (no distortion) */
  width: 170px;  /* << You can adjust this! */
}

/* The image fills the polaroid naturally */
.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.polaroid:hover {
  transform: var(--base-transform) scale(1.50);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  z-index: 20;
}

/* ====== ICE CREAM COLOR PUSH PINS ====== */
.polaroid::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.35),
    inset 0 1px 2px rgba(255,255,255,0.6);

  z-index: 40;
}

/* Rotating colors */
.polaroid:nth-child(3n+1)::before {
  background: var(--color-strawberry-pink);
}

.polaroid:nth-child(3n+2)::before {
  background: var(--color-midnight-blue);
}

.polaroid:nth-child(3n+3)::before {
  background: var(--color-ice-tan);
}

.polaroid:hover::before {
  transform: translateX(-50%) rotate(2deg);
}




/* ================================
      LIGHTBOX VIEWER
================================ */
#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 35px rgba(255,255,255,0.35);
}

#lightbox-close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/* ====== Reviews ====== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--color-ice-tan);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.review-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.review-photo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.review-stars {
  font-size: 0.9rem;
  color: #f39c12;
  margin-bottom: 0.1rem;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.review-date {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
/* ================================
   REVIEW BUTTON
================================ */
.review-button-container {
  text-align: center;
  margin-top: 2.5rem; /* Adds space between the reviews and the button */
}



/* ====== Footer ====== */
.site-footer {
  background: var(--color-footer-bg);
  color: #f8f8f8;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--color-strawberry-pink);
  text-decoration: none;
}

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



/* ====== Responsive tweaks ====== */
@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav a {
    margin-left: 0;
    margin-right: 0.75rem;
  }
}
