/*
Theme Name: InlineBlack
Theme URI: inlineblack.com
Description: Main stylesheet for InlineBlack extras
Author: Slade Labuschagne
Author URI: inlineblack.com
Template: generatepress
Version: 1.0.0

*/

/**
 * =============================================================================
 *  Project:        InlineBlack 
 *  Filename:       style.css
 *  Description:    Main stylesheet for InlineBlack extras. 
 *  Website:        inlineblack.com
 *  Copyright :     (c) 2025 InlineBlack. All rights reserved.
 * 
 * =============================================================================
 * || 
 * ||               INDEX :
 * ||
 * ||   Imports
 * ||   Content Blocks
 * ||  
 * || 
 * || 
 * || 
 * || 
 * || 
 * || 
 * || 
 * ============================================================================= */
 
/*
============================================================
    Imports
============================================================
*/

@font-face {
    font-family: 'Bufflo';
    src: url('https://inlineblack.com/wp-content/themes/InlineBlack/media/Fonts/Bufflo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*
============================================================
    BODY 
============================================================
*/

body{
    background-color: black;
}

/*
============================================================
    Blocks 
============================================================
*/

.flex-sb{
    display: flex;
    justify-content: space-between;
}
  
.fixed-spacing{
    max-width: 70%;
    min-width: 1000px;
    margin:auto;
}

.border-upper{
    padding-top: 1.5rem;
    border-top: 1px solid white;
}

/*
============================================================
    Text
============================================================
*/

a {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    color: inherit;
}

p {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

h1 {
    font-family: "Bufflo", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

h2{
    font-family: "Bufflo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

h3{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

h4{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

h5{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
}

h6{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
}


@media (max-width: 768px) {
    h1{
        font-size: 3rem;   
    } 
    
    h3{
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1{
        font-size: 2.6rem;   
    } 
    
    h3{
        font-size: 1.6rem;
    }
    
    h4{
        font-size: 1.2rem;
        text-decoration: underline;
    }
}

.home-title{
    font-size: 14rem;
    color: white;
}

.outline-font {
    color: transparent;
    -webkit-text-stroke: 2px #ffffff; 
    text-stroke: 2px #ffffff;         
}

/*
============================================================
    Buttons
============================================================
*/

.home-button{
    width: 13rem;
    text-align: right;
    padding: 0.5rem 1rem;
    color: white;
    margin: 0.25rem 0.25rem 0.25rem auto;
    transition: width 0.8s ease;
    will-change: width;
}

.home-button a{
    font-family: "Montserrat", sans-serif;
    width: 100%;
    text-align: right;
    color: inherit;
    font-weight: 500 !important;
    font-size: 1.2rem;
}

.home-button:hover{
    background-color: #ffffff20 !important;
    width: 15rem;
}

.footer-button{
    width: 18rem;
    text-align: right;
    padding: 0.5rem 1rem;
    color: white;
    margin: 0.25rem 0.25rem 0.25rem auto;
    transition: width 0.8s ease;
    will-change: width;
}

.footer-button a{
    font-family: "Montserrat", sans-serif;
    width: 100%;
    text-align: right;
    color: inherit;
    font-weight: 500 !important;
    font-size: 1rem;
}

.footer-button:hover{
    background-color: #ffffff20 !important;
    width: 20rem;
}

.clickable{
    cursor: pointer;
}

.clickable:hover{
    color: white;
    opacity: 70%;
}

/*
============================================================
    Primary Container + GLASS
============================================================
*/

.inner-container-glass {
    max-width: 70%;
    min-width: 1000px;
    
    flex: 1;
    position: relative;
    z-index: 2;
    overflow-y: auto;
    padding: 3rem;
    padding-bottom: 150px; 
    transition: transform 0.5s ease-out; /* Added transition for content */
    box-shadow: 3px 21px 35px -4px rgba(0, 0, 0, 0.35);
            
    margin: 8rem auto 0rem auto;

    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    
    background-color: rgba(0,0,0,0.3);
}

#services{
    margin-top: 35rem !important;   
}

.content-wrapper{
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 40px;
}

#br-mf-s{
    transition: min-width 0.8s ease;
}
#br-mf-s:hover{
    min-width: 20rem !important;
}
#br-mf-l input, #br-mf-l textarea{
    opacity: 50%;
}

.site-content .content-area {
    margin: auto;
    width: 100% !important;
}

.title-container {
    margin-top: calc(22vh);
}

.services-title-container{
    position: absolute; z-index: 100; text-align: right; min-width: 70%; top: 20rem; margin: 0rem; left: 50%; transform: translateX(-50%);
}

.remove-margin{
    margin: 0rem;
}

#mac-desktop{
    transform: translateX(0px);
    transition: transform 0.2s ease-out; 
    will-change: transform;
    position: absolute; 
    z-index: 5; 
    top: 7rem; 
    left: 5vw; 
    width: 45vw; 
    max-width: 600px;
}

@media (max-width: 991px) {
    .inner-container-glass{
        max-width: 95%;
        min-width: 0px;
        margin: 8rem auto !important;
        padding: 0.8rem;
    }
    
    #services{
        margin-top: 23rem !important;   
    }
    
    .services-title-container{
        top: 15rem; 
    }
    
    .home-logo{
        width: 2.2rem;
        height: 2.2rem;
    }
    
    .home-title{
        font-size:10rem
    }
    
    .title-container {
        margin-top: calc(35vh);
    }
    
    .site-footer{
        max-width: 90% !important;
        width: 100% !important;
        min-width: 0px !important;
    }
    
    .fixed-spacing{
        max-width: 90% !important;
        width: 100% !important;
        min-width: 0px !important;
        margin:auto;
    }

}

@media (max-width: 1150px) {
    .services-title-container{
        min-width: 90%;
        top: 10rem; 
    }
    
    #mac-desktop{ 
        top: 2rem; 
    }
    
    #services{
        margin-top: 25rem !important;   
    }
}

