@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Caveat&display=swap');

/* 🌐 Resolución */
.resolucion {
    width: 99%;
    text-align: center;
}

/* 🎯 Responsive por tipo de dispositivo */
@media (max-width: 767px) {
    .desktop, .tablet { display: none; }
}
@media (min-width: 768px) and (max-width: 990px) {
    .desktop, .movil { display: none; }
}
@media (min-width: 991px) {
    .tablet, .movil { display: none; }
}

/* 🌱 GENERAL */
body {
    font-family: 'Montserrat', sans-serif;
    background: url('Logos&Backgrounds/background (1).png') no-repeat center/cover;
    color: #593515;
    margin: 0;
    padding-top: 80px;
}

/* 🌿 HEADER */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: #F5EFE2;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    flex-wrap: wrap;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header img {
    width: 100px;
    height: auto;
}

.header-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.header-nav a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #593515;
    transition: color 0.3s ease-in-out;
}

.header-nav a:hover {
    color: #A1A61C;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease-in-out;
}
.social-icons img:hover {
    transform: scale(1.2);
}

.date, .weather {
    font-size: 16px;
    font-weight: bold;
}

.weather {
    min-width: 170px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

/* 🍃 HERO */
.hero {
    text-align: center;
    padding: 150px 20px 50px;
    color: white;
    font-weight: bold;
}

.hero h1 {
    font-size: 48px;
}

.hero p {
    font-size: 36px;
    font-family: 'Caveat', cursive;
}

.search-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.search-input {
    padding: 10px;
    width: 250px;
    border: 2px solid #A1A61C;
    border-radius: 5px;
    font-size: 16px;
}

/* 📅 CONTENIDO */
.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin-top: 20px;
}

.box {
    background: #DDF2DC;
    padding: 30px;
    border-radius: 15px;
    width: 60%;
    text-align: center;
    color: #593515;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}
.box:hover {
    transform: scale(1.05);
    background: #c8e6c9;
}

/* 🍂 BOTONES DE ESTACIONES */
.seasons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.animated-button {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 10px;
    border: 2px solid white;
    background-size: 200% 200%;
    display: inline-block;
    text-align: center;
    transition: transform 0.3s ease, background-position 0.5s ease;
}
.animated-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* 🎨 Fondos con mejor contraste */
.primavera { background: linear-gradient(45deg, #7cb342, #9ccc65); }
.verano     { background: linear-gradient(45deg, #ffa000, #ffca28); }
.otoño      { background: linear-gradient(45deg, #d84315, #8d6e63); }
.invierno   { background: linear-gradient(45deg, #1976d2, #64b5f6); }

/* 👥 FUNDADORES */
.founders {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: #F5EFE2;
    border-top: 2px solid #62634b;
}
.founders h2 {
    font-size: 28px;
    color: #593515;
    margin-bottom: 30px;
    font-weight: bold;
}

.founders-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.founder-btn {
    background: linear-gradient(145deg, #e0e9b0, #cddc39);
    color: #3b2e15;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Karla', sans-serif;
}
.founder-btn:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.25);
    background: linear-gradient(145deg, #d4e47a, #cddc39);
}

/* INDEX FUNDADORES (variante blanca) */
.founders-index {
    text-align: center;
    margin-top: 30px;
}
.founder-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.founder-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s;
}
.founder-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* 💡 MENSAJE DE DESARROLLO */
.development-banner {
    background-color: #ffcc00;
    color: black;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* 🪄 Animación de mensaje */
.season-message {
    font-size: 16px;
    font-weight: bold;
    color: #593515;
    animation: fadeIn 1s ease-in-out;
    text-align: center;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 📱 Responsive Header y elementos */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .header-left {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .header-right {
        justify-content: left;
        margin-top: 290px;
    }

    .header-nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-nav a {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 24px;
    }

    .box {
        width: 90%;
        padding: 20px;
    }

    .founder-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .search-input {
        width: 200px;
        font-size: 14px;
    }

    .weather, .date {
        font-size: 14px;
    }

    .development-banner {
        font-size: 14px;
        padding: 8px 16px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* 🌿 FOOTER */
.footer {
  background: linear-gradient(to right, #A1A61C, #DDF2DC);
  color: #3b2e15;
  text-align: center;
  padding: 30px 20px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 60px;
  border-top: 3px solid #62634b;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.footer .footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer .footer-socials a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.footer .footer-socials a img:hover {
  transform: scale(1.2);
}

.footer p {
  margin: 0;
  font-family: 'Karla', sans-serif;
}

/* Responsive para footer */
@media screen and (max-width: 768px) {
  .footer {
      font-size: 14px;
      padding: 20px 10px;
  }

  .footer .footer-socials {
      gap: 15px;
  }

  .footer .footer-socials a img {
      width: 24px;
      height: 24px;
  }
}
