/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #FF69B4, #FFA500);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo a {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

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

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f8f8f8;
    text-decoration: underline;
}

/* 横幅样式 */
.banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF69B4, #FFA500);
}

/* 图片切换样式 */
.slideshow-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76%;
    height: 76%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: translateX(100%);
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.slide-in-left {
    animation-name: slideInLeft;
}

.slide.slide-in-right {
    animation-name: slideInRight;
}

.slide.slide-out-left {
    animation-name: slideOutLeft;
}

.slide.slide-out-right {
    animation-name: slideOutRight;
}

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

.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.banner-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 为幻灯片容器添加磨砂效果 */
.slideshow-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 0;
}

/* 滑动动画关键帧 */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 淡入淡出效果 */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* 关于我&联系我样式 */
.about-contact {
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.about-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('wallhaven-7j3lve.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.about-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: -1;
}

.about-contact-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 30px;
}

.about-section {
    flex: 1;
    padding: 30px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FF69B4;
    align-self: flex-start;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-image {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #FF69B4;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    align-self: center;
}

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

.contact-section {
    flex: 1;
    padding: 30px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FF69B4;
    align-self: flex-start;
}

.contact-info {
    font-size: 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-info p {
    margin: 10px 0;
    align-self: flex-start;
}

/* 备案号样式 */
.footer-beian {
    text-align: center;
    padding: 20px 0;
    background-color: #FFB6C1;
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

.footer-beian p {
    margin: 0;
    font-size: 14px;
    color: #000000;
}

.footer-beian a {
    color: #000000;
    text-decoration: none;
}

.footer-beian a:hover {
    text-decoration: underline;
}