:root {
  --gold-light: #c9b37e;    /* softer light gold */
  --gold-medium: #a68b4a;   /* muted medium gold */
  --gold-dark: #7a6537;     /* deep warm gold */
}

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #111;
}

header {
  background-color: #f4f4f4;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--gold-medium);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--gold-light);
}

main {
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
}

.project {
  margin-bottom: 2rem;
  border-left: 3px solid var(--gold-medium); /* gold sidebar */
  padding-left: 1rem;
  transition: background-color 0.3s ease;
}

.project:hover {
  background-color: #f9f6ea; /* subtle warm highlight on hover */
}

.project p {
  color: #222;
}

footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 1rem;
}

/* General links with gold accent */
a {
  color: var(--gold-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Download Resume button */
.btn-resume {
  background: linear-gradient(135deg, var(--gold-medium), var(--gold-dark));
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  box-shadow: 0 6px 15px rgba(122, 101, 55, 0.5);
  border: 2px solid var(--gold-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-resume:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-medium));
  box-shadow: 0 0 25px 8px rgba(166, 139, 74, 0.8);
  transform: scale(1.07);
}

/* Experience section */
#experience {
  margin-bottom: 3rem;
}

.experience-item {
  margin-bottom: 2rem;
  border-left: 3px solid var(--gold-medium);
  padding-left: 1rem;
  transition: background-color 0.3s ease;
}

.experience-item:hover {
  background-color: #f9f6ea; /* subtle warm highlight on hover */
}

#experience h2 {
  margin-bottom: 1rem;
}

.experience-item h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.3rem;
}

.experience-item p {
  margin: 0.3rem 0 0.8rem 0;
  font-style: italic;
  color: #555;
}

.experience-item ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
  color: #333;
}

/* About section */
.about-section {
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  align-items: center;
  gap: 2rem;
}

.about-image img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold-medium);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.about-text {
  flex: 1;
  min-width: 250px;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--gold-medium);
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* space between links */
    padding: 1rem 0;
  }

  nav a {
    margin-left: 0; /* remove horizontal margin */
    font-size: 1.2rem; /* slightly larger for tap targets */
    padding: 0.5rem 1rem;
    width: 100%; /* full width for easier tapping */
    text-align: center;
    box-sizing: border-box;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }
}

/* Alternate gold tones for very small screens */
@media (max-width: 600px) {
  :root {
    --gold-light: #d6c88f;    /* softer light gold */
    --gold-medium: #b3a060;   /* muted medium gold */
    --gold-dark: #8e7a43;     /* deep warm gold */
  }
}
