* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #222;
    gap: 10px;
}

.menu-image {
    width: 100px;
    height: auto;
    margin-right: 15px;
}

.menu-links {
    display: flex;
    flex-wrap: nowrap;
    margin-right: 200px;
}



.menu-link {
    margin: 0 5px;
    font-size: 22px;
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

.menu a:first-of-type {
    flex-shrink: 0;
}

.menu a:not(:first-of-type) {
    flex-grow: 1;
    text-align: center;
}

.menu-link:hover {
    color: #ff9800;
}

.search-bar {
    display: flex;
    width: 50%;
    background: #fff;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.search-bar-bar {
    flex-grow: 1;
    padding: 8px;
    border: none;
    border-radius: 20px;
}

.search-bar-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background-color: #ff9800;
    color: #fff;
    cursor: pointer;
}

.search-bar-btn:hover {
    background-color: #e68900;
}

body {
    background-color: #f5f5f5;
    font-family: 'Arial', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.header {
    padding: 40px;
    margin-bottom: 40px;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.head-title {
    font-size: 65px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.head-quote {
    font-size: 20px;
    font-style: italic;
    color: #555;
}

.head-quote a {
    font-weight: bold; /* Makes the text pop */
    color: #e67e22; /* Gives it a distinct color */
    text-decoration: none; /* Removes default underline */
    border-bottom: 2px solid #e67e22; /* Adds a subtle underline effect */
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.head-quote a:hover {
    color: #d35400; /* Darker shade on hover */
    border-bottom: 2px solid #d35400; /* Emphasizes the hover effect */
}

.creator-link {
    font-weight: bold; /* Makes the text pop */
    color: #e67e22; /* Gives it a distinct color */
    text-decoration: none; /* Removes default underline */
    border-bottom: 2px solid #e67e22; /* Adds a subtle underline effect */
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.creator-link:hover {
    color: #d35400; /* Darker shade on hover */
    border-bottom: 2px solid #d35400; /* Emphasizes the hover effect */
}


.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.featured-product {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-image {
    max-width: 150px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.featured-details {
    text-align: left;
}

.featured-name {
    font-size: 24px;
    font-weight: bold;
    color: #e67e22;
}

.featured-price {
    font-size: 18px;
    color: #333;
}

.featured-description {
    font-size: 16px;
    line-height: 1.6;
}

.featured-button {
    background: #e67e22;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s;
}

.featured-button:hover {
    background: #d35400;
}

.feature-block, .photos-block {
    background-color: #fff;
    padding: 20px;
    width: 100vw;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);

}

.main-gallery {
    display: flex;
    justify-content: center; /* Centers images when there aren't enough */
    align-items: center;
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents items from wrapping */
    gap: 10px; /* Space between images */
    padding: 10px;
    scroll-behavior: smooth; /* Smooth scrolling */
}

#product-list, #search-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.product-block {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.product-block img {
    width: 100%;
    border-radius: 8px;
}

.product-block h3 {
    margin: 15px 0 5px;
    font-size: 22px;
}

.product-block p {
    font-size: 18px;
    color: #444;
}

.product-block:hover {
    transform: scale(1.05);
}

.product-block img {
    width: 150px; /* Adjust to a reasonable size */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

#product-info {
    text-align: center;
    padding: 20px;
}

#product-info img {
    width: 150px; /* Adjust to a reasonable size */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Product Title (h2) */
#product-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Main Product Container */
.product-container {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Head Image */
.product-head-image {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Product Name */
.product-name {
    font-size: 36px;
    font-weight: bold;
    color: #e67e22;
    text-transform: uppercase;
}

/* Price */
.product-price {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

/* Description */
.product-description {
    font-size: 18px;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.8;
    text-align: center;
}

/* Specifications */
.product-specifications {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.product-specifications h3 {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-specifications ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
}

.product-specifications li {
    background: white;
    padding: 12px;
    border-radius: 5px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}


.product-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}




.product-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #ff9800;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.product-btn:hover {
    background-color: #e68900;
}

main {
    min-height: 70vh; /* Ensures the main content takes up enough space */
    padding-bottom: 40px; /* Adds space before the footer */
    margin-bottom: 40px; /* Ensures proper separation */
}



footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #222;
    padding: 15px;
    text-align: center;
}

.resource-title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 30px;
    border-bottom: 2px solid #000000;
    height: 90px;
}

.foot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.foot-links {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
}

.foot-link {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.foot-link:hover {
    font-size: 22px;
    color: #ff9800;
}

.foot-link:active {
    text-decoration: underline;
}



footer p {
    color: white;
    font-size: 16px;
    margin-top: 10px;
}


.product-block {
    display: block;
}

#contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 40px auto;
}

#contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 18px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff9800;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: #e68900;
}

.specifications {
    list-style-type: none;
    padding: 10px;
    background: #f4f4f4;
    border-radius: 5px;
}

.specifications li {
    font-size: 16px;
    padding: 5px 0;
    border-bottom: 1px solid #ccc;
}

.specifications li:last-child {
    border-bottom: none;
}


.contact-p {
    font-size: 18px; 
    line-height: 1.8;
    color: #333; 
    text-align: center; 
    padding: 20px; 
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 30px; 
    background-color: #f8f8f8; 
    border: none; 
}

.faq-title {
    text-align: center;
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.faq-item {
    padding: 15px;
    margin-bottom: 20px;
    background: #f4f4f4;
    border-radius: 5px;
}

.faq-item h3 {
    font-size: 20px;
    color: #2c3e50;
    text-align: center;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.cart-link {
    font-size: 20px;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #ff9800;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
    max-width: 120px;
    flex-shrink: 0; 
    text-align: center;
    white-space: nowrap;
}

.cart-link:hover {
    background-color: #e68900;
}

#cart-count {
    font-weight: bold;
    margin-left: 5px;
}

/* Shopping Cart Container */
#cart-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

/* Cart Items Display */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-in-out;
    gap: 10px;
}

.cart-item img {
    width: 80px;
    height: auto;
    border-radius: 5px;
}

.cart-item h3 {
    flex-grow: 1;
    font-size: 20px;
    margin-left: 15px;
}

.cart-item p {
    font-size: 16px;
    color: #444;
}

/* Quantity Display */
.cart-item p.quantity {
    font-weight: bold;
    color: #222;
}

/* Remove Button */
.remove-btn {
    padding: 8px 12px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.remove-btn:hover {
    background-color: #cc0000;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    padding: 10px 30px;
    margin-bottom: 20px;
}

.clear-cart-btn {
    padding: 10px 15px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clear-cart-btn:hover {
    background-color: #cc0000;
}



/* "Checkout" Button */
#checkout-btn {
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#checkout-btn:hover {
    background-color: #e68900;
}

.cart-extras {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
}

.cart-extras p {
    margin: 5px 0;
    font-weight: bold;
}

/* Quantity Selector */
.quantity-container {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    margin-top: 10px;
}

#quantity {
    width: 50px;
    padding: 5px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#add-to-cart {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#add-to-cart:hover {
    background-color: #3d8b40;
}

.item-total {
    font-weight: bold;
    color: #222;
}

#cart-total {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

#cart-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

#cart-total-head {
    font-size: 28px; /* Makes the heading bigger */
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
}

#cart-total {
    font-size: 32px; /* Enlarges the grand total */
    font-weight: bold;
    padding: 15px;
    background-color: #e67e22; /* Gives it a standout color */
    color: white; /* Contrasts nicely with the background */
    border-radius: 8px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    display: block;
    text-align: center;
    margin: 20px auto;
    width: fit-content;
}

/* Tax Information Form */
#tax-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
}

#tax-form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 18px;
}

