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

:root {
  --color-dark: #1a1a1a;
  --color-darker: #111111;
  --color-gold: #c9a84c;
  --color-gold-light: #e8d5a3;
  --color-white: #ffffff;
  --color-gray: #888888;
  --color-gray-light: #cccccc;
  --color-gray-bg: #f5f5f3;
  --font-serif: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;
  --font-sans: 'Montserrat', 'Noto Sans KR', sans-serif;
  --header-h: 80px;
  --fixed-bar-h: 64px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: var(--fixed-bar-h);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

/* ===== Typography ===== */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-dark);
}

.section-title em {
  font-style: italic;
  color: var(--color-gold);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin-top: 16px;
  max-width: 560px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-ko {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

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

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.nav-list > li > a:hover { color: var(--color-gold); }

.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(--color-white);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(17, 17, 17, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
}

.mobile-nav a:hover { color: var(--color-gold); }

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/IMG_134220E18487E185A9E186A8E18489E185A1.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.55) 0%,
    rgba(17, 17, 17, 0.35) 50%,
    rgba(17, 17, 17, 0.75) 100%
  );
}

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

.hero-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  font-family: 'Noto Serif KR', var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}

.hero-title em {
  display: block;
  font-style: italic;
  font-size: 0.65em;
  color: var(--color-gold-light);
  margin-top: 8px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 24px 0 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* ===== About ===== */
.about {
  padding: 120px 0;
  background: var(--color-white);
}

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

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-gold);
  z-index: -1;
}

.about-content .section-desc { margin-bottom: 32px; }

.about-list { margin-bottom: 40px; }

.about-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  font-size: 0.92rem;
  color: #444;
  border-bottom: 1px solid #eee;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: var(--color-gold);
}

.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 4px;
}

.btn-read:hover { color: var(--color-gold); border-color: var(--color-gold); }

/* ===== Services ===== */
.services {
  padding: 120px 0;
  background: var(--color-gray-bg);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-desc { margin: 16px auto 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: card;
}

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

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

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--transition);
}

.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.5) 100%);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-card .en-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ===== Breed Info ===== */
.breed-info {
  padding: 120px 0;
  background: var(--color-darker);
  color: var(--color-white);
}

.breed-info .section-label { color: var(--color-gold); }
.breed-info .section-title { color: var(--color-white); }
.breed-info .section-desc { color: rgba(255, 255, 255, 0.6); }

.breed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.breed-item {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition);
}

.breed-item:hover { border-color: var(--color-gold); }

.breed-item h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.breed-item .en {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.breed-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.breed-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 2px;
}

.breed-link:hover { color: var(--color-gold-light); border-color: var(--color-gold-light); }

/* ===== FAQ ===== */
.faq {
  padding: 120px 0;
  background: var(--color-white);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 4px 0;
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-dark);
  padding: 20px 32px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--color-gold);
  font-weight: 300;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  padding: 0 0 24px;
}

.faq-item a {
  color: var(--color-gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
}

.faq-item a:hover { color: var(--color-dark); }

/* ===== Sub Pages ===== */
.sub-hero {
  padding: 160px 0 80px;
  background: var(--color-darker);
  color: var(--color-white);
  text-align: center;
}

.sub-hero .breadcrumb {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.sub-hero .breadcrumb a { color: var(--color-gold); }
.sub-hero .breadcrumb a:hover { color: var(--color-gold-light); }

.sub-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.sub-hero .sub-en {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.article {
  padding: 80px 0 120px;
  background: var(--color-white);
}

.article-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 48px 0 16px;
  color: var(--color-dark);
}

.article-inner h2:first-of-type { margin-top: 0; }

.article-inner p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 16px;
}

.article-inner ul {
  margin: 16px 0 24px 20px;
  list-style: disc;
}

.article-inner li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--color-gray-bg);
  text-align: center;
}

.article-cta p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.related-links {
  padding: 60px 0;
  background: var(--color-gray-bg);
  border-top: 1px solid #e8e8e8;
}

.related-links h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 24px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.related-grid a {
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #ddd;
  background: var(--color-white);
  transition: all var(--transition);
}

.related-grid a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-links-title {
  margin-top: 28px;
}

.footer-seo-links li {
  padding: 4px 0;
}

.footer-seo-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-seo-links a:hover { color: var(--color-gold); }

/* ===== Reviews ===== */
.reviews {
  padding: 120px 0;
  background: var(--color-white);
}

.reviews-header {
  text-align: center;
  margin-bottom: 64px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  padding: 40px 32px;
  background: var(--color-gray-bg);
  position: relative;
}

.review-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.review-text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

.review-course {
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ===== Gallery ===== */
.gallery {
  padding: 120px 0;
  background: var(--color-gray-bg);
}

.gallery-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(17, 17, 17, 0.8));
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-caption span {
  font-size: 0.8rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 16px;
  opacity: 0.7;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }

/* ===== Footer ===== */
.footer {
  background: var(--color-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand .logo-main { font-size: 1.6rem; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 400px;
}

.footer-contact h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.footer-contact li {
  font-size: 0.88rem;
  padding: 6px 0;
  display: flex;
  gap: 12px;
}

.footer-contact li strong {
  color: var(--color-white);
  font-weight: 500;
  min-width: 80px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-top {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}

.scroll-top:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark);
}

/* ===== Fixed Bottom Bar ===== */
.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  height: var(--fixed-bar-h);
  display: flex;
  background: var(--color-darker);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.fixed-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-white);
  transition: background var(--transition);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.fixed-bar a:last-child { border-right: none; }

.fixed-bar a:hover { background: rgba(201, 168, 76, 0.15); }

.fixed-bar a .icon {
  font-size: 1.1rem;
}

.fixed-bar a .en {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold-light);
  font-size: 0.75rem;
}

.fixed-bar a.primary {
  background: var(--color-gold);
  color: var(--color-dark);
}

.fixed-bar a.primary:hover {
  background: var(--color-gold-light);
}

.fixed-bar a.primary .en { color: var(--color-dark); opacity: 0.7; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --fixed-bar-h: 56px; }

  .nav-list { display: none; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .breed-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-btns { flex-direction: column; align-items: center; }

  .fixed-bar a {
    flex-direction: column;
    gap: 2px;
    font-size: 0.7rem;
    padding: 8px 4px;
  }

  .fixed-bar a .en { display: none; }
}
