﻿/* Page Setup & Full-Screen Background */
body {
  margin: 0;
  padding: 0;
  background-image: url('background.jpg'); /* Your background photo */[cite: 3]
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #ffffff;
}

/* Small Logo Fixed in Upper Left Corner */
.top-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: auto;
  border-radius: 4px;
}

/* Center Content Box */
.main-container {
  max-width: 800px;
  margin: 80px auto 40px auto;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  text-align: center;
}

/* Big Welcome Text */
.welcome-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

/* Sub-Texts */
.welcome-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e0;
}

/* 3D Carousel Viewport */
.carousel-viewport {
  width: 100%;
  height: 220px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.carousel-3d {
  width: 160px;
  height: 160px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateHorizontal 10s infinite linear;
}

.carousel-3d:hover {
  animation-play-state: paused;
}

.carousel-card {
  position: absolute;
  width: 160px;
  height: 160px;
  left: 0;
  top: 0;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Position cards around the 3D center point */
.card-1 {
  transform: rotateY(0deg) translateZ(160px);
}

.card-2 {
  transform: rotateY(120deg) translateZ(160px);
}

.card-3 {
  transform: rotateY(240deg) translateZ(160px);
}

/* 3D Rotation Animation */
@keyframes rotateHorizontal {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

/* Link Container and Button Styling */
.link-container {
  margin-top: 25px;
}

.website-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
}

.website-link:hover {
  background-color: #0056b3;
}