/* 조형진의 일산갈비 — 기본 스타일 */

:root {
  --color-bg: #faf6f0;
  --color-bg-alt: #f1e8dc;
  --color-dark: #2b1a12;
  --color-brown: #4a2c1a;
  --color-accent: #c0392b;
  --color-gold: #b8860b;
  --color-text: #3a2a1e;
  --color-muted: #8a7867;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

h1, h2, h3 {
  color: var(--color-dark);
  margin: 0 0 0.5em;
}

section {
  padding: 4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.6rem auto 0;
}

.section-title p {
  color: var(--color-muted);
}

/* placeholder blocks for images not yet provided */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    var(--color-bg-alt),
    var(--color-bg-alt) 10px,
    #e7dbc9 10px,
    #e7dbc9 20px
  );
  color: var(--color-muted);
  font-size: 0.95rem;
  border-radius: 8px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
  color: #fff;
}

.site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #f1e8dc;
  text-decoration: none;
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* hero */
.hero {
  max-width: none;
  padding: 0;
  position: relative;
}

.hero-image {
  height: 60vh;
  min-height: 360px;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
}

.hero-text h1 {
  color: #fff;
  font-size: 2.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* about */
.about {
  text-align: center;
}

.about-body {
  max-width: 680px;
  margin: 0 auto;
  color: var(--color-text);
}

/* menu */
.menu-group {
  margin-bottom: 2.5rem;
}

.menu-group-title {
  font-size: 1.1rem;
  color: var(--color-accent);
  border-left: 4px solid var(--color-accent);
  padding-left: 0.6rem;
  margin-bottom: 1.2rem;
}

.menu-note {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(43, 26, 18, 0.08);
}

.menu-card .placeholder {
  height: 150px;
  border-radius: 0;
}

.menu-card-body {
  padding: 1rem 1.2rem 1.4rem;
}

.menu-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.menu-card-body .desc {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.menu-card-body .price {
  color: var(--color-accent);
  font-weight: 700;
}

/* branches */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.branch-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(43, 26, 18, 0.08);
}

.branch-card .placeholder {
  height: 160px;
  border-radius: 0;
}

.branch-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.branch-card-body {
  padding: 1.2rem;
}

.branch-card-body h3 {
  font-size: 1.1rem;
}

.branch-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  color: var(--color-text);
  font-size: 0.92rem;
}

.branch-card-body li {
  margin-bottom: 0.3rem;
}

.branch-card-body li strong {
  color: var(--color-muted);
  margin-right: 0.4rem;
}

/* notice */
.notice {
  background: var(--color-bg-alt);
  max-width: none;
}

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

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

.notice-item {
  border-bottom: 1px solid #e0d3bf;
}

.notice-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.9rem 0;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.notice-toggle .notice-title {
  flex: 1;
}

.notice-arrow {
  color: var(--color-accent);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.notice-toggle[aria-expanded="true"] .notice-arrow {
  transform: rotate(45deg);
}

.notice-content {
  padding: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.notice-date {
  color: var(--color-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

/* location */
.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.location-grid .placeholder {
  min-height: 280px;
}

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

.info-list li {
  margin-bottom: 0.8rem;
}

.info-list strong {
  display: inline-block;
  width: 84px;
  color: var(--color-muted);
}

/* partnership */
.partnership {
  text-align: center;
}

.partnership-box {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(43, 26, 18, 0.08);
  text-align: left;
}

form.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #ddccb4;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: #a5301f;
}

.partnership-note {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

/* footer */
.site-footer {
  background: var(--color-dark);
  color: #d8c9b6;
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-info p {
  margin: 0.2rem 0;
  font-size: 0.85rem;
}

.footer-sns {
  display: flex;
  gap: 0.8rem;
}

.footer-sns a {
  color: #d8c9b6;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid #59422f;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
}

.footer-sns a:hover {
  color: #fff;
  border-color: var(--color-gold);
}

.footer-copy {
  text-align: center;
  color: #8a7867;
  font-size: 0.8rem;
  margin-top: 1.5rem;
}

/* responsive */
@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
    display: none;
  }

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

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