/* ===== Editorial Coffee Shop - CSS ===== */

/* ===== CSS Variables ===== */
:root {
  --paper: #F8EEDC;
  --espresso: #2A140E;
  --coffee: #6F4E37;
  --caramel: #B97845;
  --gold: #C99A5B;
  --ink: #1E120D;
  --beige: #E8D3B9;
  --cream-light: #FDF6EC;
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Caveat', cursive;
  
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Utility Classes ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* LTR Isolation for Numbers & Prices */
[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.label-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coffee);
}

.label-line {
  width: 40px;
  height: 1px;
  background: var(--coffee);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid var(--ink);
  transition: var(--transition);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--coffee);
  border-color: var(--coffee);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-text {
  padding: 0;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--coffee);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-text:hover {
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--beige);
  padding: 16px 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
}

.logo-sub {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--coffee);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-btn {
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--ink);
  background: transparent;
  transition: var(--transition);
}

.lang-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: var(--transition);
}

/* ===== Hero Section - Editorial ===== */
.hero {
  min-height: 100vh;
  padding: 100px 24px 60px;
  background: var(--paper);
  position: relative;
}

.hero-masthead {
  max-width: 1100px;
  margin: 0 auto 60px;
  text-align: center;
}

.masthead-line {
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
}

.masthead-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 4px 0;
}

.masthead-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coffee);
}

.masthead-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-left {
  padding-right: 40px;
}

.hero-dateline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.divider-dot {
  width: 6px;
  height: 6px;
  background: var(--coffee);
  border-radius: 50%;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--beige);
}

.hero-lead {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--coffee);
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coffee);
}

.meta-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.meta-divider {
  width: 1px;
  height: 40px;
  background: var(--beige);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-right {
  position: relative;
}

.hero-figure {
  position: relative;
}

.figure-frame {
  position: relative;
  border: 1px solid var(--ink);
  padding: 12px;
  background: var(--cream-light);
}

.figure-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: sepia(10%);
}

.figure-caption {
  position: absolute;
  bottom: -40px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--coffee);
}

.caption-line {
  width: 60px;
  height: 1px;
  background: var(--coffee);
}

.coffee-stain {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.08;
}

.coffee-stain-1 {
  width: 150px;
  height: 150px;
  top: -30px;
  right: -30px;
  background: radial-gradient(circle, var(--coffee) 0%, transparent 70%);
  border: 2px solid var(--coffee);
}

.coffee-stain-2 {
  width: 200px;
  height: 200px;
  bottom: 100px;
  left: -50px;
  background: radial-gradient(circle, var(--coffee) 0%, transparent 70%);
  border: 2px solid var(--coffee);
}

/* ===== About Section ===== */
.about {
  padding: 120px 0;
  background: var(--paper);
  border-top: 1px solid var(--beige);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 32px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--coffee);
  margin-bottom: 48px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  margin-bottom: 40px;
}

.stat-block {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coffee);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--beige);
}

.about-images {
  position: relative;
}

.about-figure {
  position: relative;
}

.about-figure-main {
  border: 1px solid var(--ink);
  padding: 12px;
  background: var(--cream-light);
}

.about-figure-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  filter: sepia(10%);
}

.figure-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
}

.figure-corner-tl {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}

.figure-corner-br {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}

.about-figure-small {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  border: 1px solid var(--ink);
  padding: 8px;
  background: var(--cream-light);
  box-shadow: 8px 8px 0 var(--beige);
}

.about-figure-small img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: sepia(10%);
}

.about-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--ink);
  color: var(--paper);
  padding: 20px;
  text-align: center;
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== Menu Section - Printed Menu Style ===== */
.menu {
  padding: 120px 0;
  background: var(--cream-light);
  border-top: 1px solid var(--beige);
  position: relative;
}

.menu-header {
  text-align: center;
  margin-bottom: 60px;
}

.menu-header-ornament {
  font-size: 1.5rem;
  color: var(--coffee);
  margin: 16px 0;
}

.menu-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0;
}

.menu-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--coffee);
  max-width: 500px;
  margin: 0 auto;
}

.menu-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coffee);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.filter-divider {
  color: var(--beige);
  font-weight: 300;
}

.menu-content {
  max-width: 800px;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 60px;
}

.menu-category.hidden {
  display: none;
}

.category-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
}

.category-line {
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: var(--beige);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--beige);
  transition: var(--transition);
}

.menu-item.hidden {
  display: none;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.5);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.item-content {
  flex: 1;
}

.item-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.item-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--beige);
  margin-bottom: 6px;
}

.item-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--caramel);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.item-desc {
  font-size: 0.95rem;
  color: var(--coffee);
  line-height: 1.6;
}

