/*
Theme Name: Innergy
Author: Angelica Dennise Diaz Gonzalez
Author URI: http://www.angelicadennise.com
Description:Innergy Solar - Energía limpia y sustentable para tu hogar
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

body {
  font-family: "Open Sans", sans-serif;
}

ul {
    list-style: none;
    padding: 0;
}

/* Hero and Header */

.header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 5%;
    box-sizing: border-box;
    background: white;
}

#logo {
    text-indent: -99999px;
    width: 155px;
    height: 65px;
    display: block;
    background-image: url(img/innergy-solar-logo.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin: 0px;
}

#logo a {
    display: block;
    width: 100%;
    height: 100%;
}

#menu {
  display: flex;
}

.menu-item {
  text-decoration: none;
  font-size: 1rem;
  color: #545452;
  padding: 10px 15px;
  margin: 0 0.5rem;
}

.menu-item:hover, .menu-item.active{
    background: #f6e22b;
    text-decoration: none;
    color: #2d2d2a;
    border-radius: 5px;
}

#hero {
  height: 100vh;
  width: 100%;
  background-image: url("img/paneles-solares.jpg");
  background-size: cover;
  background-position: top;
  position: relative;
  top: 0;
}

.hero-overlay {
  height: 100vh;
  background: linear-gradient(
    to right,
    rgba(35, 87, 174, 0.5),
    rgba(137, 103, 17, 0.6)
  );
  background: rgba(0, 0, 0, 0.5);
  transition: background 1s ease-in-out 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-overlay:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-text {
  width: 70%;
  text-align: left;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.4rem;
}

.main-title {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  text-shadow: 3px 1px 7px #2d2d2a;
  margin: 1rem 0;
}

.subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  text-shadow: 3px 1px 7px #2d2d2a;
  margin: 0.5rem 0;
}

.hero-buttons {
  display: flex;
  margin: 3rem 0;
}

.button {
  width: 250px;
  height: 50px;
  color: #f1f1f1;
  background-color: transparent;
  font-size: 2rem;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  transition: all 0.4s;
  position: relative;
  margin: 0 2rem;
  font-family: "Montserrat", sans-serif;
}

.button::before,
.button::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: #fcae1c;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.4s;
  opacity: 0;
  z-index: 1;
}

.button::before {
  left: 0;
  background-color: #fcae1c;
  box-shadow: -100px 0 0 red;
}

.button::after {
  right: 0;
  box-shadow: 100px 0 0 green;
}

.button:hover:before {
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  box-shadow: 30px 0 0 red;
  opacity: 1;
}

.button:hover:after {
  right: 50%;
  transform: translateX(50%) translateY(-50%);
  box-shadow: -30px 0 0 green;
  opacity: 1;
}

.button .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fcae1c;
  background-color: #f7e22a;
  border-radius: 8px;
  transform: scale(0);
  transition: all 0.3s;
  z-index: 2;
}

.button:hover .bg {
  transform: scale(1);
  transition-delay: 0.45s;
}

.button .txt {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 100%;
  text-align: center;
}

.button:hover .txt {
  color: #2d2d2a;
  transition-delay: 0.45s;
}

/* Seccion Nosotros */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.wrap {
  width: 85%;
  margin: 0 auto;
  max-width: 1800px;
}

section#nosotros {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.title-section {
  font-size: 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #566246;
  color: #c7850a;
  color: #d7942d;
}

.section p {
  font-size: 1.2rem;
  line-height: 1.7rem;
  margin: 1rem 0;
  color: #545452;
}

.about-content {
  width: 57%;
}

.about-image {
  width: 40%;
  object-fit: contain;
}

ul.company-numbers {
  display: flex;
  margin: 2rem 0;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}


.number-item {
  width: 25%;
  min-height: 150px;
  color: #d7942d;
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 10px 40px;
  box-sizing: border-box;
}

.number-item span {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  content: "";
  width: 10px;
  height: 10px;
  background: yellow;
  transform: translateX(-50%);
  border-radius: 50%;
}

.number-item p:before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: orange;
  border-radius: 50%;
  box-shadow: -42px 0 0 red;
  position: absolute;
  left: 25px;
  bottom: 0;
}

.number-item p:after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: green;
  border-radius: 50%;
  box-shadow: 42px 0 0 blue;
  position: absolute;
  right: 25px;
  bottom: 0;
}

