body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

header {
    background-color: #fff;
    padding: 0 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header nav img {
    width: 50px;
    margin-right: 5px;
}

.logo {
    display: flex;
    align-items: center;
}

nav,
.nav-links,
.nav-links .dropdown,
.nav-links .dropdown .dropdown {
    z-index: 999;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.nav-links li {
    list-style: none;
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
}

.nav-links li a.active {
    font-weight: bold;
    color: #DB6E00;
}

.nav-links li:hover>.dropdown {
    display: block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
}

.hero {
    position: relative;
    font-size: 1.5em;
    text-align: center;
    background-image: url(img/header-img-blur.png);
    background-size: cover;
    background-position: center center;
    padding: 6% 15% 26% 15%;
}

.hero h1 {
    color: #DB6E00;
}

.hero p {
    color: #fff;
}

/* From Uiverse.io by barisdogansutcu */
.btn-hero {
    position: absolute;
    display: inline-block;
    text-decoration: none;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    border-radius: 50px;
    background-color: #eb8022;
    border: solid 4px #DB6E00;
    font-family: inherit;
    text-decoration: none;
}

.default-btn,
.hover-btn {
    background-color: #eb8022;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all .3s ease;
}

.hover-btn {
    position: absolute;
    inset: 0;
    background-color: #eb8022;
    transform: translate(0%, 100%);
}

.default-btn span {
    color: #ffffff;
}

.hover-btn span {
    color: #ffd500;
}

.btn-hero:hover .default-btn {
    transform: translate(0%, -100%);
}

.btn-hero:hover .hover-btn {
    transform: translate(0%, 0%);
}

.featured {
    max-width: 1230px;
    margin: 40px auto;
    padding: 20px;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1230px;
    margin: 0 auto;
}

.product-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    width: 100%;

}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    text-align: center;
    margin: 10px 10px;
}

.product img {
    width: auto;
    height: 250px;
    border-radius: 8px;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.cta {
    border: none;
    background: none;
    cursor: pointer;
}

.cta a {
    padding-bottom: 7px;
    letter-spacing: 4px;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
}

.hover-underline-animation {
    position: relative;
    color: #DB6E00;
    font-weight: bold;
    padding-bottom: 20px;
}

.hover-underline-animation:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #DB6E00;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.news {
    max-width: 1230px;
    margin: 40px auto;
    padding: 20px;
}

.news-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.news-text {
    background: #fff;
    border-radius: 8px;
    padding: 0 0 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    margin: 10px 10px;
}

.news-text img {
    width: auto;
    height: 250px;
    width: 100%;
    max-width: max-content;
    border-radius: 8px 8px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: var(--accent);
    margin-top: 0;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {

    header {
        padding: 15px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle:before {
        font-size: 30px;
        color: #333;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: whitesmoke;
        position: absolute;
        width: 100%;
        left: 0;
        top: 32px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: left;
        width: 100%;
        padding: 10px 20px;
    }

    .nav-links li a {
        color: #333;
    }

    .nav-links .has-dropdown>a::after {
        font-size: 14px;
    }

    .nav-links .has-dropdown.active .dropdown {
        display: block;
    }

    .nav-links .dropdown {
        display: none;
        background-color: #f8f8f8;
        padding: 10px;
        position: relative;
        left: 0;
        top: 0;
    }

    .nav-links .dropdown li a {
        padding-left: 30px;
    }

    .btn-hero {
        bottom: 0;
    }

    .product {
        min-width: 320px;
    }
    
    .news-container {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex;
    }

    .nav-links li {
        margin: 5px 0 5px 0;
        display: flex;
        flex-wrap: nowrap;
    }

    .nav-links .has-dropdown>a::after {
        font-size: 14px;
    }

    .nav-links .dropdown {
        display: none;
        background-color: #f8f8f8;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 5px;
    }

    .nav-links .has-dropdown:hover>.dropdown {
        display: block;
    }

    .nav-links .dropdown .has-dropdown {
        position: relative;
    }

    .nav-links .dropdown .has-dropdown .dropdown {
        top: 0;
        left: 100%;
        position: absolute;
        display: none;
        background-color: #f8f8f8;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        min-width: 80px;
    }

    .nav-links .dropdown .has-dropdown:hover>.dropdown {
        display: block;
    }
}