/* Paleta de Colores:
   Celeste Fondo: #62B1DF
   Letras: #FFFFFF
   Tipografía: 'Instrument Sans', sans-serif;
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Para que al tocar los links baje suavemente */
}

body {
    background-color: #62B1DF;
    color: #FFFFFF;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700; /* Bold como pediste */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    padding: 30px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 250px; /* Ajustar según tu diseño */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    text-transform: lowercase; /* Mantenemos el estilo de las referencias */
    font-size: 1.2rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Secciones Genéricas */
.section-container {
    padding: 100px 0;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: lowercase;
}

/* Motivación */
.sifon-img {
    max-width: 400px;
    height: auto;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    line-height: 0;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    filter: grayscale(0%); /* La imagen base */
    transition: filter 0.3s ease;
}

/* Capa gris inicial */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.6); /* Gris con transparencia */
    transition: opacity 0.4s ease;
}

/* Efecto Hover: Desaparece la capa gris */
.portfolio-item:hover .overlay {
    opacity: 0;
}

/* Contacto */
.contact-box {
    max-width: 500px;
    margin: 0 auto;
}

.contact-box p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    background: transparent;
    border: 2px solid #FFFFFF;
    padding: 15px;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

button {
    background-color: #FFFFFF;
    color: #62B1DF;
    border: none;
    padding: 15px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #f0f0f0;
}

footer {
    padding: 50px;
    text-align: center;
    font-size: 0.8rem;
}