.number-item .number {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 3rem;
  color: #566246;
  margin-top: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;  
  padding: 20px 25px;

}

.light {
  display: flex;
}

.light li {
  color: #484848;
  font-size: 80px;
  letter-spacing: 15px;
  animation: lighting 1.4s linear infinite;
}

@keyframes lighting {
  0% {
    color: #484848;
    text-shadow: none;
  }
  90% {
    color: #484848;
    text-shadow: none;
  }
  100% {
    color: #fff900;
    text-shadow: 0 0 7px #fff900, 0 0 50px #ff6c00;
  }
}

.light li:nth-child(1) {
  animation-delay: 0;
}

.light li:nth-child(2) {
  animation-delay: 0.1s;
}

.light li:nth-child(3) {
  animation-delay: 0.2s;
}

.light li:nth-child(4) {
  animation-delay: 0.3s;
}

.light li:nth-child(5) {
  animation-delay: 0.4s;
}

.light li:nth-child(6) {
  animation-delay: 0.5s;
}

.light li:nth-child(7) {
  animation-delay: 0.6s;
}

/* Section Servicios */

#servicios {
  background-size: 100vw 50vh;
  background-repeat: no-repeat;
  background-position: bottom center;
  min-height: 50vh;
  /*background-color: #f7e22a;*/
}

.gray-bg {
  background-color: #2d2d2a;
}

.gray-bg p {
  color: #ffffff;
}

.white-title-section {
  color: #fff;
}

ul.services {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-item {
  width: 25%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  box-sizing: border-box;
  padding: 35px 30px;
  margin-top: 30px;
  border-radius: 16px;
  transition: all 0.5s ease-in-out 0.1s;
}

.service-item .icon {
  font-size: 50px;
  color: #fff;
}

.service-item h4 {
  font-size: 2rem;
  color: #d7942d;
  font-weight: bold;
  opacity: 0.8;
  font-family: "Montserrat", sans-serif;
  transition: all 0.5s ease-in-out;
}

.service-item .circle-icon {
  background-color: rgba(215, 148, 45, 0.6);
  color: #fff;
  width: 100px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  border-radius: 100%;
  transition: all 0.5s ease-in-out;
}

.service-item:hover,
.service-item.active {
  box-shadow: 0px 0px 12px #232323;
  box-shadow: 0 0 23px rgba(247, 226, 42, 0.5);
  background-color: #333333;
}

.service-item:hover h4,
.service-item.active h4 {
  opacity: 1;
}

.service-item:hover .circle-icon,
.service-item.active .circle-icon {
  background-color: #d7942d;
}

.project-list {
  display: flex;
  margin: 2rem 0;
}

li.project {
  width: 95%;
  margin: 0 2.5%;
  min-height: 200px;
  list-style: none;
  height: 100%;
}


.project a {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: block;
  position: relative;
  box-sizing: border-box;
  background: white !important;
  transition: all 0.3s ease-in;
}

.project img {
  object-fit: cover;
  object-position: center;
  min-height: 200px;
  width: 100%;
  height: 100%;
}

.project a h3 {
  position: absolute;
  bottom: 0;
  font-size: 20px;
  box-sizing: border-box;
  padding: 1.5rem 2rem;
  width: 100%;
  left: 0;
  color: #d7942d;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3 ease-out 0.4;
}


#certificaciones {
  width: 100%;
  /*background-image: url('img/paneles2.jpg');*/
  background-size: cover;
  background-position: center;
  background-color: #6dbbed;
}

.overlay {
  min-height: 50vh;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}


.overlay {
    min-height: 85vh;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
}

.certs {
  margin-top: 3rem;
}

.certs li {
    box-sizing: border-box;
    padding: 10px 15px;
    margin: 1rem;
    padding: 10px 0;
    margin: 1rem;
    width: 16%;
}

.certs img {
  -webkit-filter: grayscale(30%);
  filter: grayscale(30%);
  transform: scale(1);
  transition: all 0.3s ease-out;
  width: 100%;
}

.certs li:hover img {
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
  transform: scale(1.1);
}

section#certificaciones {
  background-image: url("img/panelguy.jpg");
  background-size: cover;
  background-position: bottom center;
  min-height: 85vh;
}

/* Contacto  */

#contacto p {
  color: #ffffff;
}

.form {
  display: flex;
  flex-direction: column;
}

