:root {
    --color-black: #000000;
    --color-primary-blue: #0d2a4a;
    --color-secondary-blue: #43627f;
    --color-white: #ffffff;

    --font-main: 'Open Sans', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-bold: 600;
    --font-weight-extrabold: 800;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Components --- */

/* Menu (Internal) */
.menu-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-black);
    z-index: 100;
    border-bottom: 2px solid var(--color-primary-blue);
    /* Progress bar simulated as border or separate div */
}

.menu-brand-icon {
    height: 90px;
    width: auto;
    transition: height 0.3s ease;
}

.menu-brand-icon.scrolled {
    height: 50px;
}

.menu-nav ul {
    display: flex;
    gap: 2rem;
}

.menu-nav li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    transition: color 0.2s;
}

.menu-nav li a:hover {
    color: var(--color-secondary-blue);
}

.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--color-primary-blue);
    width: 0%;
    /* JS will update this */
    transition: width 0.1s;
}

/* Hero (Home) */
.hero {
    width: 100%;
    height: calc(100vh - 150px);
    min-height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--color-black), transparent);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-logo {
    width: 80%;
    max-width: 600px;
    height: auto;
    opacity: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.scroll-indicator {
    color: var(--color-white);
    font-size: 1.5rem;
    opacity: 0.5;
    cursor: pointer;
    margin-top: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* Marquee */
.marquee-container {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    padding: 1.5rem 0;
    /* Reduced from 4rem */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 12px;
    /* Increased from 8px */
}

/* ... existing code ... */

.column-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    text-align: left;
    /* Changed from justify to left */
    margin-bottom: 2rem;
    white-space: pre-wrap;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
}

.marquee-item {
    display: inline-block;
    padding-right: 8rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }

    /* Logic needs two exact copies */
}

/* Home Menu Grid */
.home-menu-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.menu-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    cursor: pointer;
}

.menu-card-title-container {
    position: relative;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.menu-card-title {
    font-family: var(--font-main);
    font-weight: var(--font-weight-regular);
    font-size: 1.5rem;
    color: var(--color-white);
    overflow: hidden;
    white-space: nowrap;
    /* Typewriter effect handled by JS class toggle or CSS animation */
}

.menu-card-underline {
    height: 2px;
    background-color: var(--color-primary-blue);
    width: 0;
    transition: width 0.3s ease;
}

.menu-card:hover .menu-card-underline {
    width: 100%;
}

.menu-card-desc {
    font-family: var(--font-main);
    font-weight: var(--font-weight-light);
    font-size: 0.9rem;
    opacity: 0.8;
    color: #ccc;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--color-black), #43627f);
    border-top: 1px solid var(--color-primary-blue);
    color: var(--color-white);
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: auto;
}

.footer-icon {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 3rem;
}

.footer-socials a {
    color: var(--color-white);
    font-size: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: var(--color-secondary-blue);
    border-color: var(--color-secondary-blue);
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.footer-copyright {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: #ccc;
    opacity: 0.7;
    text-align: center;
    margin-top: 1rem;
}

/* Internal Page Layout (ArticleLayout) */
.internal-page-container {
    padding-top: 80px;
}

.split-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

@media (min-width: 768px) {
    .split-section {
        flex-direction: row;
        align-items: flex-start;
    }

    .split-section.reversed {
        flex-direction: row-reverse;
    }
}

.text-block {
    flex: 0 0 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    box-sizing: border-box;
}

.sticky-image-block {
    flex: 0 0 50%;
    height: 50vh;
}

@media (min-width: 768px) {
    .sticky-image-block {
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

.sticky-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-title {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 4rem;
    line-height: 0.9;
    color: #43627f;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    color: #e0e0e0;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.callout-section {
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-black);
}

.callout-text {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--color-white);
    max-width: 900px;
    border-top: 2px solid var(--color-primary-blue);
    border-bottom: 2px solid var(--color-primary-blue);
    padding: 2rem 0;
}

.two-column-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .two-column-section {
        column-count: 2;
        column-gap: 4rem;
    }
}

.column-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    text-align: left;
    /* Changed from justify to left */
    margin-bottom: 2rem;
    white-space: pre-wrap;
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background-color: #43627f;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: transparent;
    border-color: #43627f;
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
    .menu-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .menu-nav ul {
        gap: 1rem;
    }
}