/* css/about-styles.css */

a{
    color: inherit;
}

main {
    max-width: 100% !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
}

body, main, .black {
    overflow: visible;
}

body {
    font-family: 'Lato', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    font-weight: 300;
}

.snap-container {
    width: 100%;
    overflow: hidden;
}

.snap-section {
    height: 85vh;
    height: min-content;
    margin: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section {
    margin: 0 0;
}

/* Make the #about section fill the first screen and keep the intro block
   centered (unchanged flex-row centering). The "Read More" scroll cue is then
   pinned near the bottom of the viewport — reading clearly as "there's more
   below, keep scrolling." Absolute positioning lets the cue drop to the bottom
   without disturbing the intro's centering. (.snap-section is position:relative.) */
#about.about-section {
    min-height: 100vh;
    box-sizing: border-box;
}
.about-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 5.5rem;            /* sit up from the very bottom, not too low */
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Neutralise the shared arrow's bottom margin here — the wrapper handles
   spacing, and we want the cue to read as a tight unit. */
.about-scroll-cue .v2-categories__arrow { margin-bottom: 0; }

/* On phones the stacked intro can approach the section height, so absolute
   positioning risks the cue overlapping the content or getting clipped by the
   container's overflow:hidden. Let it flow normally below the content instead
   — still centered, just guaranteed to stay inside the section. */
@media (max-width: 768px) {
    #about.about-section {
        flex-direction: column;
        /* Grow to fit content + cue instead of a fixed 100vh that could clip
           the cue under the container's overflow:hidden. */
        height: auto;
        min-height: 100vh;
        padding-bottom: 2rem;
    }
    .about-scroll-cue {
        position: static;
        transform: none;
        margin: 1.5rem auto 0;
    }
}

.series-container {
    margin: 20px 0;
}

#first-image {
    margin-top: 30px !important;
}

/* .small-height {
    height: 70vh;
}

.the-beginning-section {
    height: 64vh;
}

.the-early-years-section {
    height: 60vh;
} */

@media (max-width: 768px) {
    .snap-section {
        margin: 40px 0;
    }
/*     .snap-section {
        min-height: 130vh;
    }
    .small-height {
        min-height: 120vh;
    }
    .the-beginning-section {
        min-height: 95vh;
    }
    .the-early-years-section {
        min-height: 90vh;
        margin-top: -10vh;
    }
    .first-dose-of-apprenticing-section {
        min-height: 100vh;
    }
    .series-container {
        min-height: 90vh;
    }
    .learning-a-new-craft {
        min-height: 95vh;
    }
    .my-first-kitchen {
        min-height: 90vh;
    }
    .large-video-container {
        min-height: 30vh;
        height: 30vh;
    } */
}

@media (max-width: 500px) {
    .snap-section {
        margin: 60px 0;
    }
/*     .small-height {
        min-height: 90vh;
    }
    .the-beginning-section {
        min-height: 84vh;
    }
    .the-early-years-section {
        min-height: 64vh;
        margin-top: -10vh;
    }
    .first-dose-of-apprenticing-section {
        min-height: 87vh;
    }
    .more-than-just-hyperbolic {
        margin-top: -2vh;
        min-height: 76vh;
        height: 80vh;
    }
    .content-wrapper {
        gap: 0px !important;
    } */
    h2 {
        margin-block-start: 0.42em;
    }
    .text-content h2 {
        margin-bottom: 0px !important;
    }
/*     .series-container {
        min-height: 80vh;
        height: 80vh;
    }
    .desk-series {
        margin-top: 0vh;
    }
    .learning-a-new-craft {
        min-height: 74vh;
    }
    .my-first-kitchen {
        min-height: 64vh;
    }
    .small-video-container {
        min-height: 100vh;
    }
    .home-container {
        min-height: 64vh;
    }
    .fine-furniture {
        min-height: 84vh;
        height: 110vh;
    }
    .article-container {
        margin-top: 40px !important;
    }
    .contact-section {
        min-height: 76vh;
    }
    .working-on-more-complex {
        min-height: 130vh;
    }
    .future-thinking {
        min-height: 90vh;
    }
    .naturally-pushing-the-limits {
        min-height: 100vh;
        margin-bottom: -5vh;
    } */
}

.about-section, .contact-section {
    height: 100vh;
}

.contact-section {
    position: relative;
}

.black {
    position: relative;
    width: 100%;
    background-color: rgba(80, 80, 80, 0.74);
    background-color: rgb(14, 14, 14);
    background-color: rgba(75, 72, 69, 0.74);
    background-color: #5a5857;
    background-color: rgba(75, 72, 69, 0.74);
    color: white;
    z-index: 1; /* Reduce the z-index here */
}

