/*
#General
*/
.page-wrapper {
  padding-top:88px !important;
}
.site-title {
  display: none;
}
.container {
  max-width: 1200px;
  margin: auto;
  width: 90%;
  padding: 2em;
}
section:nth-of-type(odd) {
  background-color: #ffffff;
  /* white */
}
section:nth-of-type(even) {
  background-color: #f7f7f7;
  /* light gray */
}
.cta-button {
  background: #2e7d32;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;

}
.cta-button:hover {
  background: #1b5e20;
}
.cta-button:visited {
  color: #fff;
}
.cta-button:focus {
  outline: 3px solid #ffeb3b;
  /* high-contrast focus ring */
  outline-offset: 2px;
}
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}
/*
#Header
*/
.site-header {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  /* semi-transparent white */
  backdrop-filter: blur(10px);
  height: 88;
  padding-top: 1em;
  border-bottom: 1px solid #ddd;
}
.site-header .container {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  padding: 0px;
}

.custom-logo {
  max-height: 60px;
  width: auto;
}

@media screen and (max-width: 768px) {
  .custom-logo {
    max-height: 40px;
  }
}

/*
##Menu
*/
.main-navigation {
  margin-left: auto;
  width: auto;
}

.main-navigation li {
  text-align: center;
}

.sub-menu {
  display: flex;
  flex-direction: column;
  background-color: gainsboro;
}

.menu-item a {
  font-family: 'Quicksand', sans-serif;
  padding-right: 10px;
  padding-left: 10px;
  color: black;
  font-weight: bold;
}
.menu-item:hover {
  z-index: 1;
}
.menu-item a:hover {
  background: #2e7d32;
  color: white;
}

.main-navigation .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2em;
}

.hamburger {
  display: inline-block;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
}

/* Show toggle on small screens */
@media screen and (max-width: 768px) {
  .main-navigation .menu-toggle {
    display: block;
  }

  .main-navigation ul {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111;
    color: white;
    padding: 2rem;
    z-index: 1000;
    flex-direction: column;
    overflow-y: auto;
  }

  .main-navigation.toggled ul {
    display: flex;
  }

  .main-navigation ul li {
    margin-bottom: 1.5rem;
  }

  .main-navigation ul li a {
    color: white;
    text-decoration: none;
    font-size: 30px;
  }

  .main-navigation ul li.menu-item-has-children>a::after {
    content: ' ▼';
    font-size: 0.8em;
  }

  .main-navigation ul ul {
    display: none;
    padding-left: 1rem;
  }

  .main-navigation ul li.menu-item-has-children.open>ul {
    display: block;
  }

  .main-navigation ul ul li {
    margin-bottom: 1rem;
  }
}

/*
##Hero
*/
.hero {
  display: flex;
  align-items: center;
  background-color: #e9f5fb;
  text-align: center;
  margin: auto;
}

.hero .container {
  max-width: 100%;
  padding: 60px 0;
  background-color: rgba(10, 10, 10, .24);
  width: 100%;
  height: 100%;
}

.hero-text {
  padding-top: 12vh;
  margin: auto;
  flex: 1;
  color: white;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .hero {
    height: 100vh;
  }
}

/*
##Services
*/
.services {
  padding: 60px 0;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.service-card img {
  height: 50px;
  width: auto;
  margin-bottom: 10px;
}

.service-card-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit !important;
  text-decoration: none;
}

.service-card:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.service-card-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.service-card-button:hover {
  background-color: #005d8f;
}


/*
##About
*/
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.about-text ul li {
  margin-bottom: 10px;
  font-weight: 500;
}

.about-image {
  margin-top: 1em;
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .about-wrapper {
    display: block;
  }
}

/*
##Contact
*/
.socials img {
  width: 3em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form .wpcf7-submit {
  background-color: #0073aa;
  color: #fff;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
/*
##footer
*/

.site-footer {
  background: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.site-footer .socials img {
  filter: invert(100%);
}

.site-footer {
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 3rem 1rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about,
.footer-links,
.footer-contact {
  line-height: 1.6;
}

.site-footer h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #f2f2f2;
}

.site-footer p,
.site-footer a {
  color: #cccccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact p {
  margin: 0.3rem 0;
}
.site-footer .copyright {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaaaaa;
}
/*
Block Editor / Gutenberg Content Styling
*/
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
}

/* Headings inside block content */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #111;
}

/* Paragraphs */
.entry-content p {
  margin-bottom: 1.5em;
}

/* Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Buttons from Gutenberg */
.entry-content .wp-block-button__link {
  background: #2e7d32;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.entry-content .wp-block-button__link:hover {
  background: #1b5e20;
}

/* Lists */
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.75em;
}

/* Blockquotes */
.entry-content blockquote {
  border-left: 4px solid #2e7d32;
  background: #f7f7f7;
  padding: 1em 1.5em;
  font-style: italic;
  margin: 2em 0;
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid #ddd;
  padding: 0.75em;
  text-align: left;
}

/* Code blocks */
.entry-content pre,
.entry-content code {
  font-family: monospace;
  background-color: #f4f4f4;
  padding: 0.5em 1em;
  border-radius: 4px;
  overflow-x: auto;
  display: block;
  margin: 1em 0;
}
