/* Custom Stylesheet for HH&C */

/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    margin: 20px auto;
    max-width: 1200px;
}

.wide {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.wide img {
    width: 100%;
    height: auto;
}

.imgTextTitle, .imgText {
    position: absolute;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.imgTextTitle {
    top: 30%;
    left: 10%;
    font-size: 32px;
    font-weight: bold;
}

.imgText {
    top: 40%;
    left: 10%;
    font-size: 20px;
}

/* Navigation Styles */
.navbar-custom {
    background-color: #FFFFFF; /* Matches the logo color */
    overflow: hidden;
    padding: 10px;
}

.navbar-custom .navbar-header {
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: inline-block;
    margin-right: 15px;
}

.navbar-heading {
    color: #000000;
    padding: 20px 20px;
    font-size: 38 px;
}

.img-responsive {
    max-width: 70%;
    height: auto;
    display: inline-block; /* Ensures there is no extra space below the image */
}

.navbar-custom .nav {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
}

.navbar-custom .nav li {
    display: inline-block;
    margin-right: 20px;
}

.navbar-custom .nav li a {
    display: block;
    padding: 10px 15px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.navbar-custom .nav li a:hover {
    background-color: #f0e68c;
    color: #0B1C2C;
    border-radius: 5px;
}

.menu_selected{
	background-color: #f0e68c;
    color: #0B1C2C;
    border-radius: 5px;
}



/* Header Section */
.header-section {
    background-color: #f8f8f8;
    padding: 20px;
    margin-bottom: 20px;
}

/* Thumbnail Styles */
.thumbnail {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.thumbnail img {
    width: 100%;
    height: auto;
}

.caption {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.thumbnail-container .thumbnail {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.carousel {
    margin-bottom: 20px;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer a {
    color: #999;
}

.footer a:hover {
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .imgTextTitle {
        font-size: 24px;
    }

    .imgText {
        font-size: 16px;
    }
    
    .thumbnail-container {
        flex-direction: column;
    }
}




/* Language style*/
.language-switcher {
    display: flex;
    justify-content: flex-end; /* Aligns language switcher to the right */
    padding: 10px;
    background-color: #f8f8f8; /* Light background for better contrast */
    border-bottom: 1px solid #ddd; /* Optional: adds a little separation line */
}

.language-switcher a {
    text-decoration: none;
    color: #333; /* Text color */
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
}

.language-switcher a:hover {
    background-color: #eaeaea; /* Light gray hover effect */
    color: #000; /* Darken text color on hover */
}

.language-switcher a.selected {
    background-color: #333; /* Dark background for selected language */
    color: #fff; /* Light text color for selected language */
    cursor: default; /* Indicates it is already selected */
}




/* Contact Form*/
.trading-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 40px; /* Adjusted padding for more space */
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-input, .form-textarea {
    width: calc(100% - 20px); /* Account for padding adjustment */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-textarea {
    resize: vertical;
}

.form-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #0056b3;
}
