/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES — GREEN NATURE THEME ===== */
:root {
  --green:        #3A7D44;   /* Main brand green – like logo */
  --green-light:  #5BA36B;
  --green-dark:   #265C30;
  --green-deep:   #163D1E;
  --green-pale:   #EEF6EF;   /* background tint */
  --green-mist:   #D4EBDA;
  --accent:       #7EC8A4;   /* soft sage accent */
  --white:        #FFFFFF;
  --text-dark:    #0F2714;
  --text-mid:     #2A5535;
  --text-light:   #5E8A6A;
  --shadow:       rgba(26, 74, 35, 0.14);
  --shadow-green: rgba(58, 125, 68, 0.28);
  --nav-height:   80px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--green-pale);
  color: var(--text-dark);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-pale); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(238, 246, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58, 125, 68, 0.18);
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(238, 246, 239, 0.99);
  box-shadow: 0 4px 30px var(--shadow);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 54px; width: 54px; object-fit: contain; border-radius: 50%; }
.nav-brand { font-family: 'Cormorant Garamond', serif; }
.nav-brand .line1 { font-size: 1.05rem; font-weight: 700; color: var(--green-deep); letter-spacing: 0.04em; }
.nav-brand .line2 { font-size: 0.74rem; font-weight: 400; color: var(--green); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.07em;
  color: var(--text-mid); text-transform: uppercase;
  position: relative; padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--green); transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--green); color: var(--white);
  padding: 10px 22px; border-radius: 3px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--green-deep); transition: 0.3s; }

/* ===== PAGE PADDING ===== */
.page-content { padding-top: var(--nav-height); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative; height: 100vh; min-height: 650px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('image/hero_spa_bg.png');
  background-size: cover; background-position: center;
  filter: brightness(0.48);
  transform: scale(1.05);
  animation: heroZoom 15s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(22,61,30,0.65) 0%, rgba(22,61,30,0.35) 50%, rgba(91,163,107,0.12) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 20px; max-width: 860px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '—'; margin: 0 10px; opacity: 0.65;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700; line-height: 1.15;
  color: var(--white); margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-title span { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 400;
  color: rgba(255,255,255,0.9); line-height: 1.8; margin-bottom: 44px;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--green); color: var(--white);
  padding: 15px 36px; border-radius: 3px; border: none;
  font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: all 0.3s ease; box-shadow: 0 4px 22px var(--shadow-green);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 32px var(--shadow-green); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 14px 36px; border-radius: 3px; border: 2px solid rgba(255,255,255,0.65);
  font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.65); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(126,200,164,0.85)); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ===== SECTION COMMONS ===== */
.section { padding: 90px 5%; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 44px; height: 2px; background: var(--green); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700;
  color: var(--green-deep); line-height: 1.2;
}
.section-title em { color: var(--green); font-style: italic; }
.section-divider { width: 64px; height: 3px; background: linear-gradient(to right, var(--green), var(--accent)); margin: 20px auto 0; border-radius: 2px; }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--green-deep);
  padding: 50px 5%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-item {
  text-align: center; padding: 32px 24px;
  border-right: 1px solid rgba(126,200,164,0.2);
}
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--accent); margin-bottom: 10px;
}
.feature-desc { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 400; line-height: 1.7; }

