/* 
COLOR SCHEME:
#103E4E (dark green)
#16556C (lighter dark green)
#D7C802 (highlight)
*/
 
/* 
ROW BACKGROUND MAKER 
background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
url('../img/bg/brick_bg.jpg');
background-repeat: repeat;
END ROW BACKGROUND MAKER
*/

/* @import url('https://fonts.googleapis.com/css2?family=Sarabun&display=swap'); */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Sarabun", sans-serif;
}

.yellow-f {
    color: #D7C802;   
}

.darkgreen-f {
    color: #103E4E;
}

.lightgreen-f {
    color: #16556c;
}

/* FOOTER STYLE height: 100% or vh */
html {
    height: 100%;
}

/* FOOTER STYLE height: 100%; or vh */
/* FOOTER STYLE display: flex; */
/* FOOTER STYLE flex-direction: column; */
body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    min-height: 40px;
    /* background-color: #103E4E; */
    background-image: linear-gradient(to right, #103E4E, #16556C);
    display: flex;
    align-items: center;
}

header a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

header a:hover {
    color: #D7C802;
}

.header-wrap {
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-box {
    display: flex;
    align-items: center;
    gap: 10px;
}    

.social-box {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    margin-left: auto;
}

.hero {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). 
    This will make the text easier to read */
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
   url("../img/bg/bg_f.jpg");

   /* Set a specific height */
   /* height: 35%; */

   /* Position and center the image to scale nicely on all screens */
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   position: relative;
}

.hero-wrap {
    width: 90%;
    margin: 0 auto;
    min-height: 360px;
}

.logo-nav-bar {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 2.25rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    -webkit-transition: color .7s ease;
    -moz-transition: color .7s ease;
    -ms-transition: color .7s ease;
    -o-transition: color .7s ease;
    transition: color .7s ease;
}

.nav-menu li a:hover {
    color: #D7C802;
}

.nav-menu li a:active {
    text-decoration: underline;
}

.hamburger {
    cursor: pointer;
    display: none;
}

.bar {
    background-color: #ffffff;
    display: block;
    height: 3px;
    width: 25px;
    margin: 5px auto;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.hero-text {
    width: 78%;
    margin: 80px auto;
    text-align: center;
}

.hero-text-large {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 600;
}

.hero-text-medium {
    color: #D7C802;
    font-size: 2rem;
    font-weight: 500;
}
/* -- END HERO SECTION -- */
/* -- CONTENT SECTION -- */
.content {
   flex: 1;
}
/* -- END CONTENT SECTION -- */
/* xx DYNAMIC PAGE STYLES START xx */
.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.services-text h2 {
    color: #D7C802;
    font-size: 2.5rem;
    font-weight: 700;
}

.services-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.services-logo {
    width: 24px;
    height: auto;    
}

.services-text ul {
    text-align: left;
}

.services-text ul li {
    list-style-type: square;
    font-size: 1.15rem;
    color: #103E4E;
}
/* SERVICES ROW STYLE END */
/* INFO ROW START */
.info-row {
    background-image: linear-gradient(#103E4E, #16556C);
    height: auto;
    padding: 20px 80px;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.info-row h3 {
    color: white;
    font-size: 1.50rem;
    font-weight: 600;
    text-decoration: underline;
}

.info-row ul {
    color: #D7C802;
    font-size: 1.25rem;
    font-weight: 600;
    
}

.info-row ul li {
    list-style-type: none;
}

.tech-row {
    display: flex;
    justify-content: center;
    width: 70%;
    margin: 20px auto;
    gap: 20px;
}

.tech-row img {
    width: 320px;
    height: auto;
}

.lcol {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
   
}

.lcol h3 {
    color: #103E4E;
    font-size: 1.75rem;
}

.rcol {
    border-left: solid 2px #D7C802;
    border-radius: 10px;
    padding-left: 10px;
}

/* xx END DYNAMIC PAGE STYLES xx */
.map-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    flex-direction: column;
}

iframe.map-frame {
    width: 90%;
    height: 400px;
}
/* -- FOOTER STYLES START -- */
footer {
    min-height: 100px;
    background-color: #103E4E;
    color: #fff;
}

.footer-wrap {
	text-align: center;
	width: 80%;
	margin: 0 auto;
	padding: 10px;
}
/* FOOTER STYLES END */
/* MEDIA QUERY START */
@media all and (max-width: 768px) {
    .top-email {
		display: none;
	}

	.hamburger {
		display: block;
	}  
	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}	
	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}	
	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}  
	/* need height on navbar */
	/* #################### */  
	.nav-menu {
		position: fixed;
		left: -100%;
		top: 40px;
		gap: 0;
		flex-direction: column;
		background-color: #16556C;
		width: 100%;
		text-align: center;
		transition: 0.3s;
        z-index: 100;
	}  
	.nav-menu li {
		margin: 16px 0;
	}  
	.nav-menu.active {
		left: 0;
	}

    .splash-img {
        width: 260px;
        height: auto;
    }

    .services-row {
        flex-direction: column;
        text-align: center;
    }

    .info-row {
        height: auto;  /* need a height on container for column to work */
        flex-direction: column;
    }
   
}

@media all and (max-width: 320px) {
    
}