#tax-form input, #tax-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}



/* Checkout Form */
#checkout-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
}

#checkout-form label {
    display: block;
    margin: 10px 0 5px;
    font-size: 18px;
}

#checkout-form input, #checkout-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#checkout-form button {
    margin-top: 15px;
    padding: 12px 20px;
    background-color: #ff9800;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

#checkout-form button:hover {
    background-color: #e68900;
}

.image-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-image {
    margin-top: 20px;
    width: 150px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.1);
}

#image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents scrolling */
    z-index: 1000; /* Ensures modal is above other elements */
}

.modal-content img {
    max-width: 90vw; /* Constrains width within viewport */
    max-height: 90vh; /* Ensures image fits inside screen */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
    object-fit: contain; /* Keeps original aspect ratio */
}

/* About Us Section Styling */
.about-section {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.about-section h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.about-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-section ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.about-section li {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

/* Optional: Add subtle hover effect to list items */
.about-section li:hover {
    color: #e67e22;
    cursor: default;
}






/* Responsive Design */
@media (max-width: 768px) {
    .search-bar {
        width: 80%;
    }
    .menu {
        flex-direction: column;
        align-items: center;
    }
    .main-content, #product-list {
        flex-direction: column;
        align-items: center;
    }
    .product-block {
        width: 80%;
    }
}