/* ================= General Styles ================= */
body {
    font-family: Merriweather, Georgia, serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color:#2196F3;
}

p {
    color: #000000;
    line-height: 1.6;
    font-size: 14px;
}

p a {
    color: #2196F3;
}

/* ================= Header Styles ================= */
header {
    background-color: #000;
    padding: 10px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-size: 14px;
}

nav .btn {
    background-color:#2196F3;
    padding: 8px 15px;
    border-radius: 5px;
}

/* ================= Banner Styles ================= */
#banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    position: relative;
}

.banner-img {
    width: 100%;
    height: 500px; /* PC端高度 */
    background: url('banner.jpg') center/cover no-repeat;
}

/* Banner overlay for mobile */
.banner-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-align: left;
    max-width: 500px;
    z-index: 2;
}

.banner-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.banner-buttons .btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
}

.banner-buttons .btn.black-btn {
    background-color:  #90741fdb;
}

.banner-buttons .btn:nth-child(2) {
    background-color: #2196F3;
}

/* ================= Meet Sugar Mommy Section ================= */
#meet-sugar-mommy {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
}
#meet-sugar-mommy p {
    text-align: left;
}

/* Meet Button */
.meet-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.meet-button-wrapper .btn.red-btn {
    background-color: #90741fdb; 
    color: #fff;               
    padding: 10px 20px;        
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
}

.meet-button-wrapper .btn.red-btn:hover {
    background-color: #000000;
}

/* ================= Featured Members ================= */
#featured-members {
    text-align: center;
    padding: 40px 0;
    background-color: #f9f9f9;
}

.members-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.member-card {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
}

.member-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.member-info {
    background-color: #fff;
    padding: 10px;
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* ================= Success Story Section ================= */
#success-story {
    background-color: #fff;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
#success-story p {
    text-align: left;
}

/* ================= Blog Page ================= */
body.blog {
    font-family: Merriweather, Georgia, serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
}

.container.blog {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

body.blog h1 {
    text-align: center;
    color: #121111;
    margin-bottom: 30px;
    font-size: 36px;
}

body.blog .blog-image {
    display: block;
    margin: 0 auto 30px auto;
    width: 100%;        /* 自适应屏幕宽度 */
    max-width: 675px;    /* PC端最大宽度 */
    height: auto;        /* 按比例缩放 */
    object-fit: cover;
}

body.blog p {
    color: #000;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
}

body.blog h2 {
    color: #121111;
    margin: 30px 0 15px 0;
    text-align: left;
}

/* ================= Footer ================= */
footer {
    background-color: #000;
    text-align: center;
    padding: 20px 0;
}

/* 普通文字白色，包括 blog 页面 */
body.blog footer p,
footer p {
    color: #ffffff;
    margin: 5px 0;
    line-height: 1.4;
}

/* 链接保持红色 */
footer p a {
    color: #ffffff;
    text-decoration: none;
}

footer p a:hover {
    text-decoration: underline;
}

/* ================= Mobile Responsive Styles ================= */
@media (max-width: 768px) {

    .header-flex {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    /* Banner mobile image and overlay */
    .banner-img {
        background: url('bannermobile.jpg') center/cover no-repeat;
        height: 420px;
    }

    .banner-overlay {
        display: block;
    }

    /* Banner text mobile adjustments */
    .banner-text {
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        text-align: center;
    }

    .banner-text h1 {
        font-size: 28px;
    }

    .banner-text p {
        font-size: 14px;
        color: #ffffff;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .members-grid {
        flex-direction: column;
        align-items: center;
    }

    .member-card {
        width: 100%;
        max-width: 300px;
    }

    .meet-button-wrapper .btn.red-btn {
        width: 80%;
        max-width: 300px;
        font-size: 14px;
    }

    .container.blog {
        width: 90%;
        padding: 15px 0;
    }

    body.blog h1 {
        font-size: 28px;
        text-align: center;
    }

    body.blog .blog-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    body.blog h2 {
        text-align: center;
    }
}