:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --dark-color: #222;
    --light-color: #f8f9fa;
    --success-color: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    margin-top: 95px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #222933;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-color);
    padding-bottom: 10px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--light-color);
    margin-top: -5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-color);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero {
    background: url('../images/3DMaker-BigPicture.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: left; /* Align text to the left */
    padding: 12rem 0rem;
}

.hero .container {
    margin: 0;
    padding-bottom: 2%; /* Add 5% padding from the bottom */
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    background-color: white;
}

.info-box {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.info-box p {
    color: #666;
}

.why-section {
    background-color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.why-section h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.why-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--secondary-color);
}

.why-layout {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.why-image {
    flex: 1;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.why-content {
    flex: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    font-size: 1.1rem;
}

.why-content p {
    margin-bottom: 1.5rem;
}

.featured-products {
    padding: 2rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 4rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.big-product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 1rem;
    padding-bottom: 3rem;
}

.product-card:hover {
    transform: translateY(-5px);
}

.big-product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.big-product-img {
    width: 100%;
    height: 75%;
    object-fit: cover;
}

.product-shop-img {
    width: 500px;
    height: 500px;
    object-fit: contain;
    border-radius: 15px;
}

.item-count {
    width: 42px;
    height: 42px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.add-to-cart {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
}

.cart-section input {
    margin-bottom: 2rem;
    background-color: var(--light-color);
}

footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .why-section h2 {
        font-size: 1.8rem;
    }

    .why-section h3 {
        font-size: 1.5rem;
    }

    .why-content {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
}
.review-section {
    display: grid;
    align-items: center;
    font-size: 14px;
    color: #e6007e;
}

.stars {
    font-size: 18px;
    color: #f4c542; /* Gold color for stars */
    margin-right: 5px;
}

.products-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 300px;
    margin-right: 300px;
    margin-top: 2rem;
}

.header-spacer {
    padding-bottom: 20px;
}

.cart-container {
    max-width: 600px;
    margin: auto;
    padding: 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.cart-item h3 {
    margin: 0;
    font-size: 1.1rem;
}

.cart-item-details {
    text-align: right;
}

#checkout-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
}

#checkout-btn:hover {
    background: #1366d6;
}

.empty-cart {
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #e6007e;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.3rem;
  }
  
  .remove-btn:hover {
    text-decoration: underline;
  }

.flex-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.product-image {
    flex: 1;
}

.product-details {
    flex: 2;
}