/* .black::before {
    content: '';
    position: absolute;
    top: -2vh;
    left: 0;
    right: 0;
    height: 2vh;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(10, 10, 10, 0.1) 20%,
        rgba(10, 10, 10, 0.2) 30%,
        rgba(10, 10, 10, 0.3) 40%,
        rgba(10, 10, 10, 0.4) 50%,
        rgba(10, 10, 10, 0.5) 60%,
        rgba(10, 10, 10, 0.6) 70%,
        rgba(10, 10, 10, 0.8) 80%,
        rgba(10, 10, 10, 0.9) 90%,
        rgba(10, 10, 10, 1) 100%);
    pointer-events: none;
    z-index: -1; 
} */

/* .black::before {
    content: '';
    position: absolute;
    top: -2vh;
    left: 0;
    right: 0;
    height: 2vh;
    background: linear-gradient(
        to bottom,
        rgba(75, 72, 69, 0) 0%,
        rgba(75, 72, 69, 0.074) 20%,
        rgba(75, 72, 69, 0.148) 30%,
        rgba(75, 72, 69, 0.222) 40%,
        rgba(75, 72, 69, 0.296) 50%,
        rgba(75, 72, 69, 0.37) 60%,
        rgba(75, 72, 69, 0.444) 70%,
        rgba(75, 72, 69, 0.592) 80%,
        rgba(75, 72, 69, 0.666) 90%,
        rgba(75, 72, 69, 0.74) 100%
    );
    pointer-events: none;
    z-index: -1; 
} */

.text-content h2 {
    font-size: 2.4rem;
    font-weight: 200;
    color: #e3ded9; 
    letter-spacing: 2px; 
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(123, 72, 5, 0.3); 
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.top-text-content p {
    letter-spacing: 0.5px;
}

.text-content p {
    font-size: 1.2rem;
    color: #cccccc; 
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(123, 72, 5, 0.2); 
    transition: color 1.0s ease, text-shadow 1.0s ease;
}

.content-wrapper {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.image-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wide-image {
}

.text-content, .image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

#contact-header {
    text-align: center !important;
}

.image-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 5px;
}

.text-content h2 {
    width: 100%;
}

.text-content .contact-header {
    text-align: center !important;
}

h1, h2 {
    font-family: 'Lato', 'Roboto', sans-serif;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
}

h2 {
    font-size: 2rem;
    font-weight: 300;
}

