@font-face {
    font-family: 'PolySansReef';
    src: url('type/PolySansReef-Neutral.woff2') format('woff2'),
         url('type/PolySansReef-Neutral.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PolySansReef';
    src: url('type/PolySansReef-NeutralItalic.woff2') format('woff2'),
         url('type/PolySansReef-NeutralItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'PolySansReef', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #162329;
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    align-items: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

header {
    text-align: center;
    /* margin-bottom: 3rem; */
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #cccccc;
}

.video-container {
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-container {
    margin: 2rem 0;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.contact-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-person {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.back-to-video {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.back-button {
    background: none;
    border: none;
    color: #ffffff;
    font-family: 'PolySansReef', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    position: relative;
    white-space: nowrap;
}

.back-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
}

.back-button:hover {
    color: #cccccc;
}

.back-button:hover::after {
    background-color: #cccccc;
}

.arrow {
    font-size: 1.4rem;
    line-height: 1;
}

.contact-person h3 {
    font-size: 1.4rem;
    font-weight: normal;
    margin: 0;
}

.contact-person .title {
    color: #cccccc;
    margin: 0;
    margin-bottom: 0.5rem;
}

.contact-person a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-person a:hover {
    color: #cccccc;
}

.links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 2rem 0;
}

.link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.link-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.link:hover .link-icon {
    opacity: 1;
}

.link:first-child {
    justify-content: flex-start;
}

.link-center {
    justify-content: center;
}

.contact-link {
    justify-content: flex-end;
}

.link:hover {
    color: #cccccc;
}

footer {
    text-align: center;
    margin-top: 2rem;
}

.reef-group-logo {
    max-width: 150px;
    height: auto;
}

#reef-logo-svg {
    width: 120px;
    height: auto;
    fill: #ffffff;
    opacity: 0.5;
}

.reef-logo-svg-letter {
    fill: #ffffff;
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
    }

    .container {
        padding: 1.5rem;
    }

    .logo {
        max-width: 200px;
        margin-top: 1rem;
    }

    h2 {
        font-size: 1.1rem;
        margin-top: 0.75rem;
    }

    .links {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        margin: 2.5rem 0;
    }

    .link,
    .link:first-child,
    .link-center,
    .contact-link {
        justify-content: center;
    }

    .link {
        font-size: 1.2rem;
    }

    .link-icon {
        width: 22px;
        height: 22px;
    }

    .contact-container {
        position: static;
        padding-top: 0;
        margin: 2.5rem 0;
    }

    .contact-content {
        position: static;
        padding: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        border: none;
    }

    .contact-details {
        width: 100%;
        text-align: center;
        margin: 0 0 3rem 0;
    }

    .contact-person {
        /* gap: 1rem; */
    }

    .contact-person h3 {
        font-size: 2rem;
    }

    .contact-person .title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .contact-person a {
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .contact-divider {
        margin: 2.5rem 0;
    }

    .back-to-video {
        position: static;
        text-align: left;
        margin-bottom: 2rem;
        transform: none;
    }

    .back-button {
        font-size: 1.3rem;
        margin-top: 1rem;
    }

    .back-button::after {
        height: 1.5px;
    }

    .arrow {
        font-size: 1.8rem;
    }

    #reef-logo-svg {
        width: 140px;
    }
} 