/* css/contact.css */

/* Hero Section */
.contact-hero-section {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    /* Aligns content to the bottom */
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../images/backgrounds/tv.jpg') no-repeat center center/cover;
    padding-bottom: 4rem;
}

/* Dark overlay for the hero */
.contact-hero-section .background-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    /* 50% opaque black */
}

.contact-hero-section h1 {
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

/* Contact Info Section */
.contact-info-section {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    background: url('../images/backgrounds/ger.jpg') no-repeat center center/cover;
}

/* Whitish overlay for the info section */
.contact-info-section .background-overlay {
    background-color: rgba(255, 255, 255, 0.8);
    /* 80% opaque white */
}

.contact-details {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
}

.contact-details h2 {
    font-size: 2.5rem;
    color: #8B4513;
    /* A brown color to match the style */
    margin-bottom: 2rem;
}

.contact-details p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-details a {
    color: var(--text-dark);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-details a:hover {
    border-color: var(--text-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero-section {
        height: 50vh;
        min-height: 400px;
    }

    .contact-hero-section h1 {
        font-size: 2.5rem;
    }

    .contact-info-section {
        padding: 4rem 1rem;
    }

    .contact-details h2 {
        font-size: 2rem;
    }

    .contact-details p {
        font-size: 1rem;
    }
}