/* Pinhoti Pizza Company site styles with rich photo framing and mobile-friendly layout */
:root {
  --pinhoti-red: #d71920;
  --pinhoti-dark: #191919;
  --pinhoti-cream: #fff4e3;
  --pinhoti-gold: #ffb547;
  --pinhoti-teal: #1fb5b9;
  --max-width: 1100px;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 16px 35px rgba(0, 0, 0, 0.18);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #22111a, #102229);
  color: #fdfdfd;
}

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

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: radial-gradient(circle at top left, var(--pinhoti-red), #5b0202);
  color: #fff;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-brand img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
}

.nav-brand h1 {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  margin: 0;
}

.nav-tagline {
  font-size: 0.78rem;
  opacity: 0.85;
}

nav {
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
}

.nav-links a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: #fff;
  color: var(--pinhoti-red);
}

/* special nav button for ordering */
.nav-links a.nav-order {
  background: linear-gradient(135deg, #e53935, #d81b60);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}
.nav-links a.nav-order:hover {
  background: linear-gradient(135deg, #ff5252, #ec407a);
}

/* Layout */

main {
  max-width: var(--max-width);
  margin: 1.75rem auto 3.25rem;
  padding: 0 1rem;
}

.section {
  margin-bottom: 2.7rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section h2 {
  font-size: 1.7rem;
  margin: 0;
}

.section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.8rem;
  color: var(--pinhoti-gold);
}

/* Call-to-action group for headers on some pages */
.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.8rem;
  background: radial-gradient(circle at top left, var(--pinhoti-red), #000);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.12) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.09) 0, transparent 55%);
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw, 3.1rem);
  margin: 0 0 0.4rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--pinhoti-cream);
  margin-bottom: 0.8rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 0.8rem;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--pinhoti-gold);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  background: linear-gradient(135deg, #e53935, #d81b60);
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform .2s, box-shadow .2s, filter .2s;
}

.btn-primary {
  background: linear-gradient(135deg, #ffb300, #ff7043);
  color: #402100 !important;
}

.btn-outline {
  border: 2px solid #d81b60;
  color: #d81b60 !important;
  background: #fff;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  filter: brightness(1.05);
}

.btn-outline:hover {
  background: #d81b60;
  color: #fff !important;
}

.hero-meta {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--pinhoti-cream);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta span::before {
  content: "•";
  color: var(--pinhoti-gold);
}

/* Hero image card */

.hero-right {
  position: relative;
  z-index: 1;
}

.hero-card {
  background: rgba(0, 0, 0, 0.74);
  border-radius: 1.5rem;
  padding: 1.2rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-photo {
  flex: 1;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #222;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-footer {
  font-size: 0.8rem;
  color: var(--pinhoti-cream);
}

/* Cards & grids */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(215, 25, 32, 0.32), rgba(0, 0, 0, 0.78));
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0.1rem 0 0.6rem;
  font-size: 0.9rem;
  color: #f0f0f0;
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.12);
}

/* Trails page */

.trail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 1.8rem;
}

.trail-panel {
  background: radial-gradient(circle at top left, rgba(31, 181, 185, 0.32), rgba(0, 0, 0, 0.8));
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.trail-panel h3 {
  margin-top: 0;
}

.trail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin: 0.2rem 0 0.7rem;
  color: var(--pinhoti-cream);
}

.trail-meta span {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Menu page */

.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 1.6rem;
}

.menu-section {
  background: radial-gradient(circle at top left, rgba(255, 181, 71, 0.32), rgba(0, 0, 0, 0.86));
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-items li + li {
  margin-top: 0.75rem;
}

.menu-item-name {
  font-weight: 600;
}

.menu-item-note {
  font-size: 0.85rem;
  color: #f0f0f0;
}

/* Menu photo collage */

.menu-photo-collage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.9rem;
}

.menu-photo-large,
.menu-photo-small {
  border-radius: 1.3rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.menu-photo-large img,
.menu-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-photo-label {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0,0,0,0.65);
}

/* Polaroid-style frames */

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
}

.polaroid {
  background: #fdfaf5;
  border-radius: 0.9rem;
  padding: 0.55rem 0.55rem 0.9rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transform-origin: center;
}

.polaroid img {
  border-radius: 0.65rem;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.polaroid:nth-child(1) { transform: rotate(-2.5deg); }
.polaroid:nth-child(2) { transform: rotate(1.8deg); }
.polaroid:nth-child(3) { transform: rotate(-1.4deg); }
.polaroid:nth-child(4) { transform: rotate(2.2deg); }

.polaroid-caption {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #444;
  text-align: center;
}

/* Home gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  gap: 1rem;
}

.gallery-main {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.gallery-tile {
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Visit page */

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 1.6rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.info-list li + li {
  margin-top: 0.6rem;
}

.map-embed iframe {
  border: 0;
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* About page */

.timeline {
  border-left: 2px solid rgba(255, 255, 255, 0.35);
  padding-left: 1rem;
  margin-left: 0.1rem;
}

.timeline-step + .timeline-step {
  margin-top: 1.2rem;
}

.timeline-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.timeline-step span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pinhoti-gold);
}

/* Footer */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #dcdcdc;
  background: #050505;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-trails {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

/* Utility */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.78rem;
  margin-top: 0.3rem;
}

.chip {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
}

/* Responsive */

@media (max-width: 880px) {
  .hero,
  .menu-grid,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  header {
    position: sticky;
  }

  .nav-inner {
    gap: 0.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  header {
    position: static;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .nav-brand {
    width: 100%;
    justify-content: flex-start;
  }

  nav {
    width: 100%;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .hero {
    padding: 1.2rem;
    grid-template-columns: 1fr;
  }

  main {
    margin-top: 1rem;
  }

  .polaroid img {
    height: 150px;
  }

  .gallery-main,
  .gallery-tile {
    min-height: 180px;
  }

  .menu-photo-collage {
    grid-template-columns: 1fr;
  }
}
