/* ============================================
   NEWDAY FILM — Global Styles
   수정 포인트: 색상, 폰트, 레이아웃 변수
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #f2f6f7;
  --color-surface: #151410;
  --color-text: #000000;
  --color-muted: #8a8070;
  --color-accent: #c9a96e;
  --color-accent-light: #e8d4a8;
  --color-border: rgba(201, 169, 110, 0.2);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-height: 80px;
  --max-width: 1200px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

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

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

/* ============================================
   NAVIGATION
   수정: 로고명, 메뉴 항목
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: #f2f6f7;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
  /* 데스크탑: 1280px 고정 */
  width: 1280px;
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.nav__logo span {
  color: var(--color-accent);
}

.nav__links {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav__links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-accent-light);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-accent-light);
  transition: var(--transition);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 13, 11, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  transition: color var(--transition);
}

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

.nav__mobile-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-muted);
}

/* ============================================
   FOOTER
   수정: 이메일, 전화번호, 주소, SNS 링크
   ============================================ */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.footer__copy {
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

.footer__newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
}

.footer__newsletter input {
  background: transparent;
  border: 1px solid var(--color-border);
  border-right: none;
  padding: 10px 18px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  outline: none;
  width: 220px;
  transition: border-color var(--transition);
}

.footer__newsletter input::placeholder {
  color: var(--color-muted);
}

.footer__newsletter input:focus {
  border-color: var(--color-accent);
}

.footer__newsletter button {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 10px 20px;
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

.footer__newsletter button:hover {
  background: var(--color-accent-light);
}

.footer__insta {
  font-size: 0.65rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

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

/* ============================================
   PAGE WRAPPER
   데스크탑: 1280px 고정 유지
   모바일: 화면 너비에 맞게 전환
   ============================================ */
.page-wrapper {
  padding-top: var(--nav-height);
  min-height: 100vh;
  width: 1280px;
  margin: 0 auto;
}

/* ============================================
   GOLDEN DIVIDER
   ============================================ */
.divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 24px auto;
}

.divider--left {
  margin-left: 0;
}

/* ============================================
   RESPONSIVE
   1280px 미만: nav + page-wrapper 를 화면 너비에 맞게 전환
   768px 미만: 모바일 메뉴, 푸터 세로 배치 등 추가 조정
   ============================================ */
@media (max-width: 1280px) {
  .nav {
    width: 100%;
    padding: 0 32px;
  }

  .page-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  .footer {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__newsletter {
    align-items: flex-start;
    width: 100%;
  }

  .footer__newsletter-form {
    width: 100%;
  }

  .footer__newsletter input {
    flex: 1;
    width: auto;
  }
}
