* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    /* background-image: url(../images/pexels-tbee-82256.jpg); */
    background: linear-gradient(rgb(77, 77, 77),rgb(168, 168, 168));
    /* background-color: rgba(145, 145, 145, 0.589); */
    background-repeat: no-repeat;
    background-position-x: center;
    background-attachment: fixed;
    background-size: cover;
    /* font-family: "orpheuspro",sans-serif; */
    font-family: "century-gothic", sans-serif;
}

.everything {
    /* background-color: rgb(0, 0, 0, 0.4); */
    display: flex;
    flex-direction: column;
}

.everything:nth-child(1) {
    align-items: center;
}

nav {
    margin-top: 16px;
    width: 95vw;
    height: 64px;
    display: flex;
    padding: 8px;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(210, 188, 175, 0.75);
    border-radius: 6px;
}

.logo {
    margin-left: 8px;
    height: 40px;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 0px;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    width: auto;
    height: 40px;
    display: none;
    margin-right: 32px;
}

.log-in {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    border-radius: 20px;
    width: 100px;
    height: 40px;
    text-decoration: none;
    font-size: 2rem;
    text-align: center;
    color: white;
}

.navbar li {
    display: flex;
    margin: 0 5px 0 0;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 2rem;
    margin: 0 0px;
    font-weight: bold;
}

.underline {
    top: 12px;
    margin: 0 auto;
    width: 0%;
    height: 1.5px;
    background-color: rgba(32, 30, 30, 0.877);
}

.navbar ul li a:hover {
    color: rgba(32, 30, 30, 0.877);
}

.navbar ul li a:hover .underline {
    width: 100%;
    transition: 0.3s;
}

.dm-main {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: ; */
}

.dm-main img {
    width: 90vw;
}

