/* basic colors and stuff */
:root {
    --primary-color: #5e4d9e;
    --dark-color: #2c1b2d;
    --light-color: #C69AA4;
    --notsolight-color: #B58A94;
    --white-color: #ffffff;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Playfair Display', serif;
    margin: 0 auto;
    padding: 0 0px;
}

/* body styles */
body {
    font-family: var(--body-font);
    background-color: var(--white-color);
    margin: 0;
    color: var(--dark-color);
    line-height: 1.6;
    overscroll-behavior: none;
}

main-body {
    padding-top: 9vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* heading styles */
h1, h2, h3, h4 {
    font-family: var(--header-font);
    font-weight: 700;
}

h1 {
    font-size: 5.5rem;
}

/* about page stuff -- u can change the url of the photo depending on what you want the header to be */

.about-hero {
    background-image: url("../cover.png");
    background-color: rgba(0, 0, 0, 0.5); /* The black tint layer */
    background-blend-mode: multiply; /* Blends the color and image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* allows the background image to stay fixed while scrolling */
    height: 50vh;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
}
@media (max-width: 700px) {
  .about-hero h1 {
    font-size: 2.4rem;      /* Smaller text on mobile */
  }
  .about-hero {
    background-position: center top; /* Show more of the image's top */
    background-size: 200% auto;        /* Prevents zooming/cropping */
    background-repeat: no-repeat;
    height: 50vh;
    padding: 0 6px;
  }
}

.team-section {
    padding: 4rem 0;
    background-color: #fff;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--dark-color);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    background: var(--light-color);
    padding: 1.5rem;
    width: 300px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.team-member h3 {
    margin-top: 1rem;
    color: var(--primary-color);
}
.team-member h4 {
    font-size: 1.4rem;
    text-align: center;
    color: var(--secondary-color);
}
.team-member p {
    font-size: 1rem;
    line-height: 1.4;
    color: #302828;
}