/* Full header background */

.site-header {
    background-image: url("../images/header_image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;

    padding: 20px 0;
    text-align: center;
    color: white; /* header text colour */

    background-color: #d6d6d6; /* fallback if image fails */

    border-bottom: 1px solid #d6d6d6;  /* thick whitish line 333333 */ 
    border-top: 1px solid #d6d6d6;  /* thick whitish line 333333 */ 
}








body {
    background-color: #A9A9A9;   /* very light grey */
    margin: 0;
    padding: 0;

    font-family: Georgia, "Times New Roman", serif;
}






.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* dark transparent overlay */
    z-index: 0;
}

.header-inner {
    position: relative;
    z-index: 1; /* bring text above overlay */
}













.site-header nav a {
    margin: 0 20px;
}



/* Layout: title and nav on one line */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Button-style links */
.main-nav a {
    background-color: #555;      /* medium grey button */
    color: white;
    padding: 8px 16px;
    margin-left: 10px;
    border-radius: 0;            /* <-- square corners */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.main-nav a:hover {
    background-color: #333;      /* darker on hover */
}


@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .main-nav a {
        margin: 5px;
        display: inline-block;
    }
}




/* Layout container */
.header-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    height: 60px;
    width: auto;
}

/* Title */
.site-title {
    font-size: 2rem;
    margin: 0;
    flex-grow: 1;
}

/* Navigation */
.main-nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

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

/* 📱 Responsive layout for phones */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav a {
        display: inline-block;
        margin: 10px;
        font-size: 1.2rem;
    }

    .logo {
        height: 50px;
    }
}





/* Main content area */
.content-wrapper {
    max-width: 1000px;      /* keeps lines readable */
    margin: 40px auto;      /* auto = centre with white space on both sides */
    padding: 0 20px;        /* small inner padding */
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Text column */
.content-text {
    flex: 2;                /* takes more space */
}

/* Image column */
.content-image {
    flex: 1;                /* takes less space */
    padding-top: 2em; /* adjust until it lines up perfectly */
}






.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;     /* optional */
}


@media (max-width: 700px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .content-image {
        margin-top: 20px;
    }
}
