html {
    scroll-behavior: smooth;
}

* {
    font-family: Montserrat, sans-serif;
}

.responsive-image {
    padding: 30px 0;
    max-width: 100%;
    height: auto;
    display: block; /* optional but helps remove spacing below image */
}

#about-page a .trademark {
    text-decoration: none;
}

#about-page .trademark {
    font-size: 0.6em;
    top: -0.5em;
    position: relative;
}

#about-page a {
    color: #333333;
}

#about-page a:hover {
    color: #000;
}

#about-page #logo-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

#about-page #logo-wrapper .logo {
    padding: 15px 0;
}

#about-page #logo-wrapper .logo img {
    height: 40px;
}

#about-page h1 {
    margin: 0;
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
}

#about-page h2 {
    margin: 20px 0;
    font-weight: 500;
    font-size: 1.6rem;
    text-align: center;
}

#about-page h3 {
    margin: 20px 0;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
}

#about-page p {
    text-align: center;
    font-weight: 500;
    line-height: 1.6rem;
}

#about-page a {
    text-decoration: underline;
    font-weight: 500;
}

#about-page a.bold-link {
    font-weight: 600;
}

#about-page a:hover {
    text-decoration: underline;
    color: #333;
    cursor: pointer;
}

#about-page #section-one {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #d5d5d5;
    padding: 100px 100px 30px 100px;
}

#about-page .links-wrapper {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#about-page .links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

#about-page .links li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: underline;
    font-weight: 500;
    color: #333333;
}

#about-page .links li a:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #000;
}

#about-page #section-two {
    display: flex;
}

#about-page #section-two > div {
    width: 50vw;
}

#about-page #section-two .text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 200px 0px;
}

#about-page #section-two .text-container .text {
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
    padding: 20px 0;
}

#about-page #section-two .text-container .tile-link {
    margin: 0;
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
    text-decoration: underline;
    color: #333333;
}

#about-page #section-two .text-container .tile-link:hover {
    color: #000;
}

#about-page #section-three {
    display: flex;
    flex-wrap: wrap;
}

#about-page #section-three > div {
    width: 50vw;
    box-sizing: border-box;
}


#about-page #section-three .text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px;
}

#about-page #section-three .text-container .text {
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
    padding: 20px 0;
}

#about-page #section-three .text-container .tile-link {
    margin: 0;
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
    text-decoration: underline;
}

/* Masonry Layout Styles */
#about-page .masonry-container {
    width: 50vw;
    height: 640px;
    position: relative;
    overflow: hidden;
    background-color: white;
}

#about-page .masonry-container img {
    object-fit: cover;
    display: block;
}

/* Left side - 60% width */
#about-page .masonry-container img:nth-child(1),
#about-page .masonry-container img:nth-child(3) {
    width: calc(60% - 15px);
    height: calc(50% - 15px);
}

#about-page .masonry-container img:nth-child(1) {
    position: absolute;
    top: 10px;
    left: 10px;
}

#about-page .masonry-container img:nth-child(3) {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

/* Right side - 40% width */
#about-page .masonry-container img:nth-child(2),
#about-page .masonry-container img:nth-child(4) {
    width: calc(40% - 15px);
    position: absolute;
    right: 10px;
}

#about-page .masonry-container img:nth-child(2) {
    height: calc(25% - 15px);
    top: 10px;
}

#about-page .masonry-container img:nth-child(4) {
    height: calc(75% - 15px);
    bottom: 10px;
}

#about-page #section-four {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #d5d5d5;
    padding: 50px 100px;
}

#about-page #section-five {
    display: flex;
}

#about-page #section-five > div {
    width: 50vw;
}

#about-page #section-five .text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 100px;
}

#about-page #section-five img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100vh;
}

#about-page #section-six {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #d5d5d5;
    padding: 50px 100px;
}


#about-page #section-seven {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('/images/about/truly-reclaimed-timber-in-salvage-showroom.webp');
    padding: 50px 100px;
    color: #fff;
    background-size: cover;
}

