/* -------------------------------------------------
   Basic styling for the PHOTONIC placeholder site
   ------------------------------------------------- */

/* Reset a few defaults */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body & typography */
body {
    font-family: -apple-system, "Segoe UI", "Noto Sans", "Roboto", sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #f8f8f8;
    padding-bottom: 2rem;
}

/* Header */
.site-header {
    background: #0a4c86;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
}
.site-header h1 {
    font-size: 2.8rem;
    margin-bottom: .4rem;
}
.site-header .tagline {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Navigation */
.site-nav {
    background: #7de19a;
}
.site-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}
.site-nav a {
    display: block;
    padding: .9rem 1.2rem;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
}
.site-nav a:hover {
    background: #63b37a;
}

/* Main content */
.site-main {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 2rem;
}
.section {
    margin-bottom: 2.5rem;
}
.section h2 {
    border-left: 4px solid #7de19a;
    padding-left: .6rem;
    margin-bottom: .6rem;
    color: #0a4c86;
}
.section p {
    margin-top: .6rem;
}
.section ul {
    margin-top: .6rem;
    padding-left: 2.4rem;
}
.section .site-logo {
    float: right;
    margin: 0.25rem;
    position: relative;
}

.section .site-logo img {
    display: block;
}

.text-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.text-image img {
    max-width: 300px;
}

/* Footer */
.site-footer {
    background: #e0e0e0;
    text-align: center;
    padding: 1rem;
    font-size: .9rem;
    color: #555;
    margin-top: 3rem;
}

.site-footer img {
    width: 20%;
}

/* Responsive tweaks */
@media (max-width: 500px) {
    .site-nav ul {
        flex-direction: column;
    }
    .site-nav a {
        text-align: center;
    }
}