/* ===========================
   LAYOUT
=========================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Pushes footer to bottom */
}

footer {
    margin-top: auto;
    padding: 1rem 0;
    text-align: center;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
}


/* ===========================
   BACKGROUND & SECTIONS
=========================== */
body {
    background: linear-gradient(to bottom, #111, #222);
        /* background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); */
    background-attachment: fixed; /* So it doesn’t scroll away */
    background-size: cover;
    color: white; /* Ensure text is readable */
    min-height: 100vh;

}

.about-me {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   NAVIGATION
=========================== */
.nav-button {
    font-size: 1.5em;
    font-family: "Orbitron-Black", sans-serif;
    font-weight: 700;
    transition: color 0.3s ease;
}
.nav-button:hover {
    color: var(--cyanish);
}

/* Root colors */
:root {
    --cyanish: rgb(52, 90, 170);
}

/* Fonts */
.lato {
    font-family: "Lato", sans-serif;
}
.vintage {
    font-family: "Vintage", serif;
}

/* Title Sizes */
.name-title {
    font-size: 6vw;
}
.church-title {
    font-size: 3vw;
}

/* ===========================
   NAVBAR
=========================== */
/* .navbar {
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
} */

.navbar-toggler {
    border: 0;
}
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
    border: 0;
}

.toggler-icon {
    width: 28px;
    height: 3px;
    background-color: black;
    display: block;
    transition: all 0.5s ease;
}
.middle-bar {
    margin: 5px auto;
}

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}
.navbar-toggler .middle-bar {
    opacity: 0;
}
.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 10%;
}
.navbar-toggler.collapsed .top-bar,
.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}
.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
}

/* ===========================
   BRAND LOGO
=========================== */
.brand-logo {
    font-size: 3em;
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    color: black;
    filter: drop-shadow(2px 2px 2px rgb(130, 56, 187));
}
.nav-button:hover,
.nav-button:active {
    color: var(--cyanish);
}

/* 
 */

.image-wrapper {
    position: relative;
    overflow: hidden;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}


/* ===========================
   RESPONSIVENESS
=========================== */
@media (min-width: 1024px) {
    .nav-button {
        margin-right: 30px;
    }
}
@media (max-width: 768px) {
    .brand-logo {
        font-size: 2rem;
    }
    .name-title {
        font-size: 10vw;
    }
}
