/*
Theme Name: Ebano
Author: Ben
Description: Theme for ebano.ch 
License: GNU General Public License v2
Text Domain: Ebano
*/
/*
   License: none
*/



/* -------- GLOBAL -------- */

@font-face {
    font-family: 'montserratina';
    src: url('./fonts/montserrat/montserrat-regular-webfont.woff2') format('woff2'),
         url('./fonts/montserrat/montserrat-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'montserratinalight';
    src: url('./fonts/montserrat/montserrat-light-webfont.woff2') format('woff2'),
         url('./fonts/montserrat/montserrat-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    font-family: helvetica, Arial, sans-serif;
    background-color: white;
    font-size: 13px;
    margin: 0;
        
}

#wrapper {
    margin: 0 auto;
}

strong {
    font-weight: 900;
}

em {
    font-style: italic;
    color: #232323;
}

/* 
##     ## ########    ###    ########  ######## ########  
##     ## ##         ## ##   ##     ## ##       ##     ## 
##     ## ##        ##   ##  ##     ## ##       ##     ## 
######### ######   ##     ## ##     ## ######   ########  
##     ## ##       ######### ##     ## ##       ##   ##   
##     ## ##       ##     ## ##     ## ##       ##    ##  
##     ## ######## ##     ## ########  ######## ##     ## 
                                             
-------- */

header {
    color: white;
    background-color: black;
    padding: 0 0 10px 0;
}

#header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    max-width: 1280px;
    margin: auto;
}

.logo {
    margin-right: 0;
    background-color: black;
    height: 120px;
    text-align: center;
}

#logo {
    filter: invert(100);
    margin: 40px 20px 0 20px;
    background-color: white;
}

hr {
    margin: 0;
}

/* 
##    ##    ###    ##     ## ####  ######      ###    ######## ####  #######  ##    ## 
###   ##   ## ##   ##     ##  ##  ##    ##    ## ##      ##     ##  ##     ## ###   ## 
####  ##  ##   ##  ##     ##  ##  ##         ##   ##     ##     ##  ##     ## ####  ## 
## ## ## ##     ## ##     ##  ##  ##   #### ##     ##    ##     ##  ##     ## ## ## ## 
##  #### #########  ##   ##   ##  ##    ##  #########    ##     ##  ##     ## ##  #### 
##   ### ##     ##   ## ##    ##  ##    ##  ##     ##    ##     ##  ##     ## ##   ### 
##    ## ##     ##    ###    ####  ######   ##     ##    ##    ####  #######  ##    ## 
*/


.nav_square {
    height: 20px;
    margin-left: 0;
}

#navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    font-family: montserratina;
    text-align: center;
    list-style: none;
    position: relative;
    z-index: 1;
    transition: 100ms;
    padding: 0;
}

/* #navigation ul a {
    border: 1px solid red;
    padding-top: 30px;
} */

nav a, nav a:visited {
    color: white;
    font-size: medium;
    text-transform: uppercase;
    padding: 30px 0 0 0; 
    margin-bottom: -5px;
    text-decoration: none; 
    width: 140px; 
    display: block;
    position: relative;
    z-index: 2;
    transition: 100ms;
    border: solid 0px red;
}

#navigation ul li a:hover, #navigation ul:active {
    color: black;
}

nav .start,ul li:nth-child(1):hover~.animation {
    width: 140px;
    top: 21px;
    left: -1px;
    opacity: 1;
}

nav .start,ul li:nth-child(2):hover~.animation {
    width: 140px;
    top: 21px;
    left: 139px;
    opacity: 1;
}

nav .start,ul li:nth-child(3):hover~.animation {
    width: 140px;
    top: 21px;
    left: 279px;
    opacity: 1;
}

nav .start,ul li:nth-child(4):hover~.animation {
    width: 140px;
    top: 21px;
    left: 419px;
    opacity: 1;
}

nav .start,ul li:nth-child(5):hover~.animation {
    width: 140px;
    top: 21px;
    left: 559px;
    opacity: 1;
}

nav .animation {
    background-color: white;
    height: 31px;
    width: 100px;
    transition: 200ms;
    position: absolute;
    top: -10px;
    left: 300px;
    z-index: 0;
    opacity: 0;
}

#menuBtn {
    display: none;
}

