/* Variables de Colores */
:root {
    --color-logo-blue: #00bcd4; /* Azul del logo */
    --color-teal: #66cdaa;      /* Verde azulado ('Sobre Nosotros') */
    --color-yellow: #ffeb3b;    /* Amarillo ('Contacto', Título resaltado) */
    --color-orange: #ff9800;    /* Naranja ('Redes') */
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-background-light: #f5f5f5;
    --color-contact-bg-light: #fefefe;
}

/* Base y Tipografía */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    line-height: 1.6;
}

/* --- CABECERA Y NAVEGACIÓN --- */
.header {
    position: relative;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    z-index: 10;
    background: linear-gradient(90deg,rgb(241, 241, 241) 25%,rgba(102, 205, 170, 1) 50%, rgba(255, 235, 59, 1) 75%, rgba(255, 152, 0, 1) 100%);
    box-shadow: #9e9e9e 0px 0.5px 6px 0px;
}

.logo {
   padding-top: 25px;
    line-height: 1;
    position: relative;
    z-index: 15; /* Asegura que el logo esté por encima del fondo de onda */
}
img.logo {
  max-height: 100px;
  width: auto;
  display: block;
}

/* Fondo de la cabecera con la forma de onda */


.navbar {
    display: flex;
    position: absolute; /* Posicionamiento absoluto para superponer a los bloques de color */
    top: 0;
    right: 0;
    width: 50%; /* Ocupa la mitad superior derecha */
    height: 100%;
    z-index: 10;
}
.navbar{border-radius: 25px;
	height: fit-content;
	display: inline-flex;
	background-color: rgba(0, 0, 0, 0.219);
	-webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);  
	align-items: center;
	padding: 0 10px;
	margin: 50px 0 0 0;}
.navbar a{
         flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
		list-style: none;
          text-decoration: none;
		color: white;
		font-family: sans-serif;
		font-weight: bold;
		padding: 12px 16px;
		margin: 0 8px;
		position: relative;
		cursor: pointer;
		white-space: nowrap;
		&::before {
			content: " ";
			position: absolute;
			top: 0;
			left:0;
			height:100%;
			width: 100%;
			z-index:-1;
			transition: .2s;
			border-radius: 25px;
		}
			&:hover {
				&::before {
					background: linear-gradient(to bottom, #e8edec, #d2d1d3);
						box-shadow: 0px 3px 20px 0px black;
						transform: scale(1.2);
				}
				color: black;
		}
	}


/* --- CONTENIDO DE LAS SECCIONES --- */
.content-section {
    position: relative;
    padding: 40px 5%;
    min-height: 80vh;
    overflow: hidden; /* Importante para contener los elementos de forma */
}

.content-wrapper {
    position: relative;
    z-index: 20;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px; /* Separación del header */
}

/* Títulos de las secciones */
.content-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- Forma de Flecha/Gota del Lado Izquierdo (Imagen 1 y 4) --- */
.side-shape {
    content: '';
    position: absolute;
    top: 150px;
    left: 0;
    width: 200px;
    height: 400px;
    z-index: 10;
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}
/* Estilo específico para Inicio (Imagen 1) */
.side-shape--home {
width: 500px;
}



/* --- SECCIÓN INICIO (Imagen 1) --- */
.content-section--home .text-content {
    max-width: 70%;
    margin-left: 25%;
    padding-top: 100px;
}

.content-section--home h2 {
    color: var(--color-text-dark);
}
.text-content h2{
    color:#ffdd50;
    text-shadow: #0000009d 1px 1px 2px;
}

.highlight {
    display: block;
    color: #f7ce22;
    font-size: 3rem;
    font-weight: 800;
}

/* --- SECCIÓN SOBRE NOSOTROS (Imagen 2) --- */
.content-section--about {
    background-color: var(--color-background-light);
}

.content-wrapper--split {
    display: flex;
    gap: 40px;
    align-items: center;
    padding-top: 80px;
}

.content-section--about .text-content {
    flex: 1;
    max-width: 50%;
}

.image-content {
    flex: 1;
    position: relative;
}

.travel-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.circle-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    z-index: 5;
}

