/* Fonts - Standard System Fonts */
/* No imports needed */

:root {
    --primary-color: #345477;
    --text-color: #333;
    --bg-color: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Enables smooth scrolling like uk-scroll */
}

body {
    font-family: sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: sans-serif;
    font-weight: 700;
    /* Bold specifically for headers */
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Header Container to control width */
header {
    position: absolute;
    /* Back to transparent/overlay */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 20px 0;
    /* Padding handled by container */
    background-color: transparent;
    box-shadow: none;
}

.header-container {
    display: flex;
    justify-content: center;
    /* Center everything */
    align-items: center;
    max-width: 1600px;
    /* Constrain width */
    margin: 0 auto;
    /* Center it */
    padding: 0 40px;
    /* Inner padding */
    position: relative;
    /* For absolute positioning of children */
}

/* Logo is centered by parent justify-content center */

/* Position the contact button to the right independently */
.btn-contact {
    position: absolute;
    right: 40px;
    /* Align to the right padding of container */

    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 6px rgba(52, 84, 119, 0.2);
    transition: transform 0.2s, background-color 0.2s;
}

.logo img {
    height: 80px;
    width: auto;
}



.btn-contact:hover {
    background-color: #2c4663;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background-image: url('assets/Hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-text {
    position: relative;
    color: white;
    font-family: inherit;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    letter-spacing: 0.5px;
}

/* Subpage Hero */
.sub-hero {
    height: 50vh;
    /* Shorter than main hero */
    min-height: 400px;
    background-image: url('assets/Hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: center;
    margin-bottom: 60px;
}

.sub-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Darker overlay for readability */
}

.sub-hero h1 {
    position: relative;
    color: white;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
    margin: 0;
}

/* Content Section */
.content {
    text-align: left;
    padding: 100px 40px 0 40px;
    max-width: 1000px;
    /* Keep consistent with design */
    margin: 0 auto;
}

.content h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.1;
    color: #000;
}

.content p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #4a4a4a;
    max-width: 800px;
    line-height: 1.6;
}

.btn-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(52, 84, 119, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 84, 119, 0.4);
}

/* Contact Section */
.contact {
    padding: 40px 40px 120px 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.contact h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #000;
}

.contact-info {
    font-size: 16px;
    color: #333;
    font-family: inherit;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
    /* Add spacing */
}

.contact-row a:hover {
    color: var(--primary-color);
}

.icon {
    width: 25px;
    font-size: 20px;
    margin-right: 15px;
    color: var(--primary-color);
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    padding: 40px 0;
    text-align: center;
    color: white;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

footer a {
    color: white;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Prose for text pages */
.prose {
    font-family: inherit;
    color: #444;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.prose h1 {
    margin-bottom: 2rem;
    color: #000;
    font-size: 2.5rem;
}

.prose h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

.prose h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.prose p {
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .logo img {
        height: 50px;
    }

    .hero {
        height: 60vh;
    }

    .hero-text {
        font-size: 20px;
        padding: 0 15px;
    }

    .sub-hero {
        height: 40vh;
        min-height: 300px;
    }

    .sub-hero h1 {
        font-size: 36px;
    }

    .content h2 {
        font-size: 32px;
    }

    .content {
        padding: 60px 20px;
    }

    .contact h2 {
        font-size: 32px;
    }
}