/* ManHub Custom Styles */

/* Language Switcher */
.lang-switcher {
    position: absolute;
    right: 15px;
    top: 57%;
    transform: translateY(-50%);
    z-index: 999;
}

.lang-switcher form {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    padding: 3px 6px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    color: #d19d64;
}

.lang-divider {
    color: #fff;
    font-size: 12px;
    opacity: 0.5;
}

/* Blog List Page */
.blog-list-section {
    padding: 60px 0;
}

.blog-list-section .latest-news-block-inner {
    margin-bottom: 30px;
}

/* Always show blog post title (override .news-text a styles) */
.latest-news-section .news-text h4 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
}

.latest-news-section .news-text h4 a {
    display: block !important;
    font-size: 20px;
    line-height: 1.4;
    color: #1a1a1a;
    text-transform: none;
    font-weight: 600;
    background: none;
    max-width: none;
    padding: 0;
    text-align: left;
    margin-top:0;
}

.latest-news-section .news-text h4 a:hover {
    color: #d19d64;
}

/* Hide excerpt/sapo in blog list */
.latest-news-section .news-text p {
    display: none;
}

/* Always show read-more button, remove hover layout jump */
.latest-news-section .news-text .read-more-btn {
    display: inline-block !important;
}

.latest-news-section .latest-news-block-inner:hover .news-text {
    transform: none;
    -webkit-transform: none;
}

/* Blog Pagination */
.blog-pagination {
    text-align: center;
    padding: 30px 0 10px;
}

.blog-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 5px;
}

