* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

button {
    cursor: pointer;
}

li, a, ul {
    text-decoration: none;
    color: white;
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

p, a {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
}

:root {
    /* Colors */
    --colorOne: #5e8aa6;
    --colorTwo: #d3dfed;
    --colorThree: #87ceeb;
    --colorFour: #a1b8a5;
    --colorFive: #f9f9f9;

    /* text sizes */
    --smallTxt: 0.7rem;
    --mediumTxt: 1.3rem; 
    --lagretext: 2.5rem;
}

/* Multiuse styles*/
.centerFlex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 300px;
    height: auto;
    padding: 10px;

}

.header-top-bar {
    position: relative;
    display: flex;
    width: 100%;
    height: 10vh;
    align-items: center;
    justify-content: space-around;
    z-index: 10;
    background-color: #000;
}

.header-contact-info {
    display: flex;
    width: 60%;
    justify-content: space-evenly;
    font-size: 0.9rem;
    color: white;
}

.hero-section {
    position: relative;
    background-image: url("./images/kitchen/k2.jpeg");
    width: 100%;
    height: 85vh;
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
    z-index: 0;
    overflow: hidden;
}

.hero-text {
    position: relative;
    color: white;
    z-index: 10;
    top:40%;
    left: 10%
}

.hero-text h2 {
    font-size: 30px;
    margin-bottom: 3vh;
}

.hero-bar {
    background-color: var(--colorOne);
    position: absolute;
    left: -10%; /* Start off the screen to the left */
    width: 40%; /* Make the div wide enough to cover the diagonal */
    height: 200%;
    transform: rotate(-30deg); /* Adjust the angle as needed */
    transform-origin: top left;
    z-index: -5;
    /*
    position: absolute;
    width: 100%;
    background-color: black;
    height: 100%;
    opacity: 0.5;
    z-index: 0;*/
}

nav {
    position: relative;
    background-color: var(--colorOne);
    padding: 0.7rem;
    z-index: 10;
}

nav ul {
    display: flex;
    justify-content: space-evenly;
    width: 50%;
    transform: translate(-30%);
    align-items: flex-start;
}

/* Menu Button */
.menu-button {
    visibility: hidden;
    width: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 25px;
}

.bar {
    height: 3px;
    background-color: var(--colorThree);
}

/* Menu Items */
.menu-items {
    position: fixed;
    top: 0;
    left: -100%;
    width: max-content;
    height: 100%;
    background-color: var(--colorOne);
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: left 0.3s ease;
}

.menu-items a {
    padding: 15px 20px;
    margin: 0 20px;
    text-decoration: none;
    color: var(--colorTwo);
    font-size: 18px;
}

/* Show menu */
.menu-items.active {
    left: 0;
}

/*---------------------------------------------------------------------------------*/

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px 50px;
    background-color: var(--colorFive);
    width: 80%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.images-container {
    min-width: 50%;
    height: 50vh; /* Adjust height to fit your design */
    background-color: var(--colorFive);
    overflow: hidden;
    clip-path: ellipse(40% 100% at 40% 100%);
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.image-large img {
    width: 100%;
    height: 50vh;
    border-radius: 10px;
}

.image-small {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
}

.image-small img {
    width: 100%;
    height: 25vh;
    border-radius: 10px;
}

.about-content {
    flex-basis: 50%;
    text-align: left;
}

.about-content h3 {
    color: var(--colorThree);
    font-size: 24px;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 3vw;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2vw;
    color: #000;
}

.stat-item span {
    font-size: 14px;
    color: var(--colorFour);
}

.contact-button {
    background-color: var(--colorThree);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
}

/*------------------------------------------------------------------------------------------------*/
.we-make-section {
    text-align: center;
    background-color: var(--colorTwo); /* Light beige background */
    padding: 50px 20px;
    height: max-content;
    overflow: hidden;
}

.we-make-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.underline {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--colorFour);
    margin-bottom: 20px;
}

.products-grid {
    max-width: 2000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:3rem;
}

