/* General Page Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #ffffff;
    background-color: #f5f5f5;
}

/* Header Section */
.header-background {
    background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)), url("../images/mdn_header_photo_image1.jpg") no-repeat center center / cover;
    color: white;
    text-align: center;
    padding: 30px 0;
    border-radius: 10px;
}

.header-background h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 -2px -2px 4px rgba(0, 0, 0, 0.8);
}



.header-subtitle {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

blockquote {
    font-size: 1.1rem;
    margin: 15px 0;
    font-style: italic;
    color: #eee;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

nav {
    margin-top: 20px;
}

nav a {
    color: #eee;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Spacer */
.spacer {
    height: 30px;
    background: transparent;
}


/* Standard Tile Styles */
.tile {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url("../images/mdn_case_study_training.jpg") no-repeat center center / cover;
    border-radius: 10px;
    margin: 20px auto;
    padding: 20px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.85);
    max-width: 1200px;
}
.intro-tile {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255,255,255, 0.3)), url("../images/mdn_highlight_card_image_leadership.jpg") no-repeat center center / cover;
    border-radius: 10px;
    margin: 20px auto;
    padding: 20px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.85);
    max-width: 1200px;
}

.tile-title {
    background-color: rgba(255, 255, 255, 0.8); /* 80% opaque white */
    padding: 5px; /* adjust as needed */
    border-radius: 5px; /* optional, for rounded corners */
    color: #333; /* ensure text is legible against the white background */
}

/* Button Styles */
.button {
    display: inline-block;
    background: #0056b3;
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
    margin: 10px ;
    
}

.button:hover {
    background: #003d80;
}

/* Gallery Page */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    max-width: 400px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.gallery-item h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 15px;
}

.image-prompt {
    font-size: 1rem;
    color: #000;
    padding: 10px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
}
/* Fix tile titles appearing as white instead of black */
.tile-title, .gallery-item h3 {
    font-size: 1.8rem;
    color: black !important; /* Override any other white text styles */
}

/* Fix AI Assistant image being too large */
.ai-assistant-image {
    max-width: 300px; /* Reduce size on desktop */
    width: 80%; /* Make responsive */
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Footer Section */
footer {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/mdn_header_photo_image1.jpg") no-repeat center center / cover;
    color: white;
    text-align: center;
    padding: 30px 0;
    border-radius: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -2px -2px 4px rgba(0, 0, 0, 0.8);
    
}

footer p, footer a {
    color: #eee;
    margin: 5px 0;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design for Mobile */
@media screen and (max-width: 768px) {
    .header-background h1 {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .gallery-container {
        padding: 10px;
    }

    .gallery-item {
        padding: 15px;
        max-width: 95%;
    }

    .image-prompt {
        font-size: 0.9rem;
        padding: 8px;
    }
    .ai-headshot {
    max-width: 200px; /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px; /* Optional: Adds slight rounding */
}
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}



/* Ensure text boxes use the leadership image as background */
.section-description,
.section-accomplishments,
.tile-title,
.section-skills {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                no-repeat center center / cover;
    color: #333; /* Dark text for readability */
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
}

/* Fix the missing text color in the Highlights section */
.section-accomplishments h2 {
    font-size: 1.5rem;
    color: #333; /* Ensure text is black */
}

.ai-headshot {
    display: block;
    margin: 0 auto;
    max-width: 100%; /* Ensures the image is responsive */
    height: auto;
}

.section-description {
    text-align: center;
}

