/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme - CASAMIA RESORT VILLAS & MARINA
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* ===== CASAMIA RESORT VILLAS & MARINA - ĐỊA TRUNG HẢI NGHỈ DƯỠNG ===== */
html {
    scroll-behavior: smooth;
}

:root {
    --med-blue: #1d3557;
    --med-teal: #2a9d8f;
    --med-orange: #e76f51;
    --med-sand: #f4a261;
    --med-bg: #fdfbf7;
}

.text-terracotta {
    color: #e76f51 !important;
}

.bds-floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bds-btn-pulse {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e76f51 0%, #d46a38 100%);
    color: #fff;
    font-weight: bold;
    padding: 12px 22px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.4);
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.bds-btn-pulse:hover {
    transform: scale(1.05);
    color: #fff;
}

.header-top, .top-bar {
    display: none !important;
}
.footer-widgets, #footer-widgets {
    display: none !important;
}

/* ===== THẺ VỊ TRÍ CASAMIA RESORT ===== */
.bds-location-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bds-location-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(29, 53, 87, 0.05);
    padding: 20px 24px !important;
    border-left: 5px solid #e76f51 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bds-location-card.accent {
    border-left-color: #2a9d8f !important;
}

.bds-location-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(231, 111, 81, 0.12);
}

.bds-location-card h4 {
    color: #1d3557;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 6px;
}

.bds-location-card p {
    color: #5c677d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== THẺ TIỆN ÍCH RESORT BIỂN ===== */
.bds-amenity-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(29, 53, 87, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #fae1dd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bds-amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(231, 111, 81, 0.16);
    border-color: #f4a261;
}

.bds-amenity-img-wrap {
    width: 100%;
    height: 220px !important;
    overflow: hidden;
    position: relative;
    background: #fdfbf7;
}

.bds-amenity-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.4s ease;
}

.bds-amenity-card:hover .bds-amenity-img-wrap img {
    transform: scale(1.06);
}

.bds-amenity-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bds-amenity-body h4 {
    color: #1d3557;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
}

.bds-amenity-body p {
    color: #5c677d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.bds-plan-img-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.bds-plan-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.bds-rounded-img img {
    border-radius: 14px !important;
    box-shadow: 0 6px 24px rgba(29, 53, 87, 0.08);
}

/* ===== FORM ĐĂNG KÝ CASAMIA RESORT ===== */
.bds-form-wrapper {
    background: #ffffff !important;
    color: #1e293b !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 45px rgba(29, 53, 87, 0.25) !important;
    padding: 35px 30px !important;
    position: relative;
    z-index: 10;
    border-top: 4px solid #e76f51;
}

.bds-form-title {
    color: #1d3557 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.bds-form-subtitle {
    color: #64748b !important;
    font-size: 13.5px !important;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
}

.bds-field-group {
    margin-bottom: 18px !important;
}

.bds-field-group label {
    color: #1d3557 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.bds-input-icon-wrap input,
.bds-select-wrap select {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    height: 48px !important;
    font-size: 14.5px !important;
    box-shadow: none !important;
    outline: none !important;
}

.bds-input-icon-wrap input:focus,
.bds-select-wrap select:focus {
    border-color: #e76f51 !important;
    box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.2) !important;
}

.bds-select-wrap select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e76f51' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

.bds-submit-group {
    margin-top: 24px !important;
}

.bds-btn-submit {
    width: 100% !important;
    background: linear-gradient(135deg, #e76f51 0%, #d46a38 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 14px 20px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.bds-btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.5) !important;
}

/* ===== HEADER CASAMIA ===== */
#header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(231, 111, 81, 0.25) !important;
    box-shadow: 0 4px 20px rgba(29, 53, 87, 0.06) !important;
}

#masthead .header-inner {
    height: 80px !important;
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
}

#logo img {
    max-height: 52px !important;
    width: auto !important;
}

.header-nav > li > a {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.8px !important;
    color: #1d3557 !important;
    padding: 12px 14px !important;
    position: relative !important;
    transition: color 0.25s ease !important;
}

.header-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f4a261, #e76f51);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.header-nav > li:hover > a,
.header-nav > li.active > a {
    color: #e76f51 !important;
}

.header-nav > li:hover > a::after,
.header-nav > li.active > a::after {
    width: 65%;
}

.bds-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    margin-left: 18px !important;
}

.bds-header-hotline {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}

.bds-header-hotline .hotline-icon {
    width: 38px;
    height: 38px;
    background: rgba(231, 111, 81, 0.15);
    border: 1px solid rgba(231, 111, 81, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e76f51;
    transition: all 0.3s ease;
}

.bds-header-hotline:hover .hotline-icon {
    background: #e76f51;
    color: #ffffff;
    transform: scale(1.08);
}

.bds-header-hotline .hotline-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.bds-header-hotline .hotline-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

.bds-header-hotline .hotline-number {
    font-size: 15.5px;
    font-weight: 800;
    color: #1d3557;
}

.bds-header-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%) !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.35) !important;
    transition: all 0.3s ease !important;
}

.bds-header-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(231, 111, 81, 0.5) !important;
    color: #ffffff !important;
}

/* ===== FOOTER CASAMIA ===== */
.footer-wrapper {
    background: #0e2038 !important;
    border-top: 3px solid #e76f51 !important;
}

.bds-footer-trust-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(231, 111, 81, 0.25);
    border-radius: 12px;
    padding: 22px 20px;
    margin-bottom: 40px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 10px;
}

.trust-icon {
    font-size: 26px;
    line-height: 1;
}

.trust-text strong {
    color: #f4a261;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

.trust-text span {
    color: #a8dadc;
    font-size: 12px;
}

.bds-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(231, 111, 81, 0.35), transparent);
    margin-bottom: 40px;
}

.bds-footer-brand .footer-logo img {
    max-height: 50px;
    width: auto;
}

.bds-footer-desc {
    color: #f1faee;
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.bds-corp-meta p {
    font-size: 13px;
    color: #a8dadc;
    margin-bottom: 6px;
}

.bds-corp-meta strong {
    color: #ffffff;
}

.bds-footer-heading {
    color: #f4a261 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    position: relative !important;
}

.bds-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: #e76f51;
    border-radius: 2px;
}

.bds-footer-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bds-footer-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #f1faee;
}

.bds-footer-list .hotline-highlight {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.bds-footer-list .hotline-highlight:hover {
    color: #f4a261 !important;
}

.bds-footer-nav {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bds-footer-nav li {
    margin-bottom: 10px;
}

.bds-footer-nav li a {
    color: #f1faee !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.bds-footer-nav li a:hover {
    color: #f4a261 !important;
    transform: translateX(6px) !important;
}

.download-sub {
    color: #f1faee;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bds-quick-phone-form .quick-input-group {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(231, 111, 81, 0.4);
}

.bds-quick-phone-form input[type="tel"] {
    flex-grow: 1;
    border: none !important;
    padding: 10px 14px !important;
    height: 44px !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    outline: none !important;
}

.quick-submit-btn {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 16px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.privacy-guarantee {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #a8dadc;
    margin-top: 10px;
}

.absolute-footer {
    background: #081424 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 20px 0 !important;
    color: #6c757d !important;
    font-size: 12.5px !important;
}

.absolute-footer a {
    color: #a8dadc !important;
}

@media (max-width: 849px) {
    #masthead .header-inner {
        height: 65px !important;
    }
    #logo img {
        max-height: 40px !important;
    }
    .bds-header-hotline .hotline-info {
        display: none !important;
    }
    .bds-header-cta {
        padding: 8px 14px !important;
        font-size: 11px !important;
    }
}