/*
Theme Name: Hi-Cell Clinic Elementor
Theme URI: https://hicell.trend24.ai.kr
Description: Hi-Cell Clinic custom child theme based on Hello Elementor
Author: Hermes AI
Author URI: https://trend24.ai.kr
Template: hello-elementor
Version: 1.0.0
Text Domain: e-jinho-elementor
*/

/* ========== ROOT VARIABLES ========== */
:root {
  --primary-dark: #0f1628;
  --primary-blue: #1a2744;
  --accent-blue: #00B0F0;
  --accent-glow: rgba(0, 176, 240, 0.15);
  --gold: #C9A84C;
  --text-white: #ffffff;
  --text-light: #e0e6f0;
  --text-muted: #8896b0;
  --gradient-main: linear-gradient(135deg, #0f1628 0%, #1a2744 50%, #0f1628 100%);
}

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

body {
  background: var(--primary-dark);
  color: var(--text-light);
  font-family: 'Noto Sans KR', -apple-system, 'Malgun Gothic', sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ========== NAVIGATION ========== */
.e-jinho-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(15, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 176, 240, 0.1);
  padding: 0 5%;
}
.e-jinho-nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  height: 70px;
}
.e-jinho-logo { font-size: 1.3rem; font-weight: 700; color: var(--text-white); text-decoration: none; }
.e-jinho-logo span { color: var(--accent-blue); }
.e-jinho-nav-links { display: flex; gap: 32px; list-style: none; }
.e-jinho-nav-links a {
  color: var(--text-light); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.e-jinho-nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent-blue); transition: width 0.3s;
}
.e-jinho-nav-links a:hover { color: var(--accent-blue); }
.e-jinho-nav-links a:hover::after { width: 100%; }
.e-jinho-nav-cta {
  background: var(--accent-blue); color: white; border: none;
  padding: 10px 24px; border-radius: 6px; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.3s;
}
.e-jinho-nav-cta:hover { background: #0090c0; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,176,240,0.3); }
.e-jinho-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.e-jinho-hamburger span { width: 26px; height: 2px; background: var(--text-white); transition: all 0.3s; }

/* ========== HERO ========== */
.e-jinho-hero {
  min-height: 100vh; background: var(--gradient-main);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 120px 5% 80px;
}
.e-jinho-hero::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,176,240,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.e-jinho-hero::after {
  content: ''; position: absolute; bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.e-jinho-hero-content {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 2;
}
.e-jinho-hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800;
  color: var(--text-white); line-height: 1.3; margin-bottom: 24px;
}
.e-jinho-hero-text h1 .highlight-blue { color: var(--accent-blue); }
.e-jinho-hero-text h1 .highlight-gold { color: var(--gold); }
.e-jinho-hero-text p {
  font-size: 1.1rem; color: var(--text-muted);
  margin-bottom: 36px; line-height: 1.9; max-width: 540px;
}
.e-jinho-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent-blue); color: white; border: none;
  padding: 14px 36px; border-radius: 8px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #0090c0; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,176,240,0.3); }
.btn-outline {
  background: transparent; color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 14px 36px; border-radius: 8px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); transform: translateY(-2px); }
.hero-img-placeholder {
  width: 100%; max-width: 480px; aspect-ratio: 4/3;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,176,240,0.1), rgba(26,39,68,0.8));
  border: 1px solid rgba(0,176,240,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem; text-align: center; padding: 20px;
}
.hero-img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

/* ========== SECTION COMMON ========== */
.e-jinho-section { padding: 100px 5%; }
.e-jinho-section-inner { max-width: 1280px; margin: 0 auto; }
.section-label { display: inline-block; color: var(--accent-blue); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--text-white); margin-bottom: 16px; line-height: 1.3; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; line-height: 1.8; }
.section-title.center, .section-subtitle.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ========== PHILOSOPHY ========== */
.e-jinho-philosophy { background: #0a0f1e; }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.philosophy-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 32px 28px; transition: all 0.4s;
}
.philosophy-card:hover {
  background: rgba(0,176,240,0.05); border-color: rgba(0,176,240,0.2);
  transform: translateY(-4px);
}
.philosophy-card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,176,240,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.philosophy-card h3 { font-size: 1.1rem; color: var(--text-white); margin-bottom: 12px; }
.philosophy-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

