@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;700&family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', 'Noto Serif TC', serif;
    background: #f9f8f5;
    margin: 0;
    color: #3a2e13;
}

header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 0.5em 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.5em;
    color: #a38128;
    font-weight: bold;
}

nav a {
    color: #3a2e13;
    text-decoration: none;
    margin: 0 1em;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border 0.2s, color 0.2s;
}

nav a.active,
nav a:hover {
    color: #a38128;
    border-bottom: 2px solid #a38128;
}

main {
    min-height: 70vh;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 330px;
    background: url('images/js-hero-banner-1.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
}
.hero h1 {
    font-family:'Noto Serif TC',serif;
    color:#fff;
    font-size:2.8em;
    margin-bottom:0.7em;
    font-weight: bold;
    letter-spacing: 2px;
}
.hero p {
    color:#fff;
    font-size:1.4em;
}

/* Intro section: more space above and below */
.intro {
    text-align: center;
    margin: 4em 0 4em 0;
    background: #f9f8f5;
}
.about-title {
    text-align: center;
    font-family: 'Noto Serif TC', serif;
    font-size: 2.3em;
    color: #a38128;
    margin-bottom: 0.7em;
    margin-top: 0.4em;
    font-weight: bold;
    letter-spacing: 1px;
}
.intro p {
    font-size: 1.15em;
    color: #544a2a;
    max-width: 900px;
    margin: 0 auto;
}

/* --- Feature Slider Section (Horizontal) --- */
.feature-slider {
    background: #fff;
    padding: 3em 0 2em 0;
}
.feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: center;
    align-items: flex-start;
}
.feature-card {
    background: none;
    color: #2e3956;
    border-radius: 0;
    box-shadow: none;
    width: 270px;
    max-width: 310px;
    text-align: center;
    margin: 0 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.15s;
}
.feature-card:hover {
    transform: translateY(-5px) scale(1.03);
}
.feature-icon {
    width: 120px;
    height: 120px;
    display: block;
    margin-bottom: 1.1em;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    position: relative;
}
.feature-title {
    color: #b4973a;
    font-family: 'Montserrat', 'Noto Serif TC', serif;
    font-weight: bold;
    font-size: 1.25em;
    margin-bottom: 0.6em;
    margin-top: 0.5em;
    letter-spacing: 1px;
}
.feature-desc {
    font-size: 1em;
    color: #544a2a;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1100px) {
    .feature-row { gap: 1em; }
    .feature-card { width: 43vw; max-width: 90vw; }
}
@media (max-width: 700px) {
    .feature-row { flex-direction: column; align-items: center; }
    .feature-card { width: 95vw; }
}

/* --- Service Highlights Section --- */
/* Add below to your existing style.css for the Service Highlights card grid */

.service-highlights {
    background: #fcf6ee;
    padding: 3em 0 2em 0;
}

.service-highlights-title {
    text-align: center;
    font-family: 'Noto Serif TC', serif;
    color: #a38128;
    font-size: 2em;
    margin-bottom: 2em;
    letter-spacing: 2px;
}

.service-cards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.service-card {
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 4px 24px rgba(163, 129, 40, 0.06);
    width: 260px;
    min-height: 180px;
    padding: 2em 1.5em 1.5em 1.5em;
    margin-bottom: 1.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    text-align: center;
}

.service-card-title {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.25em;
    font-weight: bold;
    color: #a38128;
    margin-bottom: 0.7em;
}

.service-card-desc {
    color: #544a2a;
    font-size: 1em;
    min-height: 48px;
}
.highlight-row {
    display: flex;
    gap: 2em;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}
.highlight-card {
    flex: 1 1 0;
    border-radius: 12px;
    min-width: 220px;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-bottom: 1em;
}
.highlight-overlay {
    background: linear-gradient(0deg, rgba(34,48,71,0.68) 70%, transparent 100%);
    width: 100%;
    color: #fff;
    padding: 1.4em 1em 1em 1.2em;
    box-sizing: border-box;
}
.highlight-title {
    font-size: 1.15em;
    font-family: 'Noto Serif TC', serif;
    margin-bottom: 0.6em;
}
.highlight-link {
    color: #fff;
    text-decoration: underline;
    font-size: 1em;
    transition: color 0.2s;
}
.highlight-link:hover {
    color: #e5c874;
}

