/* CSS Variables for Nature/Wellness Theme */
:root {
    --primary-color: #5D7A68; /* Sage Green */
    --secondary-color: #8C9E89; /* Lighter Green */
    --accent-color: #D4A373; /* Warm Earth/Sand */
    --bg-color: #F9F7F2; /* Off-white/Cream Paper */
    --text-color: #333333; /* Dark Gray */
    --light-text: #666666;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Noto Sans TC', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
}

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

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1519823551278-64ac92734fb1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Placeholder Nature Image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: -70px; /* Offset navbar for full height */
    padding-top: 70px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* Sections */
.section {
    padding: 80px 0;
}

/* About Section */
.about {
    background-color: var(--white);
}

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

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #EEE;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #999;
}

.about-text h3 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* Services Section */
.services {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cert-list {
    text-align: left;
    margin-top: 15px;
    padding-left: 20px;
    list-style-type: disc;
    color: var(--light-text);
}

/* Portfolio Section */
.portfolio {
    background-color: var(--white);
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-text);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-color: #EEE;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    color: #999;
    transition: var(--transition);
}

.gallery-item:hover {
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title::after {
    background-color: var(--white);
}

.contact-content p {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: #333;
    color: #999;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}