.circle-accent--yellow {
    background-color: var(--color-yellow);
    bottom: -30px;
    right: -30px;
}


/* --- SECCIÓN CONTACTO (Imagen 3) --- */
.content-section--contact {
    min-height: auto;
    padding-bottom: 80px;
}
.content-section h2{
    font-weight: 100;
}

.content-wrapper--contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-box {
    background-color: var(--color-contact-bg-light);
    border: 2px solid #000000;
    border-radius: 25px;
    padding: 40px;
    display: flex;
    gap: 40px;
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-image-container {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-fields input,
.contact-form-fields textarea {
    padding: 15px 20px;
    border: 1px solid #000000;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.contact-form-fields textarea {
    border-radius: 20px;
    min-height: 120px;
    resize: none;
}

.btn-enviar {
    background-color: var(--color-teal);
    color: var(--color-text-dark);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s;
    align-self: flex-start; /* Para que el botón no ocupe todo el ancho */
}
.btn-enviar:hover {
    background-color: #009688;
    color: black;
}

/* Círculos de acento de la caja de contacto */
.circle-accent--top-right {
    top: -25px;
    right: -25px;
    width: 70px;
    height: 70px;
    background-color: var(--color-teal);
    opacity: 1;
}

.circle-accent--bottom-left {
    bottom: -25px;
    left: -25px;
    background-color: var(--color-logo-blue);
    opacity: 0.8;
}

/* --- SECCIÓN REDES (Imagen 4) --- */
.section-title--social {
    color: var(--color-text-dark);
    font-size: 4rem;
    font-weight: 700;
    padding-top: 50px;
    margin-left: 150px; /* Compensación por la forma de la izquierda */
}

.section-title--social .dark-text {
    display: block;
    font-size: 5rem;
    font-weight: 900;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}
.social-links img:hover {
    transform: translateY(-5px);
}
.social-links img{
    max-width: 200px;
    max-height: auto;
        border-radius: 20px;
}



footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ====== MEDIA QUERIES ====== */

/* Tablets */
@media (max-width: 1024px) {
  .navbar {
    position: static;
    width: auto;
    margin: 20px auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .content-section h2 {
    font-size: 2.5rem;
  }

  .highlight {
    font-size: 2.2rem;
  }

  .content-wrapper--split {
    flex-direction: column;
    text-align: center;
  }

  .content-section--about .text-content {
    max-width: 100%;
  }

  .section-title--social {
    font-size: 3rem;
    margin-left: 0;
    text-align: center;
  }
  .section-title--social .dark-text {
    font-size: 3.5rem;
  }

  .social-links img {
    max-width: 140px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 15px;
    text-align: center;
  }

  .logo {
    max-height: 70px;
    margin-bottom: 10px;
  }

  .navbar {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    border-radius: 15px;
    margin: 10px 0;
  }

  .navbar a {
    margin: 5px 0;
    padding: 10px;
    font-size: 1rem;
  }

  .content-section {
    padding: 30px 20px;
    min-height: auto;
  }

  .content-section--home .text-content {
    max-width: 100%;
    margin: 0;
    padding-top: 50px;
    text-align: center;
  }

  .highlight {
    font-size: 2rem;
  }

  .content-wrapper--split {
    flex-direction: column;
    gap: 20px;
  }

  .contact-box {
    flex-direction: column;
    gap: 20px;
    padding: 25px;
  }

  .btn-enviar {
    width: 100%;
    align-self: center;
  }

 
  .section-title--social .dark-text {
    font-size: 2.5rem;
  }

 .section-title--social {
  margin-left: 0 ; /* Elimina empuje lateral */
  text-align: center;
  width: 100%;
}

.social-links {
    flex-direction: column;
  justify-content: center ; /* Fuerza centrado horizontal */
  align-items: center ;     /* Asegura centrado vertical */
  width: 100%;
  margin: 20px auto;
}

.social-links img {
  margin: 0 auto; /* Centra cada ícono */
  display: block;
}

  footer {
    font-size: 0.8rem;
    padding: 15px;
  }
}