/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: #004634;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Logo Animation */
.navbar-brand img {
    transition: transform 2s ease-in-out;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

/* Navigation links */
.nav-link {
    color: rgb(215, 212, 194);
    font-size: 15px;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: rgb(215, 212, 194);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(215, 212, 194);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu {
    background-color: #004634;
    border: none;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(10px);
    opacity: 0;
}

.dropdown-item {
    color: rgb(215, 212, 194);
    transition: color 0.3s ease-in-out;
}

.dropdown-item:hover {
    color: rgb(215, 212, 194);
    background-color: transparent;
}

/* Button styling */
.btn {
    color: rgb(6, 6, 77);
    background-color: rgb(215, 212, 194);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn:hover {
    background-color: rgb(215, 212, 194);
    color: white;
}

/* Navbar toggler (for mobile) */
.navbar-toggler {
    background-color: #e1d39b;
    border: none;
}

/* +++++++++++++ */

/* Container for the image with no padding */
.container-fluid {
    position: relative;
    padding: 0;
}

/* Ensure the image is responsive and fills the container */
.container-fluid img {
    width: 100%; /* Ensures the image takes up the full width */
    height: auto; /* Maintains the aspect ratio */
    object-fit: cover; /* Ensures the image covers the container without distortion */
}

/* Text overlay positioning */
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2; /* Makes sure the text stays above the image */
    padding: 20px;
}

/* Responsive typography adjustments */
.text-overlay h1 {
    font-size: 2.5rem;
    padding-top: 130px;
    margin-bottom: 10px;
}

.text-overlay p {
    font-size: 1.25rem;
}

/* For small screens */
@media (max-width: 767px) {
    .text-overlay h1 {
        font-size: 1.75rem; /* Smaller text for smaller screens */
    }
    .text-overlay p {
        font-size: 1rem; /* Adjust paragraph font size */
    }
}

/* For extra-large screens */
@media (min-width: 1200px) {
    .text-overlay h1 {
        font-size: 3rem; /* Larger text on large screens */
    }
    .text-overlay p {
        font-size: 1.5rem;
    }
}


/* ++++++++++ */

#contact1 {
    background-image: url("Images/carpassinger_4.jpeg");
    background-size: cover; /* Ensure the image covers the entire div */
    background-position: center; /* Keep the image centered */
    margin-top: 20px;
    border: 2px solid #004634;
    border-radius: 0px 100px 0px 100px;
    padding: 20px; /* Add some padding for content inside */
    color: rgb(12, 1, 1); /* Text color for contrast */
}

@media (max-width: 768px) {
    #contact1 {
        background-size: contain; /* Adjust the background size for smaller screens */
        background-position: top center; /* Adjust positioning for smaller screens */
    }
}

.custom-form {
    border: 2px solid #004634;
    background-color: #fffdfd;
    margin-top: 20px;
    border-radius: 100px 0px 100px 0px;
  }
  
  .custom-form label {
    font-weight: bold;
    color: #004634;
  }
  
  .custom-form input,
  .custom-form textarea {
    background-color: #f7f7f7;
    border: 1px solid #97c36b;
    color: #333;
  }

/* +++++++++ */

.footer {
    background-color: #004634;
    color: white;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer h5 {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer a:hover {
    color: #fff;
}

.footer .social-icons a {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer .social-icons a:hover {
    color: #e6e6e6;
}

.footer .divider {
    border-top: 1px solid #e6e6e6;
    margin: 20px 0;
}

.footer .copyright {
    font-size: 0.9rem;
    color: #e6e6e6;
}

