/*
 * Noëlle Ariaans Portfolio - Main Stylesheet
 * Requirement 10: Documentation
 */

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #1e1e1e;
    color: white;
    overflow-x: hidden;
}

.websiteContainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 
        "header"
        "main"
        "footer";
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 1728px;
    margin: 0 auto;
}

.backgroundImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

.siteHeader {
    grid-area: header;
    padding: 2.2rem 1.5rem;
    position: relative;
    z-index: 100;
}

.mainNavigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logoLink {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: normal;
}

/* Navigation menu directly with flexbox */
.navigationMenu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navigationLink {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    line-height: normal;
}

.mainContent {
    grid-area: main;
    display: grid;
    place-items: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.heroTitle {
    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 5.3rem;
    text-align: center;
    line-height: normal;
}

.siteFooter {
    grid-area: footer;
    position: relative;
    height: 139px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    z-index: 10;
}

.footerBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center bottom;
    transform: scaleY(-1);
    z-index: -2;
}

.footerOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.19;
    z-index: -1;
}

.footerNavigation {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 0 4.5rem;
    position: relative;
    z-index: 1;
}

.footerLink {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    line-height: normal;
}

.socialMediaLinks {
    position: absolute;
    right: 4.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: auto auto;
    gap: 1.5rem;
    z-index: 2;
}

.socialLink {
    display: block;
    width: 43px;
    height: 43px;
}

.socialLink img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0) invert(1);
}

/* Effects */
.textBlur {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(2px);
    white-space: nowrap;
}

.textMain {
    position: relative;
    display: block;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .heroTitle { font-size: 4rem; }
    .navigationMenu { gap: 1.5rem; }
    .logoLink, .navigationLink, .footerLink { font-size: 1.25rem; }
}

@media screen and (max-width: 768px) {
    .mainNavigation {
        flex-direction: column;
        gap: 1rem;
    }
    .navigationMenu {
        flex-direction: column;
        gap: 1rem;
    }
    .heroTitle { font-size: 2.5rem; }
    .footerNavigation { grid-template-columns: 1fr; padding: 1rem; }
    .socialMediaLinks {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 1rem;
    }
}