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

@font-face {
  font-family: "Main";
  src: url(assets/fonts/BDLifelessGrotesk-Regular.otf) format("opentype");
}
@font-face {
  font-family: "MainLight";
  src: url(assets/fonts/BDLifelessGrotesk-Light.otf) format("opentype");
}
@font-face {
  font-family: "Secondary";
  src: url(assets/fonts/Intrigora-Medium.otf) format("opentype");
}
@font-face {
  font-family: "Extra";
  src: url(assets/fonts/Neue\ Kaine\ Variable.ttf) format("truetype");
}

body {
  font-family: "Main";
  background-color: #f8f9fa;
}

/* Navbar */
.navbar {
  font-family: "Extra";
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo img {
  height: 50px;
}

/* Desktop Navigation */
.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  background: #333;
  width: 30px;
  height: 3px;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-container {
    display: none; /* Hide all nav links initially */
    flex-direction: column;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 60px;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-container.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .logo {
    margin: 1rem 0;
  }
}
/* Keyframes for animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Animation classes */
.appear {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.appear-up {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.appear-delay {
  animation-delay: 0.3s;
}

.appear-up-delay {
  animation-delay: 0.5s;
}

/* Services Section */
.services-section {
  flex: 1;
  padding: 4rem 2rem;
  text-align: center;
  animation: fadeIn 1.2s ease forwards;
}

.services-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.services-header p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.bento-box {
  background: #dbdbdb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.bento-box:nth-child(1) {
  animation-delay: 0.3s;
}

.bento-box:nth-child(2) {
  animation-delay: 0.5s;
}

.bento-box:nth-child(3) {
  animation-delay: 0.7s;
}

.bento-box:nth-child(4) {
  animation-delay: 0.9s;
}

.bento-title {
  background: #660000;
  color: white;
  font-size: 1.5rem;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
}

.bento-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 1rem;
}

.bento-images img {
  width: 100%;
  height: 200px; /* Adjust height to control zoom level */
  object-fit: cover; /* Ensures images fill their box without distortion */
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-images img:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #222;
  color: white;
  margin-top: auto;
  animation: fadeIn 1s ease forwards;
}

footer p {
  font-size: 0.9rem;
}
