/* The Seasons - Light (300) */
@font-face {
  font-family: 'the-seasons';
  src: url('fonts/Fontspring-DEMO-theseasons-lt.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* The Seasons - Regular (400) */
@font-face {
  font-family: 'the-seasons';
  src: url('fonts/Fontspring-DEMO-theseasons-reg.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Revive 80 Signature */
@font-face {
  font-family: 'Revive 80 Signature';
  src: url('fonts/Revive80signature.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Helvetica World - Regular (400) */
@font-face {
  font-family: 'Helvetica World';
  src: url('fonts/Helvetica-World-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Helvetica World - Bold (700) */
@font-face {
  font-family: 'Helvetica World';
  src: url('fonts/Helvetica-World-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-blue: #0e1986;
  --sky-blue: #6cb2de;
  --light-pink: #ffcdcc;
  --beige-cream: #f8f1e1;
  --bg-charcoal: #5e5c5a;
  
  --qta-gradient: linear-gradient(
    115deg, 
    var(--navy-blue) 0%, 
    var(--sky-blue) 35%, 
    var(--light-pink) 70%, 
    var(--beige-cream) 100%
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  width: 100%;
  background-color: var(--bg-charcoal);
  background-image: radial-gradient(circle at center, #666462 0%, #52504e 100%);
  color: var(--beige-cream);
  font-family: 'Helvetica World', 'Helvetica Neue', Helvetica, sans-serif;
  overflow: hidden;
  user-select: none;
}

.paper-texture {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.loader-container {
  position: relative;
  z-index: 2;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4vh 6vw;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.center-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -2vh;
}

.qta-logo {
  font-family: 'the-seasons', 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(5.5rem, 15vw, 10.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  background: var(--qta-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  margin-bottom: 3vh;
  animation: fadeInDown 1.2s ease-out forwards;
}

.signature-text {
  font-family: 'Revive 80 Signature', 'Herr Von Muellerhoff', cursive;
  color: #ffffff;
  font-size: clamp(3.5rem, 9vw, 6.2rem);
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-7deg);
  margin: 1vh 0 5vh 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.12);
  animation: fadeIn 1.6s ease-out forwards;
}

.signature-text .line-1 {
  margin-left: -15px;
}

.signature-text .line-2 {
  margin-left: 25px;
  margin-top: -5px;
}

/* Animation */
.dots {
  display: inline-block;
  animation: pulseDots 1.8s infinite ease-in-out;
}

/* Loading Bar */
.loading-wrapper {
  width: min(320px, 75vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 1vh;
}

.loading-bar-bg {
  width: 100%;
  height: 15px;
  background: rgba(248, 241, 225, 0.15);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.loading-bar-fill {
  height: 100%;
  width: 15%; /* Εδώ ρυθμίζεις μέχρι ποιο σημείο θα είναι γεμισμένη */
  border-radius: 99px;
    background: linear-gradient(
    90deg, 
    var(--sky-blue) 0%, 
    var(--light-pink) 25%, 
    var(--light-pink) 50%, 
    var(--beige-cream) 75%, 
    var(--sky-blue) 100%
  );
  background-size: 200% 100%;
  
  box-shadow: 0 0 12px rgba(108, 178, 222, 0.45);
  animation: gradientFlow 3.5s linear infinite;
}

.loading-percentage {
  font-family: 'Helvetica World', 'Helvetica Neue', Helvetica, 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--beige-cream);
  opacity: 0.8;
}

.bottom-info {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: 'Helvetica World', 'Helvetica Neue', Helvetica, 'Inter', sans-serif;
  font-weight: 700;
  /* font-size: clamp(0.8rem, 1.5vw, 1.05rem); */
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.03em;
  /* text-transform: uppercase; */
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

/* Social Icons  */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 3vh;
}

.social-btn {
  width: 20px;
  height: 20px;
  color: var(--beige-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  transform: translateY(-3px);
  color: var(--light-pink);
}

.c-blue { color: #2b6cb0; }
.c-sky { color: var(--sky-blue); }
.c-cream { color: var(--beige-cream); }

/* Keyframes */
@keyframes gradientFlow {
  0% {
    background-position: 200% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: rotate(-7deg) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: rotate(-7deg) scale(1);
  }
}

@keyframes pulseDots {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Responsive*/
@media (max-width: 480px) {
  .loader-container {
    padding: 5vh 6vw;
  }
  .bottom-info {
    font-size: 0.75rem;
  }
}