@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: "safira";
  src: url("../../assets/fonts/safira_march_personal_use_only-webfont.woff2")
      format("woff2"),
    url("../../assets/fonts/safira_march_personal_use_only-webfont.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --font-primary: "EB Garamond", serif;
  --font-secondary: "Poppins", serif;
  --font-headline: "safira", serif;
  --font-fallback: "Arial", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-image: url("../../assets/images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.header-content,
.hero,
.footer-content {
  position: relative;
  z-index: 2;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  flex-shrink: 0;
  animation: slideInFromTop 1s ease-out;
}

.header-content {
  background-image: url("../../assets/images/pattern.png");
  background-size: cover;
  background-position: center;
  background-color: #2dd4bf;
  padding: 1.5rem 1rem;
  border-radius: 0;
  position: relative;
  max-width: 308px;
  width: 100%;
  text-align: center;
  font-family: var(--font-headline);
}

.logo,
.brand-text {
  position: relative;
  z-index: 2;
}

.logo {
  margin-bottom: 0.5rem;
}

.logo img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.brand-text p:first-child {
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  text-transform: lowercase;
  margin: 0;
  line-height: 1;
}

.brand-text p:last-child {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  text-transform: lowercase;
  margin: 0 0 0.5rem;
  line-height: 1;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  text-align: center;
  font-family: var(--font-headline);
}

.hero {
  max-width: 1200px;
  width: 100%;
}

.website-text {
  font-size: 5rem;
  font-weight: 400;
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: 3px;
  line-height: 1;
  margin: 0;
  animation: fadeInUp 1.2s ease-out 0.5s both;
}

.coming-soon-text {
  font-size: 9rem;
  font-weight: normal;
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
  line-height: 1;
  animation: fadeInUp 1.5s ease-out 0.8s both, pulse 3s ease-in-out 2s infinite;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  flex-shrink: 0;
  animation: slideInFromBottom 1s ease-out 1s both;
}

.footer-content {
  background-image: url("../../assets/images/pattern.png");
  background-size: cover;
  background-position: center;
  background-color: #2dd4bf;
  padding: 0 0 10rem 0;
  border-radius: 0;
  position: relative;
  max-width: 308px;
  width: 100%;
  text-align: center;
}

.email-button {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #106a73;
  padding: 0.5rem 4rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  text-transform: lowercase;
  width: 100%;
  top: -1.5rem;
  position: absolute;
  left: 0;
  transform: translateY(0);
  animation: buttonGlow 2s ease-in-out infinite alternate, buttonFloat 3s ease-in-out infinite;
  overflow: hidden;
}

.email-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s infinite;
  z-index: 1;
}

.email-button:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  animation: buttonGlow 0.5s ease-out, buttonPulse 0.6s ease-out;
}

.email-button:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  header {
    padding: 0rem;
  }

  .header-content {
    padding: 2rem 1.5rem;
    max-width: 320px;
  }

  .logo img {
    width: 200px;
    height: auto;
  }

  .brand-text p:first-child {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .brand-text p:last-child {
    font-size: 1rem;
  }

  main {
    padding: 1rem;
  }

  .website-text {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .coming-soon-text {
    font-size: 2.5rem;
    letter-spacing: 4px;
  }

  footer {
    padding: 0rem;
  }

  .email-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* Tablet specific styles */
@media (min-width: 481px) and (max-width: 1024px) {
  .header-content {
    max-width: 350px;
    padding: 1.8rem 1.2rem;
  }

  .logo img {
    width: 120px;
  }

  .brand-text p:first-child {
    font-size: 2.2rem;
    letter-spacing: 1.5px;
  }

  .brand-text p:last-child {
    font-size: 1.3rem;
  }

  .website-text {
    font-size: 3.5rem;
    letter-spacing: 2.5px;
  }

  .coming-soon-text {
    font-size: 6.5rem;
    letter-spacing: 6px;
  }

  .email-button {
    padding: 0.6rem 3rem;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    max-width: 180px;
    padding: 1rem;
  }

  .logo img {
    width: 130px;
    height: auto;
  }

  .brand-text p:first-child {
    font-size: 2.2rem;
  }

  .brand-text p:last-child {
    font-size: 1.2rem;
  }

  .website-text {
    font-size: 3rem;
    letter-spacing: 1px;
  }

  .coming-soon-text {
    font-size: 5rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
  }

  .footer-content {
    max-width: 180px;
    padding: 0 0 8rem 0;
  }

  .email-button {
    padding: 0.7rem 0.5rem;
    font-size: 0.9rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  body::before {
    background: rgba(0, 0, 0, 0.6);
  }

  .email-button {
    border: 2px solid #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .email-button {
    animation: none;
    transition: none;
  }

  .email-button::before {
    animation: none;
  }

  .email-button:hover {
    animation: none;
    transform: none;
  }

  .coming-soon-text {
    animation: none;
  }

  .website-text {
    animation: none;
  }

  header {
    animation: none;
  }

  footer {
    animation: none;
  }
}

/* Keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes buttonGlow {
  0% {
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  }
  100% {
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
  }
}

@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes buttonPulse {
  0% {
    transform: translateY(-3px) scale(1.05);
  }
  50% {
    transform: translateY(-4px) scale(1.08);
  }
  100% {
    transform: translateY(-3px) scale(1.05);
  }
}

@keyframes buttonHover {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.05);
  }
  100% {
    transform: translateY(-2px) scale(1.02);
  }
}

/* Focus styles for accessibility */
.email-button:focus {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  transform: translateY(-2px) scale(1.02);
}

.email-button:focus:not(:focus-visible) {
  outline: none;
}

.email-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

/* Print styles */
@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  body::before {
    display: none;
  }

  main section h1,
  main section p,
  header section div p {
    color: #000000;
  }
}
