/**
 * Estilos para el widget Hero Gonemo
 * Custom Luma Plugin
 */

/* === CONTENEDOR PRINCIPAL === */
.hero-gonemo-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 600px;
	overflow: hidden;
	background: linear-gradient(135deg, #0F172B 0%, #1D293D 50%, #0F172B 100%);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
}
h1.hero-gonemo-title {
    color: white;
}
.hero-gonemo-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
	gap: 40px;
}

/* === LAYOUTS === */

/* Layout por defecto */
.hero-gonemo-layout-default .hero-gonemo-content {
	flex-direction: row;
}

/* Layout centrado */
.hero-gonemo-layout-centered .hero-gonemo-content {
	flex-direction: column;
	text-align: center;
}

.hero-gonemo-layout-centered .hero-gonemo-text {
	max-width: 800px;
}

/* Layout pantalla dividida */
.hero-gonemo-layout-split-screen .hero-gonemo-content {
	gap: 0;
	padding: 0;
}

.hero-gonemo-layout-split-screen .hero-gonemo-text {
	flex: 1;
	padding: 80px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero-gonemo-layout-split-screen .hero-gonemo-image {
	flex: 1;
	height: 100vh;
	min-height: 500px;
}

.hero-gonemo-layout-split-screen .hero-gonemo-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Layout superposición */
.hero-gonemo-layout-overlay {
	position: relative;
}

.hero-gonemo-layout-overlay .hero-gonemo-content {
	position: relative;
	z-index: 2;
	flex-direction: column;
	text-align: center;
}

.hero-gonemo-layout-overlay .hero-gonemo-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-gonemo-layout-overlay .hero-gonemo-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-gonemo-layout-overlay::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

/* === POSICIONES DE IMAGEN === */

/* Imagen a la izquierda */
.hero-gonemo-image-left .hero-gonemo-content {
	flex-direction: row-reverse;
}

/* Imagen a la derecha (por defecto) */
.hero-gonemo-image-right .hero-gonemo-content {
	flex-direction: row;
}

/* Imagen arriba */
.hero-gonemo-image-top .hero-gonemo-content {
	flex-direction: column-reverse;
}

/* Imagen abajo */
.hero-gonemo-image-bottom .hero-gonemo-content {
	flex-direction: column;
}

/* Imagen de fondo */
.hero-gonemo-image-background {
	position: relative;
}

.hero-gonemo-image-background .hero-gonemo-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero-gonemo-image-background .hero-gonemo-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-gonemo-image-background .hero-gonemo-content {
	position: relative;
	z-index: 1;
}

/* === CONTENIDO DE TEXTO === */
.hero-gonemo-text {
	flex: 1;
	max-width: 600px;
}

.hero-gonemo-subtitle {
	font-size: 14px;
	font-weight: 600;
	color: #60a5fa;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 2px;
	opacity: 0.9;
}

.hero-gonemo-title {
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 60px;
	font-weight: 800;
	font-style: normal;
	line-height: 90px;
	letter-spacing: 0%;
	color: white; 
	margin: 0 0 24px 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	vertical-align: middle;
}

.hero-gonemo-title .highlight {
	background: radial-gradient(50% 50% at 50% 50%, #25C8FF 40.38%, #0077FF 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-gonemo-description {
	font-size: 18px;
	line-height: 1.7;
	color: #e2e8f0;
	margin-bottom: 32px;
	opacity: 0.9;
	max-width: 500px;
}

/* === BOTÓN === */
.hero-gonemo-button-wrapper {
	margin-top: 40px;
} 

.hero-gonemo-button {
	display: inline-flex;
	align-items: center;
	padding: 16px 32px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: #ffffff;
	background: #0073FF;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 8px 25px rgba(0, 115, 255, 0.4);
	text-transform: none;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
}

.hero-gonemo-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.hero-gonemo-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(0, 115, 255, 0.5);
	background: #005ce6;
	color: #ffffff;
	text-decoration: none;
}

.hero-gonemo-button:hover::before {
	left: 100%;
}

.hero-gonemo-button:active {
	transform: translateY(-1px);
	box-shadow: 0 8px 25px rgba(0, 115, 255, 0.4);
}

/* === IMAGEN === */
.hero-gonemo-image {
	flex: 1;
	max-width: 500px;
	position: relative;
}

.hero-gonemo-image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

/* Card overlay for modern tech aesthetic */
.hero-gonemo-image::before {
	content: '';
	position: absolute;
	top: 20px;
	right: 20px;
	width: 120px;
	height: 40px;
	background: rgba(59, 130, 246, 0.9);
	border-radius: 20px;
	z-index: 2;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-gonemo-image::after {
	content: 'Agent Active';
	position: absolute;
	top: 30px;
	right: 35px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	z-index: 3;
	letter-spacing: 0.5px;
}

/* Progress indicator */
.hero-gonemo-image .progress-indicator {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.8);
	color: #ffffff;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-gonemo-image .progress-indicator::before {
	content: 'Processing...';
	display: block;
	font-size: 11px;
	opacity: 0.7;
	margin-bottom: 4px;
}

/* === ALTURA PERSONALIZADA === */
.hero-gonemo-fit-screen {
	min-height: 100vh;
}

/* === ANIMACIONES === */
@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.hero-gonemo-text {
	animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-gonemo-image {
	animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-gonemo-subtitle {
	animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.hero-gonemo-title {
	animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-gonemo-description {
	animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-gonemo-button {
	animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-gonemo-layout-centered .hero-gonemo-text,
.hero-gonemo-layout-centered .hero-gonemo-image {
	animation: fadeInUp 0.8s ease-out;
}

/* === FLOATING PARTICLES EFFECT === */
.hero-gonemo-container::before {
	content: ''; 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(147, 197, 253, 0.05) 0%, transparent 50%);
	animation: float 20s ease-in-out infinite;
	pointer-events: none;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
		opacity: 0.5;
	}
	50% {
		transform: translateY(-20px) rotate(180deg);
		opacity: 0.8;
	}
}

/* === RESPONSIVE === */

/* Tablets */
@media (max-width: 1024px) {
	.hero-gonemo-content {
		padding: 40px 20px;
		gap: 30px;
	}

	.hero-gonemo-title {
		font-size: 44px;
	}

	.hero-gonemo-description {
		font-size: 17px;
	}

	.hero-gonemo-layout-split-screen .hero-gonemo-text {
		padding: 60px 40px;
	}
}

/* Móviles */
@media (max-width: 768px) {
	.hero-gonemo-container {
		min-height: 500px;
	}
	.hero-gonemo-content {
		flex-direction: column !important;
		text-align: center;
		padding: 40px 20px;
		gap: 30px; 
	} 

	.hero-gonemo-text {
		max-width: 100%;
	} 

	.hero-gonemo-title {
		font-size: 36px;
		margin-bottom: 20px;
		line-height: 1.2;
	}

	.hero-gonemo-subtitle {
		font-size: 13px;
		margin-bottom: 12px;
		letter-spacing: 1.5px;
	}

	.hero-gonemo-description {
		font-size: 16px;
		margin-bottom: 28px;
		max-width: 100%;
	}

	.hero-gonemo-button {
		padding: 14px 28px;
		font-size: 15px;
	}

	.hero-gonemo-image {
		max-width: 100%;
		order: -1;
	}

	.hero-gonemo-image::before {
		width: 100px;
		height: 35px;
		top: 15px;
		right: 15px;
	}

	.hero-gonemo-image::after {
		top: 25px;
		right: 25px;
		font-size: 11px;
	}

	.hero-gonemo-layout-split-screen .hero-gonemo-content {
		padding: 40px 20px;
	}

	.hero-gonemo-layout-split-screen .hero-gonemo-text {
		padding: 40px 20px;
	}

	.hero-gonemo-layout-split-screen .hero-gonemo-image {
		height: 350px;
		min-height: 350px;
	}
}

/* Móviles pequeños */
@media (max-width: 480px) {
	.hero-gonemo-container {
		min-height: 300px;
	}

	.hero-gonemo-content {
		padding: 20px 10px;
	}

	.hero-gonemo-title {
		font-size: 28px;
	}

	.hero-gonemo-description {
		font-size: 14px;
	}

	.hero-gonemo-button {
		padding: 10px 20px;
		font-size: 13px;
	}
}

/* === MODO OSCURO === */
@media (prefers-color-scheme: dark) {
	.hero-gonemo-container {
		background: linear-gradient(135deg, #0F172B 0%, #1D293D 50%, #0F172B 100%);

	}

	.hero-gonemo-title {
		color: #ffffff;
	}

	.hero-gonemo-subtitle,
	.hero-gonemo-description {
		color: #b0b0b0;
	}
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
	.hero-gonemo-text,
	.hero-gonemo-image {
		animation: none;
	}

	.hero-gonemo-button {
		transition: none;
	}

	.hero-gonemo-button:hover {
		transform: none;
	}
}

/* === FOCUS STATES === */
.hero-gonemo-button:focus {
	outline: 2px solid #007cba;
	outline-offset: 2px;
}

.hero-gonemo-button:focus:not(:focus-visible) {
	outline: none;
}

/* === PRINT STYLES === */
@media print {
	.hero-gonemo-container {
		background: white !important;
		box-shadow: none !important;
	}

	.hero-gonemo-button {
		background: #007cba !important;
		color: white !important;
		box-shadow: none !important;
	}
}