/* ========================================
   Food Premium Design - 당일로스팅원두
   파소파소커피 (cappucraft.coffeedatanote.com)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --coffee-dark: #1a0e0a;
  --coffee-brown: #3c1a0b;
  --coffee-mid: #6b3a2a;
  --coffee-light: #8b6914;
  --cream: #f5e6d3;
  --cream-light: #faf5ef;
  --gold: #d4a574;
  --gold-light: #e8c89e;
  --text-dark: #2c1810;
  --text-body: #4a3728;
  --text-light: #7a6555;
  --white: #ffffff;
  --shadow-soft: 0 4px 20px rgba(60, 26, 11, 0.08);
  --shadow-medium: 0 8px 40px rgba(60, 26, 11, 0.12);
  --shadow-strong: 0 16px 60px rgba(60, 26, 11, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream-light);
  color: var(--text-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.fp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 14, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 0 2rem;
  transition: var(--transition);
}

.fp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.fp-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.fp-nav-logo img {
  height: 40px;
  width: auto;
}

.fp-nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.fp-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.fp-nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.fp-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.fp-nav-links a:hover { color: var(--gold); }
.fp-nav-links a:hover::after { width: 100%; }

.fp-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.fp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee-brown) 50%, var(--coffee-mid) 100%);
  overflow: hidden;
}

.fp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 165, 116, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(139, 105, 20, 0.1) 0%, transparent 50%);
}

.fp-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.fp-hero h1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.fp-hero .fp-subtitle {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.fp-hero .fp-cta-btn {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--coffee-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
}

.fp-hero .fp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 165, 116, 0.6);
}

.fp-hero-img {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 45%;
  max-width: 500px;
  opacity: 0.25;
  border-radius: var(--radius-lg);
}

/* ===== SECTIONS ===== */
.fp-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.fp-section-dark {
  background: var(--coffee-dark);
  color: var(--cream);
  max-width: 100%;
  padding: 6rem 2rem;
}

.fp-section-dark .fp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.fp-section-title h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.fp-section-dark .fp-section-title h2 {
  color: var(--cream);
}

.fp-section-title p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.fp-section-dark .fp-section-title p {
  color: var(--gold-light);
}

/* ===== FEATURES GRID ===== */
.fp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fp-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(212, 165, 116, 0.1);
}

.fp-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.fp-feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.fp-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.fp-feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== IMAGE GALLERY ===== */
.fp-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.fp-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-medium);
}

.fp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.fp-gallery-item.fp-gallery-wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* ===== INFO CARDS ===== */
.fp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}

.fp-info-card {
  background: rgba(245, 230, 211, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
}

.fp-info-card:hover {
  background: rgba(245, 230, 211, 0.12);
  border-color: rgba(212, 165, 116, 0.4);
}

.fp-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.fp-info-card p {
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* ===== FAQ SECTION ===== */
.fp-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.fp-faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(212, 165, 116, 0.1);
}

.fp-faq-q {
  padding: 1.5rem 2rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.fp-faq-q:hover { background: rgba(245, 230, 211, 0.3); }

.fp-faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: var(--transition);
}

.fp-faq-item.active .fp-faq-q::after {
  transform: rotate(45deg);
}

.fp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.fp-faq-item.active .fp-faq-a {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

.fp-faq-a p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== CONTACT / CTA ===== */
.fp-contact {
  background: linear-gradient(135deg, var(--coffee-brown) 0%, var(--coffee-dark) 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--cream);
}

.fp-contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.fp-contact p {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.fp-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

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

/* ===== FOOTER ===== */
.fp-footer {
  background: var(--coffee-dark);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(212, 165, 116, 0.15);
}

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

.fp-footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ===== BLOG POST STYLES ===== */
.fp-post-content {
  max-width: 800px;
  margin: 100px auto 4rem;
  padding: 0 2rem;
}

.fp-post-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.fp-post-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coffee-brown);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold-light);
}

.fp-post-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--coffee-mid);
  margin: 2rem 0 0.8rem;
}

.fp-post-content p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
  color: var(--text-body);
}

.fp-post-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-medium);
}

.fp-post-content ul, .fp-post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-body);
}

.fp-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.fp-post-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--coffee-mid);
}

.fp-post-content .fp-highlight-box {
  background: linear-gradient(135deg, var(--cream) 0%, rgba(212, 165, 116, 0.15) 100%);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.fp-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.fp-post-content th {
  background: var(--coffee-brown);
  color: var(--cream);
  padding: 1rem;
  font-weight: 600;
  text-align: left;
}

.fp-post-content td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}

.fp-post-content tr:nth-child(even) {
  background: rgba(245, 230, 211, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .fp-nav-links { display: none; }
  .fp-mobile-toggle { display: block; }

  .fp-nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 14, 10, 0.98);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .fp-hero h1 { font-size: 2.2rem; }
  .fp-hero .fp-subtitle { font-size: 1rem; }
  .fp-features { grid-template-columns: 1fr; }
  .fp-gallery { grid-template-columns: 1fr; }
  .fp-gallery-item.fp-gallery-wide { grid-column: span 1; }
  .fp-info-grid { grid-template-columns: 1fr; }
  .fp-section { padding: 4rem 1.5rem; }
  .fp-section-title h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .fp-hero h1 { font-size: 1.8rem; }
  .fp-feature-card { padding: 2rem 1.5rem; }
  .fp-post-content { margin-top: 80px; padding: 0 1rem; }
  .fp-post-content h1 { font-size: 1.6rem; }
}
