.hero
{
    width: 100%;
    height: 100vh;
    background-image: url(/media/hero.jpg);
    background-size: cover;
    background-attachment: fixed;
}
.hero video
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* -webkit-filter: grayscale(1); */
    /* filter: grayscale(1); */
    position: absolute;
    z-index: 0;
}
.hero::before
{
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: #00000073; 
    z-index: 1; 
}
.content-wrapper
{
    display: flex;
    justify-content: left;
    align-items: flex-end;
    padding:100px 50px;
    width: 100%;   
    height: 100%;
    position: relative;
    z-index: 2;
}
.content span
{
    color: var(--accent-color);
    font-weight: 500;
}
.content h1
{
    width: 100%;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    font-size: 50px;
}
.content p
{
    color: var(--primary-color);
    font-weight: 300;
    width: 70%;
    letter-spacing: -0.5px;
}
.content .cta:hover
{
    background-color: var(--primary-color);
    color: var(--secondary-color);    
}

.about-section
{
    padding: 100px;  
}
.about-section span, .about-section p
{
    display: block;
}
.about-section .about-text
{
    display: flex;
    justify-content: center;
}
.about-section span
{
    width: 20%;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 15px;
}
.about-section p
{
    width: 75%;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 30px;
    letter-spacing: -1px;

}
.about-stats
{
    display: flex;
    justify-content: center;
    margin-top: 67px;
}
.about-stats .spacer
{
    width: 20%;
}
.about-stats .stat-box
{  
    /* padding: 40px; */
    border-radius: 10px;
    text-align: center;
    width: calc(25% - 10px);
    /* background-color: var(--secondary-color); */
}
.about-stats .stat-box:not(:last-child)
{
    margin-right: 10px;
}
.stat-box .heading
{
    font-weight: 700;
    font-size: 30px;
    margin: 0;
    letter-spacing: -1px;
    color: var(--secondary-color);
}
.stat-box .sub-heading
{
    font-size: 20px;
    width: 100%;
    font-weight: 300;
    text-align: center;
    margin: 0;
    color: var(--secondary-color);
}
.services
{
    font-family: 'inter', sans-serif;
}
.services h3
{
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    margin: 10px 0 0 0;
    line-height: 1;
}
.service-box
{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    /* replaced align-content + place-items with flex — Safari doesn't support these without display:grid */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'inter', sans-serif;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}
.service-box::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.551);
    z-index: -1;
}
.service-box h4
{
    font-size: 50px;
    text-transform: uppercase;
    font-weight:800;
    margin: 0;
    /* removed mix-blend-mode: difference — breaks in Safari with z-index stacking contexts */
}
.service-box p
{
    font-weight: 300;
    font-size: 0.9rem;
}
.service-box .cta
{
    color: var(--primary-color);
}
.service-box .cta:hover
{
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.finishes
{
    padding: 100px 100px 0 ;
    height: fit-content;
}   
.finishes-wrap
{
    width: 100%;
    padding-top: 30px;
    border-radius: 20px;
    position: relative;
}
.finishes-box
{
    width: 100%;
    overflow: hidden;
    height: 85vh;
    position: sticky;
    top: 10vh;
    border-radius: 20px;
}
.finishes-box:not(:last-child)
{
    margin-bottom: 30px;
}
.finishes-box::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.401);
    z-index: 1;
}
.finishes-box video
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}   
.finishes-box .content
{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
.finishes-box .content h4
{
    color: var(--primary-color);
}

.materials
{
    padding: 100px 100px 0;
}
.materials-wrap
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 0; 
    justify-content: center;
}
.materials-wrap a
{
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    width: calc(20% - 30px);
}
.materials-box
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.materials-box h4
{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 0 0;
    line-height: 1;
    display: block;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.materials-box img
{
    width: 80%;
}

.about
{
    padding: 100px;
    font-family: 'inter', sans-serif;
}
.about h3
{
    font-size: 60px;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1;
    color: var(--accent-color);
    letter-spacing: -1px;
}
.about p
{
    font-weight: 300;
    font-size: 1rem;
    color: var(--secondary-color);
}
.ab-wrap 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ab-wrap img
{
    width: 30%;
    margin-left: 20px;
    border-radius: 20px;
}
.work
{
    padding: 100px;
    font-family: 'inter', sans-serif;
}
.work .cta
{
    margin: auto;
}
.work-wrap
{
    padding: 50px 0;
    -webkit-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 30px;
    column-gap: 30px;
}
.work-box
{
    /* padding: 20px; */
    /* border: 0.5px solid #ddd; */
    margin: 0 0 30px 0;
    -webkit-column-break-inside: avoid; /* Safari */
    break-inside: avoid;
    border-radius: 20px;
    transition: 0.3s;
    display: inline-block;
    width: 100%; /* required in Safari for correct column width */
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    
}

.work-box .overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000000;
    border-radius: 20px;
    z-index: 3;
}
.work-wrap img
{
    width: 100%;
    border-radius: 10px;
}
.work-box:hover
{
    /* scale shorthand not supported in Safari — use transform */
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}

