/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Body Styling */
body {
  background-color: #f7f7f7;
  color: #333;
}

/* Container Styling */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* Header Section Styling */
header {
  background-color: #ff6600;
  padding: 15px 0;
  color: white;
}

header .logo-img {
  width: 100px; /* Adjust logo size */
  height: auto;
}

/* Navigation Styling */
nav {
  background-color: #333; /* Dark background for nav */
  padding: 10px;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 5px;
  background-color: #555;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #777; /* Slightly lighter on hover */
}

/* Hero Section Styling */
.hero {
  background-image: url('http://localhost/project/marriage/uploads/2.jpg'); /* Background Image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 20px;
  color: white;
  text-align: center;
}

.hero .container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Video Gallery Section */
.video-gallery {
  display: flex;
  justify-content: center; /* Center align video horizontally */
  align-items: center; /* Vertically center video */
  height: 100vh; /* Full viewport height */
  background-color: #f4f4f4;
  position: relative; /* Makes the section's position relative for absolute children */
  padding: 20px; /* Add padding for spacing */
}

/* Video Gallery Heading */
.video-gallery h3 {
  font-size: 2.5rem; /* Larger heading for emphasis */
  margin-bottom: 20px;
  color: #333; /* Darker color for contrast */
  font-weight: 600; /* Make the heading bold */
  letter-spacing: 1px; /* Add spacing between letters */
  text-transform: uppercase; /* Transform text to uppercase */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for better visibility */
}

/* Container inside the Video Gallery */
.video-gallery .container {
  text-align: center;
  position: absolute; /* Absolutely position to center the content */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Offset by 50% of element’s width and height for exact centering */
  animation: fadeIn 1s ease-out; /* Add animation for fading in */
}

/* Video Responsive Styling */
.video-gallery video {
  max-width: 100%; /* Ensure video scales responsively */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
  transition: transform 0.3s ease-in-out; /* Smooth transform transition */
}

/* Video Hover Effect */
.video-gallery video:hover {
  transform: scale(1.05); /* Slightly zoom the video on hover */
}

/* Animation for Fade-In Effect */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Image Gallery Section */
.image-gallery {
  background-color: #f4f4f4;
  padding: 40px 0;
}

/* Image Gallery Heading */
.image-gallery h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Gallery Container */
.image-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Individual Image Styling */
.image-gallery .gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Image Hover Effect */
.image-gallery .gallery img:hover {
  transform: scale(1.05); /* Zoom effect */
}

/* Footer Section Styling */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}
