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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    /* background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="50" height="50" x="0" y="0" fill="%23ffd1dc" opacity="0.6"/><rect width="50" height="50" x="50" y="50" fill="%23ffd1dc" opacity="0.6"/><rect width="50" height="50" x="50" y="0" fill="%23ffb6c1" opacity="0.6"/><rect width="50" height="50" x="0" y="50" fill="%23ffb6c1" opacity="0.6"/></svg>'); */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Header Styles */
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 3px dotted #ffb6c1;
}

.logo {
    flex: 1;
}

.logo h1 {
    font-family: 'Ma Shan Zheng', cursive;
    color: #ff6b88;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(255, 107, 136, 0.3);
    margin: 0;
}

.logo p {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.search-bar {
    flex: 2;
    display: flex;
    max-width: 400px;
    margin: 0 20px;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ffb6c1;
    border-radius: 20px 0 0 20px;
    outline: none;
    font-size: 0.9rem;
}

.search-bar button {
    background: #ffb6c1;
    border: 2px solid #ffb6c1;
    border-radius: 0 20px 20px 0;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: #ff6b88;
}

nav {
    width: 100%;
    margin-top: 15px;
}

nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    background-color: #ffb6c1;
    color: white;
}

/* Banner Styles */
.banner {
    position: relative;
   
    overflow: hidden;
    /* background-color: rgba(255, 182, 193, 0.3); */
    /* background-image: url(./image/WechatIMG11324.jpg); */
}

.banner-content {
    display: flex;
    height: 100%;
    width: 100%;
    img{
        width: 100%;
    }
}

.banner-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.animated-text {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 4rem;
    color: #ff6b88;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.animated-subtitle {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b88;
    margin-top: 10px;
    letter-spacing: 3px;
}

.banner-images {
    flex: 1;
    position: relative;
    height: 100%;
}

.teddy, .letter, .rose {
    position: absolute;
    border-radius: 10px;
}

.teddy {
    top: 50px;
    left: 20px;
}

.letter {
    top: 150px;
    left: 100px;
}

.rose {
    top: 200px;
    left: 50px;
}

.banner-profile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-img {
    border-radius: 10px;
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(255, 107, 136, 0.5);
}

.profile-text {
    text-align: center;
    margin-top: 10px;
}

.profile-text h3 {
    font-family: 'Ma Shan Zheng', cursive;
    color: #ff6b88;
    font-size: 1.5rem;
}

.profile-text p {
    color: #888;
    font-size: 0.9rem;
}

/* Decorative Border */
.decorative-border {
    height: 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;  
    background-size: 400px 40px;
    background: pink ;
}

.decorative-border2 {
    height: 40px;
    background: url(./image/WechatIMG11323.jpg) ;
    /* background-size: cover; */
    background-size: 400px 40px;
    position: relative;
}
.bow {
 color: white;
}

.bow:nth-child(1) { left: 5%; }
.bow:nth-child(2) { left: 20%; }
.bow:nth-child(3) { left: 35%; }
.bow:nth-child(4) { left: 50%; }
.bow:nth-child(5) { left: 65%; }
.bow:nth-child(6) { left: 80%; }
.bow:nth-child(7) { left: 95%; }

/* Section Styles */
section {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.section-title {
    display: inline-block;
    font-family: 'Ma Shan Zheng', cursive;
    color: white;
    background-color: #ff6b88;
    padding: 5px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

/* Recommendations Section */
.product-showcase {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.5);
}

.product {
    display: flex;
    align-items: center;
}

.product-img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

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

.product-info h3 {
    color: #ff6b88;
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.tags {
    margin-top: 15px;
}

.tags span {
    display: inline-block;
    background-color: #ffd1dc;
    color: #ff6b88;
    padding: 3px 10px;
    border-radius: 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.8rem;
}

/* Personal Introduction Section */
.gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.gallery-item {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Interactive Sections */
.interactive {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.interactive-left, .interactive-right, .message-board {
    /* flex: 1; */
    padding: 20px;
    text-align: center;
    position: relative;
}
.message-board{
    width: 530px;

}
.interactive-left,.interactive-right{
width:332px
}
/* .interactive-right{
    width: 200px;
} */

.interactive-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}
.message-content{
    position: relative;
    align-items: center;
    height: 100%;
    justify-content: center;
    flex-direction: column;
    display: flex;
}

.character{
    position: absolute;
    top: 0;
    bottom: 0;
    height: 334px;
}

.character-img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.character h1 {
    font-family: 'Ma Shan Zheng', cursive;
    position: absolute;
    color: #ff6b88;
    margin-top: 10px;
    left: 101px;
    top: 144px;
}
.message-form{
    position: absolute;
    z-index: 999999;
    margin: auto;
    left: 0;
    right: 0;
    top: 192px;
}

.message-form textarea {
    width: 261px;
    height: 142px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    resize: none;
    margin-bottom: 10px;
    font-family: 'Noto Sans SC', sans-serif;
}
.message-form textarea::-moz-focus-outer{
    border: none;
}
.message-form textarea:focus{
    outline: none;
}

.submit-btn {
    background-color: #ff6b88;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff4d6d;
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-top: 3px dotted #ffb6c1;
}

footer p {
    color: #888;
    font-size: 0.9rem;
}
	footer p a{
		color: #888; 
	}
	a{
		text-decoration: none;
	}
/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes rotate {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.floating-slow {
    animation: float 5s ease-in-out infinite;
}

.rotating {
    animation: rotate 10s linear infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .banner-content {
        flex-direction: column;
    }
    
    .banner {
        height: auto;
    }
    
    .interactive {
        flex-direction: column;
    }
    
    .product {
        flex-direction: column;
        text-align: center;
    }
    
    .product-img {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
    }
    
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .search-bar {
        margin: 20px 0;
        max-width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin-bottom: 10px;
    }
}