:root {
  --dark: #1f1f1f;
  --light: #ffffff;
  --orange: #ff8c00;
  --grey: #2b2b2b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(31, 31, 31, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
}

nav h1 {
  color: var(--orange);
  font-size: 1.4rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--light);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--orange);
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  background: linear-gradient(120deg, #1f1f1f, #2c2c2c);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content span {
  color: var(--orange);
}

.banner {
  overflow: hidden;
  white-space: nowrap;
  margin-top: 20px;
}

.banner p {
  display: inline-block;
  padding-left: 100%;
  animation: moveBanner 15s linear infinite;
  color: var(--orange);
  font-weight: bold;
}

@keyframes moveBanner {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ---------- SECTIONS ---------- */
section {
  padding: 80px 10%;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--orange);
}

/* ---------- ABOUT ---------- */
.about p {
  text-align: center;
  max-width: 800px;
  margin: auto;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-box {
  background: var(--grey);
  padding: 15px;
  border-radius: 8px;
  text-align: justify;
}

.service-box h3 {
  margin-bottom: 10px;
  color: var(--orange);
  text-align: center;
}

/* ---------- RATES ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--grey);
}

th,
td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #444;
}

th {
  background: var(--orange);
  color: var(--dark);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.testimonial {
  background: var(--grey);
  padding: 20px;
  border-radius: 8px;
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
}

/* ---------- CONTACT ---------- */
.contact form {
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 15px;
}

input,
textarea,
button {
  padding: 12px;
  border: none;
  border-radius: 5px;
}

button {
  background: var(--orange);
  color: var(--dark);
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 20px;
  background: #151515;
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  section {
    padding: 60px 6%;
  }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.arrow.left {
  left: 20px;
}
.arrow.right {
  right: 20px;
}

.arrow:hover,
.close:hover {
  color: var(--orange);
}

@media (max-width: 768px) {
  .arrow {
    font-size: 35px;
  }
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content h2 {
  font-size: 3rem;
}

.hero-content span {
  color: var(--orange);
}

.hero-content p {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Mobile scaling */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.2rem;
  }
}

/* ---------- SCROLL DOWN ARROW ---------- */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.scroll-down span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(45deg);
  animation: arrowBounce 1.6s ease-in-out infinite;
}

@keyframes arrowBounce {
  0% {
    transform: translateY(0) rotate(45deg);
    opacity: 1;
  }
  50% {
    transform: translateY(8px) rotate(45deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 1;
  }
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .scroll-down {
    bottom: 25px;
  }
}
/* ---------- MOBILE MENU ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--light);
  transition: 0.3s ease;
}

/* Mobile view */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .nav-links li {
    padding: 15px 0;
    border-bottom: 1px solid #333;
  }

  .nav-links.active {
    max-height: 350px;
  }

  /* Hide desktop layout */
  nav ul {
    gap: 0;
  }
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(31, 31, 31, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--light);
}

.nav-links a:hover {
  color: var(--orange);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s ease;
}

/* ---------- MOBILE VIEW ---------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .nav-links.active {
    max-height: 470px;
  }

  .nav-links li {
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid #333;
    text-align: center;
  }
}

/* Hamburger animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* ---------- BRAND / LOGO ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 38px;
  height: auto;
}

.brand span {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--orange);
}

/* Scale logo slightly on mobile */
@media (max-width: 768px) {
  .brand img {
    width: 32px;
  }
}

/* ---------- BACK TO TOP ---------- */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--dark);
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2000;
}

#backToTop:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* Mobile positioning */
@media (max-width: 768px) {
  #backToTop {
    bottom: 20px;
    right: 20px;
  }
}

/* ---------- CONTACT MAP SECTION ---------- */
.contact-map {
  position: relative;
  min-height: 500px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) brightness(0.6);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.contact-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 600px;
  background: rgba(31, 31, 31, 1);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.contact-content h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--orange);
}

.contact-content form {
  display: grid;
  gap: 15px;
}

.contact-content input,
.contact-content textarea {
  background: #2b2b2b;
  color: white;
}

.contact-content input::placeholder,
.contact-content textarea::placeholder {
  color: #bbb;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-content {
    padding: 25px;
  }
}

/* ---------- TESTIMONIAL SLIDER ---------- */
.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  width: 500px;
  /* max-width: 400px; */
  background: var(--grey);
  padding: 25px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Arrows */
.testi-arrow {
  background: none;
  border: none;
  color: var(--orange);
  font-size: 40px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.testi-arrow:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .testimonial {
    width: 300px;
  }

  .testi-arrow {
    font-size: 32px;
  }
}
