:root {
  --bg-light: #f0f4f8;
  --text-light: #222;
  --bg-dark: #1e1e1e;
  --text-dark: #eee;
  --primary: #3b5998;
}

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(120deg, #dbeafe, #f0f4f8);
  color: var(--text-light);
  transition: background 0.5s ease, color 0.5s ease;
}

body.dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

.container {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.image {
  flex: 1 1 50%;
  text-align: center;
  padding: 2rem;
}

.image img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1.5s ease;
}

.content {
  flex: 1 1 40%;
  padding: 2rem;
}

header h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.emails h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.emails a {
  display: block;
  margin: 0.3rem 0;
  color: var(--primary);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.emails a:hover {
  color: #0d47a1;
  transform: translateX(5px);
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
}

footer a {
  display: block;
  margin: 0.3rem 0;
  color: var(--primary);
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #0d47a1;
  transform: translateX(5px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 1rem;
  }
  .image, .content {
    flex: 1 1 100%;
    text-align: center;
  }
  #darkToggle {
    top: 0.5rem;
    right: 0.5rem;
  }
}
