/* General Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader .spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f8b400;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll Progress Bar */
.progress-container {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.progress-bar {
  height: 5px;
  background: #f8b400;
  width: 0%;
}

/* Fixed Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  will-change: transform;
}

main {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero .logo img {
  max-width: 250px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero .logo img:hover {
  transform: scale(1.1);
}

.hero h1 {
  font-size: 4rem;
  margin: 20px 0 0;
}

.hero p {
  font-size: 1.5rem;
}

/* Sections */
.section {
  padding: 100px 0;
  margin-bottom: 20px;
}

.section .container {
  background: rgba(50, 50, 50, 0.7);
  padding: 30px;
  border-radius: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section p {
  font-size: 1.2rem;
}

/* Image Boxes */
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.image-box {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  border: 5px solid #f4b400;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-box img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Navigation Bar */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(90deg, #1f1f1f, #333);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  font-family: 'Arial', sans-serif;
  transition: all 0.3s ease-in-out;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: all 0.3s ease-in-out;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
  color: #f8b400;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  right: 20px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    width: 70%;
    height: auto;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    display: none;
    transition: all 0.5s ease-in-out;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li a {
    font-size: 1.5rem;
    color: #f8b400;
  }

  nav ul li a:hover {
    color: #fff;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .section p {
    font-size: 1rem;
  }

  /* Restore horizontal scrolling for images on mobile */
  .image-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
  }

  .image-box {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    margin-right: 10px;
  }
}

/* Footer */
footer {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding: 20px;
  margin-top: 60px;
}

footer p {
  font-size: 1.1rem;
}


/* Scroll-to-Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f8b400;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

.scroll-to-top.visible {
  display: block;
}