@media (max-width: 600px) {
    .home-title{
        font-size:18vw;
    }
    
    h2{
        font-size:1.4rem;
    }
    
    h5{
        font-size:0.7rem;
    }
    
    #primary.scrolled-to-bottom .inner-container-glass { transform: translateY(calc((-1 * var(--footer-h)) + 175px)) !important; }

    .footer-button{
        padding: 0.5rem 0.5rem;
    }
    
    .services-title-container{
        top: 22rem; 
    }
    
    #mac-desktop{ 
        top: 15rem; 
    }
    
    #services{
        margin-top: 30rem !important;   
    }
}


/*
============================================================
    Background Container + IMAGE
============================================================
*/

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.5s ease-out;
    box-shadow: 3px 21px 35px -4px rgba(0, 0, 0, 0.35);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://inlineblack.com/wp-content/themes/InlineBlack/media/home-page-hero.webp');
    background-size: cover;
    background-position: center;
}

#primary.background-container,
#primary.inner-container-glass { transition: transform 0.6s ease; }
#primary.scrolled-to-bottom .background-container { transform: translateY(calc(-1 * var(--footer-h))); }
#primary.scrolled-to-bottom .inner-container-glass { transform: translateY(calc((-1 * var(--footer-h)) + 100px))}

/*
============================================================
    Images
============================================================
*/

.home-logo{
    width: 5rem;
    height: 5rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(100px);
    transition: transform 0.8s ease, opacity 0.8s ease;
    will-change: transform, opacity;   /* GPU hint */
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/*
============================================================
    ICONS
============================================================
*/

.display-icon{
    color: white;
    font-size: 1.8rem;
    opacity:70%;
}

.display-icon:hover{
    opacity:100%;
}

/*
============================================================
    FOOTER
============================================================
*/

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto; /* Fixed footer height */
    background-color: #252525;
    color: white;
    padding: 10rem 0rem 0rem 0rem;
    text-align: center;
    z-index: 0; /* Footer is behind the background */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    justify-content: center;
    align-content: end;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer{
    display: flex;
    justify-content: center;
    align-items: end;
    max-width: 70%;
    min-width: 1000px;
    margin: 0 auto;
}

.under-footer{
    background-color: black;
    padding: 1rem;
}


