/*
Theme Name: simbiosis
Version: 1.0
Author: SimbiosisSubantartica Team
*/
html, body, main {
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body {
  color: #1E1E1E;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo{
  display: flex;
  align-items: center;
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

body > header > div > div.logo > a{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1E1E1E;
}

img{
  height: 50px;
  margin-right: 10px;
}

.menu a {
  margin-left: 10px;
  text-decoration: none;
  color: #1E1E1E;
  font-weight: 500;
}

.menu a:hover {
  transition-duration: 0.25s;
  border-bottom: #0F3D2E 4px solid;
  color: #0F3D2E;

/*   transition: width 2s, height 4s, border-bottom 3s; */
}

.btn-nav {
  background: #0F3D2E;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 4px;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  background: url(img/festivalaustral.jpeg);
  color: #fff;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-buttons {
  margin-top: 20px;
}

#inicio > div.container.hero-content > div > a.btn-primary:hover{
  background-color: white;
  color: #0F3D2E;
  font-weight: 600;
  transition: all 0.6s ease;
}

.btn-primary {
  background: #0F3D2E;
  color: #fff;
  padding: 12px 25px;
  border: none;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  cursor: pointer;
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  margin-left: 10px;
  border-radius: 5px;
}

.section {
  padding: 100px 0 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.image-placeholder {
  display: flex;
  justify-content: center;
}

#nosotros > div > div.image-placeholder > img{
  width: 90%;
  height: auto;
  margin: 0;
  border-radius: 16px;
}

.features {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#donaciones > div > div:nth-child(1) > div > div:nth-child(1) > h3 {
  font-weight: 600;
}

.stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stats h3 {
  font-size: 2.5rem;
  color: #0F3D2E;
}

.center {
  text-align: center;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
}

.full {
  width: 100%;
}

.contact {
  text-align: center;
}

#donaciones > div > div.image-donar{
  display: flex;
  justify-content: center;
}

#donaciones > div > div.image-donar > img{
  width: 70%;
  height: auto;
}

.footer {
  background: #1E1E1E;
  color: #fff;
  padding-top: 60px;
  margin-top: 80px;
}

div.container.footer-grid > div:nth-child(1) > h4{
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  font-weight: 500;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin: 8px 0;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid #333;
}

#donaciones > div > div.image-donar > div > img.slide.active{
  height: auto;
  width: 100%;
}

.carousel, .carousel-nosotros {
  position: relative;
  width:100%;
  max-width:800px;
  margin:auto;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 9 / 9;
}

.carousel-nosotros {
  overflow: hidden;
  max-height: 500px;
}

.slide{
  width:100%;
  display:none;
  border-radius:10px;
}

.slide.active{
  display:block;
}

.slide, .slide-nos {
  opacity:0;
  transition:opacity 0.8s ease;
  position:absolute;
    width: 90%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  margin: auto;
}

.slide.active{
  opacity:1;
}

#donaciones > p{
  font-size: 1.2rem;
  color: #0F3D2E;
  text-align: center;
  margin: auto;
  width: 90%;
  word-break: break-word;
  hyphens: auto;
}

#donaciones > h2{
  width: 90%;
  margin: auto;
}

#contacto > div.container.footer-grid > div:nth-child(1) > h3 {
  display: flex;
  align-items: center;
}

#donaciones > div.container.grid.center > div {
  margin: 20px auto;
  width: 288px;
  text-align: left;
}

.slide-nos {
  opacity: 0;
}

.slide-nos.active {
  opacity: 1;
}

#inicio > div.container.hero-content > p{
  font-size: 24px;
  font-weight: 600;
}

#inicio > div.container.hero-content{
  margin: 10% auto auto;;
}

/* RESPONSIVE */

@media (max-width: 375px) {
#inicio > div.container.hero-content > div > a.btn-primary{
    display: block;
  }#inicio > div.container.hero-content > div > a.btn-secondary{
    display: block;
    margin: 10px auto 0;
  }
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }.stats {
    flex-direction: column;
    gap: 30px;
  }.cards {
    grid-template-columns: 1fr;
  }.footer-grid {
    grid-template-columns: 1fr;
  }.menu {
    position: absolute;
    top: 80px;
    right: 0;
    background: #fff;
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    left: 0;
    margin: auto;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }.menu a {
    margin: 10px 0;
  }.menu.active {
    display: flex;
    width: 80%;
    align-items: center;
  }.hamburger {
    display: block;
  }.carousel {
    height: 295px;
    margin: auto auto 40px;
  }.hero {
    background: url(img/festivalaustral.1.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}