/* Reset default styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color:black;
    background-color: #ffffff;
}
header.navbar {
    background-color: #ffffff !important; 
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}
/* Navbar styling */
nav.bg-black {
    background-color: #000000; /* Black navigation bar */
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for separation */
}
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
    color: #dc3545;
}

.nav-link {
    color: #ffffff !important;
    margin-right: 15px;
}

.nav-link:hover {
    color: #dc3545 !important;
}
.navbar-toggler {
    border: 1px solid #ffffff; /* White border for toggler */
}

.navbar-toggler-icon {
    background-color: #ffffff; /* White toggler icon */
}
/* Hero section */
.hero-section {
    background-size: cover;
    background-position:center;
    height: 70vh;
}

.hero-section h1 {
    color: #ffffff;
    text-align: left;
}

.hero-section h3 {
    color: #ffffff;
    margin-top: 20px;
    font-size: 18px;
    text-align: left;
}

.hero-section .btn {
    margin-top: 30px;
}

/* Button styling */
.btn-danger {
    background-color: #dc3545;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    position: right;   
}

.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}
/* Search bar styling */
form.d-flex input[type="search"] {
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    padding: 8px 12px;
    box-shadow: none;
}

form.d-flex button {
    border-radius: 0 5px 5px 0;
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

form.d-flex button i {
    font-size: 16px;
}

form.d-flex button:hover {
    background-color: #b02a37;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header {
    background-color: #000000;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar .logo {
    font-size: 30px;
    font-weight: bold;
    color: #000000;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    margin: 20px 0;
}

.hero b {
    font-size: 40px;
    color: #f44336;
}

.hero p {
    font-size: 18px;
    color: #000000;
}


/* Services Section */
.services {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #fff;
}

.service-card {
    text-align: center;
    width: 250px;
    padding: 30px;
    color: rgb(0, 0, 0);
    margin: 10px;
    padding: 5px;
}

.service-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    
}

.service-card h3 {
    text-align: center;
    margin-top: 10px;
    font-size: 30px;
    margin-bottom: 10px;
    color:#dc3545;
}

.service-card p {
    font-size: 16px;
}

.product-category {
    padding: 40px 20px;
    background-color: #fff;
}

.product-category h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    color:#f44336;
}

.category-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.category-card {
    background-color: #da6c6c;
    color: white;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}
.category-card:hover {
    background-color: #d2d2d2;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Top Rented Items Section */
.top-rented-items {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.top-rented-items h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color:#f44336;
}

.item-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.item-card {
    text-align: center;
    background-color: #f7f7f7;
    width: 200px;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.item-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.item-card:hover {
    background-color: #d2d2d2;
    transform: scale(1.05);
    transition: all 0.3s ease;
}


/* Footer General Styling */
footer {
    background-color: #000000; /* White background */
    color: #ffffff; /* Dark text for contrast */
    font-family: Arial, sans-serif;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Sections Styling */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #f44336; /* Accent color */
    margin-top: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f44336; /* Red hover */
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form button {
    background-color: #f44336;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #d32f2f;
}

.social-icons a img {
    width: 24px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

/* Footer Bottom Styling */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #000000;
    color: #ffffff;
    border-top: 1px solid #ddd;
    font-size: 14px;
}
/* Top White Header Section */
.top-header {
    background-color: #ffffff; 
    border-bottom: 1px solid #ddd; 
    padding: 10px 20px;
    height: 100px; /* Adjust height as needed */
    display: flex;
    align-items: center; /* Center content vertically */
    position: relative; 
    z-index: 1000; 
}
header {
    margin: 0; 
    padding: 0;
}

.top-header .navbar-brand img {
    height: 80px; 
}

.top-header .btn-danger {
    background-color: #f44336; 
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.top-header .btn-danger:hover {
    background-color: #d32f2f;
}

/* Bottom Black Navigation Bar */
nav.bg-black {
    background-color: #000000; 
    padding: 10px 0;
}

nav .nav-link {
    color: #ffffff !important; 
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 15px;
    transition: color 0.3s ease;
}

nav .nav-link:hover {
    color: #f44336 !important; 
}

/* Search Bar */
form.d-flex input[type="search"] {
    border: 1px solid #555;
    border-radius: 5px 0 0 5px;
    padding: 8px 12px;
    background-color: #ffffff;
    color: #000000;
}

form.d-flex button {
    background-color: #f44336; 
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}

form.d-flex button:hover {
    background-color: #d32f2f;
}

/* Responsive Navbar Toggler */
.navbar-toggler {
    border: 1px solid #ffffff; 
}

.navbar-toggler-icon {
    background-color: #ffffff; 
}
/* Profile Dropdown Styling */
.dropdown-toggle {
    text-decoration: none;
    color: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-toggle i {
    font-size: 1.8rem; 
    transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-toggle:hover i {
    color: #f44336; 
    transform: scale(1.1); 
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    min-width: 160px; 
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1100;
}

.dropdown-menu a {
    color: #333; 
    font-size: 14px;
    padding: 8px 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f44336; 
    color: #ffffff; 
    text-decoration: none;
}

.dropdown-divider {
    margin: 5px 0;
    border-top: 1px solid #ddd;
}

/* Position dropdown properly */
.dropdown-menu-end {
    right: 0;
    left: auto;
}
/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Login Box */
.login-box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Title */
.login-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Form Group */
.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-group input::placeholder {
    color: #aaa;
}

/* Login Button */
.login-button {
    width: 100%;
    background-color: #f44336;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #d32f2f;
}

/* Footer Links */
.login-footer {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #f44336;
    text-decoration: none;
    font-weight: bold;
}

.login-footer a:hover {
    text-decoration: underline;
}

.admin-button {
    background-color: red; /* Red background */
    color: white; /* White text */
    padding: 10px 20px; /* Adjust padding for button size */
    text-decoration: none; /* Remove underline */
    border: none; /* Remove border */
    border-radius: 5px; /* Optional: Add rounded corners */
    font-weight: bold; /* Optional: Make text bold */
}

/* Add hover effect for better user experience */
.admin-button:hover {
    background-color: darkred; /* Darker red when hovered */
}
