/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Custom Colors for TFVG */
/* ==================== */
:root {
  --tfvg-green: 160 100% 40%;  /* A vibrant green */
  --tfvg-blue: 200 100% 40%;
  --tfvg-orange: 24 95% 53%;   /* Matches --primary */
  --tfvg-purple: 270 100% 40%;
}

/* Gradient and Border Classes */
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-tfvg-green\/20 {
  --tw-gradient-from: hsl(var(--tfvg-green) / 0.2);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.to-transparent {
  --tw-gradient-to: transparent;
}

.border-b-tfvg-green {
  border-bottom-color: hsl(var(--tfvg-green));
}

/* Welcome Page Styles */
/* ================== */
.welcome-hero {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    justify-content: center; /* Vertically center content */
    min-height: 100svh; /* Make sure it covers the full viewport height */
    background: linear-gradient(to bottom, hsl(var(--tfvg-green)), hsl(var(--tfvg-orange)), hsl(var(--tfvg-purple)));
}

.welcome-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.5);
  z-index: 1;
}

.welcome-hero .bg-cover {
  z-index: 0;
}

.welcome-hero h1 {
  font-size: 5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-hero p {
  font-size: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-top: -50px
}


/* Doors Animation */
.doors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.door-left,
.door-right {
  width: 50%;
  height: 100%;
  background-image: url("/images/name.webp");
  background-size: contain;
  background-blend-mode: overlay;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateX(0deg);
}

.door-left {
  animation: slide-left 4s ease-in-out forwards;
}

.door-right {
  animation: slide-right 4s ease-in-out forwards;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slide-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Glassmorphism Effect */
.glassmorphic {
  background: hsl(var(--background) / 0.8);
  border: 1px solid hsl(var(--border) / 0.3);
}

/* Fade-In-Up Animation for Hero Content */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.9s ease-out forwards;
}

.animation-delay-1200 {
  animation-delay: 2.5s;
}

.animation-delay-1400 {
  animation-delay: 2.7s;
}

.animation-delay-1600 {
  animation-delay: 1.6s;
}

.animation-delay-1800 {
  animation-delay: 1.8s;
}

.animation-delay-2000 {
  animation-delay: 2.0s;
}

.animation-delay-2200 {
  animation-delay: 2.2s;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Enhancement */
.visit-button {
  position: relative;
  overflow: hidden;
}

.visit-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.visit-button:hover::after {
  width: 200%;
  height: 200%;
}

/* Font Styling */
.font-poppins {
  font-family: 'Poppins', sans-serif;
}

@media (min-width: 768px) {
  .welcome-hero {
    padding: 4rem 0;
  }

  .door-left,
  .door-right {
    transform: translateX(0) rotate(180deg);
}

  .glassmorphic {
    padding: 3rem;
  }

  .gradient-content h1 {
    font-size: 2.5rem;
  }

  .gradient-content p {
    font-size: 1.25rem;
  }
}

@media (max-width: 450px) {
  .welcome-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center; /* Vertically center content */
  }

  .welcome-hero h1 {
    font-size: 3rem; /* Adjust as needed */
  }

  .welcome-hero p {
    font-size: 1rem; /* Adjust as needed */
    margin-top: -30px; /* Adjust as needed */
  }

  .door-left,
  .door-right {
    width: 50%; /* Adjust the width as needed */
    background-size: contain; /* or 'auto' depending on the desired effect */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* prevent image from repeating */
  }
}