/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f5f5f5;
    color: #333;
}

.header {
    background-color: #0d47a1;
    padding: 20px;
    text-align: center;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #ffeb3b;
}

/* Hero Section */
.hero {
    background: url('img/hero-bg.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.cta-button {
    background-color: #ff4081;
    border: none;
    padding: 15px 30px;
    margin-top: 20px;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e91e63;
}

.countdown {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 1.5em;
}

/* Deals and Categories */
.deals, .categories, .subscribe {
    padding: 40px 20px;
    text-align: center;
}

.deal-cards, .category-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.deal-card, .category-item {
    background-color: white;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.deal-card:hover, .category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.subscribe input {
    padding: 10px;
    width: 300px;
    max-width: 90%;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.subscribe-button {
    background-color: #0d47a1;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0d47a1;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: background-color 0.3s;
}

.back-to-top:hover {
    background-color: #ff4081;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}
