/* 
 * Saigon Bảo Tín - Contact Page Styles
 * Boutique Pure CSS Implementation
 */

.contact-main {
    background-color: var(--bg-light);
}

/* --- Hero Banner (Reuse standardized component) --- */
.st-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0f172a;
}

.st-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.st-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.st-banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.st-banner-title {
    font-size: var(--fs-hero);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.st-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.st-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.st-breadcrumbs a:hover {
    color: var(--secondary);
}

.st-breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.st-breadcrumbs .current {
    color: #ffffff;
    font-weight: 700;
}

/* --- Main Layout --- */
.contact-section {
    padding: var(--section-pad-y) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.8fr 1.2fr;
    }
}

.contact-header {
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: var(--fs-h1);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: var(--fs-p);
    color: #475569;
    max-width: 600px;
    line-height: 1.6;
}

/* --- Map & Branches --- */
.map-container {
    background: #e2e8f0;
    border-radius: 32px;
    height: 480px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .branch-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.branch-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.branch-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.1);
}

.branch-icon {
    width: 48px;
    height: 48px;
    background: rgba(52, 152, 219, 0.08);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.branch-info h3 {
    font-size: var(--fs-h4);
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.branch-info p {
    font-size: var(--fs-p);
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.branch-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

/* --- Form Column --- */
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.contact-form-box h3 {
    font-size: var(--fs-h3);
    font-weight: 900;
    margin-bottom: 30px;
    color: #0f172a;
}

/* Fluent Forms Style Override */
.contact-form-box .ff-el-form-control {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 52px !important;
}

.contact-form-box .ff-btn-submit {
    width: 100% !important;
    height: 60px !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2) !important;
}

/* --- Quick Info List --- */
.quick-info-list {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.5rem;
}

.info-item span:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

/* --- Helper Styles --- */
.st-banner-line {
    height: 6px;
    width: 80px;
    background-color: var(--secondary);
    margin-top: 20px;
    border-radius: 10px;
}

.map-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.map-placeholder-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--primary);
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    .st-banner { height: 300px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .map-container { height: 350px; border-radius: 24px; }
    .branch-card { flex-direction: column; padding: 25px; }
    .contact-form-box { padding: 25px; border-radius: 24px; }
}