@media screen and (max-width:600px) {

    header {
        padding-bottom: 15px;
        height: 156px;
        transition: 200ms;
    }

    header.shown {
        height: 324px;
    }

    #header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 1280px;
        margin: auto;
        padding-bottom: 0px;
    }

    .logo {
        margin-right: 0;
        background-color: black;
        height: 120px;
        width: 100%;
        text-align: center;
        top: 0;
        padding-top: 12px;
        position: relative;
        z-index: 4;
    }

    #logo {
        margin: 20px;
    }

    #menuBtn {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        background-color: black;
        position: relative;
        z-index: 4;
        padding: 0 100px 0 100px;
    }

    #menuBtn img {
        filter: invert();
        width: 22px;
        padding-right: 5px;
    }

    #menuBtn a {
        text-decoration: none;
        color: white;
        font-family: 'montserratina', Arial;
        font-size: large;
        font-weight: 500;
    }

    nav {
        padding: 0;
        margin-bottom: 0;
        top: -168px;
        position: relative;
        transition: 200ms;
    }

    nav.shown{
        position: relative;
        top: 10px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    nav a {
        height: 24px;
        line-height: 26px;
        padding: 7px 0;
    }

    nav a:hover, nav a:active {
        color: black;
        background-color: white;
    }

    .animation.start {
        display: none;
    }

/*     #menu.shown {
        
        } */

    #menu li {
        padding: 5px 0;
    }
}


/* 

######   #######  ##    ## ######## ######## ##    ## ######## 
##    ## ##     ## ###   ##    ##    ##       ###   ##    ##    
##       ##     ## ####  ##    ##    ##       ####  ##    ##    
##       ##     ## ## ## ##    ##    ######   ## ## ##    ##    
##       ##     ## ##  ####    ##    ##       ##  ####    ##    
##    ## ##     ## ##   ###    ##    ##       ##   ###    ##    
 ######   #######  ##    ##    ##    ######## ##    ##    ##    
*/

main {
    margin: 0;
}

/* -------- HOME PAGE -------- */

/* Hero Banner */
#hero_banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: rgb(250, 243, 233);
    padding: 80px 20px;
    margin: 0;
    text-align: center;
}

.hero_content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero_title {
    font-family: Centaur, serif;
    font-size: 5em;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.hero_subtitle {
    font-size: 1.5em;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0.9;
}

/* Introduction Section */
.home_intro {
    padding: 70px 20px;
    background-color: #f9f9f9;
}

.intro_container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro_container h2 {
    font-size: 2.2em;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.intro_lead {
    font-size: 1.2em;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Services Section */
#services_section {
    padding: 70px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.services_title {
    font-size: 2.2em;
    font-weight: 400;
    text-align: center;
    color: #2c2c2c;
    margin: 0 0 50px 0;
}

#buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.service_card_link {
    text-decoration: none;
    color: black;
    width: 100%;
    max-width: 450px;
    transition: transform 0.3s ease;
}

.service_card {
    margin: 0;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service_image {
    overflow: hidden;
    height: 280px;
}

.service_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service_card:hover .service_image img {
    transform: scale(1.08);
}

.service_desc {
    padding: 30px 25px;
    text-align: center;
    flex-grow: 1;
}

.service_desc h3 {
    font-size: 1.5em;
    font-weight: 500;
    margin: 0 0 12px 0;
    color: #2c2c2c;
}

.service_desc p {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Call to Action */
.home_cta {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.cta_content {
    max-width: 800px;
    margin: 0 auto;
}

.cta_content h2 {
    font-size: 2.2em;
    font-weight: 400;
    margin: 0 0 15px 0;
}

.cta_content p {
    font-size: 1.2em;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.cta_button {
    display: inline-block;
    padding: 18px 45px;
    background-color: white;
    color: #2c2c2c;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta_button:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.intro_text {
    text-align: center;
    font-size: medium;
}

/* -------- CONTENT 

########   #######  ####  ######  
##     ## ##     ##  ##  ##    ## 
##     ## ##     ##  ##  ##       
########  ##     ##  ##   ######  
##     ## ##     ##  ##        ## 
##     ## ##     ##  ##  ##    ## 
########   #######  ####  ###### 

*/

.bois_intro_img {
    display: block;
    align-content: center;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.bois_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1280px;
    margin: 20px auto;
}

.bois_content .item {
    width: 35%;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.bois_content .item img {
    width: 100%;
}

.bois_content .item h2 {
    font-weight: 400;
    font-size: 180%;
    font-family: 'open sans';
}

.bois_content .item p {
    color: rgb(77, 77, 77);
    font-size: large;
    font-family: 'open sans';
}

@media screen and (max-width:772px) {
    .bois_content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        max-width: 1280px;
        margin: 20px auto;
    }

    .bois_content .item {
        width: auto;
    }

    .bois_content .item:nth-child(1) {
        order: 1;
        }
    
    .bois_content .item:nth-child(2) {
        order: 2;
        }
    
    .bois_content .item:nth-child(3) {
        order: 4;
        }
    
    .bois_content .item:nth-child(4) {
        order: 3;
        }
    
    .bois_content .item:nth-child(5) {
        order: 5;
        }
    
    .bois_content .item:nth-child(6) {
        order: 6;
        }
    
    .bois_content .item:nth-child(7) {
        order: 8;
        }
    
    .bois_content .item:nth-child(8) {
        order: 7;
        }

}

/*
########  ######## ##    ##  #######  ##     ##    ###    ######## ####  #######  ##    ## 
##     ## ##       ###   ## ##     ## ##     ##   ## ##      ##     ##  ##     ## ###   ## 
##     ## ##       ####  ## ##     ## ##     ##  ##   ##     ##     ##  ##     ## ####  ## 
########  ######   ## ## ## ##     ## ##     ## ##     ##    ##     ##  ##     ## ## ## ## 
##   ##   ##       ##  #### ##     ##  ##   ##  #########    ##     ##  ##     ## ##  #### 
##    ##  ##       ##   ### ##     ##   ## ##   ##     ##    ##     ##  ##     ## ##   ### 
##     ## ######## ##    ##  #######     ###    ##     ##    ##    ####  #######  ##    ##

*/
  
.wrapper{
	display: block;
	text-align: center;
}

.diff-images{
	position: relative;
	display: inline-block;
}
.diff-images .image{
	overflow: hidden;
	display: inline-block;
	
}
.diff-images .image img{
    float:left;
    width: 100vw;
    height: 200px;
    object-fit: cover;
    object-position: 0 61%;
}

.diff-images .image.left{
	position: absolute;
	top:0px;
	left:0px;
	z-index: 2;
	width: 50%;
}



.diff-images .image.right{
	position: relative;
	z-index: 1;
}

.diff-images .divider{
	position: absolute;
	top:0px;
	left:50%;
	z-index: 999;
	width: 2px;
	height:100%;
	background-color: black;
	cursor: e-resize;
}

#renovation_work {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    max-width: 1280px;
}

#renovation_work .item {
    width: 300px;
    height: 200px;
    margin: 40px 30px;
}

#renovation_work .item .image {
    width: 100%;
    height: 100%;
}

#renovation_work .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
}

#renovation_work .item .desc {
    text-align: center;
    padding: 15px 10px;
}

#renovation_work .item .desc h2 {
    font-size: 1.2em;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #2c2c2c;
}

