/* Reset and Base Styles */
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.main-content {
  flex: 1;
}

.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin: 80px auto;
  padding: 20px;
  max-width: 1200px;
}

.iframe {
  border-radius: 8px;
  width: 700px;
  height: 400px;
  flex: 1;
}

.contact-info {
  flex: 1;
  padding: 20px;
  text-align: center;
}

.contact-info h1 {
  margin-top: 0;
  color: #333;
}

.contact-info p {
  margin: 15px 0;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 120px;
  padding: 20px;
  flex-wrap: wrap;
}

.image-container {
  perspective: 1000px;
  width: 250px;
  height: 250px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container:hover .flip-card {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  transform: rotateY(180deg);
  background: rgba(0, 0, 0, 0.7);
}

.flipped-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.7);
  transform: scaleX(-1);
}

.img-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 50px 0;
}

.social-media a {
  color: #333;
  font-size: 2rem;
  transition: color 0.3s;
}

.social-media a:hover {
  color: #2a6fdb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    margin: 40px auto;
  }

  .iframe {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
  }

  .gallery {
    gap: 40px;
  }
}
