/***********************************
 * Import Fonts
 ***********************************/

@import url("https://fonts.googleapis.com/css?family=Catamaran:400,700|Parisienne");

/*****************************
 * Variables
 *****************************/

:root{
  --ff-primary:   "Catamaran", sans-serif;
  --ff-secondary: "Parisienne", cursive;

  --clr-white:           #fff;
  --clr-grey-01:         #102a42;
  --clr-grey-02:         #222;
  --clr-grey-05:         #617d98;
  --clr-grey-08:         #ccc;
  --clr-grey-09:         #eee;
  --clr-grey-10:         #f1f5f8;

  --clr-primary:         #f58c33;
  --clr-primary-00:      #350900;
  --clr-primary-dk:      #c84b31;
  --clr-primary-lt:      #e9b949;

  --transition:          all 0.3s linear;
  --spacing:             0.1rem;
  --radius:              0.5rem;

  /* Box Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/*****************************
 * Simple reset
 *****************************/

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

/*****************************
 * Globals, mobile first
 *****************************/

html {
  scroll-behavior: smooth; /* For smooth scrolling using anchor links */
}

body {
  font-family: var(--ff-primary);  /* Primay font as default for text */
  background: var(--clr-white);
  color: var(--clr-grey-01);       /* Dakest grayscale for fonts */
  line-height: 1.5;
  font-size: 0.875rem;             /* Use 14px as default on small screens */
}

a {
  text-decoration: none; /* Remove underline for all links */
}

img {
  width: 100%;    /* Span all of parent container by default  */
  display: block; /* Gets rid of the default underline  */
}

h1, h2, h3, h4 {
  color: var(--clr-grey-05);
  letter-spacing: var(--spacing);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 span, h2 span, h3 span {
  color: var(--clr-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 0.875rem; }
p  { margin-bottom: 1.25rem; }

ul {
  list-style-type: none;
  padding: 0;
}

/*****************************
 * Globals, larger screens
 *****************************/

@media screen and (min-width:800px) {
  h1, h2, h3, h4 { line-height: 1; }
  h1   { font-size: 4rem;   }
  h2   { font-size: 2.5rem; }
  h3   { font-size: 2rem;   }
  h4   { font-size: 1rem;   }
  body { font-size: 1rem;   }
}

/****************************
 * Animations
 ****************************/

@keyframes bounce {
  0%   { transform: scale(1)   }
  50%  { transform: scale(1.3) }
  100% { transform: scale(1)   }
}

@keyframes leftSlide {
  0%  { transform: translateX(-1000px); opacity: 0  }
  50% { transform: translateX(200px); opacity: 0.5  }
  75% { transform: translateX(-50px); opacity: 0.75 }
  100%{ transform: translateX(0); opacity: 1        }
}

@keyframes rightSlide {
  0%   { transform: translateX(1000px); opacity: 0   }
  50%  { transform: translateX(-200px); opacity: 0.5 }
  75%  { transform: translateX(50px); opacity: 0.75  }
  100% { transform: translateX(0); opacity: 1        }
}

@keyframes show {
  0%   { transform: scale(1.5); opacity: 0; }
  50%  { transform: scale(2); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1;   }
}

/****************************
 * Additional shared styles
 ****************************/

.btn {
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 0.375rem 0.75rem;
  letter-spacing: var(--spacing);
  display: inline-block; /* So can add margin */
  font-weight: 700;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: (--shadow-sm);
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); */
}

.btn:hover {
  background: var(--clr-primary-lt);
  color: var(--clr-primary-dk);
  transform: scale(1.01) translateX(-2px) translateY(-2px);
}

.content-divider {
  height: 0.3rem;
  background: linear-gradient(
    to left,
    var(--clr-primary),
    var(--clr-primary-lt),
    var(--clr-primary)
  );
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-title h2 {
  font-family: var(--ff-primary);
}

.section-title span {
  color: var(--clr-primary);
}

.section-center {
  margin: 0 auto;
  width: 80vw;
  max-width: 1170px;
}

@media screen and (min-width: 992px) {
  .section-center {
    width: 95vw;
  }
}

/*****************************
 * Navigation
 *****************************/

.btn-nav {
  position: fixed;
  top: 1%;
  left: 1%;
  font-size: 2.5rem;
  color: var(--clr-primary);
  z-index: 1;
  cursor: pointer;
  /* animation */
  animation: bounce 2s ease 2;
}

.btn-nav:hover {
  transform: scale(1.2) rotate(-25deg) translateY(-2px) translateX(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* width: 100%;
  height: 100%; */
  background: var(--clr-primary-00);
  z-index: 2;
  box-shadow: var(--shadow-md);
  /* hide navbar */
  transform: translateX(-100%);
  transition: var(--transition);
}

.nav-show { transform: translate(0); }
.navbar-header { text-align: right; padding-right: 1rem; }

.btn-nav-close {
  display: inline-block;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--clr-white);
  transition: var(--transition);
}

.btn-nav-close:hover {
  transform: scale(1.2) rotate(-45deg) translateY(-2px) translateX(-2px);
}

.nav-items { list-style-type: none; }
.nav-link {
  display: block;
  font-size: 1.5rem;
  padding: 0.25rem 1rem;
  text-transform: uppercase;
  letter-spacing: var(--spacing);
  color: var(--clr-white);
  transition: var(--transition);
}

.nav-link:hover {
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  padding-left: 1.5rem;
  border-left: 0.25rem solid var(--clr-primary);
}

@media screen and (min-width: 768px) {
  .navbar {
    width: 30vw;
    max-width: 20rem;
  }
}

/*****************************
 * Header Section
 *****************************/

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.8)),
    url("../img/main-bkg-01.jpg")
    center/cover no-repeat fixed;
  overflow-x: hidden; /* So animation does not show horiz scrollbar */
}

