/* Color Palette */
:root {
    --primary-color: #FDB813;
    /* Golden Yellow */
    --secondary-color: #FFF9E8;
    /* Soft Cream */
    --accent-color: #4E342E;
    /* Deep Brown */
    --highlight-color: #FFE099;
    /* Light Orange */
    --text-main-color: #3B2E2A;
    /* Rich Brown */
    --border-color: #F2E5D7;
    /* Light Beige */
}

/* Optional custom styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main-color);
    margin: 0;
    padding: 0;
}

/* Logo Styling */
.logo {
    width: 50px;
    height: auto;
}

.logo1 {
    width: 180px;
}

/* Navbar Custom Background */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0 !important;
    /* This cancels both vertical and horizontal padding */
}

/* Make the text of the navbar-brand bold */
.navbar .navbar-brand {
    display: flex;
    align-items: center;
    /* Vertically align the logo and text */
}

.navbar .logo {
    margin-right: 10px;
    /* Adjust spacing between the logo and text */
}

.navbar .navbar-text {
    font-weight: bold;
    /* Make the text bold */
    font-size: 1.5rem;
    /* Adjust the font size */
    color: #FFF9E8;
    text-align: center;
}


.navbar .nav-link {
    color: rgb(255, 255, 255);
    /* White text color for navbar links */
}

.navbar .nav-link:hover {
    color: var(--accent-color);
    /* Dark brown color on hover */
}

/* Navbar Collapse Styling */
.navbar-collapse {
    background-color: var(--primary-color);
}

.navbar-nav.ms-auto .nav-item {
    margin-left: 15px;
}

/* Hero Section */
#hero {
    position: relative;
    color: white;
    height: 100vh;
    /* Ensure the hero section covers the full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center the content */
    align-items: center;
    /* Horizontally center the content */
    padding: 0;
    margin-top: 0;
}

/* Background Image */
.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the entire section */
    z-index: -1;
    /* Places the image behind the content */
}

/* Overlay to darken background (if needed) */
.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    /* Optional dark overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Ensure text inside the hero section is centered */
#hero .container {
    z-index: 1;
    /* Keeps text above the background */
    text-align: center;
}

/* Hero Heading - Make it bigger */
#hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    /* Increased size */
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    /* Add some space below the heading */
}

/* Hero Paragraph - Make it larger and more prominent */
#hero p {
    font-size: 1.3rem;
    /* Increased size */
    text-align: center;
    margin-bottom: 30px;
    /* Add some space below the paragraph */
}

/* Button Styling */
#hero .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: bold;
    border-radius: 40%;
    /* Make button larger */
    font-size: 1.2rem;
    /* Increase button text size */
    text-align: center;
    margin-top: 20px;
    /* Add some space between the button and content */
}

#hero .btn-primary:hover {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
}


/* Features Section */
#features {
    padding: 5rem 0;
}

#features h2 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

#features .row {
    margin-top: 30px;
}

#features .col-md-6 h4 {
    font-weight: bold;
}

/* How It Works Section */
#how-it-works {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

#how-it-works h2 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

#how-it-works .col-md-6 h5 {
    font-weight: bold;
}

/* Testimonials Section */
#testimonials {
    padding: 5rem 0;
}

#testimonials blockquote {
    border-left: 4px solid var(--highlight-color);
    padding-left: 20px;
    font-style: italic;
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--highlight-color);
}

footer .social a {
    margin: 0 10px;
}

footer .social img {
    width: 24px;
    height: auto;
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
}

/* Card Hover Effect */
.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.dropdown-item{
    background-color: #FDB813;
}






/* Modal Styles */
.modal-content {
    border-radius: 10px; /* Rounded corners for the modal */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    animation: slideIn 0.3s ease-out; /* Smooth modal transition */
}

/* Modal Header Styling */
.modal-header {
    background-color: var(--primary-color); /* Golden Yellow */
    border-bottom: 1px solid #dee2e6; /* Light grey border for separation */
}

.modal-title {
    font-size: 1.5rem; /* Title size */
    font-weight: bold; /* Bold title */
    color: #FFF9E8; /* Soft Cream color for the title */
}

/* Close button styling */
.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #FFF9E8; /* Cream color for close button */
    cursor: pointer;
}

.btn-close:hover {
    color: #0056b3; /* Darker shade on hover */
}

/* Modal Body Styling */
.modal-body {
    padding: 30px 15px; /* Padding for the body */
}

/* Form Inputs Styling */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="file"],
textarea {
    width: 100%; /* Full width inputs */
    padding: 10px;
    margin: 10px 0 20px; /* Margin between inputs */
    border-radius: 5px; /* Rounded corners */
    border: 1px solid #ccc; /* Light border */
    box-sizing: border-box; /* Include padding and border in the total width/height */
    font-size: 1rem;
    transition: border 0.3s ease; /* Smooth transition on focus */
}

/* Input focus effect */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus {
    border-color: var(--primary-color); /* Highlight with primary color on focus */
    outline: none; /* Remove the default outline */
}

/* Submit Button Styling */
button[type="submit"] {
    background-color: var(--primary-color); /* Golden yellow */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px; /* Rounded corners for button */
    font-size: 1rem;
    cursor: pointer;
    width: 100%; /* Full width button */
    margin-top: 10px;
    transition: background-color 0.3s ease; /* Smooth color transition */
    
}

button[type="submit"]:hover {
    background-color: var(--highlight-color); /* Light orange on hover */
}

/* Custom styling for disabled button */
button:disabled {
    background-color: #6c757d !important; /* Grey background */
    border-color: #6c757d !important; /* Grey border */
    color: #ffffff !important; /* White text */
    cursor: not-allowed; /* Show not-allowed cursor */
}

/* Modal Background and Overlay */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for background */
}

h6 {
    text-align: center; /* This centers the heading */
    margin-bottom: 20px; /* Optional: adds space below the heading */
}

.features-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.features-subtitle {
    color: #6c757d;
    font-family: 'Roboto', sans-serif;
}

.features-card {
    border-radius: 1rem;
}

.bakeshops-card {
    background-color: #fff7e6;
}

.suppliers-card {
    background-color: #eef4ff;
}

.features-header .icon-wrapper {
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.features-list li {
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
}

.bakeshops-card .highlight {
    color: #f0ad4e;
    font-weight: 700;
}

.suppliers-card .highlight {
    color: #0d6efd;
    font-weight: 700;
}


/* Animation for Modal Entrance */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjust input and button sizes for mobile responsiveness */
@media (max-width: 767.98px) {
    .modal-content {
        padding: 15px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        font-size: 0.9rem; /* Smaller font size for mobile */
    }

    button[type="submit"] {
        font-size: 1rem;
    }
}


/* Center the navbar-brand content on mobile */
@media (max-width: 767.98px) {
    .navbar .container {
        display: flex;
        justify-content: center;
        /* Centers the content horizontally on mobile */
        align-items: center;
        /* Ensures vertical alignment */
    }

    .navbar .navbar-brand {
        display: flex;
        align-items: center;
        /* Align the logo and text vertically */
        justify-content: center;
        /* Center the logo and text together */
        text-align: center;
        /* Center the text */
    }

    .navbar .logo {
        margin-right: 10px;
        /* Optional: Adjust the space between the logo and text */
    }
}

/* Default behavior for larger screens */
@media (min-width: 768px) {
    .navbar .navbar-brand {
        text-align: left;
        /* Align text to the left on larger screens */
    }
}

