/* ==========================================================================
   Angles — Fine Dining Restaurant
   Modern / Minimal / Beige & Black / Gothic (Sans-serif)
   ========================================================================== */

:root{
  --color-bg: #f4efe6;          /* main beige background */
  --color-bg-soft: #ece4d6;     /* slightly deeper beige */
  --color-card: #ffffff;        /* card surface */
  --color-black: #171614;       /* point black */
  --color-black-2: #201f1c;
  --color-text: #23211d;
  --color-text-soft: #6b6459;
  --color-line: rgba(23, 22, 20, 0.12);
  --color-line-dark: rgba(244, 239, 228, 0.16);
  --color-cream: #f4efe4;
  --font-en: 'Poppins', 'Noto Sans KR', sans-serif;
  --font-kr: 'Noto Sans KR', 'Poppins', sans-serif;
  --container: 1180px;
  --header-h: 84px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-kr);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; }

::selection{ background: var(--color-black); color: #fff; }

/* Mobile-only line break, hidden on wider screens */
.br-mobile{ display: none; }

/* ---------- Preloader ---------- */
#preloader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--color-black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.loaded{ opacity: 0; visibility: hidden; }
.preloader-mark span{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 42px;
  color: var(--color-cream);
  letter-spacing: 4px;
  opacity: .85;
  animation: pulseMark 1.4s ease-in-out infinite;
}
@keyframes pulseMark{
  0%, 100%{ opacity: .35; transform: scale(0.94); }
  50%{ opacity: 1; transform: scale(1); }
}

/* ---------- Header ---------- */
#site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease, height .3s ease;
}
#site-header.scrolled{
  background: rgba(23, 22, 20, 0.94);
  backdrop-filter: blur(6px);
  height: 68px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.header-inner{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand{
  display: flex; align-items: center; gap: 10px;
  color: #f4efe4;
}
.brand-mark{ display: inline-flex; color: #f4efe4; }
.brand-name{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 2px;
  color: #f4efe4;
}
#main-nav ul{ display: flex; gap: 40px; }
#main-nav a{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #f4efe4;
  opacity: .85;
  position: relative;
  padding-bottom: 6px;
  transition: opacity .25s ease, color .25s ease;
}
#main-nav a:hover{ opacity: 1; }
#main-nav a::after{
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: #f4efe4;
  transition: width .3s ease;
}
#main-nav a:hover::after{ width: 100%; }
.nav-cta{
  border: 1px solid rgba(244,239,228,.5);
  padding: 8px 16px !important;
  border-radius: 2px;
}
.nav-cta:hover{ border-color: #f4efe4; }

#nav-toggle{
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; padding: 0;
}
#nav-toggle span{
  display: block; width: 100%; height: 1px;
  background: #f4efe4; transition: transform .3s ease, opacity .3s ease;
}
#nav-toggle.active span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
#nav-toggle.active span:nth-child(2){ opacity: 0; }
#nav-toggle.active span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

#mobile-nav{
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: rgba(23,22,20,.98);
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
  z-index: 999;
}
#mobile-nav.open{ max-height: 400px; }
#mobile-nav ul{ padding: 10px 28px 26px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
#mobile-nav a{
  color: #f4efe4; font-size: 15px; letter-spacing: .5px; font-weight: 500;
}

