:root {
    --bg-color: #fdfdfd;
    --text-color: #1a1a1a;
    --accent-color: #666;
    --nav-bg: rgba(253, 253, 253, 0.95);
    --font-primary: 'Inter', 'Noto Sans TC', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 300;
    letter-spacing: 2px;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
}

/* Navigation (Header Bar with Logo Left & Nav Right) */
.site-header {
    width: 100%;
    padding: 1.5rem 4%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

.header-container {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    margin-bottom: 0;
}

.site-header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header .logo img {
    height: 200px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    margin: -40px 0;
    transition: transform 0.3s ease;
}

.site-header .logo img:hover {
    transform: scale(1.03);
}

.site-header .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 3rem;
}

.site-header .nav-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
    color: var(--text-color);
    font-weight: 500;
}

/* Hero Section (Index) */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    color: #f0f0f0;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

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

.hero-content .btn {
    border-color: #fff;
    color: #fff;
}
.hero-content .btn:hover {
    background: #fff;
    color: #000;
}


/* Common Page Content Setup */
.page-body {
    padding-top: 0;
}

.page-content {
    min-height: calc(100vh - 200px);
    padding: 3rem 4% 6rem;
    max-width: 1700px;
    margin: 0 auto;
}

/* Portfolio Section - Grand 3-Column Layout */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 10;
    display: block;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.06);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2.5rem;
    opacity: 0.85;
    transition: opacity 0.4s ease, background 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.85) 100%);
}

.overlay h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    letter-spacing: 2px;
    font-weight: 400;
    transform: translateY(10px);
    transition: transform 0.4s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.overlay p {
    font-size: 0.95rem;
    color: #e0e0e0;
    letter-spacing: 1.5px;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.05s;
}

.gallery-item:hover .overlay h3,
.gallery-item:hover .overlay p {
    transform: translateY(0);
}

/* 看見竹北之美 - 純淨圖片輪播 (Clean Photo Carousel) */
.zhubei-carousel-section {
    margin: 1.5rem 0 4rem;
    padding: 2.5rem 2.5%;
    background: #fcfcfc;
    border-radius: 16px;
    border: 1px solid #eaeaea;
}

.zhubei-carousel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.zhubei-carousel-title {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #111;
}

.zhubei-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slider-slide {
    min-width: 25%;
    box-sizing: border-box;
    padding: 0 0.6rem;
}

.slider-slide-inner {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    background: #f0f0f0;
}

.slider-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide-inner:hover img {
    transform: scale(1.05);
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    color: #111;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-arrow:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #111;
    width: 24px;
    border-radius: 4px;
}

/* 社群素材包 首頁引流 Banner */
.zhubei-promo-cta {
    margin: 2rem auto 0;
    max-width: 1200px;
    padding: 1.2rem 2.2rem;
    background: #3b2c23;
    color: #f7f3ee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 8px 24px rgba(59, 44, 35, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zhubei-promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 44, 35, 0.18);
}

.zhubei-promo-cta .cta-question {
    font-size: 1.05rem;
    letter-spacing: 1px;
    font-weight: 400;
    color: #f7f3ee;
}

.zhubei-promo-cta .cta-link-btn {
    display: inline-block;
    background: #c4a991;
    color: #2e211a;
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}

.zhubei-promo-cta .cta-link-btn:hover {
    background: #ffffff;
    color: #1a1a1a;
}

@media (max-width: 1200px) {
    .slider-slide {
        min-width: 33.333%;
    }
}

@media (max-width: 900px) {
    .slider-slide {
        min-width: 50%;
    }
}

@media (max-width: 600px) {
    .slider-slide {
        min-width: 85%;
    }
    .prev-arrow { left: 5px; }
    .next-arrow { right: 5px; }
    .zhubei-carousel-section { padding: 1.8rem 2%; }
    .zhubei-carousel-title { font-size: 1.8rem; }
    .zhubei-promo-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1rem;
        gap: 1rem;
    }
    .zhubei-promo-cta .cta-question {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .zhubei-promo-cta .cta-link-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* Project Single Page - Grand Architectural View */
.project-content {
    padding: 3rem 4% 6rem;
    max-width: 1600px;
    margin: 0 auto;
}

.project-header {
    text-align: center;
    margin-bottom: 5rem;
}

.project-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.2rem;
}

.project-description {
    font-size: 1.15rem;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.9;
    letter-spacing: 0.5px;
}

.project-images {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
    margin-bottom: 5rem;
}

.project-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.project-nav {
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid #eee;
    padding-top: 4rem;
}

