/* Base Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: black;
    color: white;
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation Bar */
    nav {
        background-color: #0d0d0d;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px;
        border-bottom: 1px solid #333;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    nav .logo {
        font-size: 24px;
        font-weight: bold;
    }

    nav .menu a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        font-size: 16px;
    }

    nav a:hover {
        color: #ff6600;
    }

    .menu {
        margin-right: -7px;
    }

.deals-container {
    width: 90%;
    max-width: 1200px;
    padding: 30px;
    background: linear-gradient(to bottom, #222, #000);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.2);
    text-align: center;
    margin-top: -20px;
}

.deals-title {
    font-size: 28px;
    color: orange;
    font-weight: bold;
    margin-bottom: 25px;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.deal-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s;
}

.deal-card:hover {
    transform: scale(1.05);
    border-color: orange;
}

.deal-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.deal-card h3 {
    margin-top: 15px;
    font-size: 18px;
    color: orange;
}

.deal-card p {
    font-size: 14px;
    color: #ccc;
    margin: 10px 0;
}

.deal-card .price {
    font-size: 16px;
    font-weight: bold;
    color: #00ffcc;
}

.deal-card .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: orange;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.btn:hover {
    background-color: yellow;
    font-size: 16px;
    font-weight: 500;
}


 .animated-line {
     position: absolute;
     bottom: 0;
     left: 0;
     height: 1px;
     width: 100%;
     overflow: hidden;
 }

 .animated-line::before {
     content: "";
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 1px;
     background: linear-gradient(to left, gold 50%, transparent 0%);
     background-size: 200% 100%;
     animation: moveLine 20s linear infinite;
 }
 
@keyframes moveLine {
  0% {
    background-position: -100% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}
/* Responsive Design */
@media (max-width: 1200px) {
    .deal-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .deal-card img {
        height: 220px;
    }
}

@media (max-width: 1024px) {
    nav {
        padding: 15px;
        flex-direction: row;
        align-items: center;
    }

    .menu {
        flex-direction: row;
        justify-content: flex-end;
        flex-wrap: wrap;
        width: auto;
    }

    .menu a {
        display: inline-block;
        margin: 5px 10px;
        font-size: 15px;
    }

    .deal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deal-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .deals-container {
        margin-top: 200px;
        padding: 20px 10px;
    }

     nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    .logo {
        font-size: 20px;
        margin-bottom: 10px;
    }

     .menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

      .menu a {
        display: block;
        font-size: 15px;
        margin: 6px 0;
        padding: 5px 0;
        width: 100%;
    }

    .deal-grid {
        grid-template-columns: 1fr;
    }

    .deal-card img {
        height: 180px;
    }

    .deal-card h3 {
        font-size: 16px;
    }

    .deal-card p {
        font-size: 12px;
    }

    .deal-card .price {
        font-size: 14px;
    }

    .deal-card .btn {
        font-size: 12px;
        padding: 6px 10px;
    }
}