@charset "UTF-8";

/* RESET */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body{
  height: 100%;
  font-family: Arial, sans-serif;
  background: #F1E9D9;
  color: white;
}

a{
  text-decoration: none;
  color: inherit;
}

/* HERO */
.header{
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Fondo medusa */
#medusa{
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* PANEL hover lateral (1/3 de ancho) */
.hover-panel{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.333%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: opacity 0.35s ease, transform 0.45s ease, left 0.45s ease;
  transform: translateY(0);
	
   background-color: rgba(0,0,0,0.15);
  backdrop-filter: blur(0);
}

.blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

/* Branding y menú */
.site-branding{
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* TITULO */
.site-title{
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  text-align: center;

  font-family: "Zodiak";
  font-size: 60px;
  font-weight: 100;
  line-height: 1;
}

.surfilms {
  position: relative;
  display: inline-flex;
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
  font-size: 110px;
  font-style: italic;
  text-decoration: none;
  color: #FFD873;
  overflow: visible;
  transform: translateY(-1em);
}

/* Letras S */
.s {
  display: inline-block;
  animation-duration: 1.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

/* S izquierda */
.izquierda {
  transform: translateX(250%);
  animation-name: cortina-izq;
}

/* S derecha */
.derecha {
  transform: translateX(-250%);
  animation-name: cortina-der;
}

/* Texto central */
.texto {
  opacity: 0;
  animation: aparecer 1s ease forwards;
  animation-delay: 1s;
}

/* Animaciones */
@keyframes cortina-izq {
  to {
    transform: translateX(0);
  }
}

@keyframes cortina-der {
  to {
    transform: translateX(0);
  }
}

@keyframes aparecer {
  to {
    opacity: 1;
  }
}


/* MENÚ (botones abajo inline) */
.menu{
  position: absolute;
  bottom: 40px;         /* como en gimbalgod */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20vw;             /* espaciado amplio como referencia */
}

.menu-item{
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
  font-size: 5vw;        /* grande como en el sitio de ref */
  font-style: italic;
  text-transform: uppercase;
  color: #F1E9D9;
}

.menu-item:hover{
  opacity: 1;
  color: #FFD873;
  transform: translateY(-6px); /* sutil movimiento hacia arriba */
}


/*iphone*/
.iphone-wrapper {
  position: relative;
  width: 40vw;
  max-width: 420px;
  min-width: 220px;
  margin: 0 auto;
  padding-top: 41px;

  /* animación inicial */
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: all 1s cubic-bezier(.22,.61,.36,1);
}

/* Video detrás */
.iphone-video {
  aspect-ratio: 9 / 19.5;
  position: absolute;
  top: -5%;
  left: 8%;
  width: 85%;
  height: auto;
  object-fit: contain;
  transform: scale(0.76);
  transform-origin: center;
  border-radius: 22px;
  z-index: 1;
}

/* Marco del iPhone */
#iphone {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

@media (max-width: 600px) {
  .iphone-wrapper {
    width: 80vw;
  }
}
.iphone-wrapper.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.eslogan {
	text-align: center;
	font: italic normal bolder 8vw helvetica;
	margin-top: 5vh;
	color: darkslategrey;
	padding: 1vw;
}

.eslogan .destacado {
	color:#FF6853;
	font-family: Impact;
	font-size: 9vw;
}
.pro {
	font-family: Gill;
	font-size: 9vw;
}

.about {
	display: flex;
	justify-content: space-between;
	margin-top: 10vh;
}
.left img {
	border-radius: 15px;
	width: 25vw;
}
.middle h2 {
	font:normal,bold;
	font-family: "Switzer";
	font-size: 3em;
	color:black;
	padding: 0.5em;
}
.middle p {
	text-indent: 1em;
	font:normal,bold;
	font-family: "Switzer";
	font-size: 1.7em;
	word-spacing: 0.05em;
	line-height: 1.5em;
	text-align: left;
	color:black;
	width: 40vw;
	padding-bottom: 2em;
}
.right img {
	border-radius: 15px;
	width: 25vw;
}

.contacto {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 4em;
	margin-top: 10vh;
	padding: 4em 0;
	background-color: #122226;
	flex-wrap: wrap; /* importante para responsive */
}

/* Imagen */
.wacha img {
	border-radius: 20px;
	width: 30vw;
	max-width: 400px;
	margin-top: 2em;
}

/* Formulario */
.formulario {
	font-family: "Switzer", sans-serif;
	width: 40vw;
	min-width: 300px;
	color: white;
}

.formulario h2{
	margin-top:2em;
	font:normal,bold;
	font-family: "Switzer";
	font-size: 2em;
	color:white;
	padding: 0.5em;
}

fieldset {
	border: none;
}

hr {
	border: none;
	height: 1px;
	background: rgba(255,255,255,0.2);
	margin-bottom: 2em;
}

/* Inputs */
input,textarea {
	width: 100%;
	background: none;
	border: none;
	border-bottom: 2px solid rgba(255,255,255,0.4);
	padding: 0.8em 0;
	margin-bottom: 2em;
	color: white;
	font-size: 1em;
	transition: 0.3s ease;
}

input:focus {
	outline: none;
	border-bottom: 2px solid #00c2ff;
}

/* Labels */
label {
	font-size: 0.9em;
	opacity: 0.8;
}

/* Botón */
button {
	background-color: #00c2ff;
	color: #122226;
	border: none;
	padding: 0.8em 2em;
	border-radius: 30px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s ease;
}

button:hover {
	background-color: white;
}

/* Responsive */
@media (max-width: 900px) {
	
	.about {
		flex-direction: column;
		text-align: center;
	}
	.left img {
	width: 80%;
}
	.middle p {
		width: 90%;
		font-size:1em;
		text-align: center;
		padding-left:2em;
	}
	.right img {
		width: 80%;
	}
	
	.contacto {
		flex-direction: column;
		text-align: center;
	}

	.wacha img {
		width: 80%;
		text-align: center;
	}

	.formulario {
		width: 90%;
		padding-left:3.5em;
	}

  .menu {
    gap: 5vw;
  }

  .menu-item {
    font-size: 9vw;
	background-color: rgba(0, 0, 0, 0.35); /* fondo semitransparente */
    border-radius: 12px;                   /* esquinas redondeadas */
    padding: 0.3em 0.6em;                  /* pequeño padding para que el fondo se note */
    transition: background-color 0.3s ease;
  }
	.menu-item:hover {
    background-color: rgba(0, 0, 0, 0.5); /* un poco más visible al tocar */
  }

	.hover-panel {
    width: 100% !important;
    left: 0 !important;
    height: 100%;
    z-index: 1;
  }

  .blur-overlay {
    backdrop-filter: blur(8px);
  }
	.menu-item.active {
    color: #F1E9D9;
  }

  /* Ocultar el marco del iPhone */
  #iphone {
    display: none;
  }

 .iphone-wrapper {
    display: none;
}
.iphone-video {
   display: none;
}
}



