/* 🔹 Background Video */
.video-container {
    position: relative;
    width: 100%;
    height: 95vh;
    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: 75%;
    top: 72%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    padding-top: 20px;
	white-space: nowrap;
}

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

.content h2, .content h3 {
    font-size: clamp(16px, 5vw, 32px); /* 自动调整大小 */
    text-align: center;
    max-width: 90%;
	white-space: nowrap;
}

/* 🔹 Logo styling */
.logo {
    max-width: 200px;
    margin-bottom: 20px;
}

/* 🔹 Button grid layout */
.button-grid {
    display: flex;
    flex-direction: column; /* Arrange buttons in a single column */
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* 🔹 Arrange CALL and WhatsApp buttons in the same row */
.btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Control spacing between buttons */
    flex-wrap: nowrap; /* Ensure buttons do not wrap */
}

/* 🔹 Ensure name labels have a fixed width for alignment */
.btn-wrapper strong {
    font-size: 18px;
    font-weight: bold;
    color: black;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    min-width: 80px; /* Ensure alignment for all names */
    text-align: right;
}

/* 🔹 Make all buttons consistent in size */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px; /* Adjust button width accordingly */
    padding: 8px;
    font-size: 18px;
    color: beige;
    background: linear-gradient(to right, #964B00,#E1C16E);/* Gradient background */
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    gap: 8px;
}

.btn:hover {
    filter: brightness(1.2); /* Makes it 20% brighter */
}

.btn:active {
    background-color: rgba(150, 0, 0, 1); /* Even darker color on click */
}

/* 🔹 Adjust spacing between CALL and WhatsApp buttons */
.btn-wrapper a:first-of-type {
    margin-right: 15px; /* Control spacing between CALL and WhatsApp buttons */
}

/* 🔹 Button icon size */
.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: 8px;
    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;
}

/* 🔹 Mobile optimization */
@media (max-width: 768px) {
    .btn-wrapper {
        gap: 8px; /* Reduce button spacing on mobile */
    }

    .btn {
        width: 110px; /* Slightly smaller button size on mobile to prevent wrapping */
        font-size: 16px;
    }

    .btn-wrapper a:first-of-type {
        margin-right: 8px; /* Reduce spacing between CALL and WhatsApp on mobile */
    }
}

.image-gallery video {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

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;
}

