/*
Theme Name: LEGALITE
Theme URI: https://imaginevirtual.com
Author: Rui Pereira - Imagine Virtual
Version: 1.0
Text Domain: LEGALITE
Tags: mobile-first, accessibility, dark-mode
*/

/* 
==================================
  VARIABLES & COLOR SCHEMES
==================================
*/

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --link-color: #0066cc;
  --focus-outline: 2px dashed #33302E;
  --legalite-main-font: 'Montserrat';

  --blue-legalite : #2456A7;
}

@media (prefers-color-scheme: dark) {
 /*  :root {
    --bg-color: #111111;
    --text-color: #f1f1f1;
    --link-color: #66aaff;
    --focus-outline: 2px dashed #f1f1f1;
    color-scheme: light;
  } */
}

/* 
==================================
  RESET & BASE STYLES
==================================
*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
/*   padding: 0; */
}
strong, b, .semibold {
  font-weight: 600;
}
body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Gotham', sans-serif;  
  font-size: 1rem;
  line-height: 1.6;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
}
a:focus {
  outline: var(--focus-outline);
  outline-offset: 3px;
}

/* Utilidade de acessibilidade */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* 
==================================
  LAYOUT Mobile First
==================================
*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.flex-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header Style */
.site-header{
  position: fixed;
  width: 100%;
  top: 50px;
  z-index: 999999;
}
.site-header .container {
  display: flex;
  padding: 10px 20px;
}
.scrolled{
  height: fit-content;
  background-color: #193d77;
  top: 0;
  transition: all 1s ease;
  padding-top: 5px;
}
.site-branding{
  display: none;
}
.scrolled .site-branding{
  display: block;
}
.header-row-1,
.header-row-2{
  display: flex;
  flex-direction: row;
  gap:10px;
  justify-content: space-evenly;
  align-items: center;
}
.header-row-1{
  align-items: start;
}
.header-row-2{
  flex-direction: column-reverse;
}
.contact-link{display: none;}
.custom-logo{
  max-width: 200px;
  height: auto;
}
.main-navigation{
  position: absolute;
  right: 10px;
  top: 10px;
}

/* 
==================================
  HOMEPAGE
==================================
*/
.banner-image{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}
h1{   text-align: center;}
.banner-image img{
  max-width: 100%;
}

.intro-section{
  text-align: center;
  margin-top: -85px;
  padding-bottom: 50px;
}

.intro-section img{
  margin-bottom: 60px;
  max-width: 100%;
}

.intro-section p{
  line-height: 1.2;
  font-weight: 600;
}
.intro-section p strong{
  font-weight: 600;
  color:var(--blue-legalite);
}

.dual-section{
 background-color: #eff0f5;
 padding-top: 50px;
}

.dual-content, .event-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.event-content img {
  max-width: 100%;
}
.dual-content>div, .event-content>div{
  width: 100%;
}

.left-column div{
  font-size: 1.2rem;
  gap: 20px;
  display: flex;
  flex-direction: column;
}
.right-column img{
  max-width: 100%;
}

.blue-pattern-section{
  background: url(assets/imgs/legalite_lp2-06-min-min.jpg);
  background-position: center;
  background-size: cover;
  padding:75px 0;
  text-align: center;
  color:white;
}
.blue-pattern-content{
  margin: 25px 0;
  font-size: 1.2rem;
}
.blue-pattern-content p{
  margin-bottom: 20px;
}
.grid-section{
  background: black;
  padding:75px 0;
  text-align: center;
  color:white;
  font-size: 1.2rem;
  font-weight: 600;
}

.grid-content{  
    display: flex;
    flex-direction: column;
    margin: 50px 0;
    gap: 20px;
    line-height: 1.2;
}
.grid-item{
    flex: 1;
}

.contact-form{
  text-align: center;
}
.contact-form h2{margin: 50px 0; line-height: 1.2;font-size: 1.4rem;}
.contact-form h2 strong{  color:var(--blue-legalite);}
.contact-form-content{
  background-image: url(assets/imgs/legalite_lp2-09-min-min.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 2560px 187px;
  padding-top: 50px;
  margin-top: 50px;
}

.contact-form-inner{
  background-color: rgba(36, 86, 167, 0.904);
  border-radius: 30px;
  padding: 50px;
  padding: 40px 20px;
  color: white;
  min-height: 500px;
  max-width: 90%;
  margin: 50px auto;
}
.wpcf7-form, .wpcf7-form p{  
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

.wpcf7-form .wpcf7-text, .wpcf7-form textarea {
  padding: 10px;
  width: 100%;
}

.wpcf7-submit{
  border:none;
  padding:10px;
  background-color: #000000;
  color: white;
  font-size: 1rem;
}

.line-feature {
  display: block;
  width: 100px;
  height: 8px;
  margin: 20px 0;

}
.blue{background-color: var(--blue-legalite);}
.white {background-color: #ffffff;}
.center {margin: 0 auto;}

/* 
==================================
  footer
==================================
*/
.site-footer{
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 50px 0;
    background-image: url(assets/imgs/legalite_lp2-rodape-min.jpg);
    background-position: center;
    background-size: cover;
}
.site-footer a{
  color:white;
  font-size: 1.5rem;
}
.site-footer p{
  font-size: .8rem;
  color: rgb(179, 176, 176);
  margin-bottom: 5px;
}
.footer-logo img{
  max-width: 100%;
}
.social-links{
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap:20px;
  margin: 20px 0;
  list-style: none;
  color:black;
  padding:0;
  
}
.social-links li a{
  font-weight: 400;
  color:white;
}
.imaginevirtual-logo{
  width: 100px;
}
.white-feature-pattern{margin: 50px 0 0;}
/* 
==================================
  Responsive adjustments
================================== 
*/
@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }
  .site-header{
    top:100px;
  }
  .scrolled{
    top:0;
  }
  .main-navigation {
    position: relative;
}
  .site-header .container{    flex-direction: column;}
  .container {
    padding: 0rem;
  }
  .flex-content{
    flex-direction: row;
    justify-content: center;
  }
  /* Homepage Desktop */
  .banner-image{
    height: 800px;
  }
  .intro-section p{
    font-size: 2.4rem;
  }


  .dual-content, .event-content {
    flex-direction: row;
  }
.event-content img{
  max-width: 400px;
}

  .dual-content>div, .event-content>div{
    width: 50%;
  }
  .grid-content{flex-direction: row;}

  .contact-form h2{font-size: 2.4rem;}
  .contact-form-inner{padding: 50px;margin-top: 50px;}
}
