/* All */
* {
    margin: 0;
    padding: 0;
}

/* Heading fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: ''Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans'', Arial, sans-serif;
}

/* Paragraph fonts */
p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/
/* Home */

/* Body */
body {
    background-color: rgb(250,242,241);
    overflow-x: hidden; /* No horizontal scrolling */
}

/* Header */
header {
    width: 100%;
    background-color: rgb(250,242,241);
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    color: white;
    height: 100px;
    position: fixed;
    z-index: 999; /* Header is above other content */
    top: 0;
    left: 0;
}

/* Logo */
.logo { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 0;
}

/* Logo */
.logo img {
    max-width: 50%;
}


/* Navigation Bar */
.navbar {
    margin-top: 100px; /* avoid overlap to fixed header */
}

/*-------------------------------*/

/* Small screens - Galaxy S8 */
@media (max-width: 700px) {
    .logo img {
        max-width: 80%;  
    }

    .navbar {
        margin-top: 100px;  
    }
}


/*--------------------------------------------------------------------------------------------------------------------------------------*/
/*Top Bullet Introduction*/

.top {
    display: flex;
    flex-direction: row;  
    height: 500px;        
    background-color: rgb(255, 210, 0); 
}

.top_text {
    flex: 60%;  
    padding: 60px 20px 20px 200px;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top_text h2 {
    text-transform: capitalize;
    font-size: 80px;
    margin-bottom: 20px;
}

.top_text p {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: justify;
}

.top-gif {
    flex: 40%;  
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-gif figure {
    margin: 0;  
}

.top-gif img {
    max-width: 64%;
    height: auto;
}

/*-------------------------------*/

/* Media Query for medium screens */
@media (max-width: 1024px) {
    .top_text h2 {
        font-size: 70px;
    }

    .top_text p {
        font-size: 20px;
    }

    .top {
        flex-direction: row;
        height: 450px;
    }

    .top_text {
        flex: 65%;
        padding: 50px 20px 20px 150px;
    }

    .top-gif {
        flex: 57%;

    }
}

/* Media Query for small screens */
@media (max-width: 768px) {
    .top_text h2 {
        font-size: 55px;
    }

    .top_text p {
        font-size: 18px;
    }

    .top {
        flex-direction: row;
        height: 400px;
    }

    .top_text {
        flex: 70%;
        padding: 40px 20px 20px 70px;
    }

    .top-gif {
        flex: 50%;
    }
}

/* Media Query smaller */
@media (max-width: 500px) {
    .top_text h2 {
        font-size: 50px;
    }

    .top_text p {
        font-size: 16px;
        padding-left: 40px;
    }

    .top {
        flex-direction: column;  /* column layout */
        height: auto;
        align-items: center;
        justify-content: flex-start;
    }

    .top_text {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .top-gif {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .top-gif figure {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .top-gif img {
        max-width: 100%;  
        height: auto;
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/*Border of middle - Introduction*/
/*  wrapper */
.wrapper {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
    margin-top: 40px;
    padding: 10px; 
    background-color: rgb(255, 255, 255); 
}

/* Mid section - 1st para*/
.mid {
    width: 100%;
    background-color: rgb(63,132,229);
    text-align: center;
    color: rgb(0, 0, 0);
    padding: 2%;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto; 
}

.mid h2 {
    text-transform: capitalize;
    font-size: 50px; 
    margin-bottom: 20px; 
}

.mid p {
    font-size: 23px; 
    text-align: center;
    margin-bottom: 20px; 
}

/*----------------------------------------------*/

@media (max-width: 700px) {
    .wrapper {
        width: 92%; 
    }
    .mid {
        width: 94%; 
        padding: 20px 30px 2px; /* top right bottom */
    }
    
}

@media (max-width: 600px) {
    .wrapper {
        width: 92%; 
    }
    .mid {
        width: 94%; 
        padding: 20px 30px 2px;
    }
    
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/* Links Container */
.links {
    margin-top: 50px;
    width: 100%;
    height: 200px;
    background-color: rgb(250,242,241);
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center; 
    gap: 100px; /* spacing between boxes */
}

/* Navigation Boxes */
.navigation-box {
    flex: 0.15; 
    padding: 20px; 
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


#gallery-box {
    background-image: url('assets/images/fabric.jpg');
    backdrop-filter: invert(80%);

}

#contact-box {
    background-image: url('assets/images/confab.jpg');
    backdrop-filter: invert(80%);

}

/*------------------------------------------------------------*/

.navigation-box:hover {
    transform: scale(1.1); /* box on hover */
}

.navigation-box a {
    text-decoration: none;
    color: inherit;
}

.navigation-box h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.navigation-box p {
    font-size: 20px;
    margin-bottom: 0;
}

/*----------------------------------------------*/

@media (max-width: 1000px) {
    .links {
        gap: 50px; 
    }
}

@media (max-width: 800px) {
    .links {
        gap: 30px; 
    }
}

@media (max-width: 600px) {
    .links {
        flex-direction: column; 
        align-items: center;
        height: auto; 
        gap: 20px; 
    }
    
    .navigation-box {
        width: 80%; 
        max-width: 300px; 
    }
}
/*--------------------------------------------------------------------------------------------------------------------------------------*/
/*Calculations full box */

.bot-wrapper {
    width: 100%;
    margin: 0 auto;
    margin-top: 50px; 
    display: flex;
    justify-content: space-between; 
    padding: 10px;
    background-color: rgb(255, 255, 255); 
    box-sizing: border-box; 
    flex-wrap: wrap;
    margin-bottom: 80px; 

}

.bot {
    width: 50%; 
    height: auto; 
    background-color: rgb(63,132,229); 
    text-align: left; 
    color: rgb(0, 0, 0); 
    padding: 20px 40px; 
    box-sizing: border-box; 
    overflow: hidden; 
}

.bot h3 {
    text-transform: capitalize;
    margin-bottom: 10px;
}

.bot p {
    font-size: 25px; 
    margin-bottom: 10px;
    text-align: justify;
}

/*-------------------------------------------------------------*/
/* Bot - form and inputs */
.bot label {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin: 10px 0;
}

.bot select,
.bot input[type="radio"],
.bot input[type="checkbox"],
.bot input[type="number"] {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 20px;
}

.bot input[type="radio"],
.bot input[type="checkbox"] {
    width: auto; 
    margin-right: 10px; 
}

.bot label {
    display: flex;
    align-items: center; 
    gap: 10px; 
}
/*-------------------------------------------------------------*/

/* Bot Image */
.bot-image {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgb(63,132,229); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.bot-image img {
    max-width: 100%; 
    height: auto;
    display: block;
}
/*-----------------------------------------------*/

.button-container{
    display: flex;
    gap: 10px;
}

/* Button for calculations */
.calc-button {
    background-color: #007bff;
    color: rgb(0, 0, 0);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    display: block;
    width: 50%;
    margin-top: 20px;
}

.calc-button:hover {
    background-color: #0056b3;
    color: white;
}

.calc-button:active {
    background-color: #004085;
}

/* Fake design button */
.fake-button{
    background-color: #007bff;
    color: rgb(0, 0, 0);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor:default;
    transition: background-color 0.3s ease-in-out;
    display: block;
    width: 50%;
    margin-top: 20px;
}
.fake-button:hover {
    background-color: #0056b3; 
    color: white; 
    cursor: default; 
}

/*-----------------------------------------------*/

/* Results div */
#price-details {
    font-size: medium;
    display: none;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    border-radius: 5px;
}

#price-details h4 {
    font-size: 20px; 
}

#price-details p {
    font-size: 18px; 
}

h4:first-of-type {
    text-decoration: underline;
}

h4 strong {
    font-family:monospace;
    font-weight: bold;
}


/*-----------------------------------------------*/

@media (max-width: 700px) {
    .bot {
        width: 100%; 
        padding-bottom: 0;
    }

    .bot-image {
        width: 100%; 
        padding-top: 0;
    }

    .bot select,
    .bot input[type="radio"],
    .bot input[type="checkbox"],
    .bot input[type="number"] {
        width: 100%; 
    }
}

@media (max-width: 600px) {
    .bot {
        width: 100%; 
        padding-bottom: 0;
    }

    .bot-image {
        width: 100%; 
        padding-top: 0;
    }

    .bot select,
    .bot input[type="radio"],
    .bot input[type="checkbox"],
    .bot input[type="number"] {
        width: 100%; 
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/
/*Footer*/

footer {
    position: relative; 
    width: 100%;
    height: 90px;
    background-color: rgb(178,13,48);
    padding-top: 20px;
    padding-bottom: 100px; 
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 20px;
}

.footer-images {
    position: absolute;
    bottom: 10px; 
    left: 10px;   
    display: flex;
    gap: 20px;    
}

.footer-images img {
    transition: transform 0.3s ease;
}

#img_one {
    width: 35px; 
    height: 35px;
}

#img_two {
    width: 35px; 
    height: auto;
}

.footer-images img:hover {
    transform: scale(1.1);
}

/*-----------------------------------------------*/

/* Media query */
@media (max-width: 768px) {
    footer {
        font-size: 18px; 
        padding-top: 15px;
        padding-bottom: 15px; 
        padding-left: 15px;  
        padding-right: 15px; 
    }

    .footer-images {
        bottom: 5px; 
        left: 5px;
        gap: 15px; 
    }

    .footer-images img {
        width: 30px; 
        height: auto;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: 16px; 
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px; 
        padding-right: 10px; 
    }

    .footer-images {
        bottom: 5px;
        left: 5px;
        gap: 10px;
    }

    .footer-images img {
        width: 25px; 
        height: auto;
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/*Gallery*/

/* top section - Information Banner */
.top_two {
    width: 100%;
    height: 500px;
    margin-bottom: 40px;
}

.top_two_text {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: rgb(255,210,0); 
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    color: rgb(0, 0, 0);
    padding: 60px 20px 20px 100px; /* padding: top, right, bottom, left */
    box-sizing: border-box;
}

.top_two_text h2 {
    text-transform: capitalize;
    font-size: 70px;
    margin-bottom: 20px;
}


/*--------------------------------------*/
@media (max-width: 600px) {
    .top_two_text {
        padding: 20px;
    }

    .top_two_text h2 {
        font-size: 40px; 
        margin-bottom: 20px;
    }
  
}
/*--------------------------------------------------------------------------------------------------------------------------------------*/

/*Gallery box*/

.gl {
    width: 100%; 
    height: auto; 
    background-color: rgb(63,132,229); 
    text-align: left; 
    color: white; 
    padding: 20px 40px; 
    box-sizing: border-box; 
    overflow: hidden; 
    margin-bottom: 40px;
}

.gl h2 {
    text-transform: capitalize;
    font-size: 40px; 
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 10px;

}


/* carousel container */
.carousel {
    margin-top: 40px; 
    display: flex;
    justify-content: center; 
    align-items: center; 
}

/* Images inside the carousel */
.carousel-item img {
    width: 40%;  
    height: auto; 
    object-fit: cover; 
    border-radius: 10px;
    display: block;
    margin: 0 auto; 
}

/*--------------------------------------*/

@media (max-width: 991px) {
    .carousel-item img {
        width: 50%;  
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        width: 80%;  
    }
}

@media (max-width: 480px) {
    .carousel-item img {
        width: 100%;  
    }
}

/* --------------------------------------------------------------------------------------------------------------------------------------*/
/* Contact*/

/* top section - Information banner */
.top_three {
    width: 100%;
    height: 500px;
    margin-bottom: 40px;
}

.top_three_text {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    background-color: rgb(255,210,0); 
    color: rgb(0, 0, 0);
    padding: 60px 20px 20px 100px; 
    box-sizing: border-box;
}

.top_three_text h2 {
    text-transform: capitalize;
    font-size: 70px;
    margin-bottom: 20px;
}

/*--------------------------*/
@media (max-width: 600px) {
    .top_three_text {
        padding: 20px;
    }

    .top_three_text h2 {
        font-size: 40px; 
        margin-bottom: 20px;
    }
  
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/*Form section Wrapper*/

/* Wrapper */
.cont_wrapper {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
    margin-top: 80px;
    padding: 20px; 
    background-color: rgb(255, 255, 255); 
    margin-bottom: 80px;

}


/* Contact  */
.cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: rgb(63,132,229);
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto; 
    padding-right: 140px;
    padding-bottom: 50px;
}

.cont h1 {
    text-transform: capitalize;
    font-size: 55px; 
    margin-bottom: 20px; 
    flex: 1; /* equal space */
    text-align: left; 
    color: rgb(0, 0, 0);
    padding-left: 150px;
}

.cont label{
    font-size: 20px;
}

/*--------------------------------------------*/
@media (max-width: 700px) {
    .cont_wrapper {
        width: 92%; 
    }
    .cont {
        width: 94%; 
        padding: 20px 20px 50px 20px; 
        flex-direction: column; 
        text-align: center;
    }
    .cont h1 {
        text-align: center; 
        padding-left: 0; 
        padding-right: 0; 
        margin-bottom: 20px; 
    }
}

@media (max-width: 600px) {
    .cont_wrapper {
        width: 92%; 
    }
    .cont {
        width: 94%; 
        padding: 20px 20px 50px 20px; 
        flex-direction: column; 
        text-align: center;
    }
    .cont h1 {
        text-align: center; 
        padding-left: 0; 
        padding-right: 0; 
        margin-bottom: 20px; 
    }
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/* Form  */
.form-group {
    margin-top: 30px;
    margin-bottom: 15px;
    flex: 2; 
    text-align: left;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    resize: vertical; 
}

.phone-input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    padding-top: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}


/*--------------------------------------------------------------------------------------------------------------------------------------*/

#button_contact {
    padding: 10px 20px;
    background-color: #54a7ff;
    color: #000000;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#button_contact:hover {
    background-color: #0056b3;
    color: white;
}

/* --------------------------------------------------------------------------------------------------------------------------------------*/