/*
Theme Name: EDØ - Edible Design & Zero Waste
Theme URI: https://edo-cafe.jp
Description: 北欧ミニマルデザインのサステナブルカフェブランド「EDØ」のカスタムWordPressテーマ
Version: 1.0.0
Author: EDØ Team
Author URI: https://edo-cafe.jp
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edo-cafe
Domain Path: /languages
*/

/* ============================================
   EDØ Design System - Color Palette
   ============================================ */

:root {
  /* Primary: Deep Forest Green - Environment & Trust */
  --primary: #2C3E2F;
  --primary-foreground: #FAFAF8;
  
  /* Secondary: Warm Taupe - Natural Materials */
  --secondary: #D4A574;
  --secondary-foreground: #1A1A18;
  
  /* Accent: Pale Sage - Softness & Hope */
  --accent: #E8F0E8;
  --accent-foreground: #2C3E2F;
  
  /* Base Colors */
  --background: #FAFAF8;
  --foreground: #1A1A18;
  --card: #FAFAF8;
  --card-foreground: #1A1A18;
  
  /* Muted: Warm Gray */
  --muted: #9B9B95;
  --muted-foreground: #1A1A18;
  
  /* Divider & Border */
  --border: #E8E8E3;
  --input: #E8E8E3;
  --ring: #2C3E2F;
  
  /* Destructive */
  --destructive: #D97706;
  --destructive-foreground: #FAFAF8;
}

/* ============================================
   Typography
   ============================================ */

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--foreground);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.8;
}

small {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

blockquote {
  font-family: 'Lora', serif;
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-style: italic;
  font-size: 1.125rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: rgba(44, 62, 47, 0.8);
}

/* ============================================
   Layout & Container
   ============================================ */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

/* ============================================
   Components
   ============================================ */

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: rgba(44, 62, 47, 0.9);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 165, 116, 0.3), transparent);
  margin: 3rem 0;
}

/* Section Spacing */
.section-spacing {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .section-spacing {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* Accent Underline */
.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

.accent-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================
   Animations
   ============================================ */

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

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
}

.scroll-animate.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ============================================
   Navigation
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--foreground);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: bold;
}

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================
   Footer
   ============================================ */

footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 3rem 0;
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .section-spacing {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* ============================================
   Utilities
   ============================================ */

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

.text-muted {
  color: var(--muted-foreground);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 4rem; }

.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-8 { padding-top: 4rem; padding-bottom: 4rem; }

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
