/* =========================================
   BLAYHUB CONTACT PAGE STYLES - V18.0 (Global Sync Update)
   ========================================= */

:root { 
    --shop-red: #e5383b; 
    --shop-red-dark: #b91c1f; 
    --shop-bg: #050608;       
    --shop-surface: #0e0f12;  
    --shop-border: #1a1c20;   
    --shop-muted: #3a3d41; 
    --shop-text: #e8e8e8; 
    --shop-sub: #6b6e72; 
}

.section-padding { padding: 100px 5%; }
.text-red { color: var(--shop-red); }
.text-center { text-align: center; }

/* --- 1. HERO --- */
.contact-hero { 
    height: 500px; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    /* 🌟 Adjusted to exactly match the new 105px Global Navbar */
    margin-top: -105px; 
    padding-top: 105px; 
    background-image: url('https://wallpaperaccess.com/full/3460990.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    overflow: hidden; 
}

/* DARKENED HERO OVERLAY SO TEXT POPS */
.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(180deg, rgba(5,6,8,0.75) 0%, rgba(5,6,8,0.92) 55%, var(--shop-bg) 100%); 
    z-index: 1; 
}

.contact-hero-content { 
    position: relative; 
    z-index: 2; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 14px; 
    padding: 0 24px; 
    max-width: 800px; 
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 56, 59, 0.08);
    border: 1px solid rgba(229, 56, 59, 0.4);
    color: #ff4d4f;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(229,56,59,0.15);
}

.contact-hero h1 { 
    font-family: 'Oswald', sans-serif; 
    font-size: clamp(4rem, 10vw, 7rem); 
    color: #fff; 
    line-height: 0.9; 
    margin: 0; 
    font-weight: 700; 
    letter-spacing: -1px; 
    text-transform: uppercase;
}

.hero-sub { 
    font-family: 'Inter', sans-serif; 
    font-size: 0.9rem; 
    color: rgba(255,255,255,0.45); 
    margin: 0; 
    max-width: 420px; 
    font-weight: 300; 
    letter-spacing: 0.3px; 
}

/* --- 2. CONTACT GRID --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 3. PREMIUM MINIMALIST FORM --- */
.contact-form-wrapper {
    background: transparent; 
    padding: 0;
}
.form-header { margin-bottom: 40px; }
.form-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.form-header p { color: var(--shop-sub); font-size: 0.95rem; line-height: 1.6; max-width: 90%; }

.custom-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    color: #a1a1aa;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 18px;
    border-radius: 6px 6px 0 0; 
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.1);
    border-bottom-color: var(--shop-red);
    background: rgba(229, 56, 59, 0.02);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.select-wrapper { position: relative; }
.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.select-wrapper select option { background: var(--shop-surface); color: white; }
.select-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--shop-sub);
    pointer-events: none;
}

.btn-submit {
    width: auto;
    min-width: 220px;
    background: var(--shop-red);
    color: white;
    border: 1px solid transparent;
    padding: 16px 32px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 4px; 
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
}
.btn-submit:hover {
    background: var(--shop-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229,56,59,0.3);
}
.btn-submit i { transition: transform 0.3s ease; }
.btn-submit:hover i { transform: translateX(4px) translateY(-4px); }

.btn-submit:disabled {
    background: var(--shop-muted);
    color: #a1a1aa;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- 4. UNIFIED HQ WIDGET --- */
.contact-hq-widget {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    margin-top: 15px; 
}

.hq-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hq-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.hq-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    width: 100%;
}
.hq-icon {
    color: var(--shop-red);
    font-size: 1.2rem;
    margin-top: 2px;
}
.hq-text h5 {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.hq-text p {
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Map Integration inside Widget */
.map-container {
    height: 260px;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #09090b; 
}
.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    transition: filter 0.4s ease;
    border: 0; 
}
.map-container:hover iframe {
    filter: grayscale(50%) invert(92%) contrast(90%) hue-rotate(180deg) !important;
}
.map-overlay-accent {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 10px 20px rgba(14,15,18,1);
}

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- 5. RESPONSIVE MOBILE UX --- */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; } 
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 15px; }
    
    /* Pulled hero up to sync with mobile global nav */
    .contact-hero { height: 360px; margin-top: -70px; padding-top: 70px; } 
    .contact-hero h1 { font-size: 3.5rem; margin-bottom: 10px; } 
    .hero-sub { font-size: 0.95rem; max-width: 90%; }
    
    .form-header h2 { font-size: 2rem; }
    .custom-form .form-row { grid-template-columns: 1fr; gap: 0; } 
    .btn-submit { width: 100%; justify-content: center; }
    
    .contact-hq-widget { border-radius: 12px; margin-top: 0; }
    .hq-details { padding: 25px 20px; gap: 20px; }
    .map-container { height: 200px; border-radius: 0 0 12px 12px; }
}

@media (max-width: 480px) {
    .contact-hero h1 { font-size: 2.8rem; }
    .btn-submit { font-size: 0.95rem; }
}