
:root {
  --primary: #121212;
  --accent: #ff6a00;
  --text-light: #e0e0e0;
  --text-muted: #aaa;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--text-light);
  scroll-behavior: smooth;
  background-image: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.6)), url('assets/images/bg-revanta-bdb.jpeg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.6)), url('assets/images/bg-rebanta-img.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  background-attachment: fixed;
}

.navbar {
  width: 100%;
  /* background: transparent; */
  background: #0000008f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  padding: 10px 20px;
  margin: auto;
}

.logo {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px; /* adjust as needed */
  width: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: logoPulse 2.5s infinite ease-in-out;
}

/* Hover interaction */
.logo img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.8);
}

/* Gentle pulsing animation */
@keyframes logoPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.8);
    transform: scale(1.05);
  }
}

.logo span {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: bold;
  white-space: nowrap;
}


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

.nav-links li a {
  text-decoration: none;
  color: var(--accent);
  font-weight: bold;
  transition: 0.3s;
}

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

.hero-text {
  /* margin-top: auto; */
  padding-top: 120px;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--accent);
  text-transform: uppercase;
}

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

.btn {
  background: var(--accent);
  color: #000;
  padding: 0.75rem 2rem;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s;
}

.btn:hover {
  background: #e90a0a65;
  color: var(--accent);
}
.section {
  padding: 60px 20px;
  /* text-align: center; */
  background-attachment: fixed;
}

.section p {
  /* color: var(--accent); */
  font-weight: bold;
  font-size: 18px;
  background-color: #00008b36;
  border: solid 1px white;
  border-radius: 45px;
  padding: 27px;
  text-align: justify;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.product-gallery,
.cert-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;

}

.products{
  background-color: #00000040;
}
.product-gallery img,
.cert-gallery img {
  width: 300px;
  height: 300px;
  border: 2px solid #333;
  border-radius: 10px;
}

.product-card img {
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  border-radius: 8px;
  cursor: pointer;
  border: solid 2px whitesmoke;
  border-radius: 12px;
  padding: 3px;
}

.product-card img:hover {
  transform: scale(1.05) rotateZ(-1deg);
  box-shadow: 0 10px 25px rgba(38, 118, 240, 0.4);
  filter: brightness(1.1) contrast(1.05);
}

input, textarea {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.gallery-section {
  padding: 60px 20px;
  position: relative;
  z-index: 10;
}

.section-contact{
  background-color: #00000040;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(255, 106, 0, 0.3);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  z-index: 5;
}

.gallery-img:hover {
  transform: scale(1.05) rotateZ(1deg);
  box-shadow: 0 12px 35px rgba(255, 106, 0, 0.5);
  filter: brightness(1.1) saturate(1.2);
  z-index: 10;
}

.product-header{
  text-align: center;
}

/* Hamburger Base */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -290px;
    height: 100%;
    width: 250px;
    background: rgba(18, 18, 18, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 20px;
    transition: right 0.4s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.5);
    z-index: 1000;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Delay each menu item for stagger effect */
  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
  .nav-links.active li:nth-child(6) { transition-delay: 0.6s; }

  /* Hamburger Animation to X */
  .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);
  }
}

#contactForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contactForm button {
  display: inline-block;
  margin-top: 15px;
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.4s ease;
}

.lightbox img.show {
  opacity: 1;
  transform: scale(1);
}

/* Navigation Arrows */
.lightbox .nav-arrow {
  position: absolute;
  top: 50%;
  font-size: 2.5rem;
  color: var(--accent);
  background: rgba(0,0,0,0.5);
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
  border-radius: 5px;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

.lightbox .nav-arrow:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

/* Close Button */
.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
}

footer {
  background: var(--accent);;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  /* color: var(--text-muted); */
  color:#121212
}