/* 🔹 Background Video */
.video-container {
    position: relative;
    width: 100%;
    height: 68vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔹 Position .content over the video */
.content {
    width: 90%;
    max-width: 600px;
    position: absolute;
	line-height: 65%;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    padding-top: 20px;
}

/* 🔹 Logo styling */
.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

/* 🔹 Button grid layout */
.button-grid {
    display: flex;
    flex-direction: column; /* 让按钮组一行一行排列 */
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* 🔹 让 CALL 和 WhatsApp 在同一行 */
.btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* 控制按钮之间的距离 */
    flex-wrap: nowrap; /* 确保按钮不换行 */
}

/* 🔹 让名字固定宽度，确保对齐 */
.btn-wrapper strong {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    min-width: 80px; /* 确保所有名字对齐 */
    text-align: right;
}

/* 🔹 让所有按钮大小一致 */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px; /* 适当调整按钮宽度 */
    padding: 8px;
    font-size: 18px;
    color: white;
    background-color: rgba(255, 0, 0, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    gap: 8px;
}

/* 🔹 调整 CALL 和 WhatsApp 按钮之间的间距 */
.btn-wrapper a:first-of-type {
    margin-right: 15px; /* 控制 CALL 和 WhatsApp 之间的空隙 */
}

/* 🔹 按钮图标尺寸 */
.btn img {
    width: 22px;
    height: 22px;
}

/* 🔹 Image gallery below the video */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background-color: #f8f8f8;
}

.image-gallery img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

/* 🔹 Navigation Bar */
.topnav, .middlenav {
    list-style: none;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

/* 🔹 Icon container */
.icon-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

/* 🔹 Icon styling */
.icon-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
}

.icon-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

/* 🔹 Ad slider styling */
.ad-slider {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

.ad-slider img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 🔹 Swiper Navigation Button Sizes */
.swiper-button-next, .swiper-button-prev {
    width: 2em;
    height: 2em;
}

.ad-slider {
    font-size: 10px;
}

/* 🔹 手机端优化 */
@media (max-width: 768px) {
    .btn-wrapper {
        gap: 8px; /* 让按钮在手机端间距稍微小一点 */
    }

    .btn {
        width: 110px; /* 让按钮在手机端稍微缩小，避免换行 */
        font-size: 16px;
    }

    .btn-wrapper a:first-of-type {
        margin-right: 8px; /* 手机端减少 CALL 和 WhatsApp 之间的间距 */
    }
}

footer {
    text-align: center;  /* Center text */
    padding: 10px;  /* Add padding */
    background-color: #222;  /* Dark background */
    color: white;  /* White text */
    font-size: 12px;
    height: auto;
    bottom: 0;
    left: 0;
}

.friend-links {
    margin-top: 20px;
    text-align: center;
}

.friend-links h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.friend-links ul {
    list-style-type: none;
    padding: 0;
}

.friend-links ul li {
    display: inline;
    margin: 0 10px;
}

.friend-links ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.friend-links ul li a:hover {
    text-decoration: underline;
}

