
/* Importing Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
    --primary-color:#1e7e51; 
    --color-2: #f3cb5f;
    --color-3: #333333;


    --text-color-1: white;
    --text-color-2: rgb(0, 0, 0);

    --border-radius-small: 8px;
    --border-radius-medium: 30px;

    --font-size-medium: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    /*font-weight*/
    --font-weight-normal:400;
    --font-weight-medium:500;
    --font-weight-semibold: 600;
    --font-weight-bold:700;

    --size-max-width: 1300px;




    /** 5:33 of video**/

}

/* phone # button*/
.nav-item.special-button .nav-link {
    background: #f3cb5f;
    color: var(--text-color-2) !important;
    border: 2px solid transparent;
    transition: 0.3 ease;

}

.nav-item.special-button .nav-link:hover{
    color:var(--text-color-1) !important;
    border-color: var(--text-color-1) !important;
    background:transparent !important;
}





.logo-text .yellow-letter{
    color: var(--color-2);
    font-size:var(--font-size-xxl);
}

/*Style for the entire site? */

*{
    margin:0;
    padding:0;
    box-sizing: border-box;

}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

button{
    cursor: pointer;
    border: none;
    background:none;
}

img{
    width:100%;
}

.section-content{
    margin: 0 auto; /**What does this mean? **/
    padding: 0 20px;     /**Adds some more space on the ends of the nav bar **/
    max-width: var(--size-max-width);

}


/** Anything below is the navbar stylng**/
header{
    position: fixed;
    width: 100%; /**What does this do**/
    z-index:5;   /**What does this do**/
    /*The OG color*/ background-color: var(--primary-color);

    /*background-image: radial-gradient(circle, #186441, #124b31, #0c3220); */
    /* background-color: rgba(30, 126, 81, 0.85); /* semi-transparent */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /**shadow for the header, essentially*/

    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.495), rgba(255, 255, 255, 0));



}

header .navbar{        /**adds space between logo and navbar??**/ 
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding:20px;  /**makes the navbar taller**/
}

/**This is for the main logo**/
.navbar .nav-logo .logo-text{
    color: var(--text-color-1);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);

}

.navbar .nav-menu{            /** displays navbar elements side by side?**/
    display:flex;
    gap: 10px;
}

/**This is for the nav bar stuff**/
.navbar .nav-menu .nav-link{
    color: var(--text-color-1);

    /** to highlight the buttons**/
    padding: 10px 18px;
    border-radius: var(--border-radius-medium);
    font-size: var(--font-size-medium);
    transition: 0.3 ease; 

}


/** to highlight the buttons**/
.navbar .nav-menu .nav-link:hover{
   
    background: #f3cb5f;
    color: var(--text-color-2);
}


.navbar :where(#menu-close-button, #menu-open-button){ /*This only makes the buttons visible on smaller screens */
    display: none;
}



.hero-section{
    min-height: 100vh; 
    /*background: var(--primary-color);*/
    background-image: radial-gradient(circle, #186441, #124b31, #0c3220);



}

.hero-section .section-content{
    display: flex;
    align-items: center;
    min-height: 100vh;
    color:var(--text-color-1);
    justify-content: space-between;

}

.hero-section .hero-details .title{
    font-size: var(--font-size-xxl);
    color: var(--color-2);
    font-family: "Miniver", sans-serif;


}

.hero-section .hero-details .subtitle{
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);



}

.hero-section .hero-details .description{
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-medium);
}

.hero-section .hero-details .buttons{
    display: flex;
    gap: 23px;

}


.hero-section .hero-details .button{
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);

    border-radius: var(--border-radius-medium);
    background: var(--color-2);
    font-weight: var(--font-weight-medium);
    transition: 0.3 ease;

}

.hero-section .hero-details .button:hover, .hero-section .hero-details .contact-us{
    color:var(--text-color-1);
    border-color: var(--text-color-1);
    background:transparent;
}

.hero-section .hero-details .contact-us:hover{
    color:var(--primary-color);
    border-color: var(--color-2); 
    background:var(--color-2);

}

.hero-section .hero-image-wrapper{
    max-width: 500px;
    margin-right: 30px;  
}

/* */
@media screen and (max-width: 900px ) {

    :root{
    --font-size-medium: 1rem;
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
    }

    .navbar :where(#menu-close-button, #menu-open-button){
        display: block;
        font-size: var(--font-size-l);

    }

    .navbar #menu-close-button{
        position: absolute;
        right: 30px;
        top:30px;

    }

    .navbar #menu-open-button{
        color: var(--text-color-1);


    }

    .navbar .nav-menu{
        display: block;
        position: fixed;
        left: 0;  /* potentialy change to -300, but why?*/
        top: 0;
        width: 300px;
        height: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;


        background: var(--text-color-1);
    }

    .navbar .nav-menu .nav-link{
        color: var(--text-color-2);
        font-size: var(--font-size-l);
        display: block;
        margin-top: 17px;
    }
 
    
}