/* ===== SERVICE CARDS (HOME PREVIEW) ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white); border-radius: 6px;
  overflow: hidden; box-shadow: 0 4px 24px var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(26,74,35,0.2); }
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-body { padding: 28px 28px 32px; }
.service-tag {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin-bottom: 10px;
}
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--green-deep); margin-bottom: 10px;
}
.service-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; margin-bottom: 18px; }
.service-price-row { display: flex; align-items: center; justify-content: space-between; }
.service-price { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--green-dark); font-weight: 700; }
.service-duration { font-size: 0.8rem; color: var(--text-light); }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--green); font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; transition: gap 0.3s;
}
.service-link:hover { gap: 12px; }

/* ===== ABOUT SECTION ===== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-frame {
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(26,74,35,0.22);
}
.about-img-frame img { width: 100%; height: 500px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--green); color: var(--white);
  padding: 24px 28px; border-radius: 6px;
  text-align: center; box-shadow: 0 8px 30px var(--shadow-green);
}
.about-badge .num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700; line-height: 1; }
.about-badge .label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; font-weight: 600; }
.about-text .section-header { text-align: left; }
.about-text .section-eyebrow { justify-content: flex-start; }
.about-text .section-divider { margin-left: 0; }
.about-para { font-size: 0.97rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; font-weight: 400; }
.about-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 0.93rem; color: var(--text-mid); font-weight: 500; }
.about-list li::before { content: '✦'; color: var(--green); font-size: 0.75rem; }

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; gap: 16px; }
.portfolio-item {
  border-radius: 6px; overflow: hidden; cursor: pointer;
  position: relative; box-shadow: 0 4px 20px var(--shadow);
}
.portfolio-item.large { grid-column: span 2; }
.portfolio-item img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.portfolio-item.large img { height: 360px; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,61,30,0.75) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-label { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; }

/* ===== CONTACT SECTION ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--green-deep); margin-bottom: 28px; font-weight: 700; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 44px; height: 44px; background: var(--green); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item-text .label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; font-weight: 600; }
.contact-item-text .value { font-size: 0.97rem; color: var(--text-dark); font-weight: 500; line-height: 1.6; }
.contact-item-text a { color: var(--green); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--green-dark); }
.map-placeholder {
  background: var(--green-pale); border-radius: 6px; overflow: hidden;
  height: 340px; position: relative;
  border: 1px solid var(--green-mist);
}
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

/* ===== FOOTER ===== */
footer {
  background: var(--green-deep); color: rgba(255,255,255,0.75);
  padding: 50px 5% 24px; text-align: center;
}
.footer-logo img { height: 60px; width: 60px; object-fit: contain; border-radius: 50%; margin: 0 auto 16px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--accent); margin-bottom: 6px; font-weight: 700; }
.footer-sub { font-size: 0.8rem; color: rgba(255,255,255,0.45); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; }
.footer-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-divider { height: 1px; background: rgba(126,200,164,0.2); margin-bottom: 20px; }
.footer-copy { font-size: 0.77rem; color: rgba(255,255,255,0.35); }

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed; bottom: 28px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.float-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 50px;
  color: var(--white); font-size: 0.88rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  transition: transform 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.float-btn:hover { transform: translateX(-4px) scale(1.03); box-shadow: 0 8px 28px rgba(0,0,0,0.28); }
.float-btn-line { background: #06C755; }
.float-btn-tel { background: var(--green-dark); }
.float-btn-icon { font-size: 1.15rem; }

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  height: 320px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.42);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(22,61,30,0.65) 0%, rgba(91,163,107,0.18) 100%);
}
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; color: var(--white);
  margin-bottom: 12px; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.page-hero-sub { font-size: 0.9rem; color: var(--accent); letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 5%; background: var(--white);
  display: flex; gap: 8px; align-items: center;
  font-size: 0.8rem; color: var(--text-light); border-bottom: 1px solid var(--green-mist);
  font-weight: 500;
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: var(--text-light); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .about-badge { right: 0; bottom: -16px; }
  .about-img-frame img { height: 350px; }
  .features-strip { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(126,200,164,0.2); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item.large { grid-column: span 2; }
}
@media (max-width: 700px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    position: fixed; inset: 0; top: var(--nav-height);
    background: rgba(238,246,239,0.98); backdrop-filter: blur(14px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 32px; list-style: none; z-index: 999;
    transform: translateX(100%); transition: transform 0.4s ease;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { font-size: 1.5rem; font-family: 'Cormorant Garamond', serif; color: var(--green-deep); font-weight: 700; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.large { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .float-btn span { display: none; }
  .float-btn { padding: 13px; }
}
