@charset "UTF-8";

/* Fonts */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/montserrat-v31-latin-300.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/montserrat-v31-latin-italic.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2');
    font-display: block;
}

/* Styling */
:root {
    --primary-navy: #012256;
    --accent-wood: #c07d34;
    --bg-light: #f7fafc;
    --bg-section: #edf2f7;
    --text-dark: #2d3748;
    --text-muted: #4a5568;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-text-size-adjust: 100%;
    -ms-flex-direction: column;
    flex-direction: column;
}

h2 {
    margin: 4vh 0 2vh 0;
    color: #012256;
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-size: calc(1.1rem + 0.4vh);
    line-height: 1.3;
    font-weight: 700;
}

h3 {
    margin: 3.5vh 0 1.8vh 0;
    color: #012256;
    color: var(--primary-navy);
    font-size: 1.05rem;
    font-size: calc(0.95rem + 0.25vh);
    line-height: 1.35;
    font-weight: 700;
}

h2:first-child,
h3:first-child {
    margin-top: 0;
}

.maritime-header {
    background-color: var(--primary-navy);
    color: white;
    width: 100%;
    padding: 2.5vh 20px;
    text-align: center;
    border-bottom: 5px solid var(--accent-wood);
    -webkit-box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    -ms-flex-negative: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.maritime-header h1 {
    margin: 0 0 4px 0;
    font-size: calc(1.3rem + 0.6vh);
    letter-spacing: 1px;
    font-weight: 700;
}

.maritime-header p {
    margin: 0;
    font-style: italic;
    color: var(--border-light);
    font-size: calc(0.85rem + 0.2vh);
    font-weight: 300;
}

.main-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    -ms-flex-direction: column;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.badge {
    background: var(--accent-wood);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 2vh;
    font-weight: 600;
}

/* Left side: Image */
.image-half {
    width: 100%;
    height: 250px;
    background-image: url('../images/IMG_0183-1.JPG');
    -webkit-background-size: cover;
    -ms-flex-negative: 0;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Right side: Content */
.content-half {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -ms-flex-align: center;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.text-wrapper,
.text-inner {
    background: transparent;
    padding: 3vh 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-top: 4px solid #c07d34;
    border-top: 4px solid var(--accent-wood);
    width: 100%;
}

.text-wrapper {
    max-width: 700px;
    min-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.text-inner {
    max-width: 1100px;
}

.grid-text {
    display: -ms-grid;
    display: block;
    grid-template-columns: minmax(90px, auto) 1fr;
    font-size: calc(0.8rem + 0.15vh);
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
    margin: 0 0 2.5vh 0;
}

@supports (display: grid) {
    .grid-text {
        display: grid;
    }
}

.grid-text strong,
.grid-text span {
    display: block;
    margin-bottom: 4px;
}

.grid-text strong::after {
    content: ":";
}

.grid-text a {
    color: var(--accent-wood);
    text-decoration: none;
}

.grid-text a:hover {
    text-decoration: underline;
}

.grid-text-italic {
    font-size: 0.95rem;
    font-style: italic;
}

.text-inner .grid-text {
    display: block;
    margin-bottom: 0;
}

.text-inner .grid-text p {
    margin: 0 0 2vh 0;
}

.text-inner .grid-text p:last-child {
    margin-bottom: 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5vh;
    font-size: calc(0.75rem + 0.12vh);
    text-align: left;
}

.specs-inner .info-table th {
    width: 35%;
}

.info-table th {
    text-align: left;
    width: 30%;
    line-height: 1.5;
    padding: 12px 10px 12px 0;
}

.info-table th strong {
    color: var(--primary-navy);
    font-weight: 600;
    display: block;
}

.info-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: calc(0.8rem + 0.15vh);
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 400;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.footer-call {
    font-size: calc(0.85rem + 0.15vh);
    font-weight: 600;
    color: var(--accent-wood);
    margin-top: 2.5vh;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    align-self: flex-start;
}

.split-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}

.text-section,
.specs-section {
    width: 100%;
    padding: 50px 20px;
    background-color: #edf2f7;
    background-color: var(--bg-section);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.text-section {
    background-color: var(--bg-light);
}

.specs-inner {
    padding-top: 20px;
    max-width: 700px;
    width: 100%;
}

.footer-wrapper {
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
    border-top: 1px solid var(--border-medium);
    padding: 2vh 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: calc(0.7rem + 0.1vh);
    color: var(--text-muted);
    background-color: #ffffff;
    font-weight: 400;
}

.footer-wrapper .divider {
    opacity: 0.5;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-wood);
    text-decoration: underline;
}

.copyright {
    opacity: 0.6;
}

/* Desktop optimization from 1024px */
@media (min-width: 1024px) {
    html,
    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .main-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        min-height: 0;
    }

    .split-section {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        width: 100%;
    }

    .main-container:not(:has(.split-section)) {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }

    .image-half {
        width: 50%;
        height: 75vh !important;
        max-height: 700px;
        min-height: 400px;
        -ms-flex-negative: 1;
        flex-shrink: 1;
    }

    .content-half {
        width: 50%;
        height: auto;
        padding: 4vh;
        overflow-y: visible;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}