#about-page #section-eight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 100px;
}

/* === About Page Footer Styles === */
.about-footer {
    background: #EDEDED;
    color: #333333;
    padding: 40px 0 0 0;
    font-family: Montserrat, sans-serif;
    margin-top: 60px;
}

.about-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-footer-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.about-footer-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-footer-logo {
    height: 50px;
}

.about-footer-links-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.about-footer-col {
    flex: 1 1 0;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.about-footer-href h4 {
    color: #333333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-footer-href a {
    text-decoration: none;
    color: #333333;
    margin: 3px 0;
    font-size: 1rem;
    transition: color 0.2s;
}

.about-footer-href a:hover {
    color: #000;
    text-decoration: underline;
}

.about-footer-social {
    margin-top: 18px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-footer-social-icons {
    display: flex;
    gap: 16px;
}

.about-footer-social-icon {
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.about-footer-social-icon:hover {
    color: #000;
}

.about-footer-terms-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 10px 0;
}

.about-footer-term a {
    text-decoration: none;
    color: #333333;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.about-footer-term a:hover {
    color: #000;
    text-decoration: underline;
}

.about-footer-copyright-row {
    text-align: center;
    font-size: 0.95rem;
    color: #aaa;
    padding: 18px 0 10px 0;
}

@media (max-width: 768px) {

    #about-page h1 {
        font-size: 1.4rem;
    }

    #about-page h2 {
        margin: 20px 0;
        font-weight: 500;
        font-size: 1.2rem;
        text-align: center;
    }

    #about-page h3 {
        margin: 20px 0;
        font-size: 1rem;
        text-align: center;
        font-weight: 600;
    }

    #about-page p {
        text-align: center;
        font-weight: 500;
        line-height: 1.6rem;
    }


    #about-page #section-one {
        padding: 50px 20px;
    }

    #about-page .links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #about-page .links-wrapper {
        padding: 20px 0;
    }

    #about-page .links li a {
        padding: 0.5rem 0;
    }

    #about-page #section-two {
        flex-direction: column;
    }

    #about-page #section-two > div {
        width: 100%;
    }

    #about-page #section-two .text-container {
        padding: 50px 0;
    }

    #about-page #section-two .text-container .text {
        font-size: 1.6rem;
    }

    #about-page #section-two .text-container .tile-link {
        font-size: 1.6rem;
    }

    #about-page #section-three {
        flex-direction: column;
    }

    #about-page #section-three > div {
        width: 100%;
    }

    #about-page #section-three .text-container {
        padding: 30px 20px;
    }

    #about-page #section-three .masonry-container {
        order: 2;
        width: 100%;
        height: 300px;
    }

    #about-page #section-three .text-container {
        order: 1;
    }

    #about-page #section-four {
        padding: 30px 20px;
    }

    #about-page #section-five {
        flex-direction: column;
    }

    #about-page #section-five > div {
        width: auto;
    }

    #about-page #section-five .text-container {
        padding: 30px 20px;
    }

    #about-page #section-six,
    #about-page #section-seven,
    #about-page #section-eight {
        padding: 30px 20px;
    }
}

@media (max-width: 900px) {
    .about-footer-links-row {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .about-footer-col {
        min-width: 0;
        width: 100%;
        margin-bottom: 25px;
    }
}

@media (max-width: 600px) {
    .about-footer-container {
        padding: 0 8px;
    }

    .about-footer-logo {
        height: 38px;
    }

    .about-footer {
        padding: 25px 0 0 0;
    }

    .about-footer-links-row {
        margin-bottom: 10px;
    }

    .about-footer-href h4 {
        font-size: 1rem;
    }

    .about-footer-href a {
        font-size: 0.98rem;
    }

    .about-footer-terms-row {
        gap: 10px;
        font-size: 0.9rem;
    }

    .about-footer-copyright-row {
        font-size: 0.9rem;
        padding: 10px 0 8px 0;
    }
}
