/* Base Styles */
body {
  background: url('assets/bg.png') center/cover no-repeat;
  min-height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Cormorant Garamond;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Header with logo and nav */
.contact-header {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Home nav link top-left */
.top-nav {
  position: absolute;
  top: 1rem;
  left: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.nav-link:hover {
  color: aqua;
}

/* Logo styling */
.logo-wrapper {
  display: flex;
  justify-content: center;
}

.contact-logo {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
  transition: transform 0.3s ease;
}

.contact-logo:hover {
  transform: scale(1.08);
}

/* Main content wrapper */
.contact-main-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem;
}

/* Contact container layout */
.contact-container {
  display: flex;
  flex-direction: row;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  width: 100%;
  overflow: hidden;
  animation: fadeInUp 1s ease forwards;
  gap: 2rem;
  padding: 2rem;
}

/* Left Side */
.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  border: none;
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  line-height: 1.6;
}

.contact-info i {
  margin-right: 10px;
  color: aqua;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Right Side */
.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-right h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-right p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.contact-right iframe {
  width: 100%;
  height: 600px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Detail Icon Animations */
.detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.detail i {
  font-size: 1.2rem;
  color: #fff;
}

.detail:hover {
  transform: translateX(5px);
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .map-container iframe {
    height: 200px;
  }

  .contact-right iframe {
    height: 500px;
  }

  .contact-logo {
    width: 140px;
  }

  .nav-link {
    visibility: hidden;
  }

  .contact-right h2,
  .contact-info h2 {
    font-size: 1.5rem;
  }

  .contact-right p {
    font-size: 0.9rem;
  }

  .detail {
    font-size: 0.9rem;
  }
}
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.custom-form input,
.custom-form textarea {
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  background-color: #f9f9f9;
  color: #000;
}

.custom-form input:focus,
.custom-form textarea:focus {
  outline: none;
  border: 1px solid #00ffe1;
  box-shadow: 0 0 5px rgba(0, 255, 225, 0.5);
}

.custom-form textarea {
  resize: vertical;
  min-height: 120px;
}

.custom-form button {
  padding: 12px;
  background-color: #00ffe1;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.custom-form button:hover {
  background-color: #00ccbb;
}