.blog-pagination ul li a {
    display: inline-block;
    padding: 8px 15px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.blog-pagination ul li a:hover,
.blog-pagination ul li.active a {
    background: #d19d64;
    color: #fff;
}

/* Blog Detail */
.blog-detail-section {
    padding: 60px 0;
}

.blog-detail-img {
    margin-bottom: 25px;
}

.blog-detail-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.blog-detail-meta {
    margin-bottom: 20px;
    color: #888;
    font-size: 14px;
}

.blog-detail-meta i {
    margin-right: 5px;
    color: #d19d64;
}

.blog-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.blog-detail-body p {
    margin-bottom: 15px;
}

.blog-detail-body img {
    max-width: 100%;
    height: auto;
}

.blog-detail-back {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 60px 0;
    color: #888;
    font-size: 18px;
}

/* Contact Form Styles */
.contact-section {
    padding: 60px 0;
}

.contact-info {
    padding-right: 30px;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
    background: #d19d64;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.contact-info-text h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin-bottom: 3px;
    color: #1a1a1a;
}

.contact-info-text p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.contact-info-text a {
    color: #d19d64;
    text-decoration: none;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: #d19d64;
}

.contact-submit-btn {
    margin-top: 5px;
}

.alert-success-custom {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 20px;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #1a1a1a;
    margin-top: 25px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h3:first-of-type {
    margin-top: 0;
}

.about-text p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-text strong {
    color: #1a1a1a;
}

/* Statistics Section */
.statistics-section {
    background: #1a1a1a;
    padding: 60px 0;
}

.statistics-block {
    text-align: center;
    padding: 20px;
}

.statistics-icon {
    font-size: 40px;
    color: #d19d64;
    margin-bottom: 10px;
}

.statistics-block h3 {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    margin-bottom: 5px;
}

.statistics-block p {
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Inner Page Banner positioning */
.banner-slider-initial {
    position: relative;
}

.top-banner {
    position: relative;
}

.inner-page-banner-text {
    position: absolute;
    bottom: 200px;
    left: 0;
    right: 0;
}

.inner-page-banner-text h1 {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
}

.inner-page-banner-text p {
    color: #d19d64;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Page Service Blocks */
.service-page-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.page-service-block {
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.page-service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.page-service-img {
    overflow: hidden;
}

.page-service-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s;
}

.page-service-block:hover .page-service-img img {
    transform: scale(1.05);
}

.page-service-text {
    padding: 30px 25px;
    text-align: center;
}

.page-service-icon {
    margin-bottom: 15px;
}

.page-service-icon img {
    height: 50px;
}

.page-service-text h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-service-text h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.page-service-text h3 a:hover {
    color: #d19d64;
}

.page-service-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-service-text .read-more-btn {
    display: inline-block;
    background: none;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    font-size: 12px;
    padding: 8px 25px;
    max-width: none;
    width: auto;
    transition: all 0.3s;
}

.page-service-text .read-more-btn:hover {
    background: #d19d64;
    border-color: #d19d64;
    color: #fff;
}

/* Map */
.map-img iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Text danger for validation */
.text-danger {
    color: #dc3545;
    font-size: 13px;
}

/* Blog section spacing on home page */
.latest-news-section {
    padding-top: 60px;
}

/* Appointment CTA */
.appointment-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.appointment-cta p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.appointment-booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 18px 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.appointment-booking-btn i {
    margin-right: 8px;
    font-size: 20px;
}

.appointment-booking-btn:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
}

/* Prevent horizontal scroll overflow */
.our-service,
.brand-section,
.our-gallery {
    overflow: hidden;
}

/* Home Page Service Section */
.service-wrap-img > img {
    min-height: 380px;
    object-fit: cover;
}

.service-block-image-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-block h6 a {
    color: inherit;
    text-decoration: none;
}

.service-block h6 a:hover {
    color: #fff;
}

/* Mobile Language Switcher inside responsive menu */
.mobile-lang-switcher {
    display: none;
}

.mobile-lang-switcher .lang-switcher {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
}

/* Navigation menu font-size - smaller for Vietnamese text */
.header ul li a {
    font-size: 15px;
    letter-spacing: 0;
}

/* Membership Plans Slider */
.membership-plans-slider {
    display: block;
    width: 100%;
    margin-bottom: 50px;
    clear: both;
    position: relative;
}

/* Before Slick init: show cards in a row */
.membership-plans-slider .membership-plan-slide {
    display: inline-block;
    vertical-align: top;
    width: 32%;
    padding: 0 10px;
    outline: none;
    box-sizing: border-box;
}

/* After Slick init: Slick controls layout + equal height */
.membership-plans-slider.slick-initialized .membership-plan-slide {
    display: block;
    width: auto;
}

.membership-plans-slider .slick-track {
    display: flex !important;
}

.membership-plans-slider .slick-slide {
    height: auto !important;
    padding: 0 8px;
    box-sizing: border-box;
}

.membership-plans-slider .slick-slide > div {
    height: 100%;
    display: flex;
}

.membership-plans-slider .membership-plan-slide {
    height: 100%;
    width: 100%;
    display: flex !important;
}

/* Override ALL theme floats inside slider for flexbox equal height */
.membership-plans-slider .membership-plan-box,
.membership-plans-slider .membership-plan-inner-box,
.membership-plans-slider .membership-plan-inner-box h2,
.membership-plans-slider .membership-plan-list,
.membership-plans-slider .membership-plan-list ul,
.membership-plans-slider .membership-plan-list ul li,
.membership-plans-slider .membership-plan-statistic,
.membership-plans-slider .membership-plan-statistic span {
    float: none !important;
}

.membership-plans-slider .membership-plan-box {
    width: 100%;
    margin-bottom: 0;
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.membership-plans-slider .membership-plan-inner-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.membership-plans-slider .membership-plan-list {
    flex: 1;
}

.membership-plans-slider .membership-plan-cta {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 30px 0 40px;
}

.membership-plans-slider .membership-plan-cta .read-more-btn {
    display: inline-block;
    max-width: 200px;
    margin: 0 auto;
}

.membership-plans-slider .membership-plan-inner-box h2.heading-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.membership-plans-slider .membership-plan-inner-box h2.heading-title a:hover {
    color: #d19d64;
}

/* Featured badge */
.membership-plan-badge {
    text-align: center;
    padding: 8px 0 0;
}

.membership-plan-badge {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #d19d64;
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
}

/* Membership slider price - smaller for VND */
.membership-plans-slider .membership-plan-price {
    font-size: 22px;
    width: 150px;
    height: 150px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2px;
}

.membership-plans-slider .membership-plan-price .currency-vnd {
    font-size: 14px;
    display: inline;
}

.membership-plans-slider .membership-plan-price .currency-symbol {
    font-size: 16px;
    display: inline;
}

/* More benefits link */
.membership-more-benefits {
    background: none !important;
    color: #d19d64 !important;
}

.membership-more-benefits a {
    color: #d19d64;
    text-decoration: none;
    font-style: italic;
    font-size: 14px;
}

.membership-more-benefits a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Override .our-team hiding arrows (theme: .our-team .slick-arrow { display: none !important }) */
.our-team .membership-plans-slider .slick-arrow {
    display: block !important;
}

/* Slick arrows for membership slider */
.membership-plans-slider .slick-prev,
.membership-plans-slider .slick-next {
    width: 50px;
    height: 50px;
    z-index: 99;
    border: none;
    cursor: pointer;
    font-size: 0;
    top: 50%;
    margin-top: -25px;
}

.membership-plans-slider .slick-prev {
    left: 10px;
    background: rgba(0,0,0,0.6) url("../images/banner-arrow-left-hover.png") no-repeat center center;
}

.membership-plans-slider .slick-next {
    right: 10px;
    background: rgba(0,0,0,0.6) url("../images/banner-arrow-right-hover.png") no-repeat center center;
}

.membership-plans-slider .slick-prev:hover {
    background: #d19d64 url("../images/banner-arrow-left-hover.png") no-repeat center center;
}

.membership-plans-slider .slick-next:hover {
    background: #d19d64 url("../images/banner-arrow-right-hover.png") no-repeat center center;
}

.membership-plans-slider .slick-prev:before,
.membership-plans-slider .slick-next:before {
    content: none;
}

/* Slick dots for membership slider */
.membership-plans-slider .slick-dots {
    bottom: -40px;
}

.membership-plans-slider .slick-dots li button:before {
    font-size: 12px;
    color: #d19d64;
}

.membership-plans-slider .slick-dots li.slick-active button:before {
    color: #d19d64;
    opacity: 1;
}

/* Prevent overflow on our-team only (membership needs visible for arrows) */
.our-team {
    overflow: hidden;
}

/* Membership list page */
.membership-list-section {
    background-color: #fff;
    padding: 60px 0 80px;
    clear: both;
    overflow: visible;
}

/* Membership Detail Page */
.membership-detail-page {
    padding: 60px 0;
    background: #f8f8f8;
}

.membership-detail-header {
    background: #000;
    border: 1px solid #d19d64;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.membership-detail-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.membership-detail-price-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #d19d64;
    margin-bottom: 10px;
}

.membership-detail-price-tag .price-currency {
    font-size: 20px;
    font-weight: 400;
}

.membership-detail-badge {
    display: inline-block;
    background: #d19d64;
    color: #000;
    padding: 5px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.membership-detail-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 35px;
    margin-bottom: 30px;
}

.membership-detail-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d19d64;
    display: inline-block;
}

.membership-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.membership-benefits-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    font-size: 16px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}

.membership-benefits-list li:last-child {
    border-bottom: none;
}

.membership-benefits-list li:before {
    content: "\efab";
    font-family: 'IcoFont';
    position: absolute;
    left: 0;
    top: 10px;
    color: #d19d64;
    font-size: 18px;
}

.membership-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.membership-detail-body p {
    margin-bottom: 15px;
}

.membership-detail-body h3,
.membership-detail-body h4 {
    color: #1a1a1a;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.membership-detail-actions {
    text-align: center;
    padding: 30px 0;
}

.membership-detail-actions .read-more-btn {
    margin: 0 10px;
}

.membership-detail-back {
    display: inline-block;
    color: #888;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.membership-detail-back:hover {
    color: #d19d64;
    text-decoration: none;
}

.membership-detail-back:before {
    content: none;
}

/* Responsive */
@media (max-width: 767px) {
    .page-services-banner,
    .page-about-banner,
    .page-contact-banner {
        height: 300px !important;
        margin-bottom: 40px !important;
    }

    .inner-page-banner-text {
        bottom: 60px !important;
        padding: 0 15px !important;
    }

    .inner-page-banner-text h1 {
        font-size: 24px !important;
    }

    .inner-page-banner-text p {
        font-size: 14px !important;
    }

    .service-wrap-img > img {
        min-height: 525px;
        object-fit: cover;
    }

    #booking-modal-box {
        width: 90% !important;
    }

    /* Hide desktop lang switcher on mobile */
    .header > .lang-switcher {
        display: none;
    }

    /* Show mobile lang switcher inside responsive menu */
    .mobile-lang-switcher {
        display: block;
        text-align: center;
        padding: 15px 0 5px;
        border-top: 1px solid rgba(46, 42, 38, 0.35);
        margin-top: 10px;
    }

    .mobile-lang-switcher .lang-btn {
        color: #fff;
        font-size: 14px;
        padding: 5px 10px;
    }

    .mobile-lang-switcher .lang-btn.active,
    .mobile-lang-switcher .lang-btn:hover {
        color: #2e2a26;
    }

    .mobile-lang-switcher .lang-divider {
        color: #fff;
    }

    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }

    /* Membership section text padding */
    .inner-page-paragraph {
        padding: 0 15px;
    }

    .membership-plan-box-top-space {
        margin-top: 0;
    }

    /* Gallery tabs: 2 per row on mobile */
    .our-gallery .tabs {
        padding: 0 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .our-gallery .tabs li {
        display: inline-block;
        margin-top: 0;
        width: calc(50% - 4px);
        text-align: center;
        box-sizing: border-box;
    }

    /* Testimonial arrows higher on mobile */
    .testimonial-wrapper .slick-arrow {
        margin-top: -110px;
        opacity: 0.7;
    }

    .inner-page-banner-text h1 {
        font-size: 32px;
    }

    .statistics-block h3 {
        font-size: 32px;
    }
}
