/* Resetting default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic styling for the header */
header {
    width: 100%;
    background-color: #ffffff; /* White background */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures it's above other content */
    border-bottom: 1px solid #cccccc; /* Optional: Add a bottom border */
}

/* Adding padding to the body to prevent content from being hidden behind the fixed header */
body {
    padding-top: 100px; /* Adjust this value based on the height of your header */
    font-family: 'Roboto', sans-serif; /* Apply 'Roboto' font to the body */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px; /* Increased padding for more space */
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto; /* Center the navbar */
    font-family: 'Roboto', sans-serif; /* Apply 'Roboto' font to navbar */
    position: relative;
}

.navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-logo img {
    max-width: 150px; /* Adjust logo size as needed */
    height: auto;
}

.navbar-nav {
    list-style-type: none;
    display: flex;
    margin-left: auto; /* Push the navigation to the right */
}

.navbar-nav li {
    margin-left: 20px; /* Adjust as needed for spacing */
}

.navbar-nav li a {
    text-decoration: none;
    color: #333333; /* Link color */
    transition: color 0.3s ease; /* Smooth transition */
    font-family: 'Roboto', sans-serif; /* Apply 'Roboto' font to links */
}

.navbar-nav li a:hover {
    color: #007bff; /* Change color on hover */
}

/* Banner Section Styling */
.banner {
    position: relative;
    width: 100%;
    max-width: 2880px; /* Set maximum width */
    margin: 0 auto; /* Center horizontally */
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto; /* Automatically adjust height */
    display: block; /* Ensure it behaves as a block element */
}

.banner-text {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: #8e8e8e; /* Adjust text color as needed */
    text-align: right;
    font-family: 'Helvetica', sans-serif; /* Apply 'Helvetica' font to banner text */
}

.banner-text h1 {
    font-size: 1.8rem; /* Adjust font size as needed */
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 1rem; /* Adjust font size as needed */
    margin-bottom: 20px;
}

.banner-button {
    padding: 10px 20px;
    background-color: #1f1f1f; /* Button background color */
    color: #ffffff; /* Button text color */
    text-decoration: none;
    font-size: 1rem; /* Adjust font size as needed */
    border: none; /* Remove default border */
    border-radius: 5px; /* Adjust border radius as needed */
    cursor: pointer; /* Change cursor to pointer */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.banner-button:hover {
    background-color: #f3f3f3; /* Button hover background color */
    color: #000000; /* Button hover text color */
}

/* Quote Section Styling */
.quote-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto; /* Adjust as needed */
    background-color: #f8f8f8; /* Background color for the quote section */
    padding: 40px 20px; /* Padding around the quote */
    text-align: center; /* Center align the text */
}

.vertical-line {
    width: 2px; /* Adjust width as needed */
    height: 170px; /* Adjust height as needed */
    background-color: #cccccc; /* Adjust color as needed */
    margin-bottom: 40px; /* Space between the line and the quote */
}

.horizontal-line {
    width: 50px; /* Adjust width as needed */
    height: 2px; /* Adjust height as needed */
    background-color: #cccccc; /* Adjust color as needed */
    margin-top: 40px; /* Space between the quote and the horizontal line */
    margin-bottom: 80px; /* Space between the quote and the horizontal line */
}

.quote {
    font-size: 1.5rem; /* Adjust font size as needed */
    font-style: italic;
    color: #555555; /* Text color */
    max-width: 700px; /* Max width for the quote text */
    margin: 0 auto; /* Center the quote text */
}

/* Product Showcase Section */
.product-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* No padding needed */
}

.left-column, .right-column {
    flex: 1;
    padding: 20px; /* Adjust padding as needed */
}

.left-column {
    text-align: center;
    position: relative;
}

.left-column .product-slide {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit text color */
}

.left-column .product-slide.active {
    display: block;
}

.left-column .product-slide.visible {
    opacity: 1;
}

.left-column .product-slide img {
    max-width: 100%;
    width: 200px; /* Limit the width */
    height: 200px; /* Limit the height */
    margin-bottom: 20px; /* Space between image and details */
}

.left-column .product-slide h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.left-column .product-slide p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 20px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
}

.left-arrow {
    left: 100px; /* Move closer to the image */
}

