/*
 Theme Name:   Flatsome Child - Gladia Heights
 Description:  Child theme for Gladia Heights real estate landing page
 Author:       MapleLand Premium
 Template:     flatsome
 Version:      1.0.0
 License:      GNU General Public License v2+
*/

/* ============================================
   GLADIA HEIGHTS — CUSTOM CSS PACKAGE
   Navy: #061426 | Gold: #d7ad5a
   ============================================ */

/* ---- UTILITY CLASSES ---- */
.text-navy { color: #061426 !important; }
.text-gold  { color: #d7ad5a !important; }
.bg-navy    { background-color: #061426 !important; }
.tracking-widest { letter-spacing: 0.15em; }
.tracking-wide   { letter-spacing: 0.05em; }

/* ---- GLOBAL TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; }

/* ---- BUTTON OVERRIDES ---- */
button.outline, .button.outline, a.button.outline {
    border-color: #d7ad5a !important;
    color: #d7ad5a !important;
}
button.outline:hover, .button.outline:hover, a.button.outline:hover {
    background-color: #d7ad5a !important;
    color: #061426 !important;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
#section-hero {
    background-size: cover !important;
    background-position: center !important;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(215, 173, 90, 0.4);
    border-radius: 30px;
    color: #d7ad5a;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ============================================
   SECTION 2: OVERVIEW (cream background)
   ============================================ */
.section-overview .col:first-child img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(6, 20, 38, 0.15);
}

.section-overview h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #061426;
}

.section-overview .text-sm {
    font-size: 0.85rem;
    color: #6c7a8a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   CONTACT FORM 7 — DARK MODE STYLING
   ============================================ */
.gladia-form {
    max-width: 560px;
    margin: 0 auto;
}

.gladia-form .form-row {
    margin-bottom: 0;
}

.gladia-form .wpcf7-form-control {
    width: 100% !important;
    background-color: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 0 !important;
    color: #fff !important;
    padding: 12px 0 !important;
    font-size: 1rem !important;
    box-shadow: none !important;
    outline: none !important;
    margin-bottom: 28px !important;
    transition: border-color 0.3s ease;
}

.gladia-form .wpcf7-form-control::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.95rem;
}

.gladia-form .wpcf7-form-control:focus {
    border-bottom-color: #d7ad5a !important;
    outline: none !important;
    box-shadow: none !important;
}

.gladia-form .form-submit {
    margin-top: 12px;
}

.gladia-form .wpcf7-submit {
    background-color: #d7ad5a !important;
    color: #061426 !important;
    border: 0 !important;
    border-radius: 99px !important;
    padding: 14px 48px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: auto !important;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.gladia-form .wpcf7-submit:hover {
    background-color: #f1d99a !important;
    transform: translateY(-2px);
}

.gladia-form .wpcf7-submit:active {
    transform: translateY(0);
}

/* CF7 validation messages */
.gladia-form .wpcf7-not-valid-tip {
    color: #ff6b6b !important;
    font-size: 0.8rem;
    margin-top: -24px;
    margin-bottom: 8px;
}

.gladia-form .wpcf7-spinner {
    display: block !important;
    margin: 10px auto !important;
}

.gladia-form .wpcf7-response-output {
    border: 1px solid rgba(215, 173, 90, 0.3) !important;
    background-color: rgba(215, 173, 90, 0.1) !important;
    color: #f1d99a !important;
    border-radius: 8px !important;
    margin: 20px auto !important;
    max-width: 560px;
    text-align: center;
}

/* ============================================
   SECTION 3: CTA SECTION (dark navy)
   ============================================ */
#dang-ky {
    background: linear-gradient(180deg, #061426 0%, #0a1e38 100%);
}

/* ============================================
   FLOATING CTA BUTTONS (Zalo + Call)
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

/* Zalo button */
.floating-zalo {
    background-color: #0068FF;
    animation: pulse-zalo 2s infinite;
}

.floating-zalo svg, .floating-zalo img {
    width: 28px;
    height: 28px;
}

/* Call button */
.floating-call {
    background-color: #d7ad5a;
    animation: pulse-call 2.5s infinite;
}

.floating-call svg {
    width: 24px;
    height: 24px;
    fill: #061426;
}

/* Pulse animations */
@keyframes pulse-zalo {
    0%   { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6); }
    70%  { box-shadow: 0 0 0 14px rgba(0, 104, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

@keyframes pulse-call {
    0%   { box-shadow: 0 0 0 0 rgba(215, 173, 90, 0.6); }
    70%  { box-shadow: 0 0 0 14px rgba(215, 173, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(215, 173, 90, 0); }
}

/* ============================================
   FOOTER STYLING
   ============================================ */
.site-footer {
    background-color: #061426 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer h3,
.site-footer h4 {
    color: #d7ad5a !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #d7ad5a !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 549px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .floating-cta a {
        width: 50px;
        height: 50px;
    }

    .gladia-form .wpcf7-submit {
        width: 100% !important;
        border-radius: 50px !important;
    }
}