#renovation_work .item .desc p {
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
    color: #555;
}

/* -------- FOOTER -------- 

 ________   ______    ______  ________  ________  _______  
|        \ /      \  /      \|        \|        \|       \ 
| $$$$$$$$|  $$$$$$\|  $$$$$$\\$$$$$$$$| $$$$$$$$| $$$$$$$\
| $$__    | $$  | $$| $$  | $$  | $$   | $$__    | $$__| $$
| $$  \   | $$  | $$| $$  | $$  | $$   | $$  \   | $$    $$
| $$$$$   | $$  | $$| $$  | $$  | $$   | $$$$$   | $$$$$$$\
| $$      | $$__/ $$| $$__/ $$  | $$   | $$_____ | $$  | $$
| $$       \$$    $$ \$$    $$  | $$   | $$     \| $$  | $$
 \$$        \$$$$$$   \$$$$$$    \$$    \$$$$$$$$ \$$   \$$
*/

footer {
    background-color: black;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: rgb(231, 231, 231);
    background: black;
    height: 200px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer .item {
    flex: 1 1 25%;
    padding: 30px;
}

.footer p {
    margin: 0;
}

.footer .col_left {
    text-align: left;
}

.footer .col_center {
    text-align: center;
}

.footer .col_right {
    text-align: right;
}

.footer .col_right a {
    color: rgb(231, 231, 231);
}

.footer .col_right a:hover {
    text-decoration: none;
}

/* -------- CONTACT PAGE -------- */

.contact_container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact_intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact_intro h1 {
    font-size: 2.5em;
    font-weight: 300;
    margin: 0 0 20px 0;
    color: #2c2c2c;
}

.contact_intro p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
}

.contact_content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact_info {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 5px;
}

.contact_info h2 {
    font-size: 1.5em;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #2c2c2c;
}

.info_item {
    margin-bottom: 25px;
}

.info_item:last-child {
    margin-bottom: 0;
}

.info_item h3 {
    font-size: 1.1em;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #2c2c2c;
}

.info_item p {
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
    color: #555;
}

.info_item a {
    color: #8b7355;
    text-decoration: none;
    transition: color 0.3s;
}

.info_item a:hover {
    color: #6b5335;
    text-decoration: underline;
}

.contact_form h2 {
    font-size: 1.5em;
    font-weight: 500;
    margin: 0 0 25px 0;
    color: #2c2c2c;
}

