/* contact-page.css - Imperial Boutique Version (Unique Luxury) */

.contact-page-imperial {
    background: #fff;
    overflow: hidden;
}

/* 1. Hero Section (Straddle Background) */
.straddle-hero {
    height: 520px;
    background-size: cover;
    background-position: top;
    position: relative;
    background-repeat: no-repeat;
}

.straddle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

/* 2. The Imperial Card - Unique elements */
.imperial-card {
    background: #fff; /* Reverted to white as per original style */
    background-image: none; /* Removed linen texture */
    margin-top: -220px;
    position: relative;
    z-index: 10;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
}

/* Decorative Gold Frame inside card */
.card-gold-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 0.5px solid rgba(201, 161, 74, 0.4);
    pointer-events: none;
    z-index: 1;
}

.card-gold-frame::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(201, 161, 74, 0.2);
}

/* Large Background Watermark */
.card-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: var(--font-heading);
    font-size: 22vw;
    font-weight: 700;
    color: rgba(201, 161, 74, 0.05); /* Adjusted to match theme gold opacity */
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.straddle-card-inner {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.straddle-info-col,
.straddle-form-col {
    padding: 90px 70px;
    flex: 1;
    min-width: 450px;
}

/* 3. Typography refinements */
.contact-header-wrap {
    margin-bottom: 60px;
}

.straddle-title {
    font-family: var(--font-heading);
    color: #0F2A44;
    font-size: 42px;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.title-accent {
    font-family: var(--font-heading);
    font-size: 16px;
    font-style: italic;
    color: var(--vbbk-luxury-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* 4. Luxury Icon Rings with Shimmer */
.straddle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
}

.icon-ring {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(201, 161, 74, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0F2A44;
    font-size: 24px;
    position: relative;
    transition: all 0.5s ease;
}

.icon-ring::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 0.5px solid rgba(201, 161, 74, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: 0.5s;
}

.grid-item:hover .icon-ring {
    background: #0F2A44;
    color: #fff;
    border-color: #0F2A44;
    transform: scale(1.1);
}

.grid-item:hover .icon-ring::before {
    opacity: 1;
    transform: scale(1.15);
}

.grid-text h4 {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0F2A44;
}

.grid-text p, 
.grid-text a {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #0F2A44;
    text-decoration: none;
    opacity: 0.8;
}

/* 5. Imperial Sign-off Decoration */
.imperial-signoff {
    margin-top: 80px;
    text-align: center;
}

.signoff-line {
    width: 60px;
    height: 1px;
    background: var(--vbbk-luxury-gold);
    margin: 0 auto 20px;
    opacity: 0.4;
}

.signoff-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 16px;
    color: #0F2A44;
    opacity: 0.6;
}

.signoff-icon {
    color: var(--vbbk-luxury-gold);
    font-size: 14px;
    margin-top: 10px;
}

/* 6. Form Polish: Floating line style */
.straddle-form-col {
    background: rgba(255, 255, 255, 0.7);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #0F2A44;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #666;
}

.fluent-form-imperial input,
.fluent-form-imperial textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(26, 60, 72, 0.2) !important;
    border-radius: 0 !important;
    padding: 15px 0 !important;
    font-size: 14px !important;
    color: #0F2A44 !important;
    transition: all 0.4s ease !important;
}

.fluent-form-imperial input:focus,
.fluent-form-imperial textarea:focus {
    border-bottom-color: var(--vbbk-luxury-gold) !important;
    box-shadow: none !important;
}

.fluent-form-imperial button.ff-btn-submit {
    margin-top: 30px !important;
    background: #0F2A44 !important;
    border: none !important;
    padding: 16px 40px !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px !important;
    position: relative;
    overflow: hidden;
}

.fluent-form-imperial button.ff-btn-submit:hover {
    background: #061216 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* 7. Map refinements */
.contact-page-imperial .straddle-map {
    position: relative;
    z-index: 5;
    padding: 0 !important; /* Override global section padding from style.css */
    margin: 0;
    line-height: 0; /* Remove baseline gap */
}

.map-decoration-top {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--vbbk-luxury-gold), transparent);
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.map-wrapper {
    padding: 0;
    margin: 0;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    filter: sepia(10%) contrast(1.05);
}

/* 8. Responsive improvements */
@media (max-width: 1024px) {
    .straddle-info-col,
    .straddle-form-col {
        padding: 60px 40px;
    }
    
    .imperial-card {
        margin-top: -150px;
    }
    
    .straddle-title {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .straddle-grid {
        grid-template-columns: 1fr;
    }
    
    .card-watermark {
        font-size: 35vw;
    }
}

@media (max-width: 430px) {
    html,
    body {
        overflow-x: hidden;
    }

    .contact-page-imperial {
        overflow-x: hidden;
    }

    .straddle-hero {
        height: 260px;
        background-position: center;
    }

    .straddle-content .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .imperial-card {
        margin-top: -90px;
        border-radius: 10px;
        overflow: hidden;
    }

    .card-gold-frame {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .card-watermark {
        font-size: 34vw;
        opacity: 0.04;
    }

    .straddle-card-inner {
        display: block;
    }

    .straddle-info-col,
    .straddle-form-col {
        min-width: 0;
        width: 100%;
        padding: 28px 18px;
        box-sizing: border-box;
    }

    .straddle-info-col {
        padding-bottom: 22px;
    }

    .straddle-form-col {
        padding-top: 22px;
        background: rgba(255, 255, 255, 0.92);
    }

    .contact-header-wrap {
        margin-bottom: 26px;
    }

    .straddle-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 6px;
        word-break: break-word;
    }

    .title-accent {
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    .straddle-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .grid-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .grid-text {
        flex: 1;
        min-width: 0;
    }

    .icon-ring {
        width: 44px;
        height: 44px;
        margin-bottom: 0;
        margin-top: 2px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .grid-text h4 {
        font-size: 11px;
        letter-spacing: 1.8px;
        margin: 0 0 6px;
        line-height: 1.2;
    }

    .grid-text p,
    .grid-text a {
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .grid-text p {
        margin: 0;
    }

    .imperial-signoff {
        margin-top: 30px;
    }

    .signoff-text {
        font-size: 14px;
    }

    .form-header {
        margin-bottom: 22px;
    }

    .form-header h3 {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .form-header p {
        font-size: 13px;
    }

    .fluent-form-imperial input,
    .fluent-form-imperial textarea {
        padding: 12px 0 !important;
        font-size: 14px !important;
    }

    .fluent-form-imperial button.ff-btn-submit {
        width: 100%;
        padding: 14px 16px !important;
        letter-spacing: 1.6px;
        font-size: 12px !important;
    }

    .map-wrapper iframe {
        height: 320px;
    }
}
