/* Base font size */
html {
    font-size: 90%;
}

/* Background covers entire monitor without repeating */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Header Navigation Bar */
header {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 15px 0;
    width: 100%;
    text-align: center;
}

/* Nav Flexbox Layout - Forces Header Elements to Center */
nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Anchor Link Wrapper for Logo */
nav > a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-decoration: none;
    margin: 0 auto !important;
}

/* Rectangular Centered Top Logo Styling */
.header-logo {
    display: block !important;
    margin: 0 auto 12px auto !important;
    max-width: 280px !important;
    max-height: 55px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 4px;
    background-color: #ffffff;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.02);
}

/* Navigation Links List */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    width: 100%;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

nav a:hover {
    color: #4CAF50;
}

/* Content Container (For inner pages) */
main {
    max-width: 720px;
    margin: 45px auto;
    padding: 27px;
    background-color: rgba(248, 246, 240, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 18px;
    color: white;
    background-color: rgba(0, 0, 0, 0.85);
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Document Page Button & Divider Styling */
.doc-item {
    margin: 20px 0;
}

.download-btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 8px;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background-color: #3e8e41;
}

hr {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}

/* Gallery Photo Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.gallery-grid img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}