/* Sora Cast - Street-Level Japan */
/* Handwritten CSS - no frameworks, no utilities */

/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PT Serif', Georgia, serif;
  font-weight: 400;
  color: #2C3E50;
  background-color: #F7F9FC;
  line-height: 1.7;
  font-size: 17px;
}

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

a {
  color: #2C3E50;
  text-decoration: none;
}

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=PT+Serif:wght@400;700&display=swap');

/* === HEADER === */
#top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #2C3E50;
  z-index: 1000;
  padding: 0 24px;
}

#top-bar .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo a {
  color: #fff;
}

/* nav */
#main-nav {
  display: flex;
  align-items: center;
}

#main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 28px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

#main-nav a:hover {
  border-bottom-color: #FF6B6B;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* === HERO === */
.big-hero {
  background: #FF6B6B;
  padding: 120px 24px 80px;
  text-align: center;
  margin-top: 60px;
}

.big-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 20px;
}

.big-hero .sub {
  font-family: 'PT Serif', serif;
  font-size: 20px;
  color: #2C3E50;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === PAGE HEADER === */
.page-header {
  background: #FF6B6B;
  padding: 100px 24px 60px;
  text-align: center;
  margin-top: 60px;
}

.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 16px;
}

.page-header .sub {
  font-family: 'PT Serif', serif;
  font-size: 18px;
  color: #2C3E50;
  max-width: 600px;
  margin: 0 auto;
}

/* === MAIN CONTENT === */
.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content-wrap h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 48px 0 20px;
  line-height: 1.3;
}

.content-wrap h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 36px 0 14px;
}

.content-wrap p {
  margin-bottom: 20px;
  color: #2C3E50;
  font-size: 17px;
  line-height: 1.75;
}

.content-wrap a {
  color: #E74C3C;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-wrap a:hover {
  color: #FF6B6B;
}

.content-wrap ul,
.content-wrap ol {
  margin: 0 0 20px 24px;
  color: #2C3E50;
}

.content-wrap li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.content-wrap strong {
  font-weight: 700;
  color: #2C3E50;
}

/* === ARTICLE IMAGES === */
.article-img {
  margin: 36px auto;
  display: block;
}

.article-img img {
  width: 100%;
  border-radius: 0;
}

.article-img .caption {
  font-family: 'PT Serif', serif;
  font-size: 14px;
  color: #566573;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* desktop: 80% width */
@media (min-width: 768px) {
  .article-img {
    width: 80%;
  }
}

/* === STORY CARDS (homepage) === */
.story-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.story-card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.story-card.reverse {
  flex-direction: row-reverse;
}

.story-card .card-text {
  flex: 1;
}

.story-card .card-img {
  flex: 1;
}

.story-card .card-img img {
  width: 100%;
  display: block;
}

.story-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #2C3E50;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.story-card p {
  font-size: 16px;
  color: #566573;
  line-height: 1.7;
  margin-bottom: 16px;
}

.story-card .read-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #E74C3C;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.story-card .read-link:hover {
  color: #FF6B6B;
}

/* === CTA BUTTON === */
.go-btn {
  display: inline-block;
  background: #FF6B6B;
  color: #2C3E50 !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 0;
  text-decoration: none;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.go-btn:hover {
  background: #E74C3C;
  color: #fff !important;
}

/* === INTRO BLOCK === */
.intro-block {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 20px;
  text-align: center;
}

.intro-block p {
  font-size: 20px;
  line-height: 1.8;
  color: #2C3E50;
  font-style: italic;
}

/* === NEIGHBORHOOD CARDS === */
.hood-card {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #D5D8DC;
}

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

.hood-meta {
  background: #FFFFFF;
  border: 1px solid #D5D8DC;
  padding: 20px 24px;
  margin: 24px 0;
}

.hood-meta p {
  margin-bottom: 8px;
  font-size: 15px;
}

.hood-meta p:last-child {
  margin-bottom: 0;
}

/* === CONTACT FORM === */
.contact-form {
  max-width: 600px;
}

.form-row {
  margin-bottom: 24px;
}

.form-row label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2C3E50;
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D5D8DC;
  font-family: 'PT Serif', serif;
  font-size: 16px;
  color: #2C3E50;
  background: #FFFFFF;
  border-radius: 0;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #FF6B6B;
}

.form-row textarea {
  min-height: 160px;
  resize: vertical;
}

/* === COOKIE BANNER === */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2C3E50;
  color: #AEB6BF;
  padding: 20px 24px;
  z-index: 2000;
  display: none;
  font-size: 15px;
}

#cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cookie-inner p {
  flex: 1;
  min-width: 250px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  border-radius: 0;
}

.cookie-btn.yes {
  background: #FF6B6B;
  color: #2C3E50;
}

.cookie-btn.no {
  background: transparent;
  color: #AEB6BF;
  border: 1px solid #566573;
}

.cookie-btn.settings {
  background: #566573;
  color: #fff;
}

/* === COOKIE MODAL === */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

#cookie-modal.show {
  display: flex;
}

.modal-box {
  background: #F7F9FC;
  max-width: 480px;
  width: 100%;
  padding: 36px;
}

.modal-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: #2C3E50;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #D5D8DC;
}

.toggle-row:last-of-type {
  border-bottom: none;
}

.toggle-row .toggle-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2C3E50;
}

.toggle-row .toggle-desc {
  font-size: 14px;
  color: #566573;
  margin-top: 4px;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #D5D8DC;
  border-radius: 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.toggle-switch.on {
  background: #FF6B6B;
}

.toggle-switch.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.2s;
}

.toggle-switch.on::after {
  left: 25px;
}

.modal-close {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 28px;
  background: #FF6B6B;
  color: #2C3E50;
  border: none;
  cursor: pointer;
  margin-top: 24px;
}

/* === FOOTER === */
#site-footer {
  background: #2C3E50;
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  min-width: 260px;
}

.footer-left .logo {
  margin-bottom: 20px;
}

.footer-left p {
  color: #AEB6BF;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.footer-left a {
  color: #AEB6BF;
}

.footer-left a:hover {
  color: #FF6B6B;
}

.footer-right {
  flex: 1;
  min-width: 260px;
}

.footer-right h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #AEB6BF;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #AEB6BF;
}

.footer-links a:hover {
  color: #FF6B6B;
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #566573;
  text-align: center;
}

.footer-bottom p {
  color: #566573;
  font-size: 13px;
}

/* === UTILITY === */
.text-center {
  text-align: center !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #2C3E50;
    flex-direction: column;
    padding: 16px 24px 24px;
  }

  #main-nav.open {
    display: flex;
  }

  #main-nav a {
    margin: 0 0 12px 0;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #566573;
    width: 100%;
  }

  .big-hero {
    padding: 100px 20px 60px;
  }

  .big-hero h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .big-hero .sub {
    font-size: 17px;
  }

  .page-header {
    padding: 80px 20px 50px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  .content-wrap {
    padding: 40px 20px;
  }

  .content-wrap h2 {
    font-size: 22px;
  }

  .story-card {
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 50px;
  }

  .story-card .card-img,
  .story-card .card-text {
    flex: none;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }

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

  body {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .big-hero h1 {
    font-size: 26px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .content-wrap h2 {
    font-size: 20px;
  }
}
