/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

/* ----- Hero with curved bottom ----- */
.page-hero {
    height: 80vh;
    min-height: 400px;
    background-image: url('/static/images/gy.jpg'); /* reuse existing hero image */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 80px 30px;
    border-bottom-right-radius: 80px 30px;
    overflow: hidden;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .hero-content {
    text-align: center;
}

.page-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeUp 1s ease-out;
}

/* ----- Contact info band (4‑column grid) ----- */
.contact-info-band {
    padding: 80px 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-icon-item {
    text-align: center;
    padding: 20px;
    background: var(--dark-light);
    border-radius: 10px;
    border: 1px solid #333;
    transition: var(--transition);
}

.contact-icon-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
}

.icon-circle i {
    font-size: 2rem;
    color: var(--primary);
}

.contact-icon-item h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.contact-icon-item p,
.contact-icon-item a {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s;
}

.contact-icon-item a:hover {
    color: var(--primary);
}

.social-handles a {
    display: inline-block;
    margin: 3px 0;
    color: var(--gray);
}

.social-handles i {
    margin-right: 5px;
    color: var(--primary);
}

/* ----- Map section ----- */
.map-section {
    padding: 40px 0 80px;
    background: var(--dark);
    display: none;
}

.map-container {
    background: var(--dark-light);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
    box-shadow: var(--shadow);
}

.map-container iframe {
    display: block;
    border-radius: 8px;
    width: 100%;
    height: 400px;
}

/* ----- Contact form ----- */
.contact-form-section {
    padding: 80px 0;
    background: #0a0a0a;
    display: none;
}

.form-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: black;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: white;
    border: 1px solid #444;
    border-radius: 8px;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.form-card .btn {
    padding: 14px 32px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

/* ----- CTA banner ----- */
.cta-banner {
    background-image: url('/static/images/pl.jpg'); /* reuse existing image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.cta-banner .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}

.cta-banner .cta-content {
    width: 100%;
}

.cta-banner h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-banner .btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* ----- Footer modifications for QR code ----- */
.footer-contact .footer-qr {
    margin-top: 20px;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 10px;
    padding: 8px;
    border: 2px solid var(--primary);
}

.footer-contact .footer-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ----- Responsive adjustments ----- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        border-bottom-left-radius: 50px 20px;
        border-bottom-right-radius: 50px 20px;
        margin-top: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-card {
        padding: 30px 20px;
    }

    .map-container iframe {
        height: 300px;
    }
}