/* === Base Styles === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  background: url('pexels-pixabay-265072.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Panel Container === */
.panel {
  width: 80%;
  max-width: 800px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* === Intro Section === */
.intro {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.intro img {
  width: 50%;        /* takes up half of the panel width */
  max-width: 400px;  /* optional: prevents oversized scaling */
  height: auto;      /* keeps original aspect ratio */
  object-fit: cover;
  border-radius: 12px;
}

.intro-text {
  flex: 1 ;               /* Take up remaining space next to the image */
  display: flex;
  flex-direction: column; /* keep text stacked vertically */
  justify-content: center; /* optional: vertically center with the image */
}

.intro-text h1 {
  margin: 0;
  font-size: 2em;
}

.intro-text p {
  margin: 5px 0 10px;
  font-size: 1.1em;
  color: #555;
}

/* === Contact Buttons === */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 20px;

}

.contact-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;         /* larger buttons */
  background-color: #DDC7A0;  /* same colour as tabs */
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-size: 1.1em;          
}

.contact-buttons button:hover {
  background-color: #c4b089;  /* darker shade for hover */
  transform: translateY(-2px); /* subtle lift */
}

.contact-buttons img {
  height: 26px;  /* bigger icons */
  width: 26px;
}

/* === Tabs === */
/* === Tabs === */
.tabs {
  display: flex;
  flex-direction: column; /* Change to stack buttons vertically */
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.tabs button {
  flex: none; /* Override flex: 1 to allow width: 100% to take effect */
  width: 100%; /* Make each button take the full width */
  padding: 12px;
  font-size: 1.1em;
  background-color: #DDC7A0;
  color: black;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}


.tabs button:hover {
  background-color: #0056b3;
}


}
/* === Content Sections === */
.content {
  margin-top: 20px;
}

.content img.large {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 12px;
}

.content .two-images {
  display: flex;
  gap: 10px;
}

.content .two-images img {
  width: 50%;
  height: 300px;
  object-fit: contain;
  border-radius: 12px;
}

/* === Utility === */
.hidden {
  display: none;
}

/* === Home Section Overrides === */
#home p,
#home h3 {
  margin: 0 5em;
}

/* === Bullet Lists === */
.bullets {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-family: sans-serif;
}

.list-box {
  flex: 1;
  max-width: 300px;
}

.list-box h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

ul {
  list-style-type: disc;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

/*style for cv*/
/* === CV Styling === */
.cv h1 {
  font-size: 2em;
  margin-bottom: 0.2em;
  text-align: center;
}

.cv h2 {
  color: #333;
  margin-top: 1em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
}

.cv ul {
  list-style-type: none;
  padding-left: 0;
}

.cv ul li {
  margin-bottom: 0.5em;
}

.cv p {
  margin: 0.2em 0;
}

.cv a {
  color: #0056b3;
  text-decoration: none;
}

.cv a:hover {
  text-decoration: underline;
}

/* Optional: two-column layout for bigger screens */
@media (min-width: 700px) {
  .cv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cv h1, .cv h2 {
    grid-column: 1 / -1; /* headers span both columns */
  }
}


/* === Responsive === */
@media (max-width: 600px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .contact-buttons {
    justify-content: center;
  }

  .tabs {
    flex-direction: column;
  }

  .tabs button {
    width: 100%;
  }

  #home p,
  #home h3 {
    margin: 0 1em;
  }

  .bullets {
    flex-direction: column;
    align-items: center;
  }

  .content .two-images {
    flex-direction: column;
  }

  .content .two-images img {
    width: 100%;
    height: auto;
  }
}