.item-image {
  flex-shrink: 0;
}

.item-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--beige);
  filter: sepia(10%);
}

.menu-footer {
  text-align: center;
  margin-top: 60px;
}

.menu-footer-line {
  height: 1px;
  background: var(--beige);
  max-width: 200px;
  margin: 0 auto 16px;
}

.menu-footer-note {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--coffee);
}

/* ===== Gallery Section - Scrapbook Wall ===== */
.gallery {
  padding: 120px 0;
  background: var(--paper);
  border-top: 1px solid var(--beige);
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: 80px;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0;
}

.gallery-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--coffee);
}

.scrapbook {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(4, 120px);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.scrapbook-item {
  position: relative;
  transition: transform 0.4s ease;
}

.scrapbook-item:hover {
  z-index: 10;
}

.scrapbook-item-1 {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  transform: rotate(-3deg);
}

.scrapbook-item-2 {
  grid-column: 5 / 9;
  grid-row: 1 / 4;
  transform: rotate(2deg);
}

.scrapbook-item-3 {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
  transform: rotate(-2deg);
}

.scrapbook-item-4 {
  grid-column: 1 / 5;
  grid-row: 3 / 5;
  transform: rotate(2deg);
}

.scrapbook-item-5 {
  grid-column: 5 / 9;
  grid-row: 4 / 6;
  transform: rotate(-3deg);
}

.scrapbook-item-6 {
  grid-column: 9 / 13;
  grid-row: 3 / 5;
  transform: rotate(1deg);
}

.scrapbook-item:hover {
  transform: rotate(0deg) scale(1.05);
}

.photo-frame {
  background: var(--cream-light);
  padding: 10px 10px 40px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(15%) contrast(1.05);
}

.photo-caption {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--coffee);
  white-space: nowrap;
}

/* Tape effect */
.tape {
  position: absolute;
  width: 60px;
  height: 20px;
  background: rgba(200, 180, 150, 0.6);
  z-index: 2;
}

.tape-left {
  top: -10px;
  left: 20px;
  transform: rotate(-5deg);
}

.tape-right {
  top: -10px;
  right: 20px;
  transform: rotate(5deg);
}

.tape-center {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Pin effect */
.pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--caramel);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===== Hours Section - Printed Sign ===== */
.hours {
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
}

.hours-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hours-sign {
  text-align: center;
}

.sign-border {
  border: 2px solid var(--paper);
  padding: 8px;
}

.sign-inner {
  border: 1px solid rgba(248, 238, 220, 0.3);
  padding: 48px 40px;
}

.sign-ornament {
  font-size: 1.5rem;
  color: var(--gold);
  margin: 16px 0;
}

.sign-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.sign-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 16px 0 24px;
}

.sign-divider {
  width: 60px;
  height: 1px;
  background: rgba(248, 238, 220, 0.3);
  margin: 24px auto;
}

.hours-list {
  text-align: left;
}

.hours-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(248, 238, 220, 0.1);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}

.hours-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(248, 238, 220, 0.3);
  margin-bottom: 4px;
}

.hours-time {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}

.hours-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(248, 238, 220, 0.2);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(248, 238, 220, 0.05);
  border-color: var(--gold);
}

.feature-icon-wrap {
  flex-shrink: 0;
}

.feature-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.feature-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.9rem;
  color: rgba(248, 238, 220, 0.7);
}

/* ===== Testimonials Section - Cafe Notes ===== */
.testimonials {
  padding: 120px 0;
  background: var(--beige);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0;
}

.testimonials-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--coffee);
}

.notes-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.note-card {
  position: relative;
  background: var(--cream-light);
  padding: 32px 28px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.note-card-1 {
  transform: rotate(-2deg);
}

.note-card-2 {
  transform: rotate(1deg) translateY(20px);
}

.note-card-3 {
  transform: rotate(-1deg);
}

.note-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.note-featured {
  background: var(--paper);
  border: 1px solid var(--ink);
}

.note-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--caramel);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.note-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.note-quote {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--beige);
  position: absolute;
  top: 20px;
  left: 20px;
}

.note-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--coffee);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.note-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-rating {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.note-author {
  font-style: normal;
}

.note-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.note-author span {
  font-size: 0.85rem;
  color: var(--coffee);
}

/* ===== FAQ Section - Folded Menu Style ===== */
.faq {
  padding: 120px 0;
  background: var(--paper);
  border-top: 1px solid var(--beige);
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0;
}

.faq-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--coffee);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--beige);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  padding-left: 8px;
}

.faq-number {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 30px;
}

.faq-text {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--coffee);
  transition: var(--transition);
}

.faq-icon svg {
  width: 100%;
  height: 100%;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 0 28px 50px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--coffee);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== Contact Section - Postcard Style ===== */
