body {
    font-family: Arial, sans-serif;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    background-color: #fbe5e5; /* Light blush red */
    color: #4d0000; /* Deep maroon */
    margin-bottom: 50px;
}

header {
    background-image: url('caribbean banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-color: #006994; /* Pacific ocean blue */
    /* height: 15vh; */
    color: #fff; /* Text color */
    padding: 2rem;
    text-align: center;
    font-size: 16px;
    text-shadow: 
        -1px -1px 0 #000, /* Top-left outline */
         1px -1px 0 #000, /* Top-right outline */
        -1px  1px 0 #000, /* Bottom-left outline */
         1px  1px 0 #000; /* Bottom-right outline */
}

footer {
    text-align: center;
    padding: 0rem;
    background: #c00000; /* Scarlet red */
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

nav ul {
    background: #a60000; /* Dark crimson */
    color: #fff;
    list-style: none;
    padding: 0;
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center; 
}

nav ul li {
    display: inline;
    margin: 0 0.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
}

main {
    padding: 1rem;
    padding-bottom: 2rem; /* Add padding to bottom to avoid overlap */
}

h2 {
    width: 100%;
    text-align: center;
    color: #e60000; /* Bright red */
    font-size: 22px;
    padding-bottom: 20px;
}

h3 {
    color: #cc3333; /* Soft reddish hue */
    font-size: 16px;
}

ul.compressed-list,
ul.compressed-list ul {
    padding-left: 1.5rem;
    margin-top: 0;
}

ul.compressed-list li,
ul.compressed-list ul li {
    margin-bottom: 0.25rem; /* Reduced spacing */
    font-size: 14px;
}

a {
    color: #990000; /* Darker red */
}

a:hover {
    color: #ff6666; /* Lighter red */
}

/* Daily Log Table Section */

table.dailylog {
	width: 100%;	
	border-collapse: collapse;
	margin: 10px 0;
}

table.dailylog th {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

table.dailylog td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

table.dailylog th:first-child,
table.dailylog td:first-child {
	width: 15%; /* Set width for the first column */
}

table.dailylog td.firstcolumn {
	font-weight: bold;
	text-align: center;
	font-size: 14px;
}

.container {
	display: flex;
	flex-wrap: wrap;
}

.item {
	flex: 1 1 100%;
	padding: 1rem;
	box-sizing: border-box;
}

.hidden {
    display: none; /* Completely hides the element */
}

/* Photos Section */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.image-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Video Section */

#video-player {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#main-video {
    width: 100%;
    max-width: 1000px;
}

.video-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.video-list button {
    margin: 10px;
    padding: 10px 20px;
    background-color: #b30000; /* Dark scarlet */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.video-list button:hover {
    background-color: #e60000; /* Bright red */
}

.video-caption {
    color: #555;
    font-size: 15px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Slideshow Section */

.slideshow-main {
	display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    width: 1000px;
    height: 600px;
    /* overflow: hidden; (*/
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.slideshow img {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.slideshow img.active {
    display: block;
}

figure {
    margin: 0;
    text-align: center;
}

figcaption {
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
    display: none;
}

figcaptionOn {
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
}

figcaption.active-caption {
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

