/* =============================================
   CORAJOYHARBR — Nordic Café Design System
   ============================================= */

/* --- CSS Variables --- */
:root {
  --bg-primary: #f8f5f2;
  --bg-secondary: #efeae4;
  --coffee-dark: #6f4e37;
  --coffee-light: #8b5e3c;
  --caramel: #d4a373;
  --caramel-light: #e6b98c;
  --green: #7c9a92;
  --green-light: #a8c3b0;
  --text-primary: #2f2f2f;
  --text-secondary: #6b7280;
  --white: #ffffff;
  --shadow-soft: 0 2px 20px rgba(111,78,55,0.08);
  --shadow-card: 0 4px 30px rgba(111,78,55,0.1);
  --shadow-hover: 0 8px 40px rgba(111,78,55,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: 100px 0;
}

.center {
  text-align: center;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

em {
  font-style: italic;
  color: var(--coffee-dark);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

.section-header {
  margin-bottom: 60px;
}

.section-footer {
  margin-top: 50px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(111,78,55,0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(111,78,55,0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--coffee-dark);
  border: 2px solid rgba(111,78,55,0.2);
}

.btn-secondary:hover {
  border-color: var(--coffee-dark);
  background: rgba(111,78,55,0.05);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--coffee-dark);
  border: 2px solid var(--coffee-dark);
}

.btn-outline:hover {
  background: var(--coffee-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.header.scrolled,
.header-solid {
  background: rgba(248, 245, 242, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  padding: 12px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coffee-dark);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--coffee-dark), var(--caramel));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--coffee-dark);
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-light));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(111,78,55,0.25);
}

.nav-cta:hover {
  box-shadow: 0 6px 25px rgba(111,78,55,0.35);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--coffee-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Panel */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1002;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.mobile-panel.active {
  right: 0;
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(111,78,55,0.1);
}

.mobile-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--coffee-dark);
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 8px;
}

.mobile-nav-link {
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(111,78,55,0.08);
  color: var(--coffee-dark);
}

.mobile-nav-cta {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-light));
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroParallax 20s ease-in-out infinite alternate;
}

@keyframes heroParallax {
  0% { transform: scale(1.05) translateY(0); }
  100% { transform: scale(1.1) translateY(-20px); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(47,47,47,0.3) 0%,
    rgba(47,47,47,0.5) 50%,
    rgba(47,47,47,0.7) 100%
  );
}

.hero-steam {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.steam {
  position: absolute;
  width: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  filter: blur(6px);
  animation: steamRise 3s ease-in-out infinite;
}

.steam.s1 {
  left: -15px;
  height: 40px;
  animation-delay: 0s;
  animation-duration: 3.5s;
}

.steam.s2 {
  left: 5px;
  height: 50px;
  animation-delay: 0.8s;
  animation-duration: 3s;
}

.steam.s3 {
  left: 25px;
  height: 35px;
  animation-delay: 1.5s;
  animation-duration: 4s;
}

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(0) scaleX(1);
  }
  50% {
    opacity: 0.6;
    transform: translateY(-60px) scaleX(1.5);
  }
  100% {
    opacity: 0;
    transform: translateY(-120px) scaleX(2);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--caramel-light);
  margin-bottom: 20px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title em {
  color: var(--caramel-light);
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.hero-ctas .btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--caramel-light);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-small {
  min-height: 300px;
  height: 35vh;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47,47,47,0.4) 0%, rgba(47,47,47,0.65) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.page-hero-title {
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.page-hero-title em {
  color: var(--caramel-light);
}

.page-hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

.page-hero-content .section-tag {
  color: var(--caramel-light);
}

/* =============================================
   INTRO SECTION
   ============================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text p {
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.intro-images {
  position: relative;
}

.intro-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.intro-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.intro-img-main:hover img {
  transform: scale(1.03);
}

.intro-img-secondary {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 4px solid var(--bg-primary);
}

.intro-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   MENU CARDS
   ============================================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.menu-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.menu-card-img {
  height: 220px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}

.menu-card-body {
  padding: 24px;
}

.menu-card-body h3 {
  margin-bottom: 8px;
}

.menu-card-body p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.menu-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--coffee-dark);
}

/* =============================================
   MENU LIST (menu page)
   ============================================= */
.menu-category {
  margin-bottom: 60px;
}

.menu-cat-title {
  font-size: 1.6rem;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(111,78,55,0.1);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.menu-list-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.menu-list-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.menu-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-list-info {
  flex: 1;
}

.menu-list-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.menu-list-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.menu-list-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--coffee-dark);
  flex-shrink: 0;
}

/* =============================================
   EXPERIENCE
   ============================================= */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.experience-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.experience-img:hover img {
  transform: scale(1.03);
}

.experience-content p {
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.experience-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.exp-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.exp-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.exp-feature h4 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}

.exp-feature p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-masonry {
  columns: 3;
  column-gap: 20px;
}

.gallery-full-masonry {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.tall img {
  min-height: 350px;
  object-fit: cover;
}

/* =============================================
   ABOUT
   ============================================= */
.about-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-text h2 {
  margin-bottom: 24px;
}

.about-story-text p {
  font-size: 1.02rem;
}

.about-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-story-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.value-card p {
  font-size: 0.9rem;
}

.about-sourcing {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-sourcing-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-sourcing-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-sourcing-text h2 {
  margin-bottom: 24px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: linear-gradient(135deg, var(--coffee-dark), var(--coffee-light));
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
}

.cta-box-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-box-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box-content h2 em {
  color: var(--caramel-light);
}

.cta-box-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.cta-box-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-box-actions .btn-primary {
  background: var(--white);
  color: var(--coffee-dark);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cta-box-actions .btn-primary:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.cta-box-actions .btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.cta-box-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.25);
}

.cta-box-img {
  position: relative;
}

.cta-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.3rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-item a {
  color: var(--coffee-dark);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-map {
  margin-top: 30px;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid rgba(111,78,55,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coffee-dark);
  box-shadow: 0 0 0 3px rgba(111,78,55,0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  margin-bottom: 10px;
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-content {
  line-height: 1.8;
}

.legal-updated {
  color: var(--caramel);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 36px 0 14px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.legal-content a {
  color: var(--coffee-dark);
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-secondary);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(111,78,55,0.1);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111,78,55,0.08);
  border-radius: 50%;
  color: var(--coffee-dark);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--coffee-dark);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--coffee-dark);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--coffee-dark);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom a {
  color: var(--coffee-dark);
  font-weight: 500;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .experience-img img {
    height: 350px;
  }
  
  .gallery-masonry,
  .gallery-full-masonry {
    columns: 2;
  }
  
  .about-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-story-img img {
    height: 300px;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-sourcing {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-box {
    grid-template-columns: 1fr;
  }
  
  .cta-box-img {
    height: 250px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .hero {
    min-height: 600px;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-masonry,
  .gallery-full-masonry {
    columns: 2;
    column-gap: 12px;
  }
  
  .gallery-item {
    margin-bottom: 12px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-box-content {
    padding: 40px 30px;
  }
  
  .contact-form-wrap {
    padding: 30px 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .intro-img-secondary {
    width: 130px;
    height: 130px;
    left: -15px;
    bottom: -25px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 550px;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 260px;
  }
  
  .gallery-masonry,
  .gallery-full-masonry {
    columns: 1;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .menu-list-item {
    flex-wrap: wrap;
  }
  
  .menu-list-price {
    width: 100%;
    text-align: right;
  }
}

/* =============================================
   UTILITIES
   ============================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}