/* Sweeties Donuts Sattler — styles */

:root {
  --cream: #fff8ec;
  --cream-soft: #fff1da;
  --coffee: #3b2415;
  --coffee-soft: #6b4a35;
  --brown-line: #e7d7bf;
  --accent: #ec2c73;
  --accent-dark: #c81c5c;
  --gold: #f6b93b;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(59, 36, 21, 0.15);
  --radius: 18px;
  --font-display: "Fredoka", sans-serif;
  --font-body: "Nunito Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--coffee);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--coffee);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Order button — the most prominent element on the page */
.order-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(236, 44, 115, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.order-btn:hover,
.order-btn:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 28, 92, 0.4);
}

.order-btn--nav {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.order-btn--hero {
  font-size: 1.1rem;
  padding: 16px 38px;
}

.order-btn--footer {
  flex-shrink: 0;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 236, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--brown-line);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--coffee);
  margin-right: auto;
}

.brand-emoji {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: var(--coffee-soft);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--coffee);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #4a2a17, #2c160b), url("../images/photo-01.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 16, 8, 0.55), rgba(30, 16, 8, 0.75));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hero-secondary {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
}

/* Eyebrows and section titles */
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.eyebrow--center {
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--coffee-soft);
  margin-bottom: 40px;
}

section .container > .eyebrow--center + .section-title,
.menu .section-title,
.gallery .section-title,
.reviews .section-title {
  text-align: center;
}

.menu .section-sub,
.gallery > .container > .section-sub {
  text-align: center;
}

/* About */
.about {
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--coffee-soft);
}

/* Menu */
.menu {
  padding: 90px 0;
  background: var(--cream-soft);
  border-top: 1px solid var(--brown-line);
  border-bottom: 1px solid var(--brown-line);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.menu-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--accent-dark);
}

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

.menu-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--brown-line);
  font-weight: 600;
}

.menu-card li:last-child {
  border-bottom: none;
}

.menu-card .price {
  color: var(--coffee-soft);
  font-weight: 700;
  white-space: nowrap;
}

/* Gallery */
.gallery {
  padding: 90px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Reviews */
.reviews {
  padding: 90px 0;
  background: var(--cream-soft);
  border-top: 1px solid var(--brown-line);
  border-bottom: 1px solid var(--brown-line);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin: 0;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-card p {
  font-style: italic;
  color: var(--coffee-soft);
}

.review-card footer {
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--coffee);
}

/* Hours & Location */
.hours-location {
  padding: 90px 0;
}

.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.hl-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 24px;
}

.hours-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  max-width: 360px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--brown-line);
  font-weight: 700;
}

.hl-address {
  font-weight: 700;
  margin-bottom: 6px;
}

.hl-phone {
  display: inline-block;
  font-weight: 800;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 1.15rem;
  margin-bottom: 26px;
}

.hl-map {
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hl-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
}

/* Footer */
.site-footer {
  background: var(--coffee);
  color: var(--cream);
  padding: 56px 0 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  margin-right: auto;
}

.footer-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 6px;
}

.footer-brand p {
  margin: 10px 0 4px;
  color: rgba(255, 248, 236, 0.75);
}

.footer-brand a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 248, 236, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.footer-copy {
  text-align: center;
  color: rgba(255, 248, 236, 0.55);
  font-size: 0.8rem;
  margin: 20px 0 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 16, 8, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 40px 32px 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.modal h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.modal p {
  color: var(--coffee-soft);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--coffee-soft);
}

.modal-close:hover {
  color: var(--accent);
}

.modal-phone {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px;
}

.modal-phone:hover {
  background: var(--accent-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .hl-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--brown-line);
    display: none;
  }

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

  .nav-toggle {
    display: flex;
  }

  .order-btn--nav {
    display: none;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
