/*
Theme Name: Iker Theme
Author: Iker Perez
Description: Tema portfolio personal
Version: 1.0
*/
*{
	margin:0;
	padding:0;
	box-sizing:border-box;
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
}
html {
 	scroll-behavior: smooth;
}
body{
	min-height:100vh;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:flex-start;
	background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070") center/cover no-repeat;    padding:0px 20px;
	color:white;
}
.header{ 
	width:100%; 
	margin:20px 0; 
	padding:30px; 
	border-radius:24px; 
	position:relative; 
	background: rgba(255,255,255,0.08); 
	backdrop-filter: blur(40px) saturate(180%) brightness(1.1); 
	-webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.1); 
	border: 1px solid rgba(255,255,255,0.25); 
	box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 1px rgba(255,255,255,0.6); 
	margin-bottom:40px; 
}

/* Contenedor principal con flex */
.contenedormenu{
	display: flex;
	align-items: center;
	justify-content: center; /* Centra el contenido horizontalmente */
	position: relative;
}

/* Logo a la izquierda */
.logo{
	position: absolute;
	left: 30px;
}

/* Botón a la derecha */
.btn-header{
	position: absolute;
	right: 30px;
}

/* Menú centrado */
.menu_top {
	display: flex;
	flex-direction: row;
	gap: 30px;
	list-style: none;
	padding: 0;
	margin: 0;
	color: #2C3E50;
}

.menu_top li a{
	text-decoration: none;
	color: white;
	font-size:18px;
	font-weight: 500;
	transition: 0.2s;
}

.menu_top li a:hover{
	color: white;
	text-shadow:
		0 0 8px rgba(255, 255, 255, 0.8),
		0 0 12px rgba(255, 255, 255, 0.6);
	transition: color 0.2s, text-shadow 0.2s;
}

/* Logo y botón adaptables */
.logo h1{
	font-size: 24px;
	margin-bottom: 0;
}

.btn-header button {
	margin-top: 0;
	padding: 10px 20px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.6); /* borde en naranja translúcido */
	background: rgba(255, 255, 255, 0.25); /* naranja oscuro con opacidad para efecto glass */
	color: white;
	font-size: 16px;
	font-weight: 500;
	backdrop-filter: blur(10px);
	cursor: pointer;
	transition: 0.2s;
}

.btn-header button:hover {
	background: rgba(255, 255, 255, 0.507); /* naranja más sólido al hacer hover */
	color: #000;
}
/* contenedor de secciones */
.section{
	width:100%;
	max-width: 1200px;
	margin:30px 0;
	padding:30px;
	border-radius:24px;
	position:relative;
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
	-webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
	border: 1px solid rgba(255,255,255,0.25);
	box-shadow:
		0 30px 60px rgba(0,0,0,0.35),
		inset 0 1px rgba(255,255,255,0.6);
}

/* brillo superior */
.section::before{
	content:"";
	position:absolute;
	top:0;
	left:0;
	right:0;
	height:1px;
	background:linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}

/* ruido sutil */
.section::after{
	content:"";
	position:absolute;
	inset:0;
	border-radius:inherit;
	background-image:url("https://grainy-gradients.vercel.app/noise.svg");
	opacity:.15;
	pointer-events:none;
}

h1,h2{
	margin-bottom:15px;
}

p{
	opacity:.9;
	line-height:1.5;
}

button{
	margin-top:20px;
	padding:10px 20px;
	border-radius:12px;
	border:1px solid rgba(255,255,255,0.3);
	background: rgba(255,255,255,0.15);
	color:white;
	backdrop-filter: blur(10px);
	cursor:pointer;
	transition:0.2s;
}
button:hover{
	background: rgba(255,255,255,0.3);
}

/* footer */
footer{
	margin-top:50px;
	text-align:center;
	opacity:0.7;
	font-size:14px;
}

/* --- SECCIÓN MIS PROYECTOS --- */

.projects-section {
	width: 100%;
	margin: 20px 0 40px;
	padding: 30px;
	border-radius: 24px;
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
	-webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.1);
	border: 1px solid rgba(255,255,255,0.25);
	box-shadow:
		0 30px 60px rgba(0,0,0,0.35),
		inset 0 1px rgba(255,255,255,0.6);
	position: relative;
	color: white;
}

.projects-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}

.small-title-projects {
	color: #c0392b;
	font-size: 14px;
	letter-spacing: 2px;
	text-align: center;
	margin-bottom: 10px;
}

.big-title-projects {
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 30px;
	line-height: 1.2;
}

.projects-container {
	display: flex;
	justify-content: center;
	gap: 15vh
}

.card {
	background: rgba(255,255,255,0.1);
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
	overflow: hidden;
	width: 100%;
	max-width: 360px;
	transition: 0.3s;
	color: white;
}

.card:hover {
	transform: translateY(-5px);
}

.card img {
	width: 100%;
	height: 230px;
	object-fit: cover;
}

.card-content {
	padding: 20px 25px;
	text-align: left;
}

.card-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
}

.card-text {
	color: #ddd;
	line-height: 1.4;
	font-size: 15px;
}

.card-date {
	margin-top: 15px;
	color: #e74c3c;
	font-size: 14px;
}
