@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Figtree;
}

body {
    background-color: #efeeef;
}

header {
    background-color: #efeeee;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 100px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
}

.search-bar {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    margin-left: 200px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 400px;
}

.nav-links {
    display: flex;
    gap: 25px;
    margin-right: 100px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}

.sub-nav {
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 17px 0;
}

.sub-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.hero-banner {
    background-color: #2a2a2a;
    color: white;
    padding: 200px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content h5 {
    color: #a0a0a0;
    font-weight: normal;
    margin-bottom: 10px;
    margin-left: 100px;
}

.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 5px;
    margin-left: 100px;
}

.hero-content p {
    color: #a0a0a0;
    font-size: 0.9em;
    margin-bottom: 20px;
    margin-left: 100px;
}

.shop-now {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 12px 30px;
    margin-left: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-now:hover {
    background-color: white;
    color: #2a2a2a;
    box-shadow: 0 0 10px 0 #ffffff;
}

.hero-image img {
    height: 700px;
    margin-right: 50px;
    margin-bottom: -213.213px;
    margin-top: -200px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 15px;
    padding: 15px;
}

.product-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-item img {
    max-width: 320px;
    max-height: 300px;
    height: 250px;
    width: 320px;
}

.product-item h3 {
    font-size: 2em;
    margin-bottom: 5px;
}

.product-item p {
    color: #666;
    font-size: 1em;
    margin-bottom: 15px;
}

.buy-now {
    background-color: transparent;
    border: 1.3px solid #373737;
    padding: 10px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-now:hover {
    background-color: #333;
    color: white;
    border-color: #ffffff;
    box-shadow: 0 0 5px 0 #000000;
}

.browse-section {
    text-align: center;
    padding: 20px;
}

.browse-section h2 {
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.category-item {
    background-color: #ffffff;
    padding: 15px 5px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.category-item img {
    width: 50px;
    height: 60px;
    margin-bottom: 5px;
}

.category-item span {
    font-size: 1em; 
    color: #000;
}

.category-grid a {
    text-decoration: none; 
}

* {margin: 0; padding: 0;}

.wrapper {
    position: relative;
    max-width: 960px;
    width: 90%;
    height: 56.25vw;
    max-height: 540px;
    margin: auto; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-bottom: 20px;
}

.slider-wrap {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.slider {
    position: relative;
    left: 0;
    height: 100%;
    width: 500%;
    transition: 300ms ease-in-out;
}

.slide {
    float: left;
    height: 100%;
    width: 20%;
    background-size: cover;
}

.slide:nth-child(1) { background-image: url(/ergowijzer/main/images/slider/ergonomicdeskdummy.png); }
.slide:nth-child(2) { background-image: url(/ergowijzer/main/images/slider/ergonomicofficechairdummy.png); }
.slide:nth-child(3) { background-image: url(/ergowijzer/main/images/slider/ergonomicmousedummy.png); }
.slide:nth-child(4) { background-image: url(/ergowijzer/main/images/slider/ergonomickeyboarddummy.png); }
.slide:nth-child(5) { background-image: url(/ergowijzer/main/images/slider/ergonomicglassesdummy.png); }


.btn {
    position: absolute;
    top: 250px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    font-weight: 700;
    color: #FFF;
    margin-left: -50;
    background: transparent;
    cursor: pointer;
    user-select: none;
    transition: background 150ms ease-in-out;
}

.btn:first-child { left: -.8em;  }
.btn:last-child  { right: -.8em; }

.btn:hover  { background: transparent; }
.btn:active {
    transform: scale(.97);
    background: transparent;
}

.material-icons {
    font-family: figtree;
    font-size: 40px;
    font-weight: 100;
    color: #000000;
    line-height: 40px;
    text-align: center;
}

@media(max-width: 950px) {
    .slide {background-position: center;}
    
    .btn { top: -.5em; }
    .btn:first-child { left: calc(50% - 1em); }
    .btn:last-child { left: calc(50% + 1em); }
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.tab {
    padding: 5px 15px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #333;
}

.featured-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 15px;
}

.featured-item {
    background-color: #ffffff;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
}

.featured-item img {
    width: 160px;
    height: 130px;
    margin-bottom: 10px;
}

.featured-item:nth-of-type(4) img {
    height: 50%;
    margin-top: 25px;
}

.featured-item p {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 10px;
}

.see-more {
    background-color: #333;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 0.8em;
    cursor: pointer;
}

.bottom-productsh2 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.bottom-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 15px;
    gap: 15px;
    margin-bottom: 20px;
}

.bottom-product {
    background-color: #ffffff;
    padding: 15px;
    text-align: center;
    border-radius: 10px;    
}

.bottom-product img {
    width: 200px;
    height: 160px;
    margin-bottom: 10px;
}

.bottom-product:first-of-type img {
    height: 50%;
    margin: 20px 0px;
}

.bottom-product h4 {
    margin-bottom: 5px;
}

.bottom-product p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.more-details {
    background-color: transparent;
    border: 1px solid #333;
    padding: 5px 15px;
    cursor: pointer;
}

.footer {
    background-color: #000;
    padding: 20px 40px;
    margin: -20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
    color: #ffffff;
}

.footer-column img {
    width: 30px;
    height: 30px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 5px 0;
}

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    justify-content: center;
}

.social-icons a {
    color: #bbb;
    font-size: 20px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin: 20px 0;
    }
}

.about-section {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-direction: column;
    padding: 50px;
}

.about-section h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 50px;
    text-align: center; 
}

.about-p {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    max-width: 1000px;
}

.skills-section {
    text-align: center;
    padding: 40px 20px;
    margin-top: -40px;
}

.skills-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 20px; 
}

.skill-card {
    width: 370px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-card img {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: block;
}

.skill-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.skill-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        justify-items: center;
    }
}

/* Blog CTA Styles */
.blog-cta {
    background: linear-gradient(to right, #333, black);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.blog-cta .cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.blog-cta .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.blog-cta .cta-button {
    display: inline-block;
    background-color: #fff;
    color: #333;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.blog-cta .cta-button:hover {
    background-color: #333;
    color: #fff;
}

