/* =====================
   GENERAL STYLES
===================== */
body {
  background-color: #f5f7fa;
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* =====================
   CARD STYLES
===================== */
article {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 350px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* =====================
   TEXT STYLES
===================== */
h2 {
  color: #222;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

p {
  color: #555;
  line-height: 1.6;
}

/* =====================
   IMAGE STYLING
===================== */
figure {
  margin: 1rem 0;
}

figure img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #007bff;
  transition: transform 0.3s ease;
}

figure img:hover {
  transform: scale(1.05);
}

/* =====================
   LINKS STYLING
===================== */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

nav a {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* =====================
   LISTS (HOBBIES / DISLIKES)
===================== */
section h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

section ul {
  list-style: none;
  padding: 0;
  color: #444;
}

/* =====================
   RESPONSIVENESS
===================== */
@media (max-width: 600px) {
  article {
    max-width: 90%;
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  figure img {
    width: 100px;
    height: 100px;
  }
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

label {
  font-weight: bold;
}

input, textarea, button {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

.error-message {
  color: red;
  font-size: 0.9rem;
}

.success-message {
  color: green;
  font-weight: bold;
  text-align: center;
}
/* ====== GENERAL PAGE STYLES ====== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f6f7;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ====== NAVIGATION BAR ====== */
.navbar {
  background-color: #222;
  padding: 15px 0;
  text-align: center;
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar li {
  display: inline-block;
  margin: 0 15px;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: #1e90ff;
}

/* ====== ABOUT PAGE CONTENT ====== */
.about-content {
  flex: 1;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.about-content h2 {
  color: #111;
  margin-bottom: 10px;
}

.about-content p {
  margin-bottom: 25px;
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  color: #555;
  font-size: 0.9rem;
  padding: 10px 0;
  margin-top: 40px;
}
/* ===== Social Icons ===== */
.social-links {
  margin-top: 10px;
}

.social-links a {
  color: #333;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: #0077b5; /* or change to any color you like */
  transform: scale(1.2);
}


