/* ==========================================================================
   AURORA COFFEE ROASTERS - Experiential Magazine Theme CSS
   ========================================================================== */

/* Design Tokens */
:root {
  --bg-color: #F7F5F2;
  --text-color: #2E2E2E;
  --accent-color: #8B5E3C;
  --sub-color: #D9C6B0;
  
  --board-bg: #362D24; /* Chalkboard dark brown */
  --board-text: #F1ECE6;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-slow: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.9;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-light {
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-small {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 25px;
}

.section-padding {
  padding: 160px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 90px 0;
  }
  .container {
    padding: 0 20px;
  }
}

.text-center { text-align: center; }
.text-underline { text-decoration: underline; text-underline-offset: 4px; }

/* Global Section Headers */
.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  color: var(--accent-color);
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
}

.section-desc {
  color: rgba(46, 46, 46, 0.7);
  max-width: 600px;
  margin: 0 auto 60px auto;
  font-size: 0.95rem;
}

/* Image Zoom and Transitions */
.image-zoom-wrap {
  overflow: hidden;
  position: relative;
}

.zoom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-zoom-wrap:hover .zoom-image {
  transform: scale(1.05);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 38px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  background-color: transparent;
  transition: var(--transition-normal);
}

.btn-shop {
  border-color: var(--accent-color);
  color: var(--accent-color);
  font-size: 0.8rem;
  padding: 8px 22px;
}

.btn-shop:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), visibility 1s;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  letter-spacing: 0.3em;
  color: var(--text-color);
  opacity: 0;
  transform: translateY(10px);
  animation: loaderFadeUp 1.2s forwards 0.3s;
}

.loader-sub {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  margin-top: 10px;
  color: var(--accent-color);
  opacity: 0;
  animation: loaderFadeUp 1.2s forwards 0.6s;
}

.loader-line {
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  margin: 30px auto 0 auto;
  animation: loaderLine 1.5s forwards 0.8s;
}

@keyframes loaderFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loaderLine {
  to { width: 100px; }
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-normal);
  padding: 30px 0;
}

.site-header.scrolled {
  background-color: rgba(247, 245, 242, 0.95);
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.02);
  padding: 18px 0;
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .header-container { padding: 0 20px; }
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--accent-color);
  margin-top: 3px;
}

/* Navigation Links */
.nav-menu {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-list a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  position: relative;
  padding: 5px 0;
  color: rgba(46, 46, 46, 0.7);
}

.nav-list a:hover {
  color: var(--text-color);
}

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

.nav-list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

/* Responsive Header */
@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }
  .hamburger {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--text-color);
    position: relative;
    transition: var(--transition-fast);
  }
  .hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 1px;
    background-color: var(--text-color);
    left: 0;
    transition: var(--transition-fast);
  }
  .hamburger::before { top: -7px; }
  .hamburger::after { top: 7px; }

  .nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
  }
  .nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  .nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    transition: var(--transition-normal);
    padding: 120px 40px;
    display: flex;
    flex-direction: column;
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 25px;
  }
  .nav-list a {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
  }
  .header-right {
    display: none;
  }
}

/* ==========================================================================
   1. Opening Visual Section
   ========================================================================== */
.opening-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

/* Steam Animation */
.steam-wrapper {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.steam-cup {
  position: relative;
  color: var(--accent-color);
}

.cup-icon {
  width: 48px;
  height: 48px;
}

.steam-steam {
  position: absolute;
  top: -24px;
  left: 10px;
  width: 28px;
  height: 25px;
  display: flex;
  justify-content: space-between;
}

.steam-line {
  width: 1px;
  height: 100%;
  background-color: var(--accent-color);
  opacity: 0;
  border-radius: 50%;
  animation: steamRise 3.5s infinite ease-in-out;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 1.2s; }
.line-3 { animation-delay: 2.2s; }

@keyframes steamRise {
  0% {
    transform: translateY(12px) scaleX(1);
    opacity: 0;
  }
  15% {
    opacity: 0.25;
  }
  50% {
    transform: translateY(-5px) translateX(3px) scaleX(1.5);
    opacity: 0.15;
  }
  100% {
    transform: translateY(-20px) translateX(-4px) scaleX(0.5);
    opacity: 0;
  }
}

.opening-copy {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
}

.opening-sub-copy {
  font-size: 1.05rem;
  letter-spacing: 0.25em;
  margin-bottom: 60px;
  color: rgba(46, 46, 46, 0.7);
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
}

/* Opening Info Grid */
.opening-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 800px;
  width: 100%;
  border-top: 1px solid rgba(46, 46, 46, 0.1);
  padding-top: 30px;
  opacity: 0;
  transform: translateY(20px);
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  text-transform: uppercase;
}

