/* Contact Page */
.contact-page {
    background: #111;
}

/* Hero */
.contact-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.78)),
        url('https://www.theurbanbuildingslough.co.uk/_next/image?url=%2FBuilding1.jpg&w=3840&q=75') center center/cover no-repeat;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.contact-hero-content h1 {
    font-size: 74px;
    line-height: 1;
    margin: 18px 0 28px;
}

.contact-hero-content p {
    color: #ddd;
    font-size: 22px;
    line-height: 1.8;
    max-width: 720px;
}

/* Main Contact Section */
.contact-main {
    padding: 100px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 45px;
    align-items: start;
}

/* Contact Info */
.contact-info {
    background: #161616;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 38px;
    position: sticky;
    top: 110px;
}

.contact-info h2 {
    font-size: 34px;
    margin-top: 0;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(196,98,45,0.15);
    border: 1px solid rgba(196,98,45,0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.contact-info-item h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.contact-info-item p,
.contact-info-item a {
    color: #aaa;
    line-height: 1.7;
    transition: 0.3s ease;
}

.contact-info-item a:hover {
    color: #C4622D;
}

/* Contact Form */
.contact-form-box {
    background: #161616;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 45px;
}

.contact-form-box h2 {
    font-size: 42px;
    margin-top: 0;
    margin-bottom: 30px;
}

.contact-form-box p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-form-box input,
.contact-form-box textarea,
.contact-form-box select {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus,
.contact-form-box select:focus {
    outline: none;
    border-color: #C4622D;
}

/* Map Section */
.contact-map-section {
    padding-bottom: 100px;
}

.contact-map {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #222;
}

.contact-map iframe {
    width: 100%;
    height: 550px;
    border: none;
}

/* Building Gallery */
.contact-gallery {
    padding-bottom: 100px;
}

.contact-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-gallery-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #222;
    transition: 0.35s ease;
}

.contact-gallery-grid img:hover {
    transform: translateY(-6px);
    border-color: #C4622D;
}

/* CTA Strip */
.contact-cta {
    padding: 100px 0;
    background:
        radial-gradient(circle at top left, rgba(196,98,45,0.18), transparent 35%),
        #161616;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.contact-cta-inner {
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.contact-cta-inner h2 {
    font-size: 56px;
    margin-bottom: 20px;
}

.contact-cta-inner p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 18px;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive */
@media(max-width: 1100px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: relative;
        top: auto;
    }

    .contact-gallery-grid {
        grid-template-columns: 1fr;
    }

}

@media(max-width: 768px) {

    .contact-hero {
        min-height: 60vh;
    }

    .contact-hero-content h1 {
        font-size: 46px;
    }

    .contact-hero-content p {
        font-size: 18px;
    }

    .contact-form-box {
        padding: 30px;
    }

    .contact-form-box h2 {
        font-size: 34px;
    }

    .contact-map iframe {
        height: 400px;
    }

    .contact-cta-inner h2 {
        font-size: 38px;
    }

}