/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Global Font Family */
body {
  font-family: 'Montserrat', sans-serif;
}

/* Header */
header {
  background-color: #ffffff; /* Dark header background */
  color: #000000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(40%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Gallery Section */
.gallery {
  padding: 4rem 2rem;
  background-color: #333;
}

.gallery h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

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

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #333;
  color: #fff;
}

.contact ul {
  list-style: none;
  margin-top: 1rem;
}

.contact li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #ffffff; /* Dark footer background */
  color: #000000;
  text-decoration: solid;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Dark background for modal */
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal-image {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.modal-details {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #ff6b6b; /* Light red for hover effect */
}

/* Style for Gallery Titles */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* Optional hover effect */
}

.gallery-item:hover img {
  transform: scale(1.05); /* Slight zoom on hover */
}

.gallery-title {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-title {
  opacity: 1; /* Ensure visibility on hover */
}

a {
  color: #81a6f7;
}
