/* GLOBAL BASICS */
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    display: grid;
    grid-template-rows: auto 1fr auto;

    background-image: url("images/Ariel_Heart.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* IMPORTANT: main must fill grid row */
main {
    height: 100%;
    padding-top: -10vh;
    box-sizing: border-box;
}

/* HEADER */
.logo-img {
    width: 200px;
    height: auto;
}

header {
    background: #ffffff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #ddd;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    color: #333;
    font-weight: 600;
    transition: 0.2s;
}

nav a:hover {
    background: #efefef;
}

/* HERO (index.html only) */
.hero {
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: flex-start;   /* start from top */
    padding-top: 15vh;         /* control vertical position */
    text-align: center;
}

/* CENTER ALL OTHER PAGES */
main:not(.hero) {
    display: flex;
    justify-content: center; /* horizontal only */
    align-items: flex-start;
    padding-top: 15vh;
}

/* CONTENT BOX */
.main-content {
    max-width: 900px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 0;
}

/* HERO TEXT OVERRIDE */
.hero .main-content {
    background: transparent;
    box-shadow: none;
    padding: 1.5rem 2rem;
    color: white;
}

/* FOOTER */
.footer {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    background: #fafafa;
    border-top: 1px solid #ddd;
}

/* BACK TO TOP BUTTON */
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 12px 16px;
    background: #0077cc;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}


