﻿/*
Theme Name: Garden Deals
Theme URI: https://example.com/garden-deals
Author: Your Name
Author URI: https://example.com
Description: A WordPress theme for Garden Deals website
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garden-deals
Domain Path: /languages
Tags: deals, affiliate, garden, responsive
*/

/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.site-description {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

/* Main navigation */
.main-navigation {
    margin-top: 20px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-right: 20px;
}

.main-navigation a {
    font-weight: 500;
}

/* Footer styles */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-widget h2 {
    font-size: 18px;
    margin-top: 0;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Content styles */
.content-area {
    padding: 40px 0;
}

.page-title {
    margin-top: 0;
    margin-bottom: 30px;
}

.entry-title {
    margin-top: 0;
}

.entry-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.entry-content {
    margin-bottom: 30px;
}

/* Deal grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Deal card */
.deal-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.deal-card__image {
    position: relative;
}

.deal-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.deal-card__content {
    padding: 20px;
}

.deal-card__title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.deal-card__price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.deal-card__current-price {
    font-size: 20px;
    font-weight: bold;
    color: #2ecc71;
    margin-right: 10px;
}

.deal-card__regular-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.deal-card__merchant {
    margin-bottom: 15px;
    color: #666;
}

.deal-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deal-card__button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.deal-card__button:hover {
    background: #2980b9;
    color: white;
}

.deal-card__expiration {
    font-size: 12px;
    color: #999;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