.right-arrow {
    right: 100px; /* Move closer to the image */
}

.arrow:hover {
    color: #000;
}

.slider-dots {
    margin: 20px 0;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #717171;
}

.more-creations-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1f1f1f;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 30px; /* Increase space between slider and button */
}

.more-creations-button:hover {
    background-color: #f3f3f3;
    color: #000000;
}

.right-column {
    padding: 0; /* No padding needed */
}

.right-column img {
    max-width: 100%;
    height: 800px; /* Set height to 800px */
    object-fit: cover; /* Cover the container */
    margin: 0; /* No margin needed */
}

/* Subscribe Section Styling */
.subscribe-section {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    margin: 50px;
}

.subscribe-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.subscribe-section p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.subscribe-form input[type="email"] {
    padding: 10px;
    width: 300px;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.subscribe-form button {
    padding: 10px 20px;
    background-color: #1f1f1f;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #f3f3f3;
    color: #000000;
}
/* Footer Styling */
footer {
    background-color: #f8f8f8; /* Background color for the footer */
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer-social p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px; /* Space between text and icons */
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
}

.footer-social .social-icons a img {
    width: 24px; /* Adjust icon size as needed */
    height: 24px;
    margin: 0 10px;
}

.footer-line {
    width: 50%; /* Make the line shorter */
    height: 2px;
    background-color: #cccccc; /* Line color */
    margin: 40px auto; /* Center the line */
}

.footer-logo img {
    max-width: 150px; /* Adjust logo size as needed */
    height: auto;
    display: block;
    margin: 0 auto;
}


.filter-section {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f8f8f8;
}

/* product database */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-item {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Ensure links within the product-item have no underline */
}

.product-item a {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit the color from the parent element */
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.product-item h3 {
    margin-bottom: 10px; /* Adjust the value as needed */
    font-size: 1.2em;
    color: #333;
    text-decoration: none; /* Remove underline from heading */
}

.product-item p {
    margin-bottom: 15px; /* Adjust the value as needed */
    font-size: 1em;
    color: #666;
    text-decoration: none; /* Remove underline from paragraph */
}

.product-item p:last-child {
    font-size: 0.9rem;
    margin-bottom: 0; /* Ensure no extra margin at the bottom of the last paragraph */
}


/* Add these styles to your existing styles.css */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.page-button {
    margin: 0 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.page-button.active {
    background-color: #4CAF50;
    color: white;
}

.page-button:hover:not(.active) {
    background-color: #ddd;
}

/* for each individual product pages */

/* Styles for individual product pages */
.back-link {
    display: block;
    margin: 20px;
    font-size: 1.2em;
    color: #949494;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.product-detail {
    display: flex;
    padding: 20px;
    min-height: 80vh; /* Reduced height to prevent too much space at the bottom */
    box-sizing: border-box;
    align-items: flex-start; /* Align items to the top */
}

.product-image, .product-info {
    width: 50%; /* Equal half-width */
    padding: 20px;
    box-sizing: border-box;
}

.product-image {
    text-align: center;
    position: relative; /* For positioning navigation arrows */
}

.product-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 10px;
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

.image-slider {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.image-slider img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
}

.image-slider img:hover {
    border-color: #4CAF50;
}

.image-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.image-nav .prev, .image-nav .next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.image-nav .prev:hover, .image-nav .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    padding-left: 100px;
    padding-right: 100px;
}

.product-info h1 {
    font-size: 2em;
    margin-bottom: 30px; /* Spacing between name and category */
}

.product-info .category {
    margin-bottom: 60px; /* Spacing between category and long description */
}

.product-info .longdescription {
    margin-bottom: 50px; /* Spacing between long description and product code */
}

.product-info .productcode {
    margin-bottom: 50px; /* Spacing between product code and price */
}

.product-info .price {
    margin-bottom: 50px; /* Spacing between price and button */
}

.product-info button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.product-info button:hover {
    background-color: #45a049;
}

/* uploadhtml */
.upload-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.upload-form label {
    display: block;
    margin-bottom: 8px;
}

.upload-form input[type="text"],
.upload-form input[type="number"],
.upload-form input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.upload-form input[type="submit"] {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.upload-form input[type="submit"]:hover {
    background-color: #45a049;
}
