/* reseteamos propiedades que pone predefinidos */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: #8FA3AD;
    transition: color 0.3s ease;
}

a:hover {
    color: #00C2A8;
}

body {
    background-color: #0D1117;
    color: #E5E5E5;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
    color: white;
}

h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    transform: skew(-5deg);
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 8px;
    box-shadow: 0 0 10px #00C2A8;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

nav h3 {
    color: #8FA3AD;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 36px;
    height: auto;
    object-fit: contain;
}

.menu > ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.menu ul li a {
    font-weight: 600;
    color: #8FA3AD;
    transition: all 0.3s ease;
}

.menu ul li a:hover {
    color: #00C2A8;
    transform: translateY(-2px);
}

/* HEADER */
header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 0;
}

/* FOTO */
.header-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 10px #00C2A8;
}

.header-content {
  display: flex;
  flex-direction: row;
}

.logo-hero {
    width: 25%;
}

.header-text {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header-subtitle {
  color: #B8C5C9;
  font-size: 18px;
}

.header-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 200px;
}

/* SLIDESHOW */
.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px #00C2A8;
}

.slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slideshow .slide.active {
  opacity: 1;
  z-index: 1;
}

/* BUTTONS */
.btn-group {
    display: flex;
    gap: 24px;
}

.btn-group > a {
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Botón principal */
.btn-group > a:first-child {
    background-color: #00C2A8;
    color: #fff;
}

.btn-group > a:first-child:hover {
    background-color: #009f8c;
}

/* Botón secundario */
.btn-group > a:last-child {
    border: 2px solid #00C2A8;
    color: #00C2A8;
    background: transparent;
}

.btn-group > a:last-child:hover {
    background-color: #00C2A8;
    color: white;
}

/* CREATE */
#create {
    margin: 80px auto;
    padding: 0 20px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#create > .pro-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

#create img {
    border-radius: 16px;
}

#create > .pro-row > .col > div {
    position: relative;
}

#create > .pro-row > .col > div > .overlay {
    background-color: rgba(0, 194, 168, 0.35);
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 16px;
}

#create > .pro-row > .col > div:hover > .overlay {
    opacity: 1;
}

/* DEVELOPMENT */
#development {
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.development-row {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
}

.development-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.development-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1A1F25;
  padding: 20px;
  border-radius: 12px;
  gap: 12px;
  min-height: 160px;
  border: 1px solid #232A30;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.development-col:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px #00C2A8;
}

/* FOOTER */
footer {
    margin: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid #232A30;
    padding-top: 40px;
}

footer > .f-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer > .f-row > .social-icons {
    display: flex;
    gap: 24px;
    font-size: 20px;
}

footer > .f-row > .social-icons a {
    color: #8FA3AD;
}

footer > .f-row > .social-icons a:hover {
    color: #00C2A8;
}

footer .copyright {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-top: 24px;
}

/* GALLERY */
#gallery > ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

#gallery > ul > li {
    height: 25vh;
    flex-grow: 1;
}

#gallery > ul > li > img {
    object-fit: cover;
    max-height: 100%;
    min-width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#gallery > ul > li > img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px #00C2A8;
}

/* GUÍA */
.guide-section {
  margin: 80px auto;
  padding: 0 20px;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.guide-section h2 {
  font-size: 24px;
  color: #ffffff;
  border-bottom: 1px solid #232A30;
  padding-bottom: 8px;
}

.guide-section ul,
.guide-section ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-section li {
  color: #ccc;
  font-size: 15px;
  line-height: 1.5;
}

.guide-section p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

/* CONTACTO */
#contact-form {
  margin: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #1A1F25;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 0 12px #00C2A8;
}

#contact-form label {
  font-weight: 600;
  color: #bbb;
}

#contact-form input,
#contact-form textarea {
  background-color: #111418;
  border: 1px solid #2D343A;
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #00C2A8;
  outline: none;
  box-shadow: 0 0 0 2px #009f8c;
}

#contact-form button {
  width: fit-content;
  padding: 10px 20px;
  background-color: #00C2A8;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #009f8c;
}

/* ---------- */

.hidden {
  display: none;
}

/* MEDIA QUERY */

/* Tamaño tablet */
@media screen and (max-width: 910px) {

    h1 {
        line-height: normal;
        font-size: 48px;
    }

    .wrapper {
        padding: 0 20px;
    }

    header > div:last-child {
        min-width: 100%;
        padding: 20px;
    }

    footer > .f-row{
        flex-direction: column;
        align-items: center;
    }

    footer > .f-row > .copyright {
        text-align: center;
        padding: 40px;
    }

    #proyects > .pro-row > .big-col,
    #proyects > .pro-row > .small-col {
        min-width: 100%;
    }
    .development-row {
        flex-direction: column;
        gap: 20px;
    }

    .development-group {
        flex-direction: row;
        justify-content: space-between;
    }

    .development-group .development-col {
        width: 48%;
    }
}

/* Tamaño movil */
@media screen and (max-width: 480px) {

    h1 {
        font-size: 36px;
    }

    .wrapper {
        padding: 0 10px;
    }

    .development-group {
        flex-direction: column;
    }

    .development-group .development-col {
        width: 100%;
    }

    #gallery > .ul > .li {
        height: auto;
    }

}
