/* 全局样式 */
* {
    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-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h2 {
    color: #e74c3c;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e74c3c;
}

.lang-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.lang-btn:hover {
    background-color: #c0392b;
}

.lang-select {
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    outline: none;
}

.lang-select:focus {
    outline: none;
}

/* 英文版本导航栏调整 */
.en .nav-link {
    font-size: 0.9rem;
}

/* 土耳其语版本导航栏调整 */
.tr .nav-link {
    font-size: 0.9rem;
}

/* 主页横幅样式 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/ns1.webp');
    background-size: cover;
    background-position: center;
    animation: heroAnimation 20s infinite alternate;
    z-index: -1;
}

@keyframes heroAnimation {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* 服务项目样式 */
.service-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* 服务项目样式 */
.services {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

/* 右上角会飞的纸币样式 */
.container{
    position: relative;
}
@keyframes float3d {
  0% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-10px) rotateX(10deg); }
  100% { transform: translateY(0) rotateX(0deg); }
}

@keyframes pulse {
  0% { transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
  50% { transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }
  100% { transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
}

.image-animation {
  position: absolute;
  top: -50px; /* 调整数值控制垂直位置 */
  right: 50px; /* 定位到右侧 */
  width: 150px; /* 设置图片宽度 */
  height: 150px; /* 设置图片高度 */
  z-index: 1; /* 确保图片在内容之上 */
}

.image-animation img {
  width: 150px;
  height: 150px;
  animation: float3d 3s infinite;
  z-index: 1;
}

/* WhatsApp浮动按钮样式 */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.service-category-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #E6C200; /* 第一个标题（货币服务）使用黄色 */
    position: relative;
    z-index: 10;
}

.service-category-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ffffff; /* 第一个标题下划线使用黄色 */
    margin: 10px auto;
}

/* 第二个服务分类标题（服装服务）使用紫红色 */
#fashion-services-title {
    color: #e91e63;
}

#fashion-services-title::after {
    background-color: #e91e63;
}

/* 第三个服务分类标题（旅游服务）使用墨绿色 */
#tourism-services-title {
    color: #388e3c;
}

#tourism-services-title::after {
    background-color: #388e3c;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 货币服务样式 */
.money-services {
    position: static;
    overflow: visible;
  
}

.money-services .services-grid {
    position: relative;
    z-index: 1;
}


.money-services .service-card {
    background: linear-gradient(135deg, #fff8e1 20%, #e4cb3f 100%);
    position: relative;
    z-index: 1;
}

.money-services .service-card:hover {
    background: linear-gradient(135deg, #fff8e1 0%, #e4cb3f 100%);
    transform: translateY(-10px);
}

.money-services .service-icon {
    color: #E6C200;
}

/* 服装服务样式 */
.fashion-services .service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3e5f5 100%);
}

.fashion-services .service-icon {
    color: #9b59b6;
}

/* 旅游服务样式 */
.tourism-services .service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.tourism-services .service-icon {
    color: #27ae60;
    font-size: 2.3rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.tourism-services .service-content {
    flex: 1;
}

.tourism-services .service-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tourism-services .service-title-text {
    margin: 0;
}

.tourism-services .service-desc {
    margin-left: 0;
}



/* 移动端适配：调整旅游服务图片的显示 */
@media (max-width: 768px) {
    .tourism-services .service-image {
        margin: 0 -2rem 1rem -2rem;
        width: calc(100% + 4rem);
        aspect-ratio: 3 / 2;
        overflow: hidden;
    }
    
    .tourism-services .service-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-desc {
    color: #666;
    margin-left: 0;
}

/* 关于我们样式 */
.about {
    padding: 5rem 0;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.about-text {
    position: relative;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.overlay-circle {
    position: absolute;
    top: -220px;
    right: 100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: transform 0.6s ease;
    background: white;
}

.overlay-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 修改这里，让图片填充整个容器 */
    object-position: center; /* 确保图片居中显示 */
}

.overlay-circle:hover {
    transform: rotate(360deg);
}

/* 客户评价样式 */
.testimonials {
    padding: 5rem 0;
    background-color: #f8f9fa;
    position: relative;
}

.testimonials .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    width: 33.33333%;
    padding: 0 1rem;
    flex-shrink: 0;
    min-width: 33.33333%;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    background-color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.author-info p {
    color: #777;
    font-size: 0.9rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(136 181 240 / 80%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(79, 140, 219, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .testimonial-slide {
        min-width: 100%;
    }
}

/* 中等屏幕样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonial-slide {
        min-width: 50%;
    }
}

/* 联系我们样式 */
.contact {
    padding: 5rem 0;
    background-color: #f8f9fa;
    width: 100%;
    overflow-x: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-right: 1rem;
}

.whatsapp-item .contact-icon {
    color: #25D366;
}

.whatsapp-link {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    
}

.whatsapp-link:hover {
    color: #25D366;
    transform: translateX(5px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-map {
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
}

.contact-map iframe {
    width: 100%;
    max-width: 100%;
    height: 300px;
    border: 0;
}

.submit-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c0392b;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
        justify-content: space-between;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-menu {
        margin-top: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .nav-menu li {
        margin: 0 0.2rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.2rem;
    }
    
    .lang-select {
        padding: 0.2rem 0.3rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map iframe {
        height: 250px;
    }
}

/* 中等屏幕样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonial-slide {
        min-width: 50%;
    }
    
    .contact-map iframe {
        height: 280px;
    }
}

/* 英文版本特定样式 */
.en .hero-title {
    font-size: 2.5rem;
}

.en .hero-subtitle {
    font-size: 1.3rem;
}

.en .section-title {
    font-size: 2.2rem;
}

/* 调整卡片图片样式 */
#activities .service-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}


/* 针对移动端设备 */
@media screen and (max-width: 768px) {
    /* 移动端样式 */
   .hero {
    height: 60vh; /* 移动端适当减小高度 */
  }
   .hero::before {
    background-size: cover;
    background-position: center center;
    object-fit: cover;
  }
.testimonial-card {
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 40vh;
}
.overlay-circle {
    position: absolute;
    top: -250px;
    right: 10px;
    width: 150px;
    height: 150px;
}


/* 移动端样式 */
@media screen and (max-width: 768px) {
  iframe[src*="google.com/maps"] {
    width: 100%;
    height: 300px;
    max-width: 100vw;
  }
}

/* 确保容器不溢出 */
.contact-map {
  width: 100%;
  overflow: hidden;
}

.image-animation {
  position: absolute;
  top: 25px; /* 调整数值控制垂直位置 */
  right: 20px; /* 定位到右侧 */
  width: 100px; /* 设置图片宽度 */
  height: 100px; /* 设置图片高度 */
  z-index: 1; /* 确保图片在内容之上 */
}

.image-animation img {
  width: 100px;
  height: 100px;
  animation: float3d 3s infinite;
  z-index: 1;
}

#activities .service-card img {
    width: calc(100% + 4rem);
    height: auto;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin: -2rem -2rem 1rem -2rem;
    display: block;
}

}

