/* =========================================
   css/main.css - United Chartering Ltd.
========================================= */

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Header & Navigation */
.logo {
    max-height: 70px;
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #134b83 !important;
}

/* Email Image Hover Switch */
.hover-switch img.second {
    display: none;
}
.hover-switch:hover img.first {
    display: none;
}
.hover-switch:hover img.second {
    display: inline-block;
}

/* Hero Video Background Section */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    opacity: 0.8; /* Darkens video slightly to make text pop */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    margin: 0;
}

.hero-content span {
    display: block;
}

/* Standardize Image Carousels */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .carousel-item img {
        height: 300px;
    }
}