/* Add these styles to your existing style.css file */

/* Deals Page Specific Styles */
.deals-main {
    padding: 20px;
    max-width: 1200px; /* Consistent max-width with About page */
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.deals-hero {
    text-align: center;
    padding: 60px 20px; /* Generous padding */
    background-color: #ffe0b2; /* A warm, inviting orange-ish background */
    border-radius: 8px;
    margin-bottom: 40px;
    border: 1px solid #ffcc80;
}

.deals-hero h2 {
    color: #e65100; /* Darker orange for heading */
    font-size: 3.5em; /* Large, impactful heading */
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.deals-hero p {
    font-size: 1.4em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px; /* Space below paragraph */
}

/* Scroll-to button style */
.scroll-to {
    display: inline-block;
    background-color: #e65100; /* Matching hero theme */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.scroll-to:hover {
    background-color: #d84315;
    transform: translateY(-3px);
}

.deal-grid-section {
    text-align: center;
    margin-bottom: 50px;
}

.deal-grid-section h3 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.deal-grid-section .section-description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for deals */
    gap: 30px; /* Space between deal cards */
    max-width: 1200px;
    margin: 0 auto;
}

.deal-item {
    position: relative;
    padding: 20px;
    text-align: center;
    /* Inherits basic product-card styling from index.html if you have it,
       otherwise copy product-card styles here. Assuming it's already in style.css */
}

.deal-badge {
    position: absolute;
    top: 15px; /* Adjust as needed */
    left: 15px; /* Adjust as needed */
    background-color: #e74c3c; /* Red for "HOT DEAL" */
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    z-index: 5; /* Ensure it's on top of the image */
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.deal-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Remove extra space below image */
    object-fit: cover;
    height: 180px; /* Fixed height for consistent image size */
    width: 100%;
}

.deal-item h4 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 8px;
}

.deal-item .description {
    font-size: 0.95em;
    color: #666;
    min-height: 40px; /* Ensures consistent height for descriptions */
    margin-bottom: 15px;
}

.price-container {
    margin-bottom: 15px;
}

.original-price {
    color: #999;
    text-decoration: line-through; /* Strikethrough for original price */
    margin-right: 10px;
    font-size: 1.1em;
}

.deal-price {
    color: #e65100; /* Highlight deal price with a strong color */
    font-size: 1.8em;
    font-weight: bold;
}

.deal-timer {
    background-color: #f8d7da; /* Light red background for timer */
    color: #721c24; /* Dark red text */
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text */
}

.deal-timer .fas {
    font-size: 1.2em;
    color: #dc3545; /* Red icon */
}

.deal-callout {
    text-align: center;
    background-color: #d1ecf1; /* Light blue background for callout */
    padding: 40px 20px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #bee5eb;
}

.deal-callout h3 {
    font-size: 2.5em;
    color: #0c5460;
    margin-bottom: 15px;
}

.deal-callout p {
    font-size: 1.2em;
    color: #333;
    max-width: 700px;
    margin: 0 auto 25px;
}

.btn-secondary { /* Assuming you already have btn-primary, add this for btn-secondary */
    background-color: #6c757d;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Responsive Design for Deals Page */
@media (max-width: 992px) {
    .deals-hero h2 {
        font-size: 2.8em;
    }
    .deals-hero p {
        font-size: 1.2em;
    }
    .deal-grid-section h3 {
        font-size: 2.2em;
    }
    .deal-item h4 {
        font-size: 1.6em;
    }
    .deal-price {
        font-size: 1.6em;
    }
    .deal-item .description {
        min-height: auto; /* Allow description to collapse if space is tight */
    }
}

@media (max-width: 768px) {
    .deals-main {
        padding: 15px;
        margin: 15px auto;
    }
    .deals-hero {
        padding: 40px 15px;
    }
    .deals-hero h2 {
        font-size: 2.2em;
    }
    .deals-hero p {
        font-size: 1em;
    }
    .scroll-to {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .deal-grid-section h3 {
        font-size: 1.8em;
    }
    .deal-grid-section .section-description {
        font-size: 1em;
    }
    .deal-grid {
        grid-template-columns: 1fr; /* Stack deals on mobile */
        gap: 20px;
    }
    .deal-item img {
        height: 150px; /* Smaller image height on mobile */
    }
    .deal-item h4 {
        font-size: 1.4em;
    }
    .original-price {
        font-size: 1em;
    }
    .deal-price {
        font-size: 1.4em;
    }
    .deal-timer {
        font-size: 1em;
        padding: 6px 10px;
    }
    .deal-callout {
        padding: 30px 15px;
    }
    .deal-callout h3 {
        font-size: 2em;
    }
    .deal-callout p {
        font-size: 1em;
    }
    .btn-secondary {
        padding: 10px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .deals-hero h2 {
        font-size: 1.8em;
    }
    .scroll-to {
        font-size: 1em;
    }
    .deal-badge {
        font-size: 0.8em;
        padding: 6px 10px;
    }
    .deal-item h4 {
        font-size: 1.2em;
    }
    .deal-price {
        font-size: 1.2em;
    }
}

header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1em 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    flex-direction: column; /* Stack logo above name */
    align-items: center;
    margin-bottom: 1em;
    
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow navigation items to wrap on smaller screens */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.website-name {
    font-size: 2.2em;
    margin: 0;
    letter-spacing: 1px;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}


.about-hero {
    text-align: center;
    padding: 50px 20px; /* More padding for a grander intro */
    background-color: #eaf6fa; /* Light blue background */
    border-radius: 8px;
    margin-bottom: 40px; /* Space below hero */
    border: 1px solid #cce7f0;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.9em;
}

/* Social Media Links Styling */
.social-media-links {
    margin-top: 15px;
    display: flex; /* Arrange icons in a row */
    justify-content: center; /* Center the icons */
    gap: 20px; /* Space between icons */
}

.social-media-links a {
    color: #fff; /* White icons */
    font-size: 1.8em; /* Size of the icons */
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-media-links a:hover {
    color: #3498db; /* Change color on hover (e.g., a nice blue) */
    transform: translateY(-3px); /* Slight lift on hover */
}