:root {
  --bg1: #021048;
  --bg2: #1e38a3;
  --accent: #2980b9;
  --text: #ffffff;
}

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(90deg, var(--bg1), var(--bg2));
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  text-align: center;
}

/* clouds */
.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(18px);
  animation: floatClouds 18s ease-in-out infinite;
}
.cloud:nth-child(1){width:140px;height:70px;top:10%;left:15%;animation-delay:0s;}
.cloud:nth-child(2){width:200px;height:100px;top:35%;right:10%;animation-delay:3s;}
.cloud:nth-child(3){width:180px;height:90px;bottom:15%;left:20%;animation-delay:6s;}
@keyframes floatClouds{0%,100%{transform:translateY(0);opacity:0.8;}50%{transform:translateY(-15px);opacity:0.6;}}

/* video */
.video-wrapper {
  position: relative;
  width: 90%;
  max-width: 680px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: fadeInLogo 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.video-wrapper .overlay-logo {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 40%;
  height: auto;
  z-index: 10;
  filter: drop-shadow(2px 3px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}
.video-wrapper .overlay-logo:hover { transform: scale(1.05); }

@keyframes fadeInLogo { from {opacity:0;transform:translateY(-10px);} to {opacity:1;transform:translateY(0);} }

/* content */
.content {
  margin-top: 36px;
  background: rgba(2, 16, 72, 0.65);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 36px 32px;
  width: 90%;
  max-width: 680px;
  opacity: 0;
  animation: fadeInText 1.2s ease-out forwards;
  animation-delay: 0.8s;
  z-index: 5;
}

@keyframes fadeInText { from{opacity:0;transform:translateY(15px);} to{opacity:1;transform:translateY(0);} }

.line {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.line svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.text-block {
  flex: 1;
  position: relative;
  padding-bottom: 18px;
}

.text-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
}

.line:last-of-type .text-block::after {
  display: none;
}

h1 { font-size: 1.45rem; font-weight: 700; }
h2 { font-size: 1.2rem; font-weight: 500; color: var(--accent); }
p  { font-size: 1.05rem; color: #e6e6e6; line-height: 1.6; }

.contact { margin-top: 12px; font-size: 0.95rem; }
.contact a {
  color: var(--text);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact a:hover { text-decoration: underline; color: var(--accent); }

@media (max-width:480px){
  .video-wrapper .overlay-logo{width:60%;}
  h1{font-size:1.25rem;}
  h2{font-size:1.05rem;}
  p{font-size:0.95rem;}
  .line svg{width:22px;height:22px;}
}

.footer-note {
  margin-top: 14px;
  font-size: 0.8rem;
  opacity: 0.2;
  letter-spacing: 0.5px;
  text-align: right;     /* poravnanje udesno */
  padding-right: 6px;    /* mali razmak od desne ivice */
  user-select: none;
  pointer-events: none;
}