.main-presentation {
    width: 100vw;
    height: calc(100vh - 64px);
    color: white;
    font-size: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.p1 {
    font-size: 8rem;
    animation: fadeIn 3s
}

.p2 {
    animation: fadeIn 3s
}

.dm-underline {
    height: 2px;
    width: 10ch;
    transform: scaleX(0);
    background-color: white;
    animation: underlined 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.department-all {
    height: 80vh;
    width: 100vw;
    background-color: rgb(210, 188, 175);
}

.departments {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.department-p {
    width: 100%;
    height: 20%;
    font-size: 4rem;
    padding: 8px;
    margin-left: 0px;
    text-align: justify;
}

.department-p :nth-child(2){
    color: white;
}

.department-btn {
    width: 80%;
    height: 20%;
    border: 1px solid black;
    border-radius: 8px;
    display: flex;
    justify-content: start;
    align-items: center;
    text-decoration: none;
    font-size: 3rem;
    color: black;
    padding: 0 0px 0 16px;
    background-color: rgb(255, 255, 255, 0.3);
}

.department-btn figure img {
    height: 48px;
    width: 48px;
    margin-right: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.department-photos {
    display: none;
}

.team {
    border-top: 4px solid grey;
    width: 100vw;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.team-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team p:nth-child(1) {
    margin-top: 24px;
    text-align: center;
}

.our-team {
    font-size: 3rem;
}

.team-description {
    height: auto;
    font-size: 1.5rem;
    text-align: justify;
    margin: 24px;
    padding: 16px ;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 32px;
}

.team-description p {
    font-size: 1.5rem !important;
    text-align: center;
}

.gallery {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex !important;
    width: 100%;
}

.swiper-slide img {
  width: auto;              /* deja de forzar 90% (puede deformar en flex) */
  max-width: 50%;           /* un toque más ancha que el 50% base → “gordita” */
  height: auto;             
  max-height: 820px;        /* el límite suave que te funcionó */
}
/* .swiper-slide img {
    max-width: 40%;
     object-fit: cover; 
} */

.full-team {
    max-width: 100% !important;
}

.swiper-slide div {
    background-color: rgb(210, 188, 175, 0.3);
    padding-left: 10px;
    padding-right: 44px;
    text-align: justify;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.swiper-slide div p {
    width: 100%;
}

.swiper-slide div p:nth-child(1){
    text-align: start;
    font-size: 1.3rem;
}

.swiper-slide div p:nth-child(2){
    font-size: 1.1rem;
}

.swiper .swiper-button-next, .swiper .swiper-button-prev {
    color: rgb(210, 188, 175);
}

.swiper .swiper-pagination-bullet-active {
    background: black;
}

.scope {
    position: relative;
    width: 100vw;
    background-color: rgba(20, 20, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sum figure img {
    height: 64px;
    margin: auto 16px auto 16px;
}

.customers {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 2rem;
    padding: 16px 0px 16px 0;
    margin-right: 8px;
}

.customers p {
    margin: 4px 0 4px 0;
}

.sustentable {
    width: 100vw;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sustentable-text-title {
    display: flex;
    padding: 8px;
    width: 100%;
    margin: 16px auto 0 auto;
    justify-content: center;
}

.sustentable-text-title h1 {
    font-size: 3rem;
    margin: auto 8px auto 0;
    
}

.sustentable-text-title img {
    height: 30px;
}

.sustentable-text-body {
    padding: 16px ;
    font-size: 2rem;
    text-align: justify;
}

.italic {
    font-style: italic;
}

.solar-panel-img figure {
    margin: 16px 0 32px 0;
}

.solar-panel-img figure img {
    height: 200px;
    object-fit: contain;
    overflow: hidden;
    border-radius: 24px;
}

.contact {
    width: 100vw;
    height: 150px;
    padding-bottom: 16px;
    background-color: rgb(210, 188, 175);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.contact div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 8px;
}

.h2 {
    width: 100%;
    font-size: 3rem;
    text-align: center;
    margin-top: 16px;
}

.contact div a {
    height: 100px;
    transition: scale 0.2s;
    padding: 24px;
}

.contact div a figure img {
    height: 100%;
    width: 100%;
}

.contact a:hover {
    scale: 1.1;
}

.footer {
    height: 50px;
    display: flex;
    align-items: center;
    overflow: none;
    justify-content: space-evenly;
}

.footer figure {
    overflow: none;
    margin-left: 16px;
}

.footer p {
    color: white;
    font-size: 1.25rem;
    margin-right: 16px;
}

.close-window {
    position: absolute;
    top: 4px;
    right: 4px;
    height: 20px;
    cursor: pointer;
}

.data-upload {
    width: 90%;
    margin: 0 auto;
}

.box {
    display: flex;
    font-size: 1.5rem;
    flex-direction: column;
    width: 100%;
    margin: 8px auto 0 auto;
}

.title-input {
    width: 100%;
    margin-top: 8px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid black;
    padding: 0 8px 0 8px;
}

.body-input {
    width: 100%;
    margin-top: 8px;
    height: 120px;
    border-radius: 8px;
    border: 1px solid black;
    padding: 8px 8px;
    text-align: justify;
}

.data-submit {
    width: 124px;
    margin: 18px auto 0 auto;
    display: flex;
    justify-content: center;
}

.data-submit-button {
    cursor: pointer;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 4px;
    background: none;
    font-size: 24px;
    margin: 0 auto 0 auto;
    transition: 0.5s;
}

.data-submit-button:hover {
    color: black;
    border: 1px solid black;
    border-radius: 8px;
}

.title-input:focus, .body-input:focus {
    outline: none;
}

.add-data {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 1.5rem; 
}

.data-file {
    display: none;
}

.grid {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

.form-element {
    width: 200px;
    height: 200px;
    box-shadow: 0px 0px 20px 5px rgb(100,100,100,0.1);
}

.form-element input {
    display: none;
}

.form-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-element div {
    position: relative;
    height: 40px;
    margin-top: -40px;
    background:  rgb(0,0,0,0.5);
    text-align: center;
    line-height: 40px;
    font-size: 1rem;
    color: #f5f5f5;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.form-element div span{
    font-size: 3rem;
}

.send-mail {
    width: 90vw;
    height: 75vh;
    background-color: rgb(210, 188, 175, 1);
    border: 1px solid black;
    border-radius: 16px;
    display: none;
    position: absolute;
    top: 315%;
    right: 5%;
}

.email-input {
    width: 100%;
    margin-top: 8px;
    height: 250px;
    border-radius: 8px;
    border: 1px solid black;
    padding: 8px 8px;
    text-align: justify;
}


.hero-carousel {
  position: relative;
  width: 100%;
  height: 650px; /* Altura visible del carrusel */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.carousel-track-wrapper {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  background-color: #fff;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.carousel-btn.prev {
  left: 5%;
}

.carousel-btn.next {
  right: 5%;
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 300px; /* o 350px si preferís un poco más */
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }
}

@keyframes underlined {
    from {
        transform-origin: bottom left;
    } to {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
} 

@keyframes fadeIn {
    from { opacity: 0 }
} to { opacity: 1 }

@font-face {
    font-family: "orpheuspro";
    src: url('../fonts/orpheuspro-medium.otf');
}

@font-face {
    font-family: "century-gothic";
    src: url('../fonts/century-gothic.TTF');
}
