@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Playfair+Display:wght@400;700&family=Cinzel:wght@400;700&family=Lora:wght@400;700&family=Montserrat:wght@400;700&family=Raleway:wght@400;700&display=swap');

body {
    color: #d6d1cb;
    scroll-behavior: smooth;
    background: #847765 url("../images/gold ore background-modified (1).png") no-repeat center center fixed;
    background-size: cover;
    font-family: 'Merriweather', serif;
    padding-top: 4.15rem;
}

h1, h2, h3{
    font-family: 'Playfair Display', serif;
}

p a{
    color: #d6d1cb;
    text-decoration: none;
}
hr{
    height: 2px;
    background-color: white;
    opacity: 10;
    margin: 10px 0;
}

.mb-5 {
    margin-bottom: 4rem !important;
}

.bg-custom-dark {
    background-color: #4c4744;
    margin-left: 10%;
    margin-right: 10%;
}
.favourites .cards-3{
    padding: 0 13%;
}
/* Ensure cards have consistent height */
.card {
    display: flex;
    flex-direction: column;
    padding: 5px;

}
.card-img-top {
    height: 200px; /* Adjust height as needed */
    object-fit: cover;
}

.card-body {
    min-height: 200px;
    flex: 1 1 auto;
    background-color: #d6d1cb36 !important;
}

.trim-card{
    min-height: 100px;
}

/* Adjust carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.carousel-control-prev {
    left: -5%;
}

.carousel-control-next {
    right: -5%;
}

/* General button style */
.btn-custom {
    background-color: #ada290;
    color: #4c4744;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    outline: none; /* Removes the default focus outline */
    box-shadow: none; /* Removes the default Bootstrap focus box-shadow */
}

.btn-custom:hover {
    background-color: #847765;
    color: #dddddd;
}

.btn-custom:focus,
.btn-custom:active {
    outline: none;
    box-shadow: none;
    background-color: #ada290; /* Optional: maintain hover color on click */
    color: #4c4744;
}
.btn-edit, .btn-delete, .btn-details {
    background-color: #ada290; /* Red background for delete button */
    color: #ffffff; /* White text color */
    align-items: center;
    justify-content: center;
    font-size: 20px; /* Font size for button icons */
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}
.btn-edit:hover {
    background-color: #45a049; /* Slightly darker green on hover */
    color: #ffffff; /* Keep text color white on hover */
}
.btn-delete:hover {
    background-color: #d32f2f; /* Slightly darker red on hover */
    color: #ffffff; /* Keep text color white on hover */
}

/* General form input styles */
.form-control {
    background-color: #f9f6f3; /* Light background color for inputs */
    border: 1px solid #d6d1cb; /* Border color matching the sidebar */
    border-radius: 4px; /* Rounded corners */
    color: #4c4744; /* Text color */
    padding: 10px; /* Padding inside the input */
    font-size: 14px; /* Font size */
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition for border and shadow */
    height: 50px;
}

.form-control:focus {
    border-color: #ada290; /* Border color on focus */
    box-shadow: 0 0 0 0.2rem rgba(173, 162, 144, 0.25); /* Shadow color on focus */
    outline: none; /* Remove default outline */
}

/* Styling for textareas */
textarea.form-control {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 100px; /* Minimum height */
}

/* Custom styles for select fields */
.form-control-select {
    background-color: #f9f6f3; /* Background color for selects */
    border: 1px solid #d6d1cb; /* Border color */
    border-radius: 4px; /* Rounded corners */
    color: #4c4744; /* Text color */
    padding: 10px; /* Padding inside the select */
    font-size: 14px; /* Font size */
}

/* Custom styles for buttons inside forms */
.form-button {
    background-color: #d6d1cb; /* Background color matching the theme */
    color: #847765; /* Text color */
    border: none; /* Remove border */
    border-radius: 4px; /* Rounded corners */
    padding: 10px 20px; /* Padding inside the button */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.header-custom {
    background-color: #ada290; /* Darker background on hover */
    color: #4c4744; /* Text color on hover */
    font-weight: bold;
}
.footer-custom {
    background-color: #ada290; /* Darker background on hover */
    color: #4c4744; /* Text color on hover */

}
.footer-custom .social-icons {
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligns icons to the right */
}

.footer-custom .logo {
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligns icons to the right */
}

.footer-custom .social-icons a {
    font-size: 22px; /* Icon size */
    margin-bottom: 6px; /* Spacing between icons */
    text-decoration: none; /* Remove underline */
}
.footer-custom .social-icons .text-sm{
    font-size: 20px;
}
.footer-custom .social-icons a:hover {
    color: #ddd; /* Lighter color on hover */
}
.footer-custom h5 {
    margin-top: 10px;
    margin-bottom: 20px; /* Spacing between heading and icons */
}