/* ========== TREATMENTS ========== */
.e-jinho-treatments { background: var(--gradient-main); }
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.treatment-item {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 24px; text-align: center; transition: all 0.3s;
}
.treatment-item:hover { border-color: var(--accent-blue); background: rgba(0,176,240,0.04); }
.treatment-item .icon-t { font-size: 2rem; margin-bottom: 12px; }
.treatment-item h4 { font-size: 0.95rem; color: var(--text-white); margin-bottom: 8px; }
.treatment-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ========== DOCTOR ========== */
.e-jinho-doctor { background: #0a0f1e; }
.doctor-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.doctor-image .img-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,176,240,0.08), rgba(26,39,68,0.6));
  border: 1px solid rgba(0,176,240,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem; text-align: center; padding: 20px;
}
.doctor-image .img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.doctor-info h2 { font-size: 1.5rem; margin-bottom: 4px; }
.doctor-info .title-tag { color: var(--accent-blue); font-size: 0.95rem; margin-bottom: 20px; }
.doctor-info .desc { color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.doctor-info .edu-list { list-style: none; }
.doctor-info .edu-list li {
  color: var(--text-light); font-size: 0.92rem; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 8px;
}
.doctor-info .edu-list li::before { content: '▸'; color: var(--accent-blue); }

/* ========== CONTENT LINKS ========== */
.e-jinho-content-links { background: var(--gradient-main); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.content-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 32px; text-align: center; transition: all 0.4s;
  text-decoration: none; display: block;
}
.content-card:hover {
  background: rgba(0,176,240,0.05); border-color: rgba(0,176,240,0.2);
  transform: translateY(-4px);
}
.content-card .icon-big { font-size: 2.5rem; margin-bottom: 16px; }
.content-card h3 { font-size: 1.1rem; color: var(--text-white); margin-bottom: 8px; }
.content-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ========== CONTACT ========== */
.e-jinho-contact { background: #0a0f1e; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.contact-info-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04); align-items: center;
}
.contact-info-item .icon-c {
  font-size: 1.3rem; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,176,240,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .label { font-size: 0.85rem; color: var(--text-muted); }
.contact-info-item .value { font-size: 1rem; color: var(--text-white); font-weight: 500; }
.contact-info-item a.value { color: var(--accent-blue); text-decoration: none; }
.contact-info-item a.value:hover { text-decoration: underline; }
.contact-cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.btn-kakao {
  background: #FEE500; color: #000; border: none;
  padding: 14px 36px; border-radius: 8px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-kakao:hover { background: #f0d800; transform: translateY(-2px); }
.map-placeholder {
  width: 100%; aspect-ratio: 16/10; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,176,240,0.06), rgba(26,39,68,0.4));
  border: 1px solid rgba(0,176,240,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem;
  flex-direction: column; gap: 12px; text-align: center; padding: 20px;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* ========== FOOTER ========== */
.e-jinho-footer {
  background: #060a14; padding: 40px 5% 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-social a:hover { color: var(--accent-blue); }

/* ========== SCROLL ANIMATIONS ========== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .e-jinho-hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .e-jinho-hero-text p { margin: 0 auto 36px; }
  .e-jinho-hero-cta { justify-content: center; }
  .doctor-wrapper { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .e-jinho-nav-links {
    display: none; position: absolute; top: 70px; left: 0; width: 100%;
    background: rgba(15,22,40,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px 5%; gap: 16px;
    border-bottom: 1px solid rgba(0,176,240,0.1);
  }
  .e-jinho-nav-links.active { display: flex; }
  .e-jinho-hamburger { display: flex; }
  .e-jinho-nav-cta { display: none; }
  .philosophy-grid, .treatments-grid, .content-grid { grid-template-columns: 1fr; }
  .e-jinho-section { padding: 60px 5%; }
  .e-jinho-hero { padding: 100px 5% 60px; }
}

/* Logo image */
.e-jinho-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .e-jinho-logo img {
    max-height: 32px;
  }
}
/* Kakao Channel & Map buttons */
.map-placeholder a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