.product-item {
    position: relative;
    width: 200px; /* Adjust to fit your design */
    height: 200px; /* Adjust to fit your design */
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item p {
    position: absolute;
    width: 150px;
    bottom: 10px;
    right: -40px;
    font-size: 20px;
    color: black;
    background-color: var(--colorTwo);
    transform: rotate(-35deg);
    padding: 5px 25px;
}

/*------------------------------------------------------------------------------------------------*/

.why-us-section {
    display: flex;
    width: 100%;
    height: 100vh;
}

.content-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    justify-content: space-between;
    height: 100%;
}

.image-container {
    position: relative;
    width: 20vw; /* Adjust size as needed */
    height: 50%; /* Adjust size as needed */
    overflow: hidden;
    background-color: var(--colorTwo);/* Same as section background */
    border-radius: 0 0 150px 150px; /* Creates the half-oval shape */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-left  img{ /* Make the left side larger */
    position: relative;
    margin-right: 50px;
    border-radius: 0 0 100px 100px;
    margin: auto;
}

.image-right img{
    margin-left: 50px;
    border-radius: 100px 100px 0 0;
    margin: auto;
}

.image-left {
    width: 20%;
    height: 50vw;
}

.image-right{
    width: 20%;
    height: 50vw;
    position: absolute;
    border-radius: 150px 150px 0 0;
    bottom: 0;
    right: 0;
}

.image-container img {
    width: 70%;
    height: 70%;
    object-fit: cover;
}

.text-content {
    position: relative;
    margin: auto;
    transform: translate(-30%);
    text-align: left;
    color: #000;
}

.text-content h2 {
    font-size: 3rem;
    font-weight: bold;
}

.text-content .underline {
    width: 10vw;
    height: 4px;
    margin: 20px 0 30px 0px
}

.text-content ul {
    list-style: none;
    padding: 0;
}

.text-content li {
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.text-content li span {
    font-size: 2rem;
    font-weight: bold;
    color:var(--colorFour);
    margin-right: 10px;
    padding-top: 40px;
}

/*------------------------------------------------------------------------------------------*/

.projects-section {
    padding: 60px 0;
    background-color: var(--colorFive);
    text-align: center;
}

.projects-section h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.project-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    width: 100%;
    gap: 1rem;
}

.project-image {
    flex: 1;
    padding: 10px;
    background-color: var(--colorOne); /* Light beige background for image container */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.project-info {
    flex: 1;
    padding: 20px;
    background-color: #f1f5f9; /* Light gray background for text */
    border-radius: 20px;
    text-align: left;
}

.project-info h3 {
    color: var(--colorThree); /* Orange color for the "Featured Project" text */
    font-size: 18px;
    margin-bottom: 10px;
}

.project-info h4 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.project-info p {
    font-size: 16px;
    color: #333;
}

.project:nth-child(odd) {
    flex-direction: row-reverse;
}

/*---------------------------------------------------------------------------------------------*/

/* BLOCK 6 */
.block6 {
    padding-top: 70px;
    padding-bottom: 70px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.block6 h1 {
    align-self: center;
}

.block6 button {
    width: 100px;
    position:relative;
    margin: 0 auto;
    background-color: var(--colorThree);
    border: none;
    padding: 10px 5px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.formSection {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formContainer {
    display: flex;
    width: 80%;
    height: 80vh;
    border-radius: 20px;
    background-color:var(--colorFive);
    border: var(--colorFour) 1px solid;
}

.form-leftBar {
    background-color:black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    max-width: 70px;
    border-radius: 20px 0 0 20px;
}

.form-leftBar i {
    font-size: 30px;
    color: var(--colorThree);
}

.form-leftBar-sideText {
    transform: rotate(-90deg);
    white-space: nowrap;
}

.form-middleBar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-image {
    background-image: url("./images/beds/b28.jpeg");
    width: 80%;
    height: 80%;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-image-bar {
    width: 20%;
    height: 100%;
    background-color:var(--colorFive);
}

.form-rightBar {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-rightBar-container {
    width: 95%;
    height: 80%;
}

.form-rightBar-Details {
    padding-top:10%;
    padding-bottom: 10%;
    display: flex;
    justify-content: space-around;
    color: black;
}

form {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 85%;
}

form input {
    width: 95%;
    background-color:var(--colorTwo);
    border-radius: 50px;
    border: none;
    padding: 10px;
}

form textarea{
    width: 95%;
    background-color: var(--colorTwo);
    border-radius: 20px;
    border: none;
    padding: 10px;
}

form input::placeholder, form textarea::placeholder {
    color: black;
}

/*----------------------------------------------------------------------------------------------*/

.footer {
    background-color: #1b1b1b;
    color: white;
    padding:0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.footer-logo {
    align-items: center;
    margin-bottom: 20px;
    transform:translate(0, -50%);
    background: linear-gradient(90deg, #000, #555);
    border-radius: 20px;
    padding: 10px 30px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-contact i {
    margin-right: 5px;
}

.footer-quote {
    font-size: 20px;
    font-weight: bold;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 20%;
    right: 5%;
}

.footer-buttons .btn {
    background-color: var(--colorOne);
    color: #1b1b1b;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-buttons .btn:hover {
    background-color: #c0a88d;
}

.footer-trademark {
    margin-top: 20px;
    font-size: 14px;
    color: #bbb;
}

/*------------------------------------------------------------------------------------------------*/
/* Mobile styles*/
@media only screen and (max-width: 1050px) {
    .form-rightBar-Details {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-buttons {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        right: 0%;
    }

    .hero-bar {
        left: -18%; /* Start off the screen to the left */
        width: 45%;
        /*
        position: absolute;
        width: 100%;
        background-color: black;
        height: 100%;
        opacity: 0.5;
        z-index: 0;*/
    }
}


@media only screen and (max-width: 800px) {
    h1, h2, h3, h4, h5, h6, p, button, a, li, ul {
        text-align: center;
    }

    .hero-bar {
        left: 0%; /* Start off the screen to the left */
        width: 100%;
        transform: rotate(-0deg);
        opacity: 0.7;
    }

    .hero-text {
        left: 0%;
        width: 70%;
        margin: auto;
    }

    .about-section {
        flex-direction: column;
        gap: 20px;
    }

    .images-container {
        position: relative;
        height: 30vh;
        left: 10%;
    }

    .image-large img {
        height: 30vh;
    }

    .image-small img {
        height: 15vh;
    }

    .about-content {
        width: 80%;
    }

    .about-content h2 {
        font-size: 1.5em;
    }

    .contact-button {
        position: relative;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .stat-item strong {
        font-size: 1.2em;
    }

    /*--------------------------------------*/
    .form-middleBar {
        visibility: hidden;
        width: 0;
    }

    .we-make-section {
        padding: 50px 50px;
    }
}

@media only screen and (max-width: 760px) { 
    .header-contact-info {
        visibility: hidden;
        display: none;
    }
    
    nav ul {
        width: 80%;
        transform: translate(0%);
    }

}

@media only screen and (max-width: 550px){
    .image-right {
        width: 40%;
    }

    .image-left {
        position: relative;
        width: 40%;
    }    

    .header-contact-info{
        visibility: none;
    }

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

    .text-content {
        position: relative;
        width: 100%;
        left: 0%;
        transform: translate(0%, -50%);
    }
}

@media only screen and (max-width: 400px){
    .text-content {
        position: relative;
        width: 100%;
        left: 50%;
        transform: translate(-65%, -50%);
    }
    .menu-button{
        visibility: visible;
    }

    .logo img {
        width: 150px;
        height: auto;
    }

    .header-contact-info {
        visibility: hidden;
        width: 0;
    }

    .formContainer {
        width: 95%;
    }

    .form-rightBar-Details {
        visibility: hidden;
        height: 0;
    }

    .form-rightBar {
        background-image: url("./images/beds/b29.jpeg");
        background-position: center;
        background-size: cover;
        border-radius: 0 20px 20px 0;
    }

    form input, form textarea{
        color: white;
        background-color: rgba(71, 118, 157, 0.8);
    }

    form input p {
        opacity: 1;
    }


    input::placeholder, textarea::placeholder {
        opacity: 1;
        color: white;
    }

    .about-section {
        width: 95%;
        padding: 20px 20px;
    }

    .footer-contact {
        flex-direction: column;
        font-size: 14px;
        margin-top: 20px;
    }

    .text-content li {
        left: 15%;
        white-space: nowrap;
    }

    .text-content h2 {
        position: relative;
        left: 15%;
    }

    .text-content .underline {
        left: 70%;
    }

    .header-top-bar {
        position: fixed;
    }

    nav {
        visibility: hidden;
    }
}
