/* Reset & Base Styles - Premium Refined */
:root {
    --bg-color: #ffffff; /* Pure white for cleaner look */
    --text-primary: #2c2c2c;
    --text-secondary: #5f5f5f;
    --accent-color: #7d7d7d;
    --border-color: #eaeaea;
    
    /* Fonts */
    --font-serif: 'Noto Serif TC', serif;
    --font-sans: 'Noto Sans TC', sans-serif;
    --font-en: 'Cormorant Garamond', serif;
    
    --container-width: 1280px; /* Standardize width */
    --spacing-section: 100px; /* Balanced spacing */
    --transition-smooth: 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.en-title {
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: #999;
    display: block;
    margin-bottom: 25px;
    font-weight: 600;
}

.zh-title {
    font-size: 2rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin-bottom: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95); /* Consistent background for readability */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.desktop-menu {
    display: flex;
    gap: 2.5rem;
}

.desktop-menu a {
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.desktop-menu a .zh {
    display: none;
    font-family: var(--font-serif);
    font-weight: 500;
}

.desktop-menu a:hover .en {
    display: none;
}

.desktop-menu a:hover .zh {
    display: inline-block;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.desktop-menu a:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 1px;
    background: #000;
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65); /* Darker for better text visibility */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    color: #fff !important; /* Force White */
    text-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Better readability */
}

/* Premium Buttons */
.premium-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 35px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-family: var(--font-en);
    border: 1px solid #000;
    transition: all 0.4s ease;
}

.premium-btn:hover {
    background: transparent;
    color: #000;
}

/* For dark backgrounds */
.premium-btn.light {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.premium-btn.light:hover {
    background: #fff;
    color: #000;
}

.premium-btn-outline {
    display: inline-block;
    border: 1px solid #333;
    color: #333;
    padding: 12px 35px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-family: var(--font-en);
    transition: all 0.4s ease;
}

.premium-btn-outline:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}
    font-size: 3rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: var(--spacing-section) 0;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    text-align: justify;
}

.more-link {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-top: 1rem;
}

.more-link:hover {
    border-bottom-color: #000;
}

/* Services Grid (Images) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    background: #f9f9f9;
    padding-bottom: 2rem;
    transition: transform 0.3s ease;
}

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

.service-img {
    height: 250px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-info {
    padding: 0 1.5rem;
}

.service-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Featured Projects */
.project-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-item {
    display: block;
    position: relative;
    border-bottom: 1px solid transparent;
}

