body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.search-bar input {
    padding: 5px;
    font-size: 1rem;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-bar button {
    padding: 5px 10px;
    background: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.header-icons a {
    margin: 0 10px;
    color: #333;
    text-decoration: none;
}

.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.93;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(42, 42, 42, 0.8) 100%);
    z-index: -1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
}

.cta-buttons a {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-buttons a:hover {
    background: #219150;
}


.categories {
    padding: 20px;
    background-color: #f8f9fa;
}

.slider {
    margin-bottom: 20px;
}

.slider h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.slider-container {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 250px;
}

.slider-item {
    min-width: 200px;
    flex: 0 0 auto;
    text-align: center;
    animation: slide 15s infinite ease-in-out;
}

.slider-item img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
}

.slider-item p {
    font-size: 0.9rem;
    color: #555;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-220px);
    }
    40% {
        transform: translateX(-440px);
    }
    60% {
        transform: translateX(-660px);
    }
    80% {
        transform: translateX(-880px);
    }
    100% {
        transform: translateX(0);
    }
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer .footer-links ul {
    list-style-type: none;
    margin-bottom: 20px;
}

footer .footer-links ul li {
    display: inline;
    margin: 0 15px;
}

footer .footer-links ul li a {
    color: white;
    text-decoration: none;
}

footer .social-media {
    margin-bottom: 20px;
}

footer .social-media a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer .newsletter input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
}

footer .newsletter button {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header input {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .cta-buttons a {
        padding: 10px 20px;
    }

    .slider-container {
        flex-direction: column;
    }

    .slider-item img {
        width: 150px;
        height: 200px;
    }
}

.page-wrapper {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-wrapper.fade {
    opacity: 0;
}

.buy-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.buy-link:hover {
    background: #219150;
}

