.body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212; /* Dark mode */
  color: #fff;
}

.gallery-section {
  padding: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns for larger screens */
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay span {
  font-size: 18px;
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr); /* 1 column for tablets and smaller screens */
  }
}

@media (max-width: 480px) {
  .overlay span {
    font-size: 14px; /* Smaller font size for mobile screens */
  }
}

.about-me-image,
.about-me-image-ipad {
    width: 100%; /* Make the image scale to fit its container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove unwanted spacing below images */
}

/* Optional: Style for specific devices */
@media (max-width: 768px) {
    .reels-info-00 {
        display: none; /* Hide desktop image on mobile */
    }
    .reels-info-00-m {
        display: block;
    }
}

@media (min-width: 769px) {
    .reels-info-00 {
        display: block;
    }
    .reels-info-00-m {
        display: none; /* Hide mobile image on larger screens */
    }
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #7e0202;
  padding: 20px;
}

/* Director Section */
.director-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000000;
}

.director-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  background: #000000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.director-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
}

.director-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}

.director-text {
  flex: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.director-text h1 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #ffffff;
}

.director-text p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .director-container {
      flex-direction: column;
      text-align: center;
  }

  .director-image img {
      border-radius: 10px 10px 0 0;
  }

  .director-text {
      padding: 15px;
  }

  .director-text h1 {
      font-size: 1.5rem;
  }

  .director-text p {
      font-size: 0.9rem;
  }
}

/* General Styles */
.why-work-with-me {
  padding: 50px 20px;
  background-color: #000000;
  color: #fff;
  text-align: center;
}

.why-work-with-me h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.why-work-with-me h2 span {
  color: #ff6a3d;
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.column {
  flex: 1;
  min-width: 280px;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.icon {
  font-size: 40px;
  color: #ff6a3d;
  margin-right: 15px;
  animation: bounce 2s infinite;
}

.text h3 {
  margin: 0;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.text p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  justify-content: space-between;
}

/* Icon Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
  }
  .column {
    flex: none;
    width: 100%;
  }
}

.pagewrapper-photography {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Space between images */
  padding: 10px;
}

.portfolio-image {
  flex: 1 1 calc(33.33% - 20px); /* Three images per row on larger screens */
  max-width: calc(33.33% - 20px);
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
}

/* Mobile-specific styles */
@media (max-width: 991px) {
  .portfolio-image {
    flex: 1 1 calc(50% - 20px); /* Two images per row */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .portfolio-image {
    flex: 1 1 100%; /* One image per row */
    max-width: 100%;
  }
}

.image-18 {
  width: 40px; /* Adjust size */
  height: 40px; /* Adjust size */
  display: inline-block;
}
.social-icon-box {
  display: inline-block;
  padding: 10px;
}

/* ✅ Clean Responsive Video Embed */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;   /* Limit max width on large screens */
  margin: 0 auto;      /* Center align */
  aspect-ratio: 16 / 9; /* Maintain 16:9 ratio */
  background: #000;     /* Prevent white flash */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* General Styling for the Video Section */
.films {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 0 auto;
  max-width: 100%;
}

.films + .gallery-section {
  margin-top: 30px; /* Add space between sections */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .films {
    padding: 10px;
  }
}
