/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* =========================================
   PORTFOLIO HERO SECTION
   ========================================= */
.portfolio-hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.hero-overlay-content {
    background-color: #5B6069A8;
    padding: 30px;
    width: fit-content;      /* Shrinks to fit the widest line */
    max-width: 90%;          /* Prevents overflow on small screens */
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    color: #E3E6EB;
    margin: 0;
    font-weight: 700;
}

.hero-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #E3E6EB;
    font-weight: 700;
    margin: 10px 0;
}

.hero-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #E3E6EB;
    margin: 0;
    font-weight: 700;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.portfolio-about {
    margin-top: 75px;
    margin-right: auto;   /* Centers the container */
    margin-bottom: 0;
    margin-left: auto;    /* Centers the container */
    
    padding: 0;
    width: 60%;
    max-width: 900px;
}

.about-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #141517;
}

.about-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #141517;
}

/* =========================================
   GALLERY / POST CONTENT
   ========================================= */
.portfolio-content {
    max-width: 1000px;
    padding-top: 50px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* Style the Gutenberg gallery images */
.portfolio-content .wp-block-gallery {
    margin: 0;
}

.portfolio-content .wp-block-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media screen and (max-width: 768px) {
    .portfolio-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-address {
        font-size: 16px;
    }

    .portfolio-about {
        margin: 40px auto;
    }

    .about-heading {
        font-size: 24px;
    }
}

/* =========================================
   BACK BUTTON
   ========================================= */
.back-button {
    display: inline-block;
    margin-top: 20px;
    margin-left: 10%;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #141517;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.back-arrow {
    margin-right: 5px;
    text-decoration: none;
}

.back-text {
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.back-button:hover .back-text {
    border-bottom-color: #141517;
}
