/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e8e8e8;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header and main title */
h1 {
  text-align: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation */
nav {
  margin-bottom: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav ul li {
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #e8e8e8;
  padding: 12px 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

nav ul li a:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  z-index: -1;
}

nav ul li a:hover:before {
  left: 0;
}

nav ul li a:hover {
  color: #d4af37;
  border-color: #d4af37;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Figure and image styling */
figure {
  text-align: center;
  margin: 40px 0;
}

figure img {
  border-radius: 50%;
  border: 4px solid #d4af37;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
}

figure img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.8), 0 12px 30px rgba(0, 0, 0, 0.5);
}

figcaption {
  margin-top: 20px;
  font-style: italic;
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Horizontal rules */
hr {
  border: none;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af37,
    #ffd700,
    #d4af37,
    transparent
  );
  margin: 40px 0;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Main content */
main {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Headings */
h2 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #ffd700);
  border-radius: 2px;
}

/* Paragraphs */
p {
  margin-bottom: 20px;
  text-align: justify;
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.8;
}

/* Lists */
ul {
  margin: 20px 0;
  padding-left: 30px;
}

li {
  margin-bottom: 12px;
  line-height: 1.8;
  color: #cccccc;
}

main ul li {
  position: relative;
}

main ul li::marker {
  color: #d4af37;
  font-weight: bold;
}

/* Links */
a {
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

a:hover {
  color: #ffd700;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.6);
}

a:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #ffd700);
  transition: width 0.3s ease;
}

a:hover:after {
  width: 100%;
}

/* Email links */
a[href^="mailto:"] {
  background: linear-gradient(135deg, #d4af37, #ffd700);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

a[href^="mailto:"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

a[href^="mailto:"]:after {
  display: none;
}

/* Strong text */
strong {
  color: #d4af37;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(212, 175, 55, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  margin-top: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  color: #999;
  letter-spacing: 0.5px;
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 10px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-attachment: fixed;
  }

  h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
  }

  nav {
    margin-bottom: 25px;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 8px;
    border-radius: 12px;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  nav ul li a:hover {
    transform: translateY(-1px);
  }

  figure {
    margin: 25px 0;
  }

  figure img {
    max-width: 220px;
    height: auto;
    width: 100%;
  }

  figcaption {
    font-size: 1.1rem;
    margin-top: 15px;
  }

  hr {
    margin: 25px 0;
    height: 2px;
  }

  main {
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
  }

  ul {
    padding-left: 20px;
    margin: 15px 0;
  }

  li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  footer {
    padding: 20px;
    border-radius: 12px;
  }

  footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 8px;
  }

  h1 {
    font-size: 1.7rem;
    letter-spacing: 0.5px;
  }

  nav ul {
    padding: 10px;
    gap: 6px;
  }

  nav ul li a {
    padding: 12px 15px;
    font-size: 1rem;
  }

  figure img {
    max-width: 180px;
  }

  figcaption {
    font-size: 1rem;
  }

  main {
    padding: 15px;
    border-radius: 12px;
  }

  h2 {
    font-size: 1.3rem;
  }

  h2:after {
    width: 60px;
    height: 2px;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  ul {
    padding-left: 18px;
  }

  li {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  a[href^="mailto:"] {
    padding: 6px 12px;
    font-size: 0.9rem;
    display: inline-block;
    margin: 2px 0;
  }

  strong {
    font-size: 0.95rem;
  }

  footer {
    padding: 15px;
  }

  footer p {
    font-size: 0.85rem;
  }
}

/* Extra small phones */
@media (max-width: 320px) {
  h1 {
    font-size: 1.5rem;
  }

  nav ul li a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  figure img {
    max-width: 150px;
  }

  main {
    padding: 12px;
  }

  h2 {
    font-size: 1.2rem;
  }

  p,
  li {
    font-size: 0.85rem;
  }
}
