/* ===== Lime Spark 形瑆 - Main Stylesheet ===== */

:root {
  --bg-green: #8a9a5b;
  --bg-dark-green: #6b7a45;
  --bg-light-green: #a8b870;
  --footer-bg: #2d3a1e;
  --text-dark: #2c2c2c;
  --text-light: #f5f5f0;
  --gold: #c8a84b;
  --gold-light: #e8c86a;
  --white: #ffffff;
  --font-main: 'Noto Serif TC', 'Georgia', serif;
  --font-sans: 'Noto Sans TC', 'Arial', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-green);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(138, 154, 91, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 44px;
  width: auto;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-logo-text .lime {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.navbar-logo-text .spark {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.2em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.navbar-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  background: rgba(255,255,255,0.15);
  color: var(--gold-light);
}

.navbar-whatsapp {
  background: #25d366;
  color: white !important;
  border-radius: 24px !important;
  padding: 0.45rem 1.1rem !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-whatsapp:hover {
  background: #1ebe5a !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #5a6a35;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4a5a28 0%, #7a8a50 40%, #6a7a40 70%, #3a4a20 100%);
}

.hero-logo-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-logo-box {
  background: rgba(200, 168, 75, 0.12);
  border: 2px solid rgba(200, 168, 75, 0.3);
  border-radius: 8px;
  padding: 2.5rem 3rem;
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-logo-lime {
  font-family: var(--font-main);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 0.9;
  display: block;
}

.hero-logo-spark {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.hero-logo-spark .diamond {
  color: var(--gold);
  font-size: 0.8em;
}

.hero-logo-chinese {
  font-family: var(--font-main);
  font-size: clamp(1.5rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-dark);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 64px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

.page-hero-bg.construction {
  background-image: url('https://www.limespark.info/_next/image?url=https%3A%2F%2Fstatic.wixstatic.com%2Fmedia%2F3e9a2e_a0e9e0e0e0e0e0e0e0e0e0e0e0e0e0e0%7Emv2.jpg&w=1920&q=75');
  background-color: #4a5a28;
}

.page-hero-title {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ===== CONTENT SECTIONS ===== */
.section {
  padding: 4rem 2rem;
  background: var(--bg-green);
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--text-dark);
  margin: 0.8rem auto 2.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

/* ===== HIGHLIGHTS ===== */
.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.highlights-list li {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.highlights-list li:last-child {
  border-bottom: none;
}

.highlights-desc {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.8;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ===== CTA BUTTON ===== */
.cta-wrap {
  text-align: center;
  padding: 2rem 0;
}

.cta-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  font-family: var(--font-main);
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}

.cta-btn:hover {
  background: var(--text-dark);
  color: var(--bg-green);
}

/* ===== TRANSPORT MAP ===== */
.transport-section {
  background: var(--bg-green);
  padding: 3rem 2rem;
}

.transport-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.transport-title {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.transport-subtitle {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.transport-map-placeholder {
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* ===== FLOATING CONTACT ===== */
.floating-contact {
  position: fixed;
  right: 1.2rem;
  bottom: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 28px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  min-width: 160px;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.float-btn-wa {
  background: #25d366;
  color: white;
}

.float-btn-tel {
  background: #4a7c59;
  color: white;
}

.float-btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.float-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.float-btn-label {
  font-size: 0.7rem;
  opacity: 0.85;
  font-weight: 400;
}

.float-btn-number {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ===== PDF LINK ===== */
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  text-decoration: underline;
  font-size: 1.1rem;
  font-family: var(--font-main);
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.pdf-link:hover {
  color: var(--footer-bg);
}

/* ===== CONTACT PAGE ===== */
.contact-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.contact-card {
  background: rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.2s, transform 0.2s;
}

.contact-card:hover {
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  opacity: 0.7;
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--text-light);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo-lime {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.footer-logo-spark {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

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

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

.footer-col ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer-contact-item:hover {
  color: var(--gold-light);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(90, 106, 53, 0.98);
    flex-direction: column;
    padding: 1rem;
    gap: 0.2rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
  }

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

  .navbar-nav a {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .float-btn {
    min-width: 140px;
    padding: 0.5rem 0.8rem;
  }

  .floating-contact {
    right: 0.8rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-logo-box {
    padding: 1.5rem 1.5rem;
  }
  
  .float-btn-label {
    display: none;
  }
}