/* About Page */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 2;
    color: #444;
    margin-bottom: 2rem;
}

/* Pricing Page */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #ccc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.price span {
    font-size: 1rem;
    color: #888;
}

/* 咖啡廳社群素材包 Poster Card (Featured Poster Design) */
.cafe-package-poster-card {
    max-width: 1100px;
    margin: 0 auto 5rem;
    background: #faf8f5;
    border: 1px solid #e5dfd5;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 58%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.cafe-poster-left {
    background: #3b2c23;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cafe-poster-img-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cafe-poster-img-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.cafe-poster-quote {
    padding: 2.5rem 2rem;
    background: #2e211a;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.brand-sublogo {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #c4a991;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.quote-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #f0e8e0;
    font-weight: 300;
    letter-spacing: 1px;
}

.cafe-poster-right {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
}

.tag-badge {
    display: inline-block;
    color: #8c6d53;
    font-size: 0.82rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.cafe-poster-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cafe-poster-highlights {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.highlight-price {
    font-size: 1.8rem;
    color: #b85b34;
    font-weight: 500;
    margin-left: 0.5rem;
}

.cafe-poster-sub {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cafe-poster-intro {
    background: #fff;
    border-left: 3px solid #b85b34;
    padding: 1.2rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2.5rem;
    position: relative;
}

.cafe-poster-intro p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
}

.cafe-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.detail-icon {
    width: 36px;
    height: 36px;
    background: #f0e9df;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.detail-item strong {
    font-size: 1.05rem;
    color: #111;
    display: block;
    margin-bottom: 0.3rem;
}

.detail-item p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.detail-item ul li {
    font-size: 0.9rem;
    color: #555;
    padding: 0.25rem 0;
}

.cafe-poster-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-dark {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: #333;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 1px solid #ccc;
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #111;
    color: #111;
}

.notice-box {
    background: #f0ebe4;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .cafe-package-poster-card {
        grid-template-columns: 1fr;
    }
    .cafe-poster-right {
        padding: 2.5rem 1.8rem;
    }
    .cafe-poster-actions {
        flex-direction: column;
    }
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 3rem;
}

.pricing-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 0.95rem;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Contact Page (Form) */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #111;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #888;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.socials a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 2rem;
    color: #888;
    font-size: 0.8rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Layouts */
@media (max-width: 1100px) {
    .page-content {
        padding: 2.5rem 4% 5rem;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }
    .overlay {
        padding: 1.8rem;
    }
    .overlay h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Header & Nav Bar */
    .site-header {
        padding: 0.8rem 4% 1rem;
        position: sticky;
        top: 0;
        background: rgba(253, 253, 253, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }
    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    .site-header .logo img {
        height: 110px;
        margin: -15px 0;
    }
    .site-header .nav-links {
        display: flex;
        gap: 1.2rem;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
        padding: 0.3rem 0;
        -webkit-overflow-scrolling: touch;
    }
    .site-header .nav-links a {
        font-size: 0.88rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    /* Mobile Splash Screen Entrance Logo */
    .splash-screen img {
        max-width: 88vw !important;
        height: auto !important;
        max-height: 460px !important;
        margin-top: -30px !important;
    }

    /* Mobile Page Content & Titles */
    .page-content {
        padding: 1.5rem 3.5% 4rem;
    }
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
        letter-spacing: 2px;
    }

    /* Mobile Portfolio Cards Grid */
    .gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .gallery-item {
        aspect-ratio: 16 / 10;
        border-radius: 10px;
    }
    .overlay {
        padding: 1.5rem 1.2rem;
        opacity: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.8) 100%);
    }
    .overlay h3 {
        font-size: 1.3rem;
        transform: translateY(0);
    }
    .overlay p {
        font-size: 0.88rem;
        transform: translateY(0);
    }

    /* Mobile Project Detail Single Page */
    .project-content {
        padding: 1.8rem 3.5% 4rem;
    }
    .project-header {
        margin-bottom: 3rem;
    }
    .project-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    .project-description {
        font-size: 0.98rem;
        line-height: 1.8;
    }
    .project-images {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    /* Mobile Pricing Cards */
    .pricing-card {
        padding: 2rem 1.2rem;
    }
    .price {
        font-size: 2.2rem;
    }
}

/* About Page Grid Layouts */
.about-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-quote-box {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 300;
    border-left: 2px solid var(--text-color);
    padding-left: 2rem;
    letter-spacing: 2px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.feature-card h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.process-step {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #eee;
}
.process-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}
.process-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .about-header-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-quote-box {
        font-size: 1.4rem;
    }
}
