@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap");

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

.gate {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100vh;
  background: linear-gradient(
    135deg,
    #192447 0%,
    #243251 25%,
    #b3997d 75%,
    #c4a888 100%
  );
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  will-change: transform;
}

.gate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(179, 153, 125, 0.3) 0%,
    rgba(25, 36, 71, 0.8) 50%,
    rgba(179, 153, 125, 0.3) 100%
  );
  animation: gate-shimmer 3s ease-in-out infinite;
}

@keyframes gate-shimmer {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.gate-left {
  left: 0;
  transform-origin: left center;
}

.gate-right {
  right: 0;
  transform-origin: right center;
}

.gate-left.open {
  transform: translateX(-100%);
}

.gate-right.open {
  transform: translateX(100%);
}

.gate-left.closing {
  transform: translateX(0);
}

.gate-right.closing {
  transform: translateX(0);
}

.bg-image {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(25, 36, 71, 0.4), rgba(25, 36, 71, 0.6)),
    url("/assets/images/static/IMG-20250707-WA0003.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.bg-image.visible {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: black;
  opacity: 0.2;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.content-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: reveal 0.5s ease-out 0.5s forwards;
}

.logo-container {
  opacity: 0;
  transform: scale(0.8);
  animation: logo-appear 0.8s ease-out 0.8s forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logo-appear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.welcome-container {
  text-align: center;
  margin-top: 2rem;
}

.welcome-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.welcome-text .brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  display: block;
  font-size: 5.5rem;
  margin-top: 0.8rem;
  color: #ffffff;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
  position: relative;
}

.welcome-text .brand-name::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, #b3997d, transparent);
  opacity: 0.8;
}

.menu-btn {
  background: linear-gradient(
    135deg,
    #192447 0%,
    #2a3660 30%,
    #b3997d 70%,
    #d4c4a8 100%
  );
  color: #ffffff;
  padding: 20px 50px;
  border-radius: 35px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

.menu-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.menu-btn:active {
  transform: translateY(-2px) scale(0.98);
}

.coffee-icon,
.pancake-icon {
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-wrapper {
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.copyright-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(25, 36, 71, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  text-align: center;
  z-index: 10;
  opacity: 0;
  animation: footer-appear 1s ease-out 0.5s forwards;
}

@keyframes footer-appear {
  to {
    opacity: 1;
  }
}

.copyright-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.chocolate-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("/assets/images/static/choco.png") repeat-x;
  background-size: auto 100%;
  z-index: 500;
  opacity: 0;
  animation: chocolate-appear 0.5s ease-out 0.5s forwards;
}

@keyframes chocolate-appear {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .welcome-text {
    font-size: 2.4rem;
  }
  .welcome-text .brand-name {
    font-size: 4.2rem;
    letter-spacing: 1px;
  }
  .welcome-container {
    margin-top: 1rem;
  }
  .menu-btn {
    padding: 16px 35px;
    font-size: 14px;
    letter-spacing: 1px;
  }
  .coffee-icon,
  .pancake-icon {
    font-size: 18px;
  }
  .chocolate-top {
    height: 70px;
  }
  .logo-wrapper {
    width: 140px;
    height: 140px;
  }
  .logo-img {
    max-width: 160px;
  }
  .copyright-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .welcome-text {
    font-size: 2rem;
  }
  .welcome-text .brand-name {
    font-size: 3.5rem;
  }
  .menu-btn {
    padding: 14px 30px;
    font-size: 13px;
  }
  .logo-img {
    max-width: 160px;
  }
  .coffee-icon,
  .pancake-icon {
    font-size: 16px;
  }
}

.logo-img {
  max-width: 190px;
}

@media (prefers-reduced-motion: reduce) {
  .gate,
  .content-reveal,
  .logo-container,
  .chocolate-top,
  .copyright-footer {
    animation: none;
    transition: none;
  }
  .bg-image {
    opacity: 1;
  }
}