.work-text
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0;
    color: var(--secondary-color);
}
.work-text h4
{
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    display: block;
    letter-spacing: -1px;
}
.work-text span
{
    display: block;
}
.work-text div
{
    text-align: right;
}
.work-text div a, .work-text h4 a
{
    font-weight: 300;
    margin: 0;
    font-size: 0.8rem;
    text-transform: capitalize;
    letter-spacing: 0;
    color: var(--secondary-color);
    line-height: 1;
}
.work-text div a
{
    display: block;
}


.enquiry 
{
    padding: 100px;
    display: flex;
    justify-content: space-between;
}
.enquiry .texts
{
    width: 40%;
}
.enquiry .texts p
{
    font-weight: 400;
    font-size: 16px;
    color: var(--secondary-color);
    line-height: 1.2;
    margin: 0;
}
.enquiry .texts .main-heads
{
    text-align: left;
    margin: 0 0 20px 0;
}
.contact-boxes
{
    width: 100%;
    padding: 50px 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.contact-box
{
    padding: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
}
.icon-wrap
{
    height: -webkit-fit-content;
    height: fit-content;
    width: -webkit-fit-content;
    width: fit-content;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #efefef;
}
.icon
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;  /* control size here only */
    height: 30px;
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
} 
.contact-box .icon-wrap.rounded
{
    border-radius: 50% !important;
    padding: 5px;
    transition: 0.3s;
}
.contact-box .icon-wrap.rounded:hover
{
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.icon-wrap.rounded .icon
{
    width: 24px;
    height: 24px;
}
.contact-box a
{
    color: var(--secondary-color);
}
.contact-box .texts
{
    margin-left: 20px;
    width: 80%;
}
.texts h4
{
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    display: block;
    letter-spacing: -1px;
    color: var(--secondary-color);
}
.texts span
{
    font-weight: 400;
    margin: 0;
    font-size: 12px;
    display: block;
    color: #999999;
}

.enquiry .form
{
    width: 60%;
    padding:  0 30px;
}
.form form
{
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background-color: #efefef;
}
form .form-message
{
    font-family: 'inter', sans-serif;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: #ed0000;
    border: 1px solid #ed0000;
    border-radius: 10px;
    background-color: #ed000034;
}
@media (max-width: 1200px)
{
    .about h3
    {
        font-size: 30px;
    }
    .about-stats .spacer
    {
        display: none;
    }
    .about-stats .stat-box
    {
        width: 30%;
    }
}
@media (max-width: 1000px)
{
    .materials
    {
        padding: 50px 30px 0;
    }
    .materials-wrap a
    {
        width: calc(33.3% - 30px);
    }
    .hero
    {
        background-attachment: scroll;
        background-position: center center;
    }
    .service-box
    {
        background-attachment: scroll;
        background-position: center center;
    }
    .about
    {
        padding: 30px;
    }
    .about h3
    {
        text-align: center;
    }
    .about p
    {
        font-size: 14px;
        text-align: center;
    }
    .hero, .hero::before, .hero video
    {
        height: 85vh;
    }
    .content-wrapper
    {
        padding: 30px;
    }
    .content h1
    {
        font-size: 30px;
    }
    .content p 
    {
        width: 100%;
        line-height: 1;
        font-size: 14px;
    }


    .about-section, .work
    {
        padding: 50px 30px;
    }
    .about-text
    {
        flex-wrap: wrap;
    }
    .about-text span, .about-text p
    {
        width: 100%;
    }
    .about-text p
    {
        font-size: 20px;
    }
    .about-stats
    {
        flex-wrap: wrap;
        gap: 50px;
        margin-top: 20px;
    }
    .about-stats .stat-box
    {
        width: 100%;
    }
    .service-box
    {
        padding: 50px;
        text-align: center;
    }
    .service-box h4
    {
        font-size: 30px;
    }
    .work-wrap
    {
        -webkit-column-count: 1;
        column-count: 1;
    }   
    .enquiry
    {
        padding: 30px;
        flex-wrap: wrap;
    }
    .enquiry .texts
    {
        width: 100%;
    }
    .enquiry .texts .contact-boxes
    {
        padding: 20px 0;
    }
    .enquiry .form   
    {
        padding: 0;
        width: 100%;
    }
    .finishes
    {
        padding: 50px 30px;
    }
}

@media (max-width: 600px)
{
    .materials-wrap
    {
        gap: 10px;
    }
    .materials-wrap a
    {
        width: calc(50% - 10px);
    }
}
