/* ============================= */
/* RESET & GLOBALS */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  background: #d9d9d9;

  /* Mac rendering fixes */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================= */
/* VIDEO BACKGROUND */
/* ============================= */

.background-video {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  object-fit: cover;

  z-index: -1;

  pointer-events: none;

  /* Fix Mac Chrome / Safari rendering */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #eeeeee;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap img {
  height: 40px;
}

.logo-text {
  font-weight: 600;
  font-size: 14px;
}

/* Navigation Links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.nav-label {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}

/* Dropdown */

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #eeeeee;
  display: none;
  flex-direction: column;
  min-width: 140px;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown-content a {
  padding: 8px 15px;
  text-decoration: none;
  color: #000;
}

.dropdown-content a:hover {
  background: #f5f5f5;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* ============================= */
/* PAGE CONTENT */
/* ============================= */

.page-content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 120px;
  padding-left: 40px;
  padding-right: 40px;
  z-index: 1;
  position: relative;
}

/* ============================= */
/* HOME HERO SECTION */
/* ============================= */

.hero-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-page .services-text {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.6;
  color: #000;
}

.home-page .services-text p {
  margin-bottom: 25px;
}

/* ============================= */
/* VIDEO GRID */
/* ============================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.video-card {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================= */
/* IMAGE GRID */
/* ============================= */

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* ============================= */
/* ABOUT SECTION */
/* ============================= */

.about-section {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-image img {
  max-width: 300px;
  border-radius: 12px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

/* ============================= */
/* CONTACT SECTION */
/* ============================= */

.contact-section {
  max-width: 700px;
  margin: 60px auto;
  padding: 60px 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item strong {
  display: inline-block;
  width: 110px;
}

.contact-item a {
  text-decoration: none;
  color: #4B0082;
}

.contact-item a:hover {
  color: #2e004d;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
  margin-top: auto;
  padding: 30px;
  text-align: center;
  background: #d9d9d9;
  border-top: 1px solid #eeeeee;
  font-size: 14px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

/* Tablet */

@media (max-width: 1024px) {

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* Mobile */

@media (max-width: 768px) {

  .nav-container {
    padding: 0 20px;
  }

  .logo-text {
    display: none;
  }

  .nav-links {
    gap: 15px;
    font-size: 14px;
  }

  .page-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-page .services-text {
    font-size: 22px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* Small phones */

@media (max-width: 480px) {

  .home-page .services-text {
    font-size: 20px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

}
