:root {
  --primary-color: #FFD700;
  /* Vivid Yellow */
  --secondary-color: #111111;
  /* Deep Black */
  --text-color-light: #F5F5F5;
  --text-color-dark: #111111;
  --accent-color: #333333;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-speed);
}

img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: rgba(17, 17, 17, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.logo {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
  gap: 15px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
}

.logo img {
  max-height: 50px;
  /* Adjust height as needed */
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-color-light);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Hero Section (Subpages) */
.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-color-light);
}

.hero p {
  font-size: 1.2rem;
  color: #cccccc;
}

/* Hero Slider */
.hero-slider {
  height: 90vh;
  position: relative;
  overflow: hidden;
}

.slides-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  padding: 0 5%;
}

.slide.active {
  opacity: 1;
  z-index: 10;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 20;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease-out 0.3s;
  /* Delay content fade in */
}

.slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-slider h1 {
  font-size: 4rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-slider h1 span {
  color: var(--primary-color);
}

.hero-slider p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Slider Controls */
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--primary-color);
  color: #000;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.dots-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* Services Preview */
.services-section {
  padding: 5rem 5%;
  background-color: var(--secondary-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--accent-color);
  padding: 2rem;
  border-radius: 12px;
  transition: transform var(--transition-speed);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 6px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: #dddddd;
  font-size: 0.95rem;
}

/* About Preview */
.about-preview {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 5%;
  background-color: #0a0a0a;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--primary-color);
  box-shadow: 10px 10px 0px rgba(255, 215, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background-color: #000;
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--accent-color);
}

.footer-content h2 {
  color: var(--primary-color);
  margin-bottom: 0;
  /* Removed bottom margin */
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo img {
  max-height: 40px;
  width: auto;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-block;
  margin: 0 10px;
  color: var(--text-color-light);
  font-size: 1.2rem;
}

.social-links a:hover {
  color: var(--primary-color);
}

/* Contact Form Specifics revert */
.contact-container {
  background: var(--secondary-color) !important;
}

.form-group input,
.form-group textarea {
  background: #222 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
}

.form-group label {
  color: #ccc !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-slider h1 {
    font-size: 2.8rem;
  }

  .about-preview {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    height: calc(100vh - 70px);
    background-color: var(--secondary-color);
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    transition: 0.3s;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  /* Fix for mobile background images */
  .hero,
  .slide {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  /* Fix logo overlap on mobile */
  .logo {
    font-size: 1.2rem;
    gap: 8px;
  }

  .logo img {
    max-height: 40px;
  }
}