/* ================================
   Global Styles – 404 Culture Not Found
   ================================ */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
/* 🔍 Search Bar Styling */
.search-form {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.search-form input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.search-form button {
  padding: 6px 10px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: bold;
}

.search-form button:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .search-form {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background: #ffffff;
  padding: 1em 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
  text-align: center;
  margin: 0;
  color: #222;
}

.nav-menu {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #007BFF;
}

.hero {
  text-align: center;
  padding: 2em 0;
}

.hero img.group-photo {
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.animated-welcome {
  font-size: 1.8rem;
  color: #444;
  min-height: 40px;
}

/* Team Grid */
.team-grid,
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member,
.profile-card {
  background: #fff;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  text-align: center;
}

.profile-card img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 10px;
}

.profile-card:hover {
  transform: translateY(-5px);
}

.fun-fact {
  font-style: italic;
  color: #007BFF;
  margin-top: 10px;
}

/* Food Section */
.dish {
  margin-bottom: 3rem;
  background: #fff;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.dish img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 6px;
}

.toggle-recipe {
  margin: 1em 0;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.recipe-content {
  display: none;
  margin-top: 1em;
}

/* Travel Section */
.landmark {
  margin-bottom: 3em;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1em;
  margin: 1em 0;
}

.slider img {
  scroll-snap-align: start;
  width: 300px;
  height: 200px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Language Section */
.language-card {
  background: #fff;
  padding: 1em;
  margin-bottom: 2em;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

/* Contact Form */
.contact form {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.7em;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.contact button {
  margin-top: 1.5em;
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 1em 0;
  margin-top: 3em;
  font-size: 0.9em;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .hero img.group-photo {
    width: 100%;
  }

  .slider img {
    width: 100%;
  }
}
/* === Social Icons === */
.social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons img {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}
/* === Resume Button === */
.resume-button {
  text-align: center;
  margin-top: 10px;
}

.resume-button img {
  width: 120px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s;
}

.resume-button img:hover {
  transform: scale(1.05);
}
/* 🔍 Highlight Style for Search Results */
.highlight {
  background-color: yellow;
  font-weight: bold;
}
/* ================================
   Gallery Page
   ================================ */
.gallery-grid img,
.gallery-grid video {
  width: 100%;
  aspect-ratio: 1 / 1; /* ✅ forces perfect square for both */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: block;
}

.gallery-grid img:hover,
.gallery-grid video:hover {
  transform: scale(1.03);
}