/* --- Warts Types Section --- */
.warts-types-section {
    background: #fff7e6;
    padding: 2em 0;
}
.warts-section-title {
    text-align: center;
    font-family:'Noto Serif TC',serif;
    color:#a38128;
    margin-bottom:1.5em;
    font-size: 1.5em;
    font-weight: bold;
}
.warts-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}
.card {
    background: #fff;
    border-radius: 1em;
    box-shadow: 0 4px 24px rgba(163, 129, 40, 0.06);
    width: 265px;
    padding: 1.5em 1em 2em 1em;
    text-align: center;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 1em;
    margin-bottom: 1em;
    border-bottom: 4px solid #e5c874;
}
.card h2 {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.2em;
    color: #a38128;
    margin: 0.5em 0;
}
.card p {
    font-size: 1em;
    color: #544a2a;
    margin-bottom: 1.5em;
}
.btn {
    display: inline-block;
    padding: 0.5em 1.5em;
    border: 2px solid #a38128;
    border-radius: 2em;
    color: #a38128;
    background: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn:hover {
    background: #a38128;
    color: #fff;
}

/* --- CTA Section --- */
.cta-section {
    background: #a38128;
    color: #fff;
    text-align: center;
    padding: 2.5em 0;
}
.cta-section h2 {
    font-family:'Noto Serif TC',serif;
    margin-bottom:0.5em;
    font-size: 1.5em;
}
.cta-section p {
    font-size:1.15em;
}
.cta-btn {
    background:#fff;
    color:#a38128;
    border:2px solid #fff;
    margin-top:1em;
}
.cta-btn:hover {
    background: #fff7e6;
    color: #a38128;
    border-color: #fff7e6;
}

footer {
    background: #fff;
    text-align: center;
    padding: 1em 0;
    color: #a38128;
    margin-top: 2em;
    font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .slider-track { gap: 1.5em; }
    .slider-card { min-width: 280px; padding: 2em 2em; font-size: 1.4em; }
    .highlight-row { gap: 1em; }
}
@media (max-width: 950px) {
    .highlight-row, .warts-types {
        flex-direction: column;
        align-items: center;
    }
    .highlight-card, .card {
        width: 90vw;
        min-width: unset;
    }
}
@media (max-width: 800px) {
    .slider-card { min-width: 210px; padding: 1.2em 1.2em; font-size: 1em; }
    .slider-dots { padding-right: 1.5em; }
    .about-title { font-size: 1.3em; }
    .hero h1 { font-size: 1.5em; }
    .cta-section h2 { font-size: 1.1em; }
}


/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    right: 26px;
    bottom: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    border-radius: 50%;
}

.whatsapp-icon {
    display: block;
    width: 54px;
    height: 54px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 50%;
}

.whatsapp-float:hover .whatsapp-icon {
    box-shadow: 0 4px 20px rgba(37,211,102,0.25);
    filter: brightness(1.08);
}
@media (max-width: 600px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }
    .whatsapp-icon {
        width: 42px;
        height: 42px;
    }
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1201;
    margin-left: 0.4em;
}

.hamburger-bar {
    width: 28px;
    height: 3.5px;
    background: #a38128;
    border-radius: 2px;
    margin: 4px 0;
    transition: 0.35s;
}

@media (max-width: 850px) {
    .hamburger {
        display: flex;
    }
    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 68vw;
        max-width: 295px;
        background: #fff;
        box-shadow: -2px 0 24px rgba(80,60,10,0.12);
        flex-direction: column;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(.55,0,.1,1);
        padding: 4.8em 2em 2em 1.5em;
        z-index: 1200;
    }
    nav.open {
        transform: translateX(0%);
    }
    .nav-bar {
        position: relative;
    }
    nav a {
        display: block;
        margin: 0 0 1.2em 0;
        font-size: 1.13em;
        border: none;
        padding-bottom: 0;
    }
}

/* Hamburger animation for open state */
.hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Hide nav by default on mobile */
@media (max-width: 850px) {
    nav {
        display: flex;
        visibility: visible;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}