.form_group {
    margin-bottom: 20px;
}

.form_group label {
    display: block;
    font-size: 0.95em;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.form_group input,
.form_group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    font-family: helvetica, Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form_group input:focus,
.form_group textarea:focus {
    outline: none;
    border-color: #8b7355;
}

.form_group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit_btn {
    background-color: #2c2c2c;
    color: white;
    padding: 15px 40px;
    font-size: 1em;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit_btn:hover {
    background-color: #1a1a1a;
}

.submit_btn:active {
    transform: translateY(1px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .bois_intro_section {
        padding: 30px 15px !important;
    }
    
    .bois_intro_title {
        font-size: 1.6em !important;
        margin: 0 0 20px 0 !important;
    }
    
    .bois_intro_desc {
        font-size: 1.1em !important;
        margin: 0 0 25px 0 !important;
    }
    
    .bois_intro_box {
        padding: 20px 20px !important;
        margin-top: 15px !important;
    }
    
    .bois_intro_subtitle {
        font-size: 1.2em !important;
        margin: 0 0 12px 0 !important;
    }
    
    .bois_intro_detail {
        font-size: 1em !important;
    }
    
    .contact_content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact_intro h1 {
        font-size: 2em !important;
    }
    
    .contact_intro p {
        font-size: 1.1em !important;
    }
    
    /* Homepage responsive - tablet */
    .hero_title {
        font-size: 3.5em !important;
        letter-spacing: 0.2em !important;
    }
    
    .hero_subtitle {
        font-size: 1.2em !important;
    }
    
    #hero_banner {
        padding: 60px 20px !important;
    }
    
    .home_intro {
        padding: 50px 20px !important;
    }
    
    .intro_container h2 {
        font-size: 1.8em !important;
    }
    
    .intro_lead {
        font-size: 1.1em !important;
    }
    
    #services_section {
        padding: 50px 20px !important;
    }
    
    .services_title {
        font-size: 1.8em !important;
    }
    
    #buttons {
        gap: 30px !important;
    }
    
    .home_cta {
        padding: 50px 20px !important;
    }
    
    .cta_content h2 {
        font-size: 1.8em !important;
    }
    
    .cta_content p {
        font-size: 1.1em !important;
    }
}

@media screen and (max-width: 480px) {
    .bois_intro_section {
        padding: 20px 10px !important;
    }
    
    .bois_intro_title {
        font-size: 1.4em !important;
        margin: 0 0 15px 0 !important;
    }
    
    .bois_intro_desc {
        font-size: 1em !important;
        margin: 0 0 20px 0 !important;
    }
    
    .bois_intro_box {
        padding: 15px 15px !important;
        margin-top: 10px !important;
    }
    
    .bois_intro_subtitle {
        font-size: 1.1em !important;
        margin: 0 0 10px 0 !important;
    }
    
    .bois_intro_detail {
        font-size: 0.95em !important;
        line-height: 1.6 !important;
    }
    
    .contact_container {
        padding: 20px 10px;
    }
    
    .contact_intro {
        margin: 0 auto 30px;
    }
    
    .contact_intro h1 {
        font-size: 1.6em !important;
    }
    
    .contact_intro p {
        font-size: 1em !important;
    }
    
    .contact_info {
        padding: 20px;
    }
    
    .contact_info h2,
    .contact_form h2 {
        font-size: 1.3em !important;
    }
    
    /* Homepage responsive - mobile */
    .hero_title {
        font-size: 2.2em !important;
        letter-spacing: 0.15em !important;
    }
    
    .hero_subtitle {
        font-size: 1em !important;
    }
    
    #hero_banner {
        padding: 40px 15px !important;
    }
    
    .home_intro {
        padding: 40px 15px !important;
    }
    
    .intro_container h2 {
        font-size: 1.5em !important;
    }
    
    .intro_lead {
        font-size: 1em !important;
    }
    
    #services_section {
        padding: 40px 15px !important;
    }
    
    .services_title {
        font-size: 1.5em !important;
        margin-bottom: 30px !important;
    }
    
    #buttons {
        gap: 25px !important;
    }
    
    .service_card_link {
        max-width: 100% !important;
    }
    
    .service_image {
        height: 220px !important;
    }
    
    .service_desc {
        padding: 25px 20px !important;
    }
    
    .service_desc h3 {
        font-size: 1.3em !important;
    }
    
    .home_cta {
        padding: 40px 15px !important;
    }
    
    .cta_content h2 {
        font-size: 1.5em !important;
    }
    
    .cta_content p {
        font-size: 1em !important;
    }
    
    .cta_button {
        padding: 15px 35px !important;
        font-size: 1em !important;
    }
}