@font-face {
    font-family: 'LogoFont';
    src: url('../fonts/Clerical_logo.ttf') format('truetype');
}

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

body {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.7rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'LogoFont', 'Microsoft YaHei', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    font-family: 'Microsoft JhengHei', sans-serif;
    color: #000000;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    transition: color 0.3s;
    padding: 0.2rem 0;
}

.nav-links a:hover {
    color: #666666;
}

/* To handle mobile menu */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s linear;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: auto;
    margin-top: 60px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Main Content */
.main-content {
    margin-top: 0;
    padding: 40px 20px;
}

.page-title {
    font-size: 1.4rem;
    color: #333333;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

/* Content Container */
.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Dealer Info */
.dealer-info {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.dealer-info h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #333333;
}

.info-section {
    margin-bottom: 25px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333333;
}

.info-section p {
    margin-bottom: 10px;
    color: #666666;
}

/* Dealer Table */
.dealer-table {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dealer-table h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #333333;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

th {
    background-color: #f8f8f8;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero-image {
        height: 200px;
        margin-top: 50px;
    }

    .dealer-info,
    .dealer-table {
        padding: 20px;
    }

    th, td {
        padding: 10px;
    }
}
