/* ========================================== */
/* GLOBAL STYLES & TYPOGRAPHY                 */
/* ========================================== */
.name-title, .main-category {
  color: darkgreen;
  font-family: "Eagle Lake", serif;
  font-weight: 900;
  font-style: normal;
}

body {
    font-family: 'Tagesschrift', serif;
    font-weight: 400;
    background-color: #FCFAEB;
    color: #333;
    max-width: 800px;
    margin: 3% auto;
    padding: 3vw 2vw;
    text-align: center;
}

.intro-section {
    margin-bottom: 5%;
}

h1.name-title {
    letter-spacing: 3px;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.intro-quote {
    font-family: 'Tagesschrift', serif;
    font-size: 1.15em;
    font-style: italic;
    color: #4a5d4e;
    max-width: 600px;
    margin: 10px auto 0 auto;
    line-height: 1.5;
}


/* ========================================== */
/* CSS BOX MODEL PANEL STYLING                */
/* ========================================== */

/* Shared class for all major YNC section panels */
.panel {
    background-color: #F8F8FF;
    padding: 3vw 3vw;          /* Internal padding using the Box Model */
    margin: 4% auto;           /* External margins using the Box Model */
    border: 2px solid #dcd6cd; /* Visible borders using the Box Model */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.panel {
    background-color: #F8F8FF;
    padding: 3vw 3vw;          /* Internal padding using the Box Model */
    margin: 4% auto;           /* External margins using the Box Model */
    border: 2px solid #dcd6cd; /* Outer container border for all panels */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Unique ID specific adjustments if needed */
#mindsets {
    background-color: #F8F8FF;
}

.panel img {
    max-width: 100%;
    height: auto;
}

/* Individual content item boxes inside panels */
.content-item {
    background-color: #fdfdfd;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
}

/* Typography styles */
h2.main-category {
    margin-top: 2%;
    margin-bottom: 4%;
    letter-spacing: 2px;
    font-size: 1.8em;
}

h3 {
    font-weight: normal;
    color: #444;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

p {
    color: #666;
    margin-bottom: 15px;
}

/* ========================================== */
/* IMAGE STYLING                              */
/* ========================================== */
.content-item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 450px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #ddd;
}

.panel > img {
    border-radius: 8px;
    border: 1px solid #dcd6cd;
}

/* Divider styling */
hr {
    border: 0;
    height: 2px;
    background-color: #E0D7B4;
    margin: 6% 0;
}

/* ========================================== */
/* RESPONSIVE PHOTO GALLERY FLEXBOX STYLING   */
/* ========================================== */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Creates nice spacing between your images */
    margin-top: 20px;
}

.gallery-item {
    width: 28%; /* Uses responsive percentage sizing */
    min-width: 150px; /* Ensures they don't get too small on mobile */
    background-color: #fff;
    padding: 10px;
    border: 1px solid #dcd6cd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 150px; /* Keeps thumbnails neatly uniform */
    object-fit: cover; /* Prevents images from looking squished */
    border-radius: 4px;
}

/* ========================================== */
/* INTERACTIVITY, NAV, & HOVER EFFECTS        */
/* ========================================== */

/* Enables smooth scrolling across the whole page */
html {
    scroll-behavior: smooth;
}

/* Upgraded pill-shaped navigation menu */
.vision-nav {
    margin: 25px 0 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.vision-nav a {
    text-decoration: none;
    background-color: #f4f1e8;
    color: darkgreen;
    font-family: 'Tagesschrift', serif;
    padding: 10px 20px;
    border: 2px solid #d5cebe;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.vision-nav a:hover {
    background-color: darkgreen;
    color: #FCFAEB;
    border-color: darkgreen;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Subtle lift and shadow hover effect for content blocks */
.content-item, .gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-item:hover, .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}