.contact {
  padding: 120px 0;
  background: var(--cream-light);
  border-top: 1px solid var(--beige);
}

.postcard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  max-width: 900px;
  margin: 0 auto;
}

.postcard-left {
  padding: 48px;
  position: relative;
}

.postcard-stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 70px;
  height: 80px;
  border: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream-light);
}

.stamp-text {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

.stamp-year {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--caramel);
}

.postcard-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 24px;
}

.postcard-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--coffee);
  margin-bottom: 32px;
}

.postcard-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coffee);
}

.detail-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

.postcard-divider {
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--ink) 0,
    var(--ink) 8px,
    transparent 8px,
    transparent 16px
  );
}

.postcard-right {
  padding: 48px;
}

.contact-form-wrapper {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--beige);
  background: var(--cream-light);
  color: var(--ink);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.form-success.show {
  opacity: 1;
  visibility: visible;
}

.success-check {
  width: 60px;
  height: 60px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--coffee);
  margin-bottom: 16px;
}

.form-success p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--coffee);
}

/* ===== Footer ===== */
.footer {
  background: var(--espresso);
  color: var(--paper);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-logo .logo-text {
  color: var(--paper);
}

.footer-logo .logo-sub {
  color: var(--gold);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(248, 238, 220, 0.7);
  max-width: 280px;
}

.footer-nav h4,
.footer-hours h4,
.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-nav ul,
.footer-hours ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-hours li {
  font-size: 0.95rem;
  color: rgba(248, 238, 220, 0.7);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248, 238, 220, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.social-links svg {
  width: 18px;
  height: 18px;
  color: var(--paper);
}

.footer-bottom {
  text-align: center;
}

.footer-line {
  height: 1px;
  background: rgba(248, 238, 220, 0.1);
  margin-bottom: 24px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(248, 238, 220, 0.5);
}

/* ===== Mobile Styles ===== */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: var(--transition);
    border-left: 1px solid var(--beige);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
  
  .hamburger {
    display: flex;
    z-index: 1001;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  
  .hero-editorial {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .hero-left {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-divider {
    justify-content: center;
  }
  
  .hero-meta {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .figure-caption {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-column-left {
    text-align: center;
  }
  
  .about-stats {
    justify-content: center;
  }
  
  .about-figure-small {
    right: -20px;
    bottom: -20px;
  }
  
  .hours-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .notes-board {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .note-card {
    transform: none !important;
  }
  
  .postcard {
    grid-template-columns: 1fr;
  }
  
  .postcard-divider {
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(
      to right,
      var(--ink) 0,
      var(--ink) 8px,
      transparent 8px,
      transparent 16px
    );
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .masthead-content {
    flex-direction: column;
    gap: 8px;
  }
  
  .masthead-title {
    font-size: 1rem;
  }
  
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .scrapbook {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }
  
  .scrapbook-item {
    grid-column: auto !important;
    grid-row: auto !important;
    transform: none !important;
  }
  
  .scrapbook-item:hover {
    transform: scale(1.02) !important;
  }
  
  .hours-features {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-desc {
    margin: 0 auto;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-nav a:hover {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding-top: 80px;
  }
  
  .hero-masthead {
    margin-bottom: 40px;
  }
  
  .figure-frame img {
    height: 350px;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .stat-divider {
    width: 50px;
    height: 1px;
  }
  
  .menu-item {
    flex-direction: column-reverse;
    gap: 16px;
  }
  
  .item-image img {
    width: 100%;
    height: 150px;
  }
  
  .postcard-left,
  .postcard-right {
    padding: 32px 24px;
  }
  
  .postcard-stamp {
    display: none;
  }
}

/* ===== RTL Support ===== */
[dir="rtl"] {
  .hero-left {
    padding-right: 0;
    padding-left: 40px;
  }
  
  .nav-links a::after {
    left: auto;
    right: 0;
  }
  
  .faq-answer p {
    padding-left: 0;
    padding-right: 50px;
  }
  
  .footer-nav a:hover {
    padding-left: 0;
    padding-right: 8px;
  }
  
  .faq-question:hover {
    padding-left: 0;
    padding-right: 8px;
  }
  
  .menu-item:hover {
    padding-left: 0;
    padding-right: 16px;
    margin-left: 0;
    margin-right: -16px;
  }
  
  .postcard-stamp {
    right: auto;
    left: 24px;
  }
}

@media (max-width: 992px) {
  [dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--beige);
  }
  
  [dir="rtl"] .nav-links.active {
    left: 0;
  }
  
  [dir="rtl"] .hero-left {
    padding-left: 0;
  }
}

/* ===== Animation Keyframes ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
