/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    /* background: linear-gradient(45deg, #4a90e2, #7bb3f0); */
}

.brand-text {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link:hover {
    color: #4a90e2;
}

.language-toggle {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.lang-btn.active {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.lang-btn:hover {
    background: #e8f4fd;
    border-color: #4a90e2;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.architectural-drawing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.golden-structure {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    clip-path: ellipse(50% 40% at 50% 50%);
    opacity: 0.8;
    border: 2px solid #e6c200;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 42px;
    font-weight: 300;
    color: #4a90e2;
    line-height: 1.3;
    margin-bottom: 30px;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.facade-img {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
}

.metal-roof-img {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2) 30%, transparent 30%);
}

.noise-barrier-img {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    background-image: linear-gradient(90deg, rgba(255,255,255,0.1) 50%, transparent 50%);
}

.structural-steel-img {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 5px,
        rgba(255,255,255,0.1) 5px,
        rgba(255,255,255,0.1) 10px
    );
}

.project-info {
    padding: 30px 20px;
    background: #4a90e2;
    color: white;
    text-align: center;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.read-more-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 8px 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more-btn:hover {
    background: white;
    color: #4a90e2;
}

/* News Section */
.news {
    padding: 100px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.news-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.news-img-1 {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    background-image: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.3) 20%, transparent 20%);
}

.news-img-2 {
    background: linear-gradient(45deg, #3498db, #2980b9);
    background-image: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,255,255,0.2) 30deg, transparent 60deg);
}

.news-img-3 {
    background: linear-gradient(45deg, #e67e22, #d35400);
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
}

.news-content {
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.news-meta {
    flex: 1;
}

.news-year {
    font-size: 14px;
    color: #4a90e2;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.news-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.news-more {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.news-more:hover {
    border-bottom-color: #e74c3c;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.contact-btn {
    background: #c85a8e;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-btn:hover {
    background: #b04979;
}

/* Footer */
.footer {
    background: #f1f1f1;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 14px;
    color: #666;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 30px;
    height: 30px;
    /* background: linear-gradient(45deg, #4a90e2, #7bb3f0); */
}

.footer-right span {
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-menu {
        margin: 15px 0;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Language-specific styles */
[data-lang="en"] .nav-link::before {
    content: attr(data-en);
}

[data-lang="tc"] .nav-link::before {
    content: attr(data-tc);
}

.lang-hidden {
    display: none;
}

/* Ensure all elements use sharp corners */
* {
    border-radius: 0 !important;
}


