/* Design System: Organic Earthy Theme for Jeju Ocarina Maker */
:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #F3EFE9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --accent-clay: #C07A50; /* Terracotta clay color */
  --accent-clay-hover: #A05F36;
  --accent-forest: #3E5A47; /* Jeju nature green */
  --accent-ocean: #4B6E7D; /* Jeju blue ocean */
  --text-main: #2C2623; /* Warm dark charcoal */
  --text-muted: #6B615A; /* Muted stone gray */
  --font-family-serif: 'Playfair Display', Georgia, serif;
  --font-family-sans: 'Outfit', 'Noto Sans KR', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 16px;
  --border-color: rgba(192, 122, 80, 0.15);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-clay);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-clay-hover);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 122, 80, 0.08);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 15px 8%;
  background: rgba(250, 248, 245, 0.95);
  box-shadow: 0 10px 30px rgba(44, 38, 35, 0.05);
}

.logo {
  font-family: var(--font-family-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-clay);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  font-size: 14px;
  font-family: var(--font-family-sans);
  font-weight: 400;
  color: var(--text-muted);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-clay);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--accent-clay);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(250, 248, 245, 0.95) 35%, rgba(250, 248, 245, 0.3) 70%, rgba(250, 248, 245, 0.9) 100%), url('images/ocarina.jpg') no-repeat center center/cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-forest);
  background: rgba(62, 90, 71, 0.08);
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-family-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-title span {
  color: var(--accent-clay);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 35px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--accent-clay);
  color: #fff;
  border: none;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(192, 122, 80, 0.25);
  transition: var(--transition-smooth);
}

.btn:hover {
  background-color: var(--accent-clay-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(192, 122, 80, 0.35);
}

/* Sections General */
section {
  padding: 120px 8%;
  position: relative;
  z-index: 2;
}

.section-header {
  margin-bottom: 70px;
  text-align: center;
}

.section-subtitle {
  color: var(--accent-clay);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-family-serif);
  font-size: 38px;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--accent-clay);
}

/* Profile / About Section */
.about-section {
  background-color: var(--bg-secondary);
}

.profile-container {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 70px;
  align-items: center;
}

.profile-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(44, 38, 35, 0.12);
  border: 1px solid var(--border-color);
  aspect-ratio: 3/4;
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.profile-image-wrapper:hover img {
  transform: scale(1.04);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.profile-quote {
  font-family: var(--font-family-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--accent-clay);
  border-left: 3px solid var(--accent-clay);
  padding-left: 20px;
  margin-bottom: 10px;
}

.profile-bio {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
}

.profile-intro-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 10px 0;
}

.profile-intro-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.profile-intro-item i {
  color: var(--accent-clay);
  margin-top: 5px;
  font-size: 16px;
}

.profile-intro-text {
  font-size: 15.5px;
  color: var(--text-main);
  font-weight: 500;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.detail-item {
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(44, 38, 35, 0.02);
  transition: var(--transition-smooth);
}

.detail-item:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 122, 80, 0.4);
  background: #fff;
  box-shadow: 0 15px 35px rgba(192, 122, 80, 0.08);
}

.detail-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-forest);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  font-weight: 600;
}

.detail-value {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 600;
}

/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.philosophy-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-smooth);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(192, 122, 80, 0.08);
  border-color: rgba(192, 122, 80, 0.4);
}

.philosophy-icon {
  width: 70px;
  height: 70px;
  background: rgba(192, 122, 80, 0.08);
  color: var(--accent-clay);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 25px auto;
  font-size: 28px;
  transition: var(--transition-smooth);
}

.philosophy-card:hover .philosophy-icon {
  background: var(--accent-clay);
  color: #fff;
  transform: rotateY(180deg);
}

.philosophy-title {
  font-family: var(--font-family-serif);
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.philosophy-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Products/Ocarina Grid */
.products-section {
  background-color: var(--bg-secondary);
}

.ocarina-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
}

.ocarina-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.ocarina-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 38, 35, 0.08);
  border-color: rgba(192, 122, 80, 0.35);
}

.ocarina-img-container {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #eae5df;
}

.ocarina-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eae5df 0%, #e2dcd5 100%);
  color: var(--accent-clay);
  font-size: 40px;
  transition: var(--transition-smooth);
}

.ocarina-card:hover .ocarina-img-placeholder {
  transform: scale(1.05);
}

.ocarina-card-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ocarina-type {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-forest);
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ocarina-name {
  font-family: var(--font-family-serif);
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 12px;
}

.ocarina-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ocarina-tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ocarina-tag {
  background: rgba(75, 110, 125, 0.08);
  color: var(--accent-ocean);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

/* Contact / Inquiries Section */
.contact-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(44, 38, 35, 0.05);
}

.contact-text {
  text-align: center;
  margin-bottom: 35px;
  color: var(--text-muted);
  font-size: 15px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-clay);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(192, 122, 80, 0.2);
  color: var(--text-main);
  padding: 14px 18px;
  font-family: var(--font-family-sans);
  border-radius: 8px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-clay);
  box-shadow: 0 0 0 4px rgba(192, 122, 80, 0.08);
}

.submit-btn {
  width: 100%;
  background-color: var(--accent-clay);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(192, 122, 80, 0.2);
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background-color: var(--accent-clay-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(192, 122, 80, 0.3);
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent-forest);
  color: #fff;
  padding: 16px 28px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
footer {
  padding: 50px 8%;
  text-align: center;
  background: #2C2623;
  color: #D3C9C2;
  font-size: 14px;
}

footer p {
  margin-bottom: 12px;
}

.footer-decor {
  font-family: var(--font-family-serif);
  color: var(--accent-clay);
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.footer-socials a {
  color: #A3968E;
  text-decoration: none;
  font-size: 20px;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  color: var(--accent-clay);
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .profile-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 5%;
  }
  header.scrolled {
    padding: 12px 5%;
  }
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 0 5%;
  }
  .hero-title {
    font-size: 36px;
  }
  section {
    padding: 80px 5%;
  }
  .contact-container {
    padding: 30px 20px;
  }
}