/* ---------- Layout helpers ---------- */
.section{ padding: 110px 0; position: relative; }
.section-dark{ background: var(--color-black); color: var(--color-cream); }
.section-inner{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.section-eyebrow{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-text-soft);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.section-eyebrow.center{ text-align: center; }
.section-eyebrow.small{ font-size: 11px; }
.section-dark .section-eyebrow{ color: rgba(244,239,228,.6); }

.section-title{
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.45;
  margin: 0 0 22px;
  letter-spacing: -0.3px;
}
.section-title.center{ text-align: center; }

.section-lead{
  max-width: 620px; margin: 0 auto 56px;
  text-align: center;
  color: var(--color-text-soft);
  line-height: 1.85;
  font-size: 15.5px;
}
.section-dark .section-lead{ color: rgba(244,239,228,.7); }

/* reveal animation */
[data-reveal]{
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].in-view{ opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-outline{
  border-color: rgba(244,239,228,.8);
  color: #f4efe4;
  background: transparent;
}
.btn-outline:hover{
  background: #f4efe4;
  border-color: #f4efe4;
  color: var(--color-black);
}
.btn-solid{
  width: 100%;
  border: 1px solid var(--color-black);
  background: var(--color-black);
  color: #fff;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 600;
}
.btn-solid:hover{ background: #000; border-color: #000; }
.btn-solid:disabled{ opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
#hero{
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  filter: saturate(0.9) brightness(0.95);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom{
  from{ transform: scale(1.05); }
  to{ transform: scale(1.14); }
}
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,22,20,.5) 0%, rgba(23,22,20,.32) 45%, rgba(23,22,20,.72) 100%);
}
.hero-content{ position: relative; z-index: 1; padding: 0 24px; }
.hero-eyebrow{
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 12px;
  color: rgba(244,239,228,.85);
  margin: 0 0 20px;
}
.hero-title{
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 118px);
  letter-spacing: 4px;
  margin: 0 0 22px;
}
.hero-sub{
  font-family: var(--font-kr);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,.92);
  margin: 0 0 42px;
  line-height: 1.6;
}
.hero-btn{ margin: 0 auto; }

.hero-scroll{
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 11px; letter-spacing: 2px; font-weight: 500;
  z-index: 1;
}
.scroll-line{
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.8), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::after{
  content: '';
  position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: #f4efe4;
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}

/* ---------- About ---------- */
.about-grid{
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 70px; align-items: center;
}
.about-image img{
  width: 100%; height: 520px; object-fit: cover;
  filter: saturate(0.92);
}
.about-text{ text-align: center; }
.about-desc{
  color: var(--color-text-soft);
  line-height: 1.9;
  font-size: 15.5px;
  margin: 0 0 20px;
}
.about-info{
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--color-line);
  align-items: center;
}
.info-item{ display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.info-item i{ color: var(--color-black); font-size: 17px; }
.info-item strong{ display: block; font-size: 14px; margin-bottom: 2px; font-weight: 700; }
.info-item span{ font-size: 13.5px; color: var(--color-text-soft); }

/* ---------- Menu / Course ---------- */
.course-list{ max-width: 860px; margin: 0 auto; }
.course-item{
  display: grid;
  grid-template-columns: 60px 1fr 140px;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
}
.course-num{
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 24px;
  color: rgba(244,239,228,.55);
  text-align: center;
}
.course-body{ text-align: center; }
.course-body h3{
  font-family: var(--font-kr);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}
.course-body p{
  color: rgba(244,239,228,.72);
  line-height: 1.8;
  font-size: 14.5px;
  margin: 0;
}
.course-item img{
  width: 140px; height: 105px; object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.9);
}
.course-divider{ display: flex; justify-content: center; }
.course-divider span{
  width: 100%; height: 1px;
  background: rgba(244,239,228,.15);
}

.beverage-wrap{
  max-width: 720px; margin: 90px auto 0;
  padding-top: 64px;
  border-top: 1px solid rgba(244,239,228,.15);
  text-align: center;
}
.beverage-list{ margin-top: 28px; }
.beverage-row{
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(244,239,228,.1);
}
.beverage-row:last-child{ border-bottom: none; }
.beverage-name{
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-cream);
}
.beverage-note{
  display: block;
  font-size: 11px;
  letter-spacing: .3px;
  color: rgba(244,239,228,.5);
  font-family: var(--font-kr);
  margin-top: 4px;
}
.beverage-desc{
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244,239,228,.68);
}
.menu-note{
  margin-top: 56px;
  font-size: 12px;
  color: rgba(244,239,228,.42);
}

/* ---------- Chef ---------- */
.chef-grid{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 56px;
}
.chef-card{
  background: var(--color-card);
  border: 1px solid var(--color-line);
  text-align: center;
}
.chef-photo{ overflow: hidden; height: 360px; }
.chef-photo img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  filter: saturate(0.92);
}
.chef-card:hover .chef-photo img{ transform: scale(1.05); }
.chef-info{ padding: 30px 32px 38px; display: flex; flex-direction: column; align-items: center; }
.chef-role{
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--color-text-soft);
  letter-spacing: 1.5px;
  font-size: 11.5px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.chef-name{
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 16px;
}
.chef-desc{
  color: var(--color-text-soft);
  line-height: 1.85;
  font-size: 14.5px;
  margin: 0;
  max-width: 340px;
}

