/* ============================
   Custom Styles for HUDAWI Site
   ============================ */

/* Modern nav links */
.nav-link {
  position: relative;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #b45309; /* amber-ish */
  transition: width 0.18s ease;
}

.nav-link:hover {
  color: #111827;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-primary {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #b45309;
  color: #f9fafb !important;
  box-shadow: 0 8px 18px rgba(180, 83, 9, 0.25);
}

.nav-link-primary:hover {
  background: #92400e;
  color: #ffffff !important;
}


/* Hero backgrounds */
.hero-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://huggingface.co/spaces/jjpinnock123/hudawi-heritage-horizon/resolve/main/images/About%20us.jpg");
  background-size: cover;
  background-position: center;
}

.about-hero,
.bio-hero,
.gallery-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://huggingface.co/spaces/jjpinnock123/hudawi-heritage-horizon/resolve/main/images/About%20us.jpg");
  background-size: cover;
  background-position: center;
}

/* Quote icon (rotated) */
.quote-icon {
  transform: rotate(180deg);
  display: inline-block;
}

/* Bio cards */
.bio-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Gallery items */
.gallery-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Upload area */
.upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.upload-area:hover {
  border-color: #d97706; /* amber-600 */
}
.upload-area.dragover {
  border-color: #d97706;
  background-color: #fef7e7; /* light amber tint */
}


/* Forms */
.form-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.form-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.45rem;
}

.form-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.85rem 1rem;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #b45309;
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.12);
}

select.form-input {
  appearance: none;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-button:hover {
  background: #92400e;
  transform: translateY(-1px);
}

.checkbox-pill,
.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}

.checkbox-pill input,
.checkbox-card input {
  margin-top: 0.2rem;
  accent-color: #b45309;
}

.checkbox-pill span,
.checkbox-card span {
  color: #334155;
}

@media (max-width: 768px) {
  .form-card {
    padding: 1.25rem;
  }
}
