/* ==================== Global Body & Header ==================== */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(to right, #fff3e0, #ffe0b2); /* warm theme */
  color: #333;
  text-align: center;
}

header {
  background: #8b0000;
  color: white;
  padding: 20px;
  font-size: 32px;
  font-weight: bold;
  font-family: cursive;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ==================== Section Titles ==================== */
.section-title,
.about h2,
.profile h2 {
  font-size: 28px;
  font-family: cursive;
  margin: 30px 0 20px;
  color: #8b0000;
  text-align: center;
}

/* ==================== About Section (Table Style) ==================== */
.about {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  font-size: 18px;
}

.about table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.about th, .about td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.about th {
  background: #8b0000;
  color: white;
  font-weight: bold;
  width: 200px;
}

.about tr:hover {
  background: #fff2f2;
}

/* ==================== Highlights Section (Table Style) ==================== */
.profile {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  font-size: 18px;
}

.profile table {
  width: 100%;
  border-collapse: collapse;
}

.profile th, .profile td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.profile th {
  background: #8b0000;
  color: white;
  width: 180px;
}

.profile tr:hover {
  background: #fff2f2;
}

/* ==================== Gallery Section ==================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 40px;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.caption {
  padding: 12px;
  font-weight: bold;
  background: #fafafa;
  text-align: center;
}

/* ==================== Footer ==================== */
footer {
  background: #333;
  color: white;
  padding: 20px;
  margin-top: 40px;
  font-size: 18px;
}

footer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  .about table, .profile table, .about th, .profile th {
    display: block;
    width: 100%;
  }
  .about th, .profile th {
    background: #8b0000;
    color: white;
    padding: 10px;
  }
  .about td, .profile td {
    padding: 10px;
  }
}

