/*
Theme Name: Lobyte Wolftech
Theme URI: https://www.lobyte.es
Author: Lobyte Tech Solutions SL
Description: Tema oscuro techie con acentos azul y verde, inspirado en nuestro logo del lobo metálico.
Version: 1.0
Text Domain: jl-wolftech
*/
@font-face {
	font-family: 'editundo';
	font-style: normal;
	src: url('lobyte.es/wp-content/fonts/edit-undo/editundo.ttf');
}

:root {
  --bg-dark: #0D0F10;
  --bg-section: #161A1D;
  --accent-blue: #2D8CFF;
  --accent-green: #00C47A;
  --accent-green-dark: #0A7A4F;
  --text-light: #FFFFFF;
  --text-muted: #C7C7C7;
  --border-metal: #2A2F33;
  --radius: 1rem;
  --transition: 0.25s ease;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'editundo', sans-serif;
  margin: 0;
  alignment-adjust: center;
}

/* Links */
a {
  color: var(--accent-blue);
  text-decoration: none;
}
a:hover {
  color: #FF0000;
}

/* Container */
.container {
  width: min(90%, 100%);
  margin: 0.5rem auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: #0B0D0E;
  border-bottom: 1px solid var(--border-metal);
  padding: 0.5rem 0;
}
.site-branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img {
  height: 4rem;
  filter: drop-shadow(0 0 10px var(--accent-green));
}
.site-title {
  font-size: 1.4rem;
  margin: 0;
}

/* NAV BASE */
.site-nav {
  font-family: "editundo";
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

/* LISTA DE MENÚ (ESCRITORIO) */
.site-nav .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  flex-wrap: nowrap;
}

.site-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
}

.site-nav a:hover {
  color: var(--accent-blue);
}

/* ITEMS */
.site-nav .menu > li {
  position: relative;
}

/* ENLACES */
.site-nav .menu > li > a {
  color: var(--text-light);
  font-weight: 500;
  padding: 8px 0;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

/* HOVER */
.site-nav .menu > li > a:hover {
  color: var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
}

/* ACTIVO */
.site-nav .menu > li.current-menu-item > a,
.site-nav .menu > li.current_page_item > a {
  color: var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
}

/* SUBMENÚ */
.site-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111416;
  border: 1px solid var(--border-metal);
  border-radius: var(--radius);
  padding: 10px 0;
  min-width: 180px;
  display: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

/* MOSTRAR SUBMENÚ AL PASAR */
.site-nav .menu > li:hover > .sub-menu {
  display: flex;
}

/* ENLACES DEL SUBMENÚ */
.site-nav .sub-menu a {
  display: block;
  padding: 10px 15px;
  color: var(--text-muted);
  transition: var(--transition);
}

.site-nav .sub-menu {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* HOVER SUBMENÚ */
.site-nav .sub-menu a:hover {
  background: var(--accent-green-dark);
  color: #fff;
}

/* ICONO HAMBURGUESA (OCULTO EN ESCRITORIO) */
.menu-icon {
  display: block;
  font-size: 10rem;
  cursor: pointer;
  color: var(--text-light);
}

/* Ocultar checkbox siempre */
#menu-toggle {
  display: none;
}

/* INPUT OCULTO */
#menu-toggle {
  display: none;
}

/* HERO */
.hero {
  align-content: center;
  text-align: center;
  padding: 5rem 1rem;
  background: radial-gradient(circle at center, #0F1418, #0D0F10);
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
}
.hero-buttons {
  margin-top: 1rem;
}

/* BANNER CAPITAL */
.banner {
	color: #FFF082;
	background-color: rgba(0, 153, 255, 0.9);
	border: 0.1rem solid var(--accent-green);
	border-radius: 10px;
	width: 60rem;
	height: 23rem;
	margin: 0 auto;
}

/* Botones */
.btn-primary, .btn-secondary {
  padding: 0.8rem 1.6rem;
  text-decoration: none;
  margin: 1rem 5rem auto;
  transition: var(--transition);
  font-weight: 600;
  display: inline-block;
  border-radius: var(--radius);
}
.btn-primary {
  color: #fff;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 10px rgba(45,140,255,0.4);
  margin-left: 14rem;
}
.btn-primary:hover {
  background: #1B6ED6;
  color: #000000;
  ;
}
.btn-secondary {
  border: 2px solid var(--accent-green);
  color: var(--accent-green);
}
.btn-secondary:hover {
  background: var(--accent-green);
  color: #fff;
}

/* Secciones */
.section {
  padding: 4rem 0;
  background: var(--bg-section);
}
.section:nth-of-type(even) {
  background: var(--bg-dark);
}
.section h2 {
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
}

/* Grid tarjetas */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  padding: 2rem;
  margin: 1rem auto;
}
.card {
  background: #131618;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-metal);
  transition: var(--transition);
  box-shadow: 0 0 1rem rgba(0,0,0,0.3);
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-green);
  color: var(--accent-blue);
  box-shadow: 0 0 1.5rem rgba(0,196,122,0.4);
}

