/* Existing styles */
.top-line {
    border-top: 3px solid #000;
    margin-bottom: 15px;
    width: 35%;
}

.bottom-line {
    border-top: 3px solid #000;
    width: 35%;
}

.logo-text-top {
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.logo-text-bottom {
    letter-spacing: 5px;
    margin-top: 15px;
}

.nav-container {
    background-color: #f8f9fa; /* Background color */
    padding: 10px; /* Padding around the navigation */
    border-radius: 10px; /* Rounded corners */
}

.nav-item {
    margin-right: 15px; /* Margin between each navigation item */
}

.nav-item-contact {
    margin-left: 15px; /* Margin between each navigation item */
}

.nav-link {
    font-weight: bold; /* Bold text */
    text-transform: uppercase; /* Uppercase text */
    transition: color 0.3s ease; /* Smooth color transition */
    color: #3a3a3a;
}

.nav-link:hover {
    color: #8D00B1;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #8D00B1;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.nav-link-contact {
    text-decoration-line: none;
    font-weight: bold; /* Bold text */
    text-transform: uppercase; /* Uppercase text */
    transition: color 0.3s ease; /* Smooth color transition */
    color: #3a3a3a;
}

.nav-link-contact:hover {
    color: #8D00B1;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #8D00B1;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.image-container img {
    width: 100%;
    height: 325px;
    object-fit: cover;
    cursor: pointer;
}

h3 {
    rotate: 350deg;
    font-family: "Ink Free";
    src: url(/font/Inkfree.ttf) format("truetype");
    color: #8D00B1;
    margin-bottom: 0;
}

h2 {
    margin-top: -5px;
    margin-bottom: 50px;
}

footer {
    background-color: #8D00B1;
    height: 50px;
    width: 100%;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-family: "Ink Free";
    src: url(/font/Inkfree.ttf) format("truetype");
}

footer p {
    color: #fff;
}

.form-button {
    background-color: #8D00B1;
    border: none;
}

.carousel-item img {
    cursor: pointer;
    object-fit: cover;
    height: 350px;
}

/* General modal styles */
.modal-dialog {
    margin: 0;
    max-width: none;
    width: 100%;
}

.modal-content {
    background: none;
    border: none;
    box-shadow: none;
}

.modal-body {
    padding: 0;
    text-align: center;
}

.modal-body img {
    max-width: 100%;
    max-height: 80vh; /* Adjust as needed */
    object-fit: contain;
    border-radius: 10px; /* Optional: Rounded corners for the image */
}

.modal-body .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    color: #ff0000; /* Bright red color for better visibility */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border: none;
    border-radius: 50%; /* Rounded close button */
    width: 40px; /* Increased size */
    height: 40px; /* Increased size */
    padding: 0;
    font-size: 1.5rem; /* Increased font size */
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-body .btn-close:hover {
    background-color: rgba(255, 255, 255, 1); /* Solid white background on hover */
    color: #ff0000; /* Ensure the color remains red */
}

/* Blur background styles */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px); /* Adjust blur intensity */
}




/* Media Query for Mobile */
@media (max-width: 768px) {
    .image-container {
        display: none;
    }

    #imageCarousel {
        display: block;
    }

    .d-none {
        display: none !important;
    }
}

/* Back to Top Button Styles */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 20px; /* Place the button 20px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #8D00B1; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px 20px; /* Some padding */
    border-radius: 5px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

#backToTopBtn:hover {
    background-color: #600080; /* Darker background on hover */
}