.info-val {
  font-size: 0.9rem;
  color: rgba(46, 46, 46, 0.85);
}

.scroll-down-arrow {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background-color: rgba(46, 46, 46, 0.15);
  overflow: hidden;
}

.scroll-line {
  width: 100%;
  height: 15px;
  background-color: var(--accent-color);
  position: absolute;
  top: -15px;
  animation: scrollArrowMove 2.5s infinite ease-in-out;
}

@keyframes scrollArrowMove {
  0% { top: -15px; }
  60%, 100% { top: 50px; }
}

@media (max-width: 768px) {
  .opening-copy { font-size: 2.8rem; }
  .opening-sub-copy { font-size: 0.9rem; margin-bottom: 40px; }
  .opening-info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 20px;
  }
}

/* First Fold Fade In Animations */
.opening-section .fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.opening-section .opening-copy { transition-delay: 0.2s; }
.opening-section .opening-sub-copy { transition-delay: 0.4s; }
.opening-section .opening-info-grid { transition-delay: 0.6s; }


/* ==========================================================================
   2. Today’s Coffee Section
   ========================================================================== */
.column-layout-magazine {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.magazine-column-left {
  display: flex;
  flex-direction: column;
}

.magazine-main-title {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.coffee-bag-visual {
  height: 480px;
}

.coffee-profile-card {
  padding-left: 20px;
}

.profile-header {
  border-bottom: 1px solid rgba(46, 46, 46, 0.1);
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.origin-tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  text-transform: uppercase;
}

.coffee-origin-name {
  font-size: 2.4rem;
  font-weight: 300;
  margin: 5px 0;
}

.coffee-origin-jp {
  font-size: 0.9rem;
  color: rgba(46, 46, 46, 0.6);
  letter-spacing: 0.1em;
}

.coffee-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.coffee-specs-list li {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.coffee-specs-list li strong {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--accent-color);
  margin-bottom: 3px;
}

.coffee-specs-list li span {
  color: rgba(46, 46, 46, 0.85);
  line-height: 1.7;
}

.profile-price-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(46, 46, 46, 0.1);
  padding-top: 25px;
}

.profile-price {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-color);
}

.profile-price small {
  font-size: 0.9rem;
  color: rgba(46, 46, 46, 0.6);
}

@media (max-width: 991px) {
  .column-layout-magazine {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .coffee-bag-visual {
    height: 380px;
  }
  .coffee-profile-card {
    padding-left: 0;
  }
}


/* ==========================================================================
   3. Morning / Afternoon / Night Section
   ========================================================================== */
.scenes-section {
  padding-right: 0;
}

.scenes-horizontal-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE */
  padding: 20px 40px;
  scroll-snap-type: x mandatory;
}

.scenes-horizontal-container::-webkit-scrollbar {
  display: none; /* Webkit */
}

.scenes-track {
  display: flex;
  gap: 40px;
  width: max-content;
}

