/* Global Reset */


/* Container */
.container {
    display: flex;
    height: 100vh;
    position: relative;
    flex-direction: row; /* Aligns the collapsible menu to the left and video next to it */
    padding: 20px;
}

/* Left Menu Styling */
.left-menu {
    width: 350px; /* Make the left menu wider */
    padding: 15px;
    padding-right: 20px; /* Adds some padding between the menu and the border */
    border-right: 2px solid #ffffff1a; /* Light vertical line (border) */
    height: 100%; /* Ensure it spans the entire content area */
}

.left-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.left-menu ul li {
    margin-bottom: 10px;
}

.left-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    background-color: #0c2135;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-left: 4px solid transparent; /* For hover effect */
}

.left-menu ul li a:hover {
    background-color: #f39c12; /* Bright hover effect */
    color: #003366; /* Contrast text color */
    border-left: 4px solid #f39c12; /* Colorful accent on hover */
}

.left-menu li a.active {
    background-color: #f39c12;
    color: #ffffff;
}

/* Collapsible Section */
.collapse {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 1.5s ease-in-out, opacity 1.5s ease-in-out;
    background-color: transparent; /* Default when collapsed */
}

.collapse.show {
    max-height: 200px; /* Adjust this value based on the content size */
    opacity: 1;
    background-color: #0c2135; /* Set the desired background color when expanded */
    padding: 10px; /* Optional: Add padding to make content look better */
}

/* Background Section */
.background-section {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background */
}

/* Video Container */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensures the video stays behind all content */
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensures the video doesn’t interact with user input */
}

.top-menu ul {
    list-style-type: none;
    display: flex;
    justify-content: center; /* Ensure menu is centered */
    gap: 30px;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 1200px; /* Limit menu width */
}





/* Waves Styling */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}






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

body {
    font-family: Arial, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #001f3f, #003366); /* Gradient background */
    overflow-x: hidden;
    height: 100%;
    /* scroll-behavior: smooth; */
}








/* Waves Styling */
.waves {
    position: absolute;
    bottom: 0;
    left: 0; /* Fix the waves alignment */
    width: 100%;
    height: 25vh;
    min-height: 0px;
    max-height: 30px;
    z-index: 0;
}




@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  
}

/* Header styling */
.header {
    position: relative;
    background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
    height: 100px; /* Adjust header height */
    display: flex;
    justify-content: space-between; /* Push logo to the left and menu to the right */
  
    z-index: 1;
    padding: 0 20px; /* Add some padding for spacing on the left and right */
    align-items:flex-end;
}

/* Logo on the left */
.header .logo {
    height: 100px;
    width: 120px;
}

/* Menu on the right */
.header ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end; /* Align the menu items to the right */
    gap: 30px; /* Add spacing between menu items */
    padding: 0;
    margin: 0;
}

/* Menu Items Styling */
.header ul li {
    display: inline-block;
}

.header ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    letter-spacing: 1px;
}

.header ul li a:hover, .header ul li a.active {
    color: #f39c12; /* Highlight color on hover */
    border-bottom: 3px solid #f39c12;
}

/* Top Menu Styling */
.top-menu {
    display: flex;
    justify-content: space-between; /* Align logo left, menu right */
    align-items: center;
    width: 100%;
    padding: 0 20px; /* Add padding on left and right */
    /* Gradient for liveliness */
    height: 90px;
    text-shadow: 2px 2px 4px #000000;
}

/* Logo Styling */
.top-menu .logo {
    height: 100px;
    width: 100px;
}

/* Navigation Menu on the right */
.top-menu ul {
    list-style-type: none;
    display: flex;
    gap: 30px; /* Space between menu items */
    padding: 0;
    margin: 0;
}

/* Menu Items Styling */
.top-menu ul li {
    display: inline-block;
}

.top-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

/* Hover and active effects */
.top-menu ul li a:hover, .top-menu ul li a.active {
    color: #f39c12; /* Vibrant orange on hover */
    border-bottom: 3px solid #f39c12; /* Highlight the selected item */
}





/* Make sure the header stays above the waves SVG */
.header {
    z-index: 10;
    position: relative;
}


.top-menu {
    display: flex;
    justify-content: space-between; /* Align logo left, menu right */
    align-items: center;
    width: 100%;
    padding: 0 20px;
    height: 90px;
    
    /* Glass effect: */
    background: rgba(255, 255, 255, 0); /* Transparent white background */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    backdrop-filter: blur(10px); /* Blur effect to create glass look */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border to enhance the glass effect */
    
    /* Rounded corners */
    border-radius: 15px; /* Adjust this value to make the corners more or less rounded */

    /* Text styling */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Subtle text shadow for emboss effect */
}

/* Optional: Styling the menu items for better contrast */
.top-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    text-shadow: none; /* Keep text clear */
}

.top-menu ul li a:hover, .top-menu ul li a.active {
    color: #f39c12;
    border-bottom: 3px solid #f39c12;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(-20px); /* Moves up slightly */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutSlideDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px); /* Moves down slightly */
    }
}

/* Apply the fade out and slide down when leaving */
.fade-out {
    animation: fadeOutSlideDown 0.5s forwards;
}

/* Apply the fade in and slide up when entering */
.fade-in {
    animation: fadeInSlideUp 0.5s forwards;
}


/* New Left Menu Styles */
/* Adjust the left menu to make it more prominent */
.left-menu.services-left-menu {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 220px;
    padding: 20px;
    background-color: rgba(52, 73, 94, 0.9); /* Darker background with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add more depth */
    z-index: 100;
}

/* Styling for menu items */
.left-menu ul li a {
    display: block;
    color: #ffffff;
    background-color: #2c3e50;
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

/* Hover effect */
.left-menu ul li a:hover {
    background-color: #1abc9c; /* Bright hover color */
}

/* Active state styling */
.left-menu ul li a.active {
    background-color: #f39c12; /* Bright orange for active item */
    color: #ffffff;
    font-weight: bold;
}





/* Increase space between the left menu and content */
.content {
    margin-left: 260px; /* Space for the fixed left menu */
    padding: 20px;
    color: white; /* Ensures the text is white for readability */
}

.content-section h1, .content-section h2 {
    margin-bottom: 20px;
    color: white;
}

.content-section p {
    color: white;
}
html {
    scroll-behavior: smooth; /* Ensures smooth scroll to section */
}
/* General Section Spacing */
.content-section {
    margin-bottom: 40px; /* Adds space between sections */
    padding: 20px;
}

/* Images - Make sure images are consistent in size and don't crowd each other */
.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Rounded corners */
    margin-bottom: 15px; /* Adds space between the image and the text */
}

/* Flex Layout for Service Sections */
.content {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap if needed */
    gap: 20px; /* Adds space between the service sections */
}

.content-section {
    flex: 1 1 calc(50% - 20px); /* Adjusts the width of each section to 50% minus gap */
    box-sizing: border-box; /* Ensures padding is included in width calculations */
    background-color: #1e3a59;
    border-radius: 10px;
    padding: 20px;
}

/* Specific Image Styling */
#tug-assist img, #rubber-fender img, #ferry-services img, #lct-barge img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Text Styling for Service Sections */
.content-section h1, .content-section h2 {
    color: white;
    margin-bottom: 10px;
}

.content-section p {
    color: white;
    line-height: 1.6;
}

/* Ensure consistent spacing between images and text */
.content-section ul {
    margin-top: 15px;
}
