:root {
  --text-color: #E6E4CF;
  --background-color: #a7160f;
  --black: #1A1A1A;
}

@font-face {
  font-family: 'Neulis Cursive';
  src: url('assets/fonts/Neulis_Cursive_Bold_Italic.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Meno';
  src: url('assets/fonts/Meno-Display-Condensed.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'Futura', sans-serif;
  background: var(--background-color) url('assets/background.png') center/cover repeat;
  background-size: 100%;
  color: var(--text-color);
}

header {
  width: 100vw;
  position: absolute;
}

strong {
  font-family: 'Neulis Cursive', sans-serif;
  font-style: normal;
  font-weight: 100;
}

.container {
  width: 100vw;
  margin: 0 auto;
}

.logo-container {
  width: 100px;
  height: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  margin-top: -8px;
}

.logo {
  width: 110%;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: 1.6s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInHalf {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}

.hero {
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h2 {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 100;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: 1.6s;
}

.process-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 70vw;
}

.card {
  width: fit-content;
  text-align: center;
}

.card img {
  width: 100%;
}

.card p {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}
/* Scroll indicator container, fixed at the bottom center */
.scroll-indicator {
  position: absolute;  /* position relative to the hero section */
  bottom: 20px;        /* adjust the distance from the bottom as needed */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeInHalf 1s ease-out forwards;
  animation-delay: 2.5s;
}

.no-scroll {
  overflow: hidden;
}

.chevron-svg {
  display: block;
  margin: 0 auto; /* center horizontally */
  animation: bounce 2s infinite;
}

/* Bounce animation to gently move the chevron downward */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Make the info-section a column with space between so the footer is pushed to the bottom */
.info-section {
  position: relative;
  width: 100vw;
  display: flex;
  flex-direction: column;
  /* You can add a min-height if you want it to fill the viewport */
  min-height: 100vh;
  justify-content: space-between;
}

/* Footer container for the text links */
.footer-container {
  display: flex;
  justify-self: flex-end;
  align-self: flex-end;
  justify-content: flex-end;
}

/* Icon container: arrange text links in a row with 3rem gap */
.icon-container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  opacity: 0;
}

/* Style the text links similar to your h3 styling */
.icon-container a {
  font-style: italic;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'Meno';
  text-decoration: none;
  color: var(--text-color);
  transition: opacity 0.3s ease;
}

/* Optional hover effect for the links */
.icon-container a:hover {
  opacity: 0.8;
  text-decoration: underline;
}


/* Desktop: Limit info-section height */
@media (min-width: 769px) {
  .info-section {
    max-height: 100vh;
  }
}

/* Mobile: Remove max-height restriction */
@media (max-width: 768px) {
  .info-section {
    max-height: none;
  }
}

.details-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  margin: auto 10vw;
}

.left-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 780px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .left-column {
    flex: 0 1 30%;
  }
  .right-container {
    flex: 0 1 70%;
  }
}

.left-column img {
  display: block;
  max-height: 800px;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0 auto; 
}

.right-container {
  align-self: center;
  flex: 2;
  display: flex;
  flex-direction: column;
  height: fit-content;
  width: fit-content;
}

.right-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  height: fit-content;
  width: fit-content;
}

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

/* Initial state for each detail block */
.detail-block {
  opacity: 0;
  width: 40%;
  transform: translateX(-30px);
}

.contact-block {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  height: fit-content;
  margin-top: 24px;
  opacity: 0;
}

.detail-block.animate {
  animation: fadeInLeft 0.5s ease-out forwards;
}

.contact-block.animate {
  animation: fadeIn 0.5s ease-out forwards;
}

.icon-container.animate {
  animation: fadeIn 0.5s ease-out forwards;
}

.detail-block.animate:nth-child(1) {
  animation-delay: 0s;
}
.detail-block.animate:nth-child(2) {
  animation-delay: 0.3s;
}
.detail-block.animate:nth-child(3) {
  animation-delay: 0.6s;
}
.detail-block.animate:nth-child(4) {
  animation-delay: 0.9s;
}
.detail-block.animate:nth-child(5) {
  animation-delay: 1.2s;
}

.detail-block h3 {
  font-style: italic;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'Meno';
  margin-bottom: 0.3rem;
}

.contact-block h3 {
  font-style: italic;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'Meno';
  margin-bottom: 0.3rem;
}

.detail-block p {
  font-size: 1.2rem;
  line-height: 1.4;
}

.detail-block a {
  font-size: 1.2rem;
  line-height: 1.4;
  font-family: inherit;
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.detail-block a:hover {
  font-size: 1.2rem;
  line-height: 1.4;
  font-family: inherit;
  color: var(--text-color);
  text-decoration: underline;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .details-grid {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 6vw;
  }
  .card {
    flex: 1 1 calc(50% - 1vw);
    max-width: calc(50% - 1vw);
  }
}

/* Fade-in animation keyframes */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.process-grid .card {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

/* Stagger the delay for each card */
.process-grid .card:nth-child(1) {
  animation-delay: 0s;
}
.process-grid .card:nth-child(2) {
  animation-delay: 0.4s;
}
.process-grid .card:nth-child(3) {
  animation-delay: 0.8s;
}
.process-grid .card:nth-child(4) {
  animation-delay: 1.2s;
}


/* Style the overall form container */
.input-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  border-radius: 0.5rem;
}

/* Style the email input field */
.email-input {
  flex: 5;
  margin-left: 8px;
  width: 200px;
  font-size: 0.9rem;
  line-height: 1;
  border: none;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid var(--text-color);
  color: var(--text-color);
  font-family: inherit;
  outline: none;
  transition: background 0.3s ease;
}

.email-input::placeholder {
  color: rgba(253, 246, 238, 0.363);
  font-style: italic;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'Meno';
}

/* Change background on focus */
/* .email-input:focus {
  background: rgba(255, 255, 255, 0.25);
} */

/* Style the submit button */
.input-form button {
  padding: 8px;
  color: var(--text-color);
  border: none;
  border-radius: 8px;
  border: 1px solid var(--text-color);
  background-color: transparent;
  letter-spacing: 0.1rem;
  cursor: pointer;
  text-transform: lowercase;
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'Futura';
  transition: background-color 0.1s ease-in;
}

/* Button hover effect */
.input-form button:hover {
  background: rgba(255, 255, 255, 0.25);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  font-family: 'Futura', sans-serif !important; 
  -webkit-text-fill-color: var(--text-color) !important; /* Match your text color */
  box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0) inset !important; /* or use your background color */
  transition: background-color 5000s ease-in-out 0s !important;
}