:root {
  --primary-color: #ed6a18;
  --accent-color: #783e02;
  --dark-color: #191919;
  --light-color: #fefefc;
}

html {
  scroll-behavior: smooth;
}

/* Logo Reveal Animation */
.logo-reveal-container {
  background: linear-gradient(135deg, #0c0c0c 0%, var(--dark-color) 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.logo-reveal {
  width: 200px;
  height: 200px;
  position: relative;
}

.logo-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
}

.logo-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
}

.loading-text {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--light-color);
  font-size: 1rem;
  opacity: 0.7;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--light-color);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.cta-button:hover,
.cta-button:focus {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(237, 106, 24, 0.3);
}

/* Floating Elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  top: 20%;
  left: 10%;
}

.floating-element:nth-child(2) {
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  bottom: 15%;
  right: 10%;
}

.floating-element:nth-child(3) {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  top: 60%;
  left: 15%;
}

.floating-element:nth-child(4) {
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  top: 30%;
  right: 15%;
}

.floating-element:nth-child(5) {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  bottom: 25%;
  left: 20%;
}

.floating-element:nth-child(6) {
  width: 90px;
  height: 90px;
  background: var(--primary-color);
  top: 15%;
  right: 20%;
}

.floating-element:nth-child(7) {
  width: 70px;
  height: 70px;
  background: var(--light-color);
  bottom: 40%;
  right: 25%;
  opacity: 0.5;
}

.floating-element:nth-child(8) {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  top: 45%;
  left: 25%;
}

/* Floating Circles */
.floating-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.floating-circle:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.floating-circle.small {
  width: 40px;
  height: 40px;
}

.floating-circle.medium {
  width: 70px;
  height: 70px;
}

.floating-circle.large {
  width: 100px;
  height: 100px;
}

.floating-circle.primary {
  background: var(--primary-color);
}

.floating-circle.accent {
  background: var(--primary-color);
}

.floating-circle.light {
  background: var(--primary-color);
}

/* Carousel Section */
.carousel-section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(237, 106, 24, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 5px;
}

.carousel-btn:hover,
.carousel-btn:focus {
  background: rgba(237, 106, 24, 0.7);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

/* Navigation Cards Section */
.nav-section {
  padding: 80px 0;
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  
}



.nav-card {
  flex: 0 0 250px;
  height: 350px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.nav-card:hover {
  transform: translateY(-10px);
}

.nav-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.nav-card:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nav-card:hover .card-overlay {
  transform: translateY(0);
}

.card-overlay h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* Back to Top Button */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
  z-index: 1000;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: var(--primary-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#backToTopBtn.visible {
  opacity: 1;
}

#backToTopBtn:hover,
#backToTopBtn:focus {
  background-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
    width: 100%;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
  } 

  .carousel-container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .carousel-slide img {
    width: 100%;
    height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .carousel-slide img {
    height: 300px;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-card {
    flex: 0 0 calc(50% - 7.5px);
    height: 280px;
  }

  .footer-content {
    flex-direction: column;
  }

  .carousel-btn {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    align-items: center;
    width: 100%;
  }

  .nav-card {
    flex: 0 0 100%;
    width: 90%;
    height: 250px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .carousel-slide img {
    height: 250px;
  }

  .carousel-btn {
    font-size: 1.2rem;
    padding: 6px 10px;
  }
}