.label {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  margin: 15px 15px 10px 15px;
  color: #fff;
}

.input,
.textarea {
  box-sizing: border-box;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: none;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #2d2d2a;
}

.input:focus-visible,
.textarea:focus-visible {
  outline: transparent;
}

.textarea {
  min-height: 100px;
  height: 100%;
  resize: vertical;
}

.form .btn {
  margin: 20px;
  width: 20%;
  align-self: center;
  font-family: "Montserrat", sans-serif;
  /* text-transform: uppercase; */
  font-weight: bold;
  font-size: 20px;
  box-sizing: border-box;
  padding: 15px 0;
  border: none;
  background: #f7e22a;
  border-radius: 8px;
  color: #2d2d2a;
}

.redes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 3rem 0 0;
  padding: 0;
}

.icono-redes {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.icono-redes p {
  margin: 0;
}

.icono-redes:hover, .icono-redes:active {
  color: #FFF;
  text-decoration: none;
}

.icono-redes:hover .footer-icon, .icono-redes:active  .footer-icon {
    transform: scale(1.1);
}

.footer-icon {
  margin-right: 1rem;
  font-size: 30px;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background: rgba(215, 148, 45, 0.9);
  border-radius: 50%;
  transition: all 0.4s;
}

/* Styles for second option */
.other .header {
  background-color: white;
}

.other #logo {
  width: 150px;
  height: 65px;
}

.other .menu-item {
  color: #f7e22a;
  color: #d7942d;
  font-weight: bold;
  padding: 10px;
}

.other #hero {
  background-image: url("img/sun.jpg");
  -webkit-animation: day 7s infinite; /* Safari 4+ */
  -moz-animation: day 7s infinite; /* Fx 5+ */
  -o-animation: day 7s infinite; /* Opera 12+ */
  animation: day 7s infinite;
}

.other .hero-overlay:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

@keyframes day {
  0% {
    background-image: url("img/sun.jpg");
  }
  50% {
    background-image: url("img/night.jpg");
  }
  100% {
    background-image: url("img/sun.jpg");
  }
}

.other .hero-button {
  margin: 0;
  background-color: #f7e22a;
  border-radius: 8px;
  font-size: 23px;
  box-sizing: border-box;
  padding: 15px 20px;
  color: #2d2d2a;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-decoration: none;
}

.hero-overlay {
  align-items: center;
}

.other .hero-content {
  width: 90%;
  margin: 0 5%;
}

.other .about-content {
  width: 53%;
}

.other .number-item .number {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 4rem;
  color: #566246;
  margin-top: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.number-item span:before {
  display: none
}

.other .number span {
  width: 100%;
  height: 100%;
  border: none;
  display: block;

}

@keyframes rainbow {
  0%{
    transform: rotate(0deg);
  }

  25%{
    transform: rotate(90deg);
  }

  50%{
    transform: rotate(180deg);
  }

  75%{
    transform: rotate(270deg);
  }

  100%{
    transform: rotate(360deg);
  }
}

div#imageModal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 999;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5%;
}

.modal-content .modal-img, .modal-content img {
    max-width: 90%;
    max-height: 85%;
    width: auto;
    height: auto; 
    object-fit: contain;
    
}

.btn-close-image {
    border: none;
    background: none;
    color: black;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
    font-size: 2rem;
}

footer#footer .wrap {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

#footer a {
  color: #f1f1f1;
  text-decoration:
none;
  font-size: 14px;
  padding:
5px 15px;
  box-sizing: border-box;
  border-radius:
6px;
}

#footer a.footer-btn:hover {
  background:
#464643;
}

.owl-prev {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 50%;
    margin-left: -20px;
    display: block !important;
    transform: translate(0,-60%);
}

.owl-next {
    width: 15px;
    height: 100px;
    position: absolute;
    top: 50%;
    right: -25px;
    display: block !important;
    transform: translate(0,-60%);
}

.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next {
    font-size: 3rem;
    font-weight: lighter;
    color: #2d2d2a;
}

.owl-carousel .owl-stage {
    display: flex;
}

.mobile-menu, .open-mobile-menu {
    display: none;
}

a.icono-redes.header-redes .footer-icon {
    font-size: 1.3rem;
    width: 35px;
    margin-right: 0;
    height: 35px;
    margin-left: 0.5rem;
}

.owl-certs .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 15px;
    
}

.alert {
    display: none;
}