/* ============================================
   Contact Page - Hero Background Image Overlay
   Targets: <section class="contact-hero">
   ============================================ */

/* Contact Hero with Background Image */
.contact-hero {
    position: relative;
    padding: 140px 5% 80px;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Background Image Layer */
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Translucent Blue Overlay - Matching index.html */
.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 136, 229, 0.25) 0%,
        rgba(21, 101, 192, 0.35) 100%
    );
    z-index: 2;
}

/* Content sits above overlay */
.contact-hero h1,
.contact-hero p {
    position: relative;
    z-index: 3;
}

.contact-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}


/* ============================================
   Contact Page Specific Styles
   Moved from inline <style> block
   ============================================ */

/* ============================================
   NOTE: Navigation styles removed from here — they
   live in cssstyles.css (shared across all pages)
   ============================================ */

/* Contact Section */
.contact-section { padding: 80px 5%; background: var(--bg-light); }
.contact-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }

/* Contact Info Cards */
.info-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; align-items: flex-start; gap: 1rem; transition: transform 0.3s ease; }
.info-card:hover { transform: translateY(-3px); }
.info-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; flex-shrink: 0; }
.info-content h3 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--text-dark); }
.info-content p { color: #666; font-size: 0.95rem; }

/* Contact Form Wrapper */
.contact-form-wrapper { background: white; padding: 1.5rem; border-radius: 12px; box-shadow: 0 5px 30px rgba(0,0,0,0.08); }
.contact-form-wrapper h2 { font-family: 'Poppins', sans-serif; font-size: 1.4rem; margin-bottom: 0.1rem; color: var(--text-dark); }
.contact-form-wrapper > p { color: #666; margin-bottom: 1rem; font-size: 0.85rem; }

/* Form Elements */
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.4rem 0.85rem; border: 1.5px solid #e2e8f0; border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: all 0.25s ease; background: #ffffff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-blue); background: white; }

/* Submit Button */
.submit-btn { width: 100%; padding: 0.6rem 2rem; background: linear-gradient(135deg, var(--accent-gold) 0%, #FF8F00 100%); color: white; border: none; border-radius: 10px; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }


/* ============================================
   NOTE: Footer styles removed from here — they
   live in cssstyles.css (shared across all pages)
   ============================================ */

/* Form Hint */
.form-hint { color: #666; font-size: 0.85rem; margin-top: 4px; display: block; }

/* Custom Request Field */
#customRequestGroup { display: none; visibility: hidden; height: 0; overflow: hidden; margin: 0; padding: 0; opacity: 0; transition: all 0.3s ease; }
#customRequestGroup.visible { display: block; visibility: visible; height: auto; margin-bottom: 0.75rem; padding: 0; opacity: 1; }

/* Success Message */
#successMessage { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; min-height: 400px; }

/* Responsive */
@media (max-width: 968px) { .contact-wrapper { grid-template-columns: 1fr; } .contact-info { order: 2; } .contact-form-wrapper { order: 1; } }
@media (max-width: 768px) { .nav-links { display: none; } .contact-hero h1 { font-size: 2.2rem; } .form-row { grid-template-columns: 1fr; } .contact-form-wrapper { padding: 1.25rem; } }