/**
 * (c) Atomic Berries
 */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-primary: #000000;
  --text-primary: #FFFFFF;
  --text-muted: #ffffff;
  --border-color: #262626;
  --input-bg: #262626;
  --accent: #333333;
  
  /* Radius */
  --radius: 1rem;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bebas Neue", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 22pt;
  line-height: 1.6;
  overflow-x: hidden;
  text-shadow: rgba(255, 255, 255,.01) 0 0 1px;
}

/* Typography */
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 48rem;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text-muted {
  color: var(--text-muted);
}

/* Layout Containers */
.container-normal {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container-normal {
    padding: 0 3rem;
  }
}

.section-full {
  width: 100%;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .section-full {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .section-full {
    padding: 0 5rem;
  }
}

.section-normal {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-normal {
    padding: 8rem 0;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.language-flags {
  position: absolute;
  top: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.flag-button {
  font-size: 1.875rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  transform: scale(1);
}

.flag-button:hover {
  transform: scale(1.1);
}

.flag-button.active {
  opacity: 1;
  transform: scale(1.1);
}

.hero-content {
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  margin-bottom: 2rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-icon {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--text-muted);
  border-radius: 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.75rem;
  background-color: var(--text-muted);
  border-radius: 0.25rem;
}

/* Empty Section */
.empty-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-content {
  text-align: center;
  opacity: 0.3;
}

.empty-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.empty-text {
  color: var(--text-muted);
  font-size: 1.25rem;
}

/* Bookings Section */
.bookings-content {
  text-align: center;
}

p {
  max-width: 42rem;
  margin: 0 auto 1em auto;
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  background: none;
}

.btn:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-hero {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.btn-hero:hover {
	background-color: white;
	/*transform: scale(1.05);*/
	color: black;
}

.btn-lg {
  padding: 2rem 3rem;
  font-size: 1.125rem;
  height: auto;
}

.btn-full {
  width: 100%;
}

/* Footer */
.footer {
  padding: 5rem 0 1em 0;
  margin-bottom: 10vh;
  font-size: 50%;
}

.footer a {
	color: white;
	text-decoration: none;
	font-weight: 900;
}

.footer a:hover {
	text-decoration: underline;
}

.footer-content {
  text-align: center;
}

/* Contact Overlay */
.contact-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.3s ease 0.1s;
}

.contact-overlay.active .close-button {
  opacity: 1;
  transform: scale(1);
}

.close-button:hover {
  color: var(--text-muted);
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  height: 100vh;
  overflow: scroll;
}

.contact-view {
  overflow: scroll;
}

.contact-content {
  width: 100%;
  max-width: 42rem;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.5s ease 0.1s;
}

.contact-overlay.active .contact-content {
  opacity: 1;
  transform: translateY(0);
}

.contact-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 72%;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 70%;
  font-family: inherit;
  transition: var(--transition);
}

.form-input {
  height: 3.5rem;
}

.form-textarea {
  min-height: 10rem;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--text-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 1.5rem 2rem;
    font-size: 1rem;
  }
  
  .close-button {
    top: 1rem;
    right: 1rem;
  }
  
  .contact-container {
    align-items: start;
  }
}

@media (max-height: 861px) {
  .contact-container {
    align-items: start;
  }
}


h1 {
	margin: 1em auto 0 auto !important;
}

h2 {
	font-size: 250% !important;
	color: white !important;
	margin: 0.5em auto;
	line-height: 1;
}


h1 img {
	width: 100%;
	max-width: min(90vh, 70vw, 1200px);
}

input.btn,
button.btn {
	position: relative;
	margin-top: 2em;
	background: #ff50c3;
	color: white;
	z-index: 1;
	text-transform: uppercase;
}

.video-media {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	margin: 0;
	background: transparent; /*url(img/atomic-berries-tanita-mike.jpg);*/
	background-size: 120%;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-animation: zooming 4s infinite;
	animation: zooming 4s infinite;	
}

.hero {
	background: transparent;
}

video,
iframe {
	display: block;
	width: 100%;
	max-width: min(480px, 85vw);
	aspect-ratio: 16 / 9;
	margin: 1.36em auto;
	border-radius: 4px;
	object-fit: cover;
	border: 3px solid #eee; 
	box-shadow: 0 0 25px black;
	cursor: pointer;
}

video [poster] {
	-o-object-fit: cover;
	object-fit: cover;
}

.video-media video {
	position: absolute;
	object-fit: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.50;
	background-size: 100%;
	max-width: 100vw;
	transform: scale(1.1);
	opacity: 0.5;
	filter: sepia(0) hue-rotate(0deg) saturate(1.35) contrast(1) blur(5px);
}

.smoke {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 666;
	pointer-events: none;
	background: url(https://atomicberries.com/img/background-smoke.gif);
	background-size: cover;
	mix-blend-mode: hard-light;
	opacity: 0.1;
	z-index: 0;
}

.dots {
	background: transparent url(https://atomicberries.com/img/dots.png);
	background-attachment: fixed;
	background-repeat: repeat-both;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	pointer-events: none;
}

.box {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	border-left: min(10vw, 10vh) solid black;
	border-right: min(10vw, 10vh) solid black;
	border-top: min(10vw, 10vh) solid black;
	border-bottom: min(10vw, 10vh) solid black;
	box-sizing: border-box;
	pointer-events: none;
	z-index: 10;
	text-shadow: 0 0 12px black;
	opacity: 1;
}

.controls {
	position: relative;
	width: 100%;
	left: 0;
	top: 10%;
	text-align: center;
	margin-top: 1em;
}

.scroll-button {
  position: relative;
	display: block;
	width: 77px;
	margin: 0 auto;
	filter: grayscale(1) brightness(1.5) contrast(2);
	opacity: 0.66;
	transform: scale(1);
	transition: transform 0.5s;
	z-index: 667;
}

.shine {
	color: white;
	animation: shine 2.9s infinite;
}

#video {
	scroll-margin-top: 15vh;
}

#reel {
	scroll-margin-top: 8vh;
}

/* Video Section */
.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-wrapper iframe.horizontal {
  max-width: 960px;
  aspect-ratio: 16 / 9;
  width: 95%;
  margin: 0 auto;
  border: none;
  box-shadow: none;
  border-radius: 12px;
}

.video-wrapper iframe.vertical {
  display: none;
  aspect-ratio: 9 / 16;
  max-width: 520px;
  width: 95%;
  margin: 0 auto;
  border: none;
  box-shadow: none;
  border-radius: 12px;
}

@keyframes filter-animation {
  0% {
    border-color: rgba(0, 255, 255, 1);
  }
  
  25% {
    border-color: rgba(0, 0, 255, 1);
  }  
  
  50% {
    border-color: rgba(255, 0, 255, 1);
  }
  
  75% {
    border-color: rgba(255, 0, 0, 1);
  }  
  
  100% {
    border-color: rgba(255, 255, 0, 1);
  }
}

@keyframes filter-animation2 {
  0% {
    border-color: rgba(255, 255, 255, 1);
  }
  
  25% {
    border-color: rgba(60, 60, 60, 1);
  }  
  
  50% {
    border-color: rgba(30, 30, 30, 1);
  }
  
  75% {
    border-color: rgba(10, 10, 10, 1);
  }  
  
  100% {
    border-color: rgba(0, 0, 0, 1);
  }
}

@keyframes opacitive {
  0% {
    opacity: 1;
  }
  
  25% {
    opacity: 1;
  } 
  
  50% {
    opacity: 1;
  }
  
  75% {
    opacity: 0.5;
  }  
  
  100% {
    opacity: 0;
  }
}

@keyframes shine {
  0% {
    text-shadow: 0 0 40px rgba(200, 225, 255, 0.52);
  }
  
  50% {
    text-shadow: 0 0 60px rgba(255, 255, 255, 0.85);
  }  
  
  100% {
    text-shadow: 0 0 40px rgba(200, 255, 255, 0.52);
  }
}

@media screen and (max-width: 1160px) {	
	.no-mobile {
		display: none;
	}
	
	.box {
border: 15px solid black;
	}
	
	.video-wrapper iframe.horizontal {
	  display: none;
	}
	
	.video-wrapper iframe.vertical {
	  display: block;
	}
}

/**
 * PHOTO TOOLTIP
 */

#reel img {
  cursor: pointer; 
}

/* Custom image alt tooltip */
.ab-img-tooltip {
  position: fixed;
  z-index: 9999;
  pointer-events: none;

  max-width: min(320px, 90vw);
  padding: 8px 10px;
  box-sizing: border-box;

  background: #000;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 0;

  font-family: inherit;        /* use page default font */
  font-size: 1.5rem;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.07s ease-out;
}

/* visible state */
.ab-img-tooltip--visible {
  opacity: 1;
  visibility: visible;
}

/* arrow base, we draw a white triangle + a smaller black one on top
   to mimic a 3px white border around the arrow */
.ab-img-tooltip::before,
.ab-img-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  pointer-events: none;
}

/* Tooltip above cursor – arrow pointing down */
.ab-img-tooltip--above::before {
  top: 100%;
  border-width: 10px 10px 0 10px;   /* outer white arrow */
  border-color: #fff transparent transparent transparent;
}

.ab-img-tooltip--above::after {
  top: 100%;
  border-width: 7px 7px 0 7px;      /* inner black arrow */
  border-color: #000 transparent transparent transparent;
}

/* Tooltip below cursor – arrow pointing up */
.ab-img-tooltip--below::before {
  bottom: 100%;
  border-width: 0 10px 10px 10px;   /* outer white arrow */
  border-color: transparent transparent #fff transparent;
}

.ab-img-tooltip--below::after {
  bottom: 100%;
  margin-bottom: -3px;
  border-width: 0 7px 7px 7px;      /* inner black arrow */
  border-color: transparent transparent #000 transparent;
}

