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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F7F8FA;
    font-size: 14px;
}
 .navbar {
    background-color: #CE8711;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 120px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}


.banner-section {
    margin-top: 55px;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #CE8711;
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(206, 135, 17, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 10px rgba(206, 135, 17, 0.3);
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
    visibility: visible;
}

.carousel-btn:hover {
    background-color: rgba(206, 135, 17, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(206, 135, 17, 0.5);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.main-content {
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    padding: 0 20px;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

  .footer {
    background-color: #CE8711;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p {
    font-size: 14px;
    font-weight: 500;
}

.left-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #CE8711;
    margin: 15px auto;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.profile-intro {
    line-height: 1.6;
    color: #666;
    font-size: 14px;
    text-align: justify;
    clear: both;
}

.interests-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-title {
    font-size: 20px;
    color: #CE8711;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.interest-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
}

.interest-item:last-child {
    margin-bottom: 0;
}

.interest-image {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.interest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interest-content h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
}

.interest-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li a {
        font-size: 14px;
        padding: 8px 15px;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 30px auto;
    }

    .banner-section {
        height: 250px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .interest-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .interest-image {
        margin: 0 auto;
    }

    .profile-avatar {
        float: none;
        margin: 0 auto 15px;
        display: block;
    }

    .profile-section {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .banner-section { height: 360px; }
    .main-content { gap: 40px; }
    .nav-menu {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-menu li a {
        font-size: 15px;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .nav-menu { gap: 12px; }
    .nav-menu li a { font-size: 13px; padding: 6px 12px; }
    .carousel-dot { width: 10px; height: 10px; }
    .footer p { font-size: 12px; }
}