/*
Theme Name: WorkWise Theme
Author: Mark Renwick
Description: A custom WordPress theme for WorkWise
Version: 1.0
Text Domain: workwise
*/

@font-face {
    font-family: DejaVuSans;
    src: url(fonts/DejaVuSans/DejaVuSans.ttf);
    font-weight: normal;
}

body {
  font-family: DejaVuSans, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fff;
}

a {
  color: #d6a019;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin-top: 0;
}

h4 {
  margin-bottom: 6px;
}


/* Header */
.site-header {
  background-color: #000;
  color: #ffffff;
  height: 120px;
  padding: 0;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 ;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  padding-top: 11px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 20px 0 0;
  display: flex;
  gap: 2rem;
}

.main-nav li {
  display: inline;
}

.main-nav a {
  color: #fff;
  font-weight: bold;
}

/* Burger button */
.burger {
  display: none;
  font-size: 2rem;
  border: 0;
  background-color: rgb(255, 255, 255);
  margin-right: 14px;
  margin-top:10px;
  padding:0.5rem;
  cursor: pointer;
}

/* Show burger and hide nav below 768px */
@media (max-width: 768px) {
  .burger {
    display: block; /* <-- critical */
  }

  .main-nav {
    display: none; /* nav hidden initially */
  }

  .main-nav.open {
        display: flex;
        flex-direction: column;
        background-color: #413a3ae0;
        position: absolute;
        top: 26px;
        right: 0;
        width: 109px;
        padding: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-right: 70px;
  }

  .main-nav.open ul {
    display: block;         /* ensures it's not flex or inline */
    flex-direction: column; /* has no effect unless display is flex */
    list-style: disc;       /* or none, depending on your design */
    padding-left: 1.5rem;   /* standard list indent */
    display: flex;
    flex-direction: column; /* <-- forces vertical layout */
    gap: 1rem;              /* adds spacing between items */
    list-style: none;       /* optional: removes bullets */
    padding: 0;
    margin: 0;
}
 
  .main-nav.open a {
    font-weight: normal;
}

}

/* Hero Section */
.hero {
  background: #f5f5f5;
  text-align: center;
  padding: 0;
}

.hero img {
  width: 100%;
}


/* About Section */
.about {
  background: #eee;
  padding: 2rem 1rem;
  text-align: center;
}

.page-header {
  background: #eee;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1.5rem;;
}

.page-header p {
  font-size: 1rem;
  color: #04004d;
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  color: #04004d;
}

.container p {
  text-align: center;
}

.container p.max-width {
  max-width: 627px;
  margin: 0 auto;
  padding-bottom: 25px;
  text-align: left;
}

.container p.trust-line {
  font-style: italic;
  font-weight: bold;
}


.about h1 {
    font-size: 2rem;
    font-weight: 100;
    margin-top: 0;
    margin-bottom: 35px;
    color: #04004d;
}

.container h1 {
  font-weight: 200;
  color: #04004d;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background-color: #04004d;
  color: #fff;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #333;
}

/* Services Section */
.services {
  padding: 3rem 1rem;
  background: #fff;
}
.services p {
    max-width: 1100px;
    text-align: left;
    line-height: 1.6;
}

.services h3 {
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 20px;
    color: #04004d;
}

.content {
    max-width: 1100px;
    margin: 0 auto;
}

.content .icon {
    float: left;
    padding-right: 20px;
}

.content h3 {
    padding: 20px 10px 20px 0;
}

.content h3.blog {
    padding: 20px 10px 20px 0;
    font-weight: 200;
    font-size: 2.0rem;
}

.services img {
  max-width: 160px;
  padding-bottom: 40px;
  padding-top: 20px;
  display: block;
  margin: 0 auto;
}

.services img.icon {
  padding-top:0;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.service {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: left;
}

.service h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #04004d;
}

.service ul {
  padding-left: 1.2rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background-color: #000;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.site-footer p {
  display: block;
  color: #fff;
  margin: 0 auto;
  max-width: 1200px;
  text-align: left;

}

.contact-form {
    max-width: 500px;
    padding: 2.5em;
    background-color: #eee;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .contact-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
  }

  .contact-form input,
  .contact-form textarea {
    width: 95%;
    padding: 0.75em;
    margin-bottom: 1.2em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
  }

  .contact-form button {
    background-color:#04004d ;
    color: white;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
  }

  .contact-form button:hover {
    background-color: #005bb5;
  }

  .honeypot {
    position: absolute;
    left: -9999px;
  }

  @media (max-width: 600px) {
    .contact-form {
      padding: 1em;
    }
  }

  #form-status p {
  color: #04004d;
  font-size: 1.1em;
  animation: fadein 0.6s ease-in;
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