/* MARCOS Y SEPARADORES */
.marco {
	position: relative;
	height: auto;
	width: 90rem ;
	border: 0.15rem solid var(--accent-green);
	border-radius: 10px;
	background-image: url('/wp-content/themes/lobyte-wolftech/images/cybertexture.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
	margin: 1rem auto;
	line-height: 7rem;
	padding: 1.5rem;
}

.submarco {
	position: relative;
	height: auto;
	width: 90rem ;
	border: 0.15rem solid var(--accent-green);
	border-radius: 10px;
	background-image: url('/wp-content/themes/lobyte-wolftech/images/cybertexture.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	text-align: center;
	margin: 1rem auto;
	line-height: 7rem;
	padding: 1.5rem;
}

.titulo {
	color: #FFF082;
	background-color: rgba(0, 153, 255, 0.9);
	border: 0.1rem solid var(--accent-green);
	border-radius: 10px;
	font-family: italic;
	font-size: 2rem;
	text-rendering: optimizelegibility;
	text-transform: capitalize;
	text-emphasis-style: circle;
	text-emphasis-position: under;
	text-underline-position: auto;
	text-decoration-style: dotted;
}

.subtitulo {
	color: #FFF082;
	background-color: rgba(0, 153, 255, 0.9);
	border: 0.1rem solid var(--accent-green);
	border-radius: 10px;
	font-family: italic;
	font-size: 2rem;
	text-rendering: optimizelegibility;
	text-transform: capitalize;
	margin-bottom: 1rem;
}

.marco img {
	width: 100%;
	height: 100%;
	margin: auto;
	border: 1px solid var(--accent-green);
	border-radius: 10px;
}

.separador {
	width: 90%;
	height: 4px;
	border: 2px solid var(--accent-green);
	border-top-width: 0px;
	border-right-width: 0px;
	border-left-width: 0px;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.separador-vacio {
	width: 90%;
	height: 4px;
	margin-bottom: 2rem;
	margin-top: 2rem;
}

.caja-texto {
  background: #131618;
  color: var(--accent-green);
  padding: 0.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-metal);
  transition: var(--transition);
  box-shadow: 0 0 1rem rgba(0,0,0,0.3);
  width: 50rem;
  height: auto;
  margin: 0 auto;
}

.marco .caja-texto {
	line-height: 5px;
}

/* Footer */
.site-footer {
  background: #0B0D0E;
  border-top: 1px solid var(--border-metal);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ----------------------------- */
/* RESPONSIVE */
/* ----------------------------- */

@media (max-width: 600px) {
	
	.container {
		width: 60rem;
		height: auto;
	}

  /* Mostrar icono hamburguesa */
  .menu-icon {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }

  /* Icono hamburguesa → icono cerrar */
  .menu-icon::before {
    content: "☰";
  }
  #menu-toggle:checked + .menu-icon::before {
    content: "✕";
  }

  /* Menú móvil */
  .site-nav .menu {
    display: none;
    position: static;
    width: 100%;
    padding: 1rem;
    background: #000;
    flex-wrap: wrap;
    flex-direction: wrap;
    gap: 0.5rem;
  }

  /* Mostrar menú al activar checkbox */
  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }

  /* Dos columnas */
  .site-nav .menu li {
    flex: 1 1 50%;
  }

  /* Enlaces compactos */
  .site-nav .menu a {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
	/* Marcos responsivo */
	.section {
		text-align: center;
	}
	.marco {
		position: auto-flow;
		width: 56rem;
		height: auto;
		margin-left: 1rem;
	}
	.submarco {
		position: auto-flow;
		width: 56rem;
		height: auto;
		margin-left: 1rem;
	}
	.separador-vacio {
		margin: 100px;
	}
	.titulo {
		display: inline-block;
		text-align: center;
		height: auto;
		width: auto;
	}
	.subtitulo {
		display: block;
		text-align: center;
		height: auto;
		width: auto;
	}
	.marco img {
		margin-top: 50px;
	}
	
 /* Botones responsivos */
	.btn-primary {
		margin: auto;
		width: 20rem;
		height: 3rem;
		color: #fff;
  		border: 6px solid var(--accent-blue);
  		box-shadow: 0 0 10px rgba(45,140,255,0.4);
		font-weight: bold;
		font-size: 28px;
  		display: inline-block;
  		border-radius: 25%;
	}
	.btn-secondary {
		margin: auto;
		width: 20rem;
		height: 3rem;
		border: 6px solid var(--accent-green);
  		color: var(--accent-green);
		font-weight: bold;
		font-size: 28px;
  		display: inline-block;
  		border-radius: 25%;
	}
	.hero-buttons {
		margin-right: 5.5rem;
		width: 46.5rem;
		height: auto;
	}
	
/* Grid de Tarjetas */
	.grid {
  		display: grid;
  		gap: 1.5rem;
  		grid-template-columns: 1fr;
		grid-auto-rows: auto;
  		padding: 3rem;
		text-align: center;
		margin: 0 auto;
		box-sizing: border-box;
	}
	.card {
  		background: #131618;
		width: 35rem;
		max-width: 100%;
		height: 35rem;
		margin: 1px auto;
  		border-radius: var(--radius);
  		border: 1px solid var(--border-metal);
  		transition: var(--transition);
  		box-shadow: 0 0 1rem rgba(0,0,0,0.3);
		box-sizing: border-box;
  		text-align: center;
		font-size: auto;
		overflow-wrap: break-word;
  		word-break: break-word;
	}
	
/* PIE DE PAGINA */
	.site-footer {
		background: #0B0D0E;
		border-top: 1px solid var(--border-metal);
		padding: 2rem 0;
		text-align: center;
		color: var(--text-muted);
		font-size: 0.9rem;
	}
}