.scene-panel {
  width: 420px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.scene-image {
  height: 520px;
  position: relative;
  margin-bottom: 25px;
}

.scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-time {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 0.95rem;
  padding: 8px 20px;
  letter-spacing: 0.1em;
}

.scene-title-jp {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.scene-desc-jp {
  font-size: 0.85rem;
  color: rgba(46, 46, 46, 0.75);
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.scene-recommend {
  font-size: 0.8rem;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator-wrap {
  margin-top: 40px;
}

.scroll-helper-text {
  font-size: 0.75rem;
  color: rgba(46, 46, 46, 0.4);
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .scenes-horizontal-container {
    padding: 10px 20px;
  }
  .scene-panel {
    width: 300px;
  }
  .scene-image {
    height: 380px;
  }
}


/* ==========================================================================
   4. Menu Board Section
   ========================================================================== */
.menu-board-section {
  background-color: var(--bg-color);
}

.blackboard-frame {
  background-color: #2b221a; /* Wood frame color */
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), inset 0 2px 8px rgba(255, 255, 255, 0.05);
}

.blackboard-surface {
  background-color: var(--board-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 40px;
  color: var(--board-text);
  position: relative;
}

.blackboard-surface::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed rgba(241, 236, 230, 0.15);
  pointer-events: none;
}

.board-sub {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: var(--sub-color);
  text-transform: uppercase;
  display: block;
}

.board-main {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

.board-divider {
  width: 80px;
  height: 1px;
  background-color: rgba(241, 236, 230, 0.2);
  margin: 25px auto 45px auto;
}

.board-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px;
  margin-bottom: 50px;
}

.board-col-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sub-color);
  border-bottom: 1px solid rgba(241, 236, 230, 0.1);
  padding-bottom: 10px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.board-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.board-menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.item-name {
  color: rgba(241, 236, 230, 0.9);
}

.item-name small {
  color: rgba(241, 236, 230, 0.5);
  margin-left: 5px;
}

.item-price {
  font-family: var(--font-serif);
  color: var(--sub-color);
}

.blackboard-footer {
  border-top: 1px solid rgba(241, 236, 230, 0.15);
  padding-top: 25px;
}

.blackboard-footer p {
  font-size: 0.8rem;
  color: rgba(241, 236, 230, 0.5);
}

@media (max-width: 768px) {
  .blackboard-surface { padding: 40px 20px; }
  .board-sections-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .board-main { font-size: 2.2rem; }
}


/* ==========================================================================
   5. Roasting Story Section
   ========================================================================== */
.timeline-story {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 80px;
  position: relative;
}

/* Visual timeline line in background */
.timeline-story::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: rgba(46, 46, 46, 0.1);
  z-index: 1;
}

.story-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.story-block .story-visual {
  height: 400px;
}

.story-block .story-text {
  padding: 0 40px;
}

.step-num {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--sub-color);
  display: block;
  margin-bottom: 15px;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.step-desc {
  font-size: 0.9rem;
  color: rgba(46, 46, 46, 0.8);
  text-align: justify;
}

@media (max-width: 991px) {
  .timeline-story::before { display: none; }
  .story-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-block .story-visual {
    height: 300px;
  }
  .story-block:nth-child(even) .story-visual {
    order: 1;
  }
  .story-block:nth-child(even) .story-text {
    order: 2;
  }
  .story-block .story-text {
    padding: 0;
  }
}


/* ==========================================================================
   6. Space Section (Floor Plan)
   ========================================================================== */
.space-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.space-floorplan-visual {
  background-color: #F0EDE8;
  padding: 40px;
  border-radius: 2px;
}

.floorplan-title {
  font-size: 1.3rem;
  margin-bottom: 25px;
  letter-spacing: 0.1em;
}

.floorplan-svg {
  width: 100%;
  height: auto;
}

/* Floor Zones interactive styles */
.floor-zone {
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.floor-zone rect {
  transition: fill-opacity 0.3s, fill 0.3s, stroke-width 0.3s;
}

.floor-zone:hover rect, .floor-zone:focus rect {
  fill-opacity: 0.35;
  stroke-width: 2px;
}

.floor-zone.active rect {
  fill-opacity: 0.5;
  stroke-width: 2.2px;
  stroke: var(--accent-color);
}

.floorplan-caption {
  font-size: 0.75rem;
  color: rgba(46, 46, 46, 0.4);
  margin-top: 25px;
}

/* Description block */
.space-details-container {
  min-height: 480px;
  position: relative;
}

.space-detail-pane {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.space-detail-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.detail-visual {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 25px;
}

.space-tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 500;
}

.space-name {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 5px 0 15px 0;
}

.space-description {
  font-size: 0.9rem;
  color: rgba(46, 46, 46, 0.8);
  margin-bottom: 20px;
}

.space-recommend {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .space-interactive-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .space-floorplan-visual {
    padding: 20px;
  }
}


/* ==========================================================================
   7. Signature Items Section
   ========================================================================== */
.signatures-large-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 80px;
}

.sig-large-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.sig-large-row.inverted {
  grid-template-columns: 0.85fr 1.15fr;
}

.sig-large-visual {
  height: 520px;
}

.sig-large-content {
  padding: 0 20px;
}

.sig-num {
  font-size: 2.2rem;
  color: var(--sub-color);
  display: block;
  margin-bottom: 10px;
}

.sig-title {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.sig-desc {
  font-size: 0.9rem;
  color: rgba(46, 46, 46, 0.8);
  margin-bottom: 25px;
  text-align: justify;
}

.sig-price {
  font-size: 1.4rem;
  color: var(--accent-color);
  font-weight: 500;
}

@media (max-width: 991px) {
  .signatures-large-list { gap: 80px; }
  .sig-large-row, .sig-large-row.inverted {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sig-large-visual {
    height: 360px;
  }
  .sig-large-content {
    padding: 0;
  }
}


/* ==========================================================================
   8. Visit Guide Section
   ========================================================================== */
.guide-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 65px;
}

.guide-card {
  background-color: #F0EDE8;
  padding: 40px;
  border-radius: 2px;
}

.guide-card-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--accent-color);
  letter-spacing: 0.05em;
}