p {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Hover effect */
.text-content h2:hover {
    text-shadow: 0 0 20px rgba(123, 72, 5, 0.4); /* Intensified glow on hover */
    transform: scale(1.01px); /* Subtle lift on hover */
}

.text-content p:hover {
    color: #ffffff; /* Brighten the text on hover */
    text-shadow: 0 0 15px rgba(123, 72, 5, 0.3); /* Brighter glow on hover */
}



.parallax-image-container {
    height: 70vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.parallax-image-1 {
    background-image: url("/images/about-historic/archive-photos/desk-series/michael-bock-blank-and-white-table.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* Ensure it covers the container's full height */
    width: 100%;
    background-attachment: fixed; /* Creates the parallax effect */
}

.parallax-image-2 {
    background-image: url("/images/about-historic/archive-photos/parallax-photos/5.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* Ensure it covers the container's full height */
    width: 100%;
    background-attachment: fixed; /* Creates the parallax effect */
}

.parallax-image-3 {
    background-image: url("/images/about-historic/archive-photos/working-shop/michael-bock-working-in-shop-triptic.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* Ensure it covers the container's full height */
    width: 100%;
    background-attachment: fixed; /* Creates the parallax effect */
}

@media screen and (max-width: 600px) {
    .parallax-image-1, .parallax-image-2, .parallax-image-3 {
        background-attachment: scroll; /* Disable the parallax effect */
        height: 50vh; /* Reduce the height for smaller screens */
    }

    .parallax-image-container {
        height: 30vh; /* Reduce container height */
    }

    .content {
        padding: 20px; /* Add padding to the content for better readability */
    }
}

footer {
}

footer p {
    font-size: 0.8rem;
    color: rgb(232, 232, 232);
}

.contact-button {
    align-self: center;
    position: relative;
    display: inline-block;
    padding: 7px 20px;
    background-color: rgb(236, 236, 236);
    color: rgb(10, 10, 10);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.4s ease;
}

.contact-button:hover {
    transform: scale(1.03);
    background-color: #ffffff;
}


.tooltip {
    align-self: center;
    position: relative;
    background-color: #fdfdfd;
    margin-top: 20px;
    font-size: 12px;
    color: #000000;
    padding: 2px 4px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    white-space: nowrap;
}

#contact-body {
    text-align: left;
    width: 100%;
    margin-top: -12px;
    margin-bottom: 44px;
}

@media (max-width: 768px) {
    .tooltip {
        align-self: center;
        margin-left: 0px;
    }

    .contact-button {
        align-self: center;
    }

    #contact-header {
        text-align: center;
    }

    #contact-body {
        text-align: center;
    }
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #fdfdfd transparent;
}


.contact-button:hover + .tooltip {
    opacity: 1;
    pointer-events: auto;
}

.video-content-wrapper {
    position: relative;
}

.video-two-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

@media (max-width: 768px) {
    .video-two-content-wrapper {
        height: 100%;
    }
}

.video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 30px;
}

.video-two-wrapper {
    width: max-content;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1200px) {
    .video-wrapper {
        flex-direction: column;
    }
}

.large-video-container {
    margin-top: -100px;
}

.video-container {
    position: relative;
    height: 315px;
    width: 560px;
    margin: 30px 0px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000
}

.building-the-workshop-title {
    margin-bottom: -10px;
}

.video-container iframe {
    border-radius: 6px;
}

.video-two-container {
    height: max-content;
    width: max-content;
}

/* Base style for larger screens */
.video-two-container iframe {
    width: 1120px;
    height: 630px;
    border-radius: 10px;
}

/* For screens smaller than 1200px */
@media screen and (max-width: 1199px) {
    .video-two-container iframe {
        width: 960px;
        height: 540px;
        border-radius: 8px;
    }
}

/* For screens smaller than 992px */
@media screen and (max-width: 991px) {
    .video-two-container iframe {
        width: 800px;
        height: 450px;
        border-radius: 8px;
    }
}

/* For screens smaller than 768px */
@media screen and (max-width: 767px) {
    .video-two-container iframe {
        width: 640px;
        height: 360px;
        border-radius: 6px;
    }
}

/* For screens smaller than 576px */
@media screen and (max-width: 640px) {
    .video-two-container iframe {
        width: 480px;
        height: 270px;
        border-radius: 4px;
    }
}

/* For screens smaller than 480px (very small devices) */
@media screen and (max-width: 479px) {
    .video-two-container iframe {
        width: 320px;
        height: 180px;
        border-radius: 4px;
    }
}


@media (max-width: 600px) {
    .video-content-wrapper {
        width: 90%;
    }

    .video-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    .video-container {
        width: 100%;
        border-radius: 10px;
    }
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
}

.video-caption {
    margin-top: -50px;
}

/* Responsive design */
@media (max-width: 768px) {
/*     .section-nav {
        display: none;
    } */

    .content-wrapper, .content-wrapper.reverse {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }
}



/* about */

/* New styles for the about section */
#about .content-wrapper {
    margin-top: -100px;
    align-items: stretch;
    gap: 30px;
}

#about .image-content {
    flex: 0 0 50%; /* This sets the width to 65% and prevents growing or shrinking */
}

#about .top-text-content {
    flex: 1;
    padding-left: 20px; /* Adds some space between the image and text */
}

#about .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the entire div without distortion */
}

@media (min-width: 900px) {
    .about-section {
        height: 83vh;
    }
}



/* Responsive adjustment */
@media (max-width: 900px) {

    .about-section {
        min-height: 130vh;
    }
    #about .content-wrapper {
        margin-top: 0;
        flex-direction: column;
    }

    #about .image-content,
    #about .top-text-content {
        flex: 1 0 auto; /* Reset flex properties for mobile */
        width: 100%;
    }

    #about .top-text-content {
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 500px) {

    .about-section {
        min-height: 90vh;
    }
}

.gallery-nav a {
    color: #fcfcfc;
    color: white;
}

.fas {
    color: #fcfcfc;
    color: white;
}

.gallery-item-wrapper {
    background-color: #202020;
    background-color: rgb(104, 103, 101);
}

.gallery-group h2 {
    text-align: left;
    margin-left: 65px;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-text {
    letter-spacing: 0.1em;
}

@media (max-width: 1200px) {
    #video {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    #video {
        margin-top: 0px;
    }
}

.article-container {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

.article-image {
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
}
.navigation {
    margin-top: 20px;
}
#pageNumber {
    color: #e3ded9;
    padding: 20px;
}
#prevBtn, #nextBtn {
    cursor: pointer;
    border: none;
    outline: none;
    cursor: pointer;
    align-self: flex-start;
    position: relative;
    display: inline-block;
    padding: 7px 20px;
    background-color: rgb(236, 236, 236);
    color: rgb(10, 10, 10);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.4s ease;
    font-family: 'Lato', 'Roboto', sans-serif !important;
    font-weight: 200;
    font-size: 1.0rem;
}

#prevBtn:hover, #nextBtn:hover  {
    transform: scale(1.03);
    background-color: #ffffff;
}

.footer-icon-button {
    color: white;
}