/* ---------- Gallery ---------- */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
}
.gallery-item{ overflow: hidden; height: 280px; }
.gallery-item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: saturate(0.9);
}
.gallery-item:hover img{ transform: scale(1.06); filter: saturate(1); }

/* ---------- Reservation ---------- */
.reservation-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.reservation-info{ text-align: center; }
.reservation-notes{ display: flex; flex-direction: column; gap: 12px; margin: 28px 0; align-items: center; }
.reservation-notes li{
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--color-text-soft); line-height: 1.7;
  text-align: left; max-width: 420px;
}
.reservation-notes i{ color: var(--color-black); margin-top: 4px; font-size: 12px; }
.reservation-contact{
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 20px;
}
.reservation-contact i{ color: var(--color-black); }

.reservation-form{
  background: var(--color-card);
  border: 1px solid var(--color-line);
  padding: 42px;
}
.form-row{ margin-bottom: 18px; text-align: center; }
.form-row label{
  display: block; font-size: 13px; margin-bottom: 8px;
  letter-spacing: .2px; color: var(--color-text-soft); font-weight: 500;
  text-align: center;
}
.form-row input,
.form-row textarea{ text-align: left; }
.form-row select{ text-align: center; text-align-last: center; }
.form-row input,
.form-row select,
.form-row textarea{
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-size: 14.5px;
  color: var(--color-text);
  border-radius: 1px;
  transition: border-color .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline: none;
  border-color: var(--color-black);
}
.form-row textarea{ resize: vertical; }
.form-row-split{
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-message{
  margin: 14px 0 0;
  font-size: 13.5px;
  min-height: 18px;
  text-align: center;
}
.form-message.success{ color: #3f6b3f; }
.form-message.error{ color: #9a3f3f; }

/* ---------- Location ---------- */
.location-grid{
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 56px; align-items: stretch;
}
.location-info{ text-align: center; }
.location-item{
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(244,239,228,.12);
  text-align: center;
}
.location-item:last-child{ border-bottom: none; }
.location-item i{ color: rgba(244,239,228,.85); font-size: 16px; margin-top: 3px; width: 20px; }
.location-item strong{ display: block; margin-bottom: 4px; font-size: 14.5px; font-weight: 700; }
.location-item span{ font-size: 14px; color: rgba(244,239,228,.68); line-height: 1.7; }
.location-map{ min-height: 380px; border: 1px solid rgba(244,239,228,.15); }
.location-map iframe{ width: 100%; height: 100%; min-height: 380px; filter: grayscale(0.15) contrast(1.05); }

/* ---------- Footer ---------- */
#site-footer{
  background: var(--color-black-2);
  color: rgba(244,239,228,.7);
  padding: 56px 0 32px;
  text-align: center;
}
.footer-inner{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.footer-brand{ justify-content: center; margin-bottom: 16px; }
.footer-address{ font-size: 13px; margin: 0 0 20px; }
.footer-social{ display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; }
.footer-social a{
  width: 38px; height: 38px;
  border: 1px solid rgba(244,239,228,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, color .25s ease;
}
.footer-social a:hover{ border-color: rgba(244,239,228,.8); }
.footer-copy{ font-size: 11.5px; color: rgba(244,239,228,.4); margin: 0; }

/* ---------- To top ---------- */
#to-top{
  position: fixed; right: 26px; bottom: 26px; z-index: 500;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-black);
  color: #f4efe4;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
#to-top.visible{ opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .about-grid, .reservation-grid, .location-grid{
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .chef-grid{ grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .about-image img{ height: 340px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  #main-nav{ display: none; }
  #nav-toggle{ display: flex; }
}

@media (max-width: 720px){
  .br-mobile{ display: inline; }
  .section{ padding: 80px 0; }
  .section-title{ font-size: 27px; }
  .hero-title{ letter-spacing: 2px; }
  .hero-sub{ font-size: 16px; }
  .course-item{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .course-item img{ width: 100%; height: 180px; order: -1; }
  .course-num{ font-size: 20px; }
  .beverage-row{ gap: 4px; }
  .form-row-split{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-item{ height: 180px; }
  .reservation-form{ padding: 28px 22px; }
  .location-map, .location-map iframe{ min-height: 280px; }
}