.guide-card p {
  font-size: 0.85rem;
  color: rgba(46, 46, 46, 0.8);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .guide-info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .guide-card {
    padding: 30px 20px;
  }
}


/* ==========================================================================
   9. Journal Section
   ========================================================================== */
.journal-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.journal-card {
  display: flex;
  flex-direction: column;
}

.journal-img {
  height: 240px;
  margin-bottom: 25px;
}

.journal-date {
  font-size: 0.9rem;
  color: var(--accent-color);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

.journal-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.5;
}

.journal-excerpt {
  font-size: 0.85rem;
  color: rgba(46, 46, 46, 0.7);
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
}

.read-more {
  font-size: 0.8rem;
  color: var(--text-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text-color);
  width: fit-content;
  padding-bottom: 2px;
}

.read-more:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 991px) {
  .journal-list-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .journal-img {
    height: 300px;
  }
}


/* ==========================================================================
   10. Access Section
   ========================================================================== */
.access-section {
  background-color: #F0EDE8;
}

.access-magazine-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.route-tag {
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 6px 15px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.route-text {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 35px;
  line-height: 1.8;
}

.access-meta-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-top: 1px solid rgba(46, 46, 46, 0.1);
  padding-top: 30px;
}

.access-meta-list p {
  font-size: 0.85rem;
  color: rgba(46, 46, 46, 0.8);
}

.access-meta-list p strong {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.access-map-visual {
  height: 480px;
  background-color: var(--sub-color);
}

@media (max-width: 991px) {
  .access-magazine-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .access-map-visual {
    height: 320px;
  }
}


/* ==========================================================================
   11. Footer Section
   ========================================================================== */
.site-footer {
  background-color: var(--text-color);
  color: #ffffff;
  padding: 100px 0 45px 0;
  font-size: 0.85rem;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 0.15em;
  line-height: 1.1;
  margin-bottom: 2px;
}

.footer-logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--sub-color);
  margin-bottom: 25px;
}

.footer-concept {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-links-grid {
  display: flex;
  gap: 80px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  color: #ffffff;
}

.footer-link-col ul {
  list-style: none;
}

.footer-link-col li {
  margin-bottom: 12px;
}

.footer-link-col a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-link-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.footer-legal {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal a:hover {
  color: #ffffff;
}

@media (max-width: 991px) {
  .footer-layout {
    flex-direction: column;
    gap: 50px;
  }
  .footer-links-grid {
    gap: 40px;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .footer-links-grid {
    flex-direction: column;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-legal {
    gap: 20px;
  }
}


/* ==========================================================================
   Scroll Trigger Animations
   ========================================================================== */
.scroll-trigger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1), transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-trigger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Contact Modal Styling
   ========================================================================== */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  padding: 20px;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
}

.contact-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 46, 46, 0.6);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  background-color: var(--bg-color);
  width: 100%;
  max-width: 550px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 50px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  margin: auto;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-modal.open .modal-card {
  opacity: 1;
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text-color);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

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

.modal-title {
  font-size: 1.8rem;
  margin: 5px 0 10px 0;
  font-weight: 400;
}

.modal-desc {
  font-size: 0.85rem;
  color: rgba(46, 46, 46, 0.7);
  margin-bottom: 30px;
}

/* Modal Form control */
.contact-modal .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.contact-modal label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-modal input, .contact-modal textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(46, 46, 46, 0.15);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 12px 15px;
  outline: none;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.contact-modal input:focus, .contact-modal textarea:focus {
  border-color: var(--accent-color);
}

.contact-modal .required {
  color: var(--accent-color);
  margin-left: 2px;
}

.contact-modal .btn-submit {
  width: 100%;
  max-width: 220px;
  background-color: var(--btn-color);
  color: #ffffff;
  margin-top: 10px;
  font-size: 0.8rem;
  padding: 12px 30px;
}

.contact-modal .btn-submit:hover {
  background-color: var(--btn-hover-color);
}

@media (max-width: 576px) {
  .modal-card {
    padding: 40px 20px;
  }
  .modal-title {
    font-size: 1.5rem;
  }
}