.project-item img {
    height: 400px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.project-item[data-width="full"] {
    grid-column: 1 / -1;
}

.project-item[data-width="full"] img {
    height: 550px;
}

.project-meta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.project-meta span {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.1em;
}

/* Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.article-card {
    border: 1px solid #f0f0f0;
    padding: 2rem;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.article-date {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 1rem;
    display: block;
}

.article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-btn {
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.article-card:hover .read-btn {
    border-bottom-color: #000;
}

/* Floating Social Buttons */
.floating-socials {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.nav-social-btn {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: var(--font-en); /* Fallback for text icons */
}

.nav-social-btn svg {
    width: 20px;
    height: 20px;
}

.nav-social-btn:hover {
    transform: scale(1.1);
    background-color: #111;
    color: #fff;
}
.nav-social-btn:hover svg {
    fill: #fff;
}
.nav-social-btn.line:hover { background-color: #06c755; }
.nav-social-btn.ig:hover { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
.nav-social-btn.fb:hover { background-color: #1877f2; }


/* Process Section (Homepage Simplified) */
.process-section {
    padding: 100px 5%;
    background-color: #fcfcfc;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
    position: relative;
    /* RWD: Default stack vertically if space is tight is handled by flex-wrap, 
       but we want explicit vertical on mobile for clearer reading flow */
}

@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

/* Connecting line for desktop only */
.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
    display: none; 
}

@media (min-width: 900px) {
    .process-steps::before {
        display: block;
    }
}

.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: #fcfcfc; /* Mask line */
    padding: 0 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for animation */
.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(2) { transition-delay: 0.2s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }
.process-step:nth-child(4) { transition-delay: 0.4s; }
.process-step:nth-child(5) { transition-delay: 0.5s; }

.step-number {
    font-family: var(--font-en);
    font-size: 3rem;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 15px;
    transition: color 0.5s;
}

.process-step.active .step-number {
    color: #333; /* Make it light up when active */
}

/* Optional hover boost */
.process-step:hover .step-number {
    color: #000;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.step-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Works/Project Showcase Improvements */
.project-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* First item spans 2 columns */
.project-item[data-width="full"] {
    grid-column: span 2;
    aspect-ratio: 16/9; /* Force a cinematic aspect ratio for main image */
}

.project-item {
    position: relative;
    overflow: hidden;
    display: block;
}

/* Set standard aspect ratio for other items */
.project-item:not([data-width="full"]) {
    aspect-ratio: 4/3;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.project-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); /* Background helps text pop */
    color: #fff !important; /* Force all text inside to be white */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.project-meta h3, 
.project-meta span {
    color: #fff !important; /* Explicitly force white for children too */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Slight shadow for readability improvement */
}

/* Ensure mobile meta is also readable/white */
@media (max-width: 992px) {
    .project-meta {
        color: #fff !important;
    }
    .project-meta h3, 
    .project-meta span {
        color: #fff !important;
    }
}

.project-item:hover .project-meta,
.project-item.active .project-meta {
    opacity: 1;
    transform: translateY(0);
}

.project-meta h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.project-meta span {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-family: var(--font-en);
    opacity: 0.8;
}

/* Projects Page Filter and Grid Styles */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 20px;
    font-family: var(--font-zh);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    border-radius: 20px;
}

.filter-btn.active, .filter-btn:hover {
    border-color: #000;
    color: #000;
    background: #f9f9f9;
}

.project-meta-details {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
    font-family: var(--font-zh);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.lightbox-content {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh; /* Increased height */
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10010;
    transition: color 0.3s;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.lightbox-close:hover {
    color: #ccaa70;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 40px; /* Larger arrows */
    cursor: pointer;
    padding: 30px;
    transition: all 0.3s;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.lightbox-nav:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-caption {
    background: rgba(0, 0, 0, 0.95);
    padding: 40px 30px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.lightbox-caption h3 { 
    font-size: 1.6rem; 
    margin-bottom: 20px; 
    font-weight: 600;
    color: #ccaa70;
    letter-spacing: 0.05em;
}

.lightbox-caption p { 
    font-size: 0.95rem; 
    color: #e0e0e0; 
    font-family: var(--font-zh);
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 16px;
}

.lightbox-caption p:last-child {
    margin-bottom: 0;
}

/* Image Counter (e.g., 1/5) */
.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-zh);
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    z-index: 10010;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.lightbox-caption.show-animation {
    animation: slideUp 0.6s ease-out forwards;
}

@media (max-width: 768px) {
    .lightbox-caption {
        padding: 30px 20px;
    }
    
    .lightbox-caption h3 { 
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .lightbox-caption p { 
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .lightbox-nav { padding: 10px; }
    
    .lightbox-content {
        min-height: 50vh;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Floating Socials */
.floating-socials {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Footer - Premium Overhaul */

.footer {
    background: #0f0f0f;
    color: #fff;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.footer-brand h2 {
    color: #fff;
    font-family: var(--font-en);
    font-size: 2.5rem; /* Larger brand name */
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.footer-info-text {
    color: #888;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    max-width: 350px;
    line-height: 1.8;
    font-family: var(--font-serif);
}

.footer-col {
    padding-top: 15px; /* Align with large title visual baseline */
}

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-family: var(--font-en);
    letter-spacing: 0.25em;
    margin-bottom: 30px;
    opacity: 0.5;
    text-transform: uppercase;
}

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

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #999;
    letter-spacing: 0.05em;
    transition: transform 0.3s;
    display: flex; /* For alignment */
}

/* Location List Specifics */
.location-list li {
    align-items: flex-start;
}

.location-list li span {
    color: #ccaa70; /* Optional Gold/Luxury accent */
    white-space: nowrap;
    display: inline-block;
    min-width: 100px;
}

.footer-col ul li:hover {
    transform: translateX(5px);
    color: #fff;
}

.footer-col a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col a:hover::after {
    width: 100%;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-en);
    font-size: 0.85rem;
    color: #555;
}

/* Add a designed large watermark text in footer background (optional luxury touch) */
.footer::before {
    content: 'GR DESIGN';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-en);
    font-size: 15vw;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    visibility: visible;
    opacity: 1;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .container { padding: 0 1.5rem; }
    .hero-title { font-size: 2.2rem; }
    .intro-grid {
        display: flex; /* Use flex for potential reordering */
        flex-direction: column;
        gap: 40px;
    }
    
    /* Order utility for responsive */
    .intro-grid > .order-img { order: -1; } /* Always put image on top on mobile */
    .intro-grid > .intro-text { order: 1; }

    /* Hide intro image on mobile as requested */
    .mobile-hidden-intro { display: none !important; }

    .services-grid, .project-showcase, .articles-grid, .footer-top, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer {
        padding: 60px 0 40px;
    }

    .footer-top {
        gap: 40px;
        text-align: center;
    }

    .footer-brand h2 {
        font-size: 1.8rem;
    }
    
    .footer-info-text {
        margin: 1.5rem auto 0;
    }
    
    .footer-col ul li {
        justify-content: center;
    }

    /* Hide large watermark on mobile to prevent overflow/mess */
    .footer::before {
        display: none;
    }

    /* Fix full width project on mobile to still be full but appropriate height */
    .project-item[data-width="full"] {
        grid-column: auto;
        aspect-ratio: 4/3;
    }
    
    .desktop-menu { 
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px; /* Below navbar */
        left: 0;
        width: 100%;
        height: auto;
        background: #fff;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        gap: 1.5rem;
        text-align: center;
        z-index: 999;
    }

.desktop-menu.active {
        display: flex;
        animation: fadeIn 0.4s ease forwards;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9999;
        background: #111; /* Dark Premium BG */
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    /* Mobile Menu Text - Show both Chinese and English */
    .desktop-menu a {
        color: #fff;
        font-size: 1.4rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* Override hover effect line for mobile menu overlay since we center it */
    .desktop-menu a::after {
        display: none;
    }

    .desktop-menu a .zh {
        display: block !important;
        font-size: 1.1rem;
        color: #999;
        margin-bottom: 5px;
    }
    
    .desktop-menu a .en {
        display: block !important;
        font-size: 1.5rem;
        font-weight: 300;
        letter-spacing: 0.15em;
    }

    .desktop-menu a .en::before {
        display: none;
    }

    /* Make Hamburger white when menu is active if needed, but menu covers it.. */
    /* So we need a z-index adjust or close button. For now let's rely on menu-toggle z-index */
    .menu-toggle { 
        display: flex; 
        z-index: 10000; /* Above menu */
    }

    /* If menu is active and background is dark, bars need to be white */
    .menu-toggle.active .bar {
        background: #fff;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Mobile Menu Close Button */
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background: #fff;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background: #fff;
    }
    
    .menu-toggle.active {
        position: fixed;
        right: 20px;
        top: 25px;
        z-index: 10001; /* Ensure above everything */
    }

    .nav-social-btn {
        width: 40px;
        height: 40px;
    }

    /* Subpage Hero Adjustment */
    .subpage-hero {
        height: 40vh !important;
    }

    /* Mobile Projects RWD Fix */
    .projects-filter {
        gap: 15px;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-item[data-width="full"] {
        aspect-ratio: 3/2; /* Better ratio for mobile */
    }
    
    .project-item:not([data-width="full"]) {
        aspect-ratio: 3/2;
    }

    /* Mobile Project Text Visibility */
    .project-meta {
        position: absolute; /* Keep it over the image for luxury feel */
        bottom: 0;
        left: 0;
        width: 100%;
        opacity: 1 !important; /* Force visible */
        transform: translateY(0) !important;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
        color: #fff !important;
        padding: 20px 20px 30px 20px !important;
        pointer-events: none;
    }

    .project-meta h3 {
        color: #fff !important;
        font-size: 1.2rem;
        text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    }
    
    .project-meta span {
        color: rgba(255,255,255,0.8) !important;
    }
}


/* Footer Location Groups */
.loc-city-group {
    margin-bottom: 25px;
}

.loc-city-group h5 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-left: 3px solid #ccaa70;
    padding-left: 12px;
    font-family: var(--font-en); /* Or serif based on pref */
    opacity: 0.9;
}

.loc-city-group ul {
    list-style: none;
    padding-left: 5px; /* Slight indent */
}

/* Override padding from general footer-col to ensure alignment */
.loc-city-group ul li {
    margin-bottom: 8px !important;
    font-size: 0.9rem !important;
    display: flex;
    align-items: flex-start;
}

.loc-city-group ul li span {
    color: #ccaa70;
    width: 5.5em; /* Fixed width for alignment */
    display: inline-block;
    white-space: nowrap;
    opacity: 0.8;
    flex-shrink: 0; /* Prevent shrinking */
    text-align: left;
}

.loc-city-group ul li:hover span {
    opacity: 1;
}

/* ============================ */
/* Dropdown Menu Styles */
/* ============================ */
.desktop-menu .dropdown {
    position: relative;
    display: inline-block;
}

.desktop-menu .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    text-align: center;
    border-top: 3px solid #ccaa70;
}

.desktop-menu .dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.desktop-menu .dropdown-content a {
    color: #555;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    font-family: var(--font-ch);
    transition: all 0.2s;
    margin: 0;
    width: 100%;
    max-width: none; /* Override global link max-width */
    border-bottom: 1px solid #f5f5f5;
}

.desktop-menu .dropdown-content a:last-child {
    border-bottom: none;
}

.desktop-menu .dropdown-content a:hover {
    background-color: #fafafa;
    color: #ccaa70;
    padding-left: 20px;
}

/* ============================ */
/* Mobile Dropdown Responsive */
/* ============================ */
@media (max-width: 992px) {
    .desktop-menu .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
    }

    /* Adjust the main trigger link styling on mobile */
    .desktop-menu .dropdown > a {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
    }

    .desktop-menu .dropdown-content {
        position: relative;
        display: none;
        flex-direction: column;
        align-items: center;
        top: auto;
        left: auto;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 5px 0 20px 0;
        width: 100%;
        min-width: auto;
        opacity: 1;
        animation: none;
    }

    .desktop-menu .dropdown.mobile-active .dropdown-content {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .desktop-menu .dropdown-content a {
        color: #888; /* Dimmer sub-links */
        font-size: 1rem !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        border-bottom: none !important;
        width: auto !important;
        max-width: none !important;
        letter-spacing: 0.05em;
        text-align: center;
    }

    .desktop-menu .dropdown-content a:hover {
        background: transparent;
        color: #fff;
        padding-left: 0;
    }

    /* Fix Footer Alignment on Mobile */
    .locations-wrapper {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
    }
    
    .loc-city-group {
        width: 100%;
    }

    .loc-city-group ul {
        display: block; /* Revert inline-block */
        text-align: left;
        padding-left: 0;
    }

    .loc-city-group ul li {
        justify-content: flex-start !important;
    }
}

/* Footer Refinements & Mobile Fix */
.manager-line-block {
    margin-top: 30px;
    text-align: left;
}

.locations-col {
    min-width: 300px;
}

.footer-compliance {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    line-height: 1.8;
}

/* Mobile specific overrides for cleaner footer */
@media (max-width: 992px) {
    .manager-line-block {
        text-align: center; /* Center align on mobile */
        margin-top: 25px;
        padding: 0 10px;
    }
    
    .locations-col {
        min-width: auto !important; /* Allow shrinking */
        width: 100%;
        padding: 0;
    }

    .locations-wrapper {
        display: inline-block;
        text-align: left;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Reduce font size slightly for compliance text on mobile */
    .footer-compliance {
        padding: 15px 10px 0;
        font-size: 0.75rem;
    }
}

/* Enhanced Article Preview styles */
.related-articles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.article-preview {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    border-bottom: none; /* Reset old style */
}

.article-preview:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: #ccaa70;
}

.article-preview h4 {
    margin: 10px 0 15px 0;
    line-height: 1.4;
}

.article-preview h4 a {
    font-size: 1.2rem;
    font-weight: 500;
}

.article-meta-date {
    font-size: 0.85rem;
    color: #999;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 5px;
}

.article-preview p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-read-more {
    font-size: 0.85rem;
    color: #ccaa70;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-read-more::after {
    content: '→';
    transition: transform 0.3s;
}

.article-preview:hover .article-read-more::after {
    transform: translateX(5px);
}



/* Homepage Slider */
.slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-wrapper img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slider-wrapper img.slide.active {
    opacity: 1;
}

/* About Page Premium Styles */
.about-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    margin: 40px 0;
    font-style: italic;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    text-align: left;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.value-item h3 {
    font-family: var(--font-en);
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.value-item p {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

/* Related Articles Grid */
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #ccaa70;
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
    font-family: var(--font-en);
}

.article-card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-card:hover .article-card-title a {
    color: #ccaa70;
}

.article-card-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* 
.article-card-link::after removed to prevent double arrows 
*/

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-top: 4px solid #ccaa70;
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
}

.modal-body {
    text-align: center;
    margin-bottom: 25px;
}

.modal-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #2c2c2c;
    font-family: var(--font-serif);
}

.modal-body p {
    font-size: 1rem;
    color: #5f5f5f;
    line-height: 1.6;
}

.modal-buttons-group {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.modal-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #ccaa70;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.modal-btn:hover {
    background-color: #b8945f;
}

.modal-line-btn {
    background-color: #00b900;
}

.modal-line-btn:hover {
    background-color: #009500;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .modal-content {
        width: 85%;
        margin: 30% auto;
        padding: 20px 25px;
    }
    
    .modal-body h3 {
        font-size: 1.3rem;
    }
    
    .modal-body p {
        font-size: 0.95rem;
    }
}