.banner {
  text-align: center;
}

.banner h1 {
  font-family: var(--ff-secondary);
  color: var(--clr-white);
  font-size: 5rem;
  margin-bottom: 4rem;
  /* animation */
  animation: leftSlide 4s ease-in-out 1;
}

.banner h2 {
  font-family: var(--ff-primary);
  color: var(--clr-primary);
  /* animation */
  animation: rightSlide 4s ease-in-out 1;
}

.btn-banner {
  outline: 0.125rem solid var(--clr-primary);
  outline-offset: 0.25rem;
  font-size: 1.25rem;
  padding: 1rem 1.7rem;
  /* animation */
  animation: show 2s linear 1;
}

.btn-banner:hover {
  outline: 0.125rem solid var(--clr-primary-lt);
}


/****************************
 * Services Section
 ****************************/

.services {
  background: var(--clr-grey-09);
}

.service {
  padding: 2.5rem 0;
  text-align: center;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.service-icon {
  display: inline-block;
  color: var(--clr-grey-05);
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-text {
  color: var(--clr-grey-05);
  max-width: 17rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.service:hover {
  background-color: var(--clr-white);
  box-shadow: 0 2px var(--clr-primary);
}

.service:hover .service-icon {
  color: var(--clr-primary);
  transform: translateY(-5px); /* Lift the icon */
}

/* 2 cols on medium screens */
@media screen and (min-width:576px) {
  .services-center {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .service {
    flex: 0 0 calc(50% - 1rem);
    margin-bottom: 1rem;
  }
}

/* 4 cols on larger screens */
@media screen and (min-width:992px) {
  .service {
    flex: 0 0 calc(25% - 1rem);
  }
}

/****************************
 * Contact Section
 ****************************/

.contact { background: var(--clr-white); }
.contact-form,
.contact-info {
  text-align: center;
  margin-bottom: 2rem;
  transition: var(--transition);
}
.contact-item {
  padding-top: 1.25rem;
  margin-bottom: 1.75rem;
}
.contact-title { color: var(--clr-primary); font-weight: 400; }
.contact-form {
  background: var(--clr-white);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var( --shadow-lg);
  transition: var(--transition);
  /* max-width: 35rem; */
}

.contact-form h3,
.contact-info h3 {
  padding-top: 1.25rem;
}

.form-group { padding: 1rem 1.5rem; }

.form-control  {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  margin-bottom: 1.25rem;
  background: var(--clr-grey-09);
  border-radius: var(--radius);
  letter-spacing: var(--spacing);
}

.form-control::placeholder  {
  font-family: var(--ff-primary);
  color: var(--clr-grey-02);
  text-transform: uppercase;
  letter-spacing: var(--spacing);
}

.btn-submit {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  border-radius: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* 2 cols on medium and larger screens */
@media screen and (min-width:1170px) {
  .contact-center {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .contact-form,
  .contact-info {
    flex: 0 0 calc(50% - 4rem);
    margin-bottom: 1rem;
  }
  .contact-info {
    text-align: left;
  }
}

/****************************
 * About Section
 ****************************/

.about-map,
.about-info {
  text-align: center;
  padding: 2rem 0;
}

.about-text {
  margin: 1rem auto;
  max-width: 26rem;
  color: var(--clr-grey-05);
}

.mapouter{
  position:relative;
  /* text-align:right; */
  left: 0;
  top:0;
  min-height:400px;
  width: 100%;
}

.gmap_canvas {
  border: .125rem solid var(--clr-primary);
  overflow: hidden;
  background: none!important;
  min-height: 400px;
  height: 400px;
  width: 100%;
}

/* 2 cols on larger screens */
@media screen and (min-width:1170px) {
  .about-center {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .about-map,
  .about-info {
    flex: 0 0 calc(50% - 4rem);
    margin-bottom: 1rem;
  }
  .contact-info {
    text-align: left;
  }
}


/****************************
 * Footer Section
 ****************************/

.footer {
  background:  var(--col-primary-00);
  text-align: center;
  padding: 1rem 0;
}

footer .social-icon {
  display: inline-block; /* So we can animate */
  color: var(--clr-grey-08);
  font-size: 2rem;
  margin-right: 1rem;
  transition: var(--transition);
}

footer .social-icon:hover {
  color: var(--clr-primary);
  transform: scale(1.2) rotate(-45deg);
}

.footer-text {
  margin-top: 1.25rem;
  color: var(--clr-grey-08);
  font-weight: 400;
  font-size: .75rem;
}

.author {
  margin: 0 0.5rem;
  color: var(--col-primary);
}
