/* Home Page Specific Styles */

/* Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 100px 2% 0 2%;
    margin: 0 0 0 0;
    min-height: 90vh;
    overflow: hidden;
    position: relative;
}

.hero .quick-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: 20px;
    margin: 0;
    align-items: end;
}

.hero .cell {
    grid-column: span 2;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero .cell:nth-child(2),
.hero .cell:nth-child(3) {
    grid-column: span 1;
    grid-row: 2;
    align-self: end;
    justify-content: flex-end;
    margin-top: auto;
}

.hero-sub-text {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 2em;
    line-height: 1;
    color: #ffffff;
}

.hero-heading-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-heading-wrapper .grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    justify-items: stretch;
    align-items: stretch;
}

.hero-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 17em;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
}

/* Portfolio Section (Home Page) */
.portfolio-section {
    padding-top: 100px;
}

.projects-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 0;
    margin: 0;
    min-height: auto;
    position: relative;
}

.horizontal-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
    margin: 0 10px;
    overflow: hidden;
    position: static;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #ffffff;
    word-break: normal;
    white-space: nowrap;
}

/* About Section */
.about-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: clip;
    object-fit: cover;
}

.decoration-block-right {
    width: 150px;
    height: 150px;
    position: absolute;
    left: auto;
    right: 0%;
    top: auto;
    bottom: 0%;
    background-color: #0e0e0e;
}

.decoration-block-left {
    width: 150px;
    height: 150px;
    position: absolute;
    left: 0%;
    right: auto;
    top: 0%;
    bottom: auto;
    background-color: #0e0e0e;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 25px;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

.title-wrapper-position-relative {
    position: relative;
    left: -140px;
    right: auto;
    top: auto;
    bottom: auto;
}

.about-me {
    padding: 0;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 80px;
    line-height: 1;
    color: #ffffff;
    text-transform: none;
    word-break: normal;
    white-space: normal;
}

.about-content-wrapper p {
    padding: 0;
    margin: 0 0 25px 0;
    font-family: 'PT Sans', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.3;
    color: #ffffff;
    word-break: normal;
    white-space: normal;
}

/* Services Section */
.services-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
}

.flex-vertical-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-vertical-centered h2 {
    padding: 0;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 80px;
    line-height: 1;
    text-transform: none;
    word-break: normal;
    white-space: normal;
    color: #ffffff;
}

.services-list-wrapper {
    margin: 50px 0 0 0;
}

.services-collection-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
}

.product-link-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 40px 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #6b6868;
    border-radius: 25px;
    border: none;
    text-decoration: none;
    transition: padding 500ms ease, background-color 500ms ease, color 500ms ease;
}

.product-link-block:hover {
    padding: 40px 0 40px 60px;
    border-radius: 25px 25px 0 0;
}

.product-number {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #6b6868;
}

.product-name {
    display: inline-block;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 5;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    word-break: normal;
    white-space: normal;
    -webkit-text-stroke: 1.5px #ffffff;
    border-radius: 20px;
    border: none;
    border-width: 1px;
    border-color: #f2f2f2;
}

.product-image {
    display: none;
    width: 30vw;
    height: 60vh;
    max-width: 100%;
    overflow: clip;
    object-fit: cover;
    position: absolute;
    left: 49px;
    right: 4%;
    top: 18%;
    bottom: 0%;
    z-index: 1;
    border-radius: 10px;
    border: none;
    border-width: 2px;
    border-color: #000000;
    opacity: 1;
}

/* Responsive Hero Heading */
@media (max-width: 1310px) and (min-width: 767px) {
    .hero-heading {
        font-size: 15em;
    }
}

@media (max-width: 1160px) and (min-width: 935px) {
    .hero-heading {
        font-size: 11em;
    }
}

@media (max-width: 935px) and (min-width: 768px) {
    .hero-heading {
        font-size: 10em;
    }
}

@media (max-width: 768px) and (min-width: 568px) {
    .hero-heading {
        font-size: 7em;
    }
}

@media (max-width: 568px) {
    .hero-heading {
        font-size: 3em;
    }
}

/* Responsive Hero Sub Text */
@media (max-width: 768px) and (min-width: 568px) {
    .hero-sub-text {
        font-size: 1.5em;
    }
    
    /* Hero Section Layout Changes */
    .hero {
        flex-direction: column;
        padding: 50px 2% 50px 2%;
        min-height: 80vh;
    }
    
    /* Portfolio Button Wrapper */
    .button-wrapper {
        padding: 20px 0;
        margin: 0 0 40px 0;
    }
    
    /* Horizontal Flex - Change to Vertical */
    .horizontal-flex {
        flex-direction: column;
        align-items: flex-start;
        justify-content: stretch;
        width: 100%;
    }
    
    /* Portfolio Wrapper */
    .portfolio-wrapper {
        width: 100%;
        height: 50vh;
    }
}

@media (max-width: 568px) and (min-width: 320px) {
    /* Horizontal Flex - Change to Vertical */
    .horizontal-flex {
        flex-direction: column;
        align-items: flex-start;
        justify-content: stretch;
        width: 100%;
    }
    
    /* Portfolio Wrapper */
    .portfolio-wrapper {
        width: 100%;
        height: 50vh;
    }
}

@media (max-width: 479px) {
    /* Portfolio Wrapper */
    .portfolio-wrapper {
        height: 40vh;
    }
}

@media (max-width: 320px) {
    .hero-sub-text {
        font-size: 1em;
    }
}

/* Responsive Product Name */
@media (max-width: 991px) and (min-width: 480px) {
    .product-name {
        font-size: 25px;
        line-height: 40px;
    }
}

@media (max-width: 479px) {
    .product-name {
        font-size: 20px;
        line-height: 35px;
    }
}

/* Responsive Services H2 */
@media (max-width: 911px) and (min-width: 767px) {
    .flex-vertical-centered h2 {
        font-size: 40px;
        line-height: 45px;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    .flex-vertical-centered h2 {
        font-size: 30px;
        line-height: 35px;
    }
}

@media (max-width: 480px) {
    .flex-vertical-centered h2 {
        font-size: 25px;
        line-height: 30px;
    }
}

/* Responsive Decoration Blocks */
@media (max-width: 479px) {
    .decoration-block-right,
    .decoration-block-left {
        width: 100px;
        height: 100px;
    }
}

/* Responsive Title Wrapper Position Relative */
@media (max-width: 991px) {
    .title-wrapper-position-relative {
        left: 0px;
    }
}

/* Responsive About Me H2 */
@media (max-width: 911px) and (min-width: 767px) {
    .about-me {
        font-size: 40px;
        line-height: 45px;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    .about-me {
        font-size: 30px;
        line-height: 35px;
    }
}

@media (max-width: 480px) {
    .about-me {
        font-size: 25px;
        line-height: 30px;
    }
}

/* Responsive About Content Paragraphs */
@media (max-width: 479px) {
    .about-content-wrapper p {
        font-size: 16px;
        line-height: 1.2;
    }
}

/* Responsive About Content Wrapper */
@media (max-width: 991px) {
    .about-content-wrapper {
        padding: 0;
    }
}
