/* Inside your CSS file (e.g., style.css) */

html {
    scroll-behavior: smooth;
}

header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

header img {
    display: flex;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    //margin: 100px;
    background: #15221f;
    font-family: "Cormorant Unicase", sans-serif;
    font-weight: 200;
    font-style: normal;
    letter-spacing: 3px;
}

main {
    margin-left: 50px;
    margin-right: 50px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Flexbox for horizontal layout */
    justify-content: space-evenly; /* Evenly space the menu items */
    align-items: center; /* Vertically center the items */
    position: absolute; /* Position over the header image */
    width: 100%;
    top: 0; /* Stick it to the top of the header */
    z-index: 2; /* Ensure it's above the image */
}

nav {
    position: absolute;
    top: 20px; /* This creates a margin between the top of the page and the menu */
    width: 100%;
}

nav a {
    text-shadow: #fc0 1px 0 10px;
}

/* Style each menu item */
li {
    text-align: center;
}

a {
    text-decoration: none;
    color: #d4ac40; /* White text for the menu */
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
}

/* Add hover effect */
a:hover {
    color: #f1f1f1;
}

/* Style for the header and image */
header {
    position: relative;
    width: 100%;
}

header img {
    width: 100%;
    height: auto;
    display: block; /* Prevents unwanted space below the image */
    margin: 0px;
}

/* Style the title section within the main */
.title-section {
    text-align: center;
    margin: 0px; /* Adds space between the header image and title */
    margin-top: 100px;
}

.page-title {
    font-size: 4em; /* Adjust the size as needed */
    color: #d4ac40; /* Set the color for the title */
    margin: 0px;
}


/* Center the image */
.image-section {
    text-align: center; /* Centers the content inside the section */
    margin-top: 30px; /* Adds space between the title and the image */
}

.centered-image {
    //display: block;
    max-width: 100%; /* Ensures the image doesn't overflow */
    height: auto; /* Maintains aspect ratio */
    //margin-left: auto;
    //margin-right: auto;
    //padding-left: 10px;
    //padding-right: 10px;
}

.centered-small-image {
    display: block;
    max-width: 60%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Style the text section between the title and the image */
.text-section {
    text-align: center; /* Centers the text */
    margin-top: 20px; /* Adds space between the title and text */
    margin-bottom: 20px;
    padding: 0 20px; /* Optional: Adds some padding on the left and right */
    //margin-left: 20px;
    //margin-right: 20px;
    //white-space: pre;
}

/* Style the text in the text section */
.text-section p {
    font-size: 1.2em; /* Adjust the font size as needed */
    line-height: 1.6; /* Adjust line height for readability */
    color: white; /* Set a softer color for the text */
    letter-spacing: 1px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1000px;
    text-align: center;
    font-family: "Open Sans", sans-sherif;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px; /* space between icons */
    margin: 20px 0;
}

.social-icons img {
    width: 100px;
    height: 100px;
    max-width: 100%;
    display: inline-block;
    object-fit: contain;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.icon-button {
  background-color: transparent; /* or any color you want */
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.icon-button img {
    width: 350px;
    height: auto;
}

h1 {
    white-space: pre;
}

/* Base layout for desktop/tablet */
.team-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin: 80px 0;
  text-align: center;
}

.team-photo {
  max-width: 50%;
  height: auto;
  border-radius: 20px;
}

/* Name and role labels below the image */
.team-labels {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
}

.team-member h3 {
  color: #d4ac40;
  font-size: 2em;
  margin: 0;
}

.team-member p {
  font-size: 1.5em;
  color: #aaa;
  margin-top: 10px;
}

/* === Mobile adjustments === */
@media screen and (max-width: 768px) {
  .team-labels {
    flex-direction: column;
    gap: 24px;
  }

  .team-member h3 {
    font-size: 1.5em;
  }

  .team-member p {
    font-size: 1.2em;
  }

  .team-photo {
    max-width: 100%;
  }
}
