/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    
}

img {
    width: 200px;
}

/* Header Styles */
header {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
}
header>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
li {
    display: inline;
}
a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
header h1 {
    color: #333;
}
/* Main Content Styles */
main {
    padding: 20px;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    width: 200px;
}
.product h2 {
    font-size: 1.2em;
    margin: 10px 0;
}
.product p {
    color: #666;
    margin-bottom: 10px;
}
.product button {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.product button:hover {
    background-color: #218838;
}
/* Footer Styles */

footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
footer p {
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1571962922061-1ebcf4cd3c1e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-btn, .btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

.cta-btn:hover, .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,107,0.6);
    color: white;
}

/* Offers / Products Grid */
.offers, .products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.offers h2, .products-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.offer-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.offer-item, .product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.offer-item:hover, .product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.offer-item img, .product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.offer-item .content, .product-card .content {
    padding: 2rem;
}

.offer-item h3, .product-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.offer-item p, .product-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.offer-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.offer-price del {
    font-size: 1.2rem;
    color: #95a5a6;
    margin-left: 0.5rem;
}

/* Forms */
.form-section {
    padding: 80px 0;
    background: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-upload input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: inline-block;
    padding: 15px 30px;
    background: #3498db;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.file-upload-label:hover {
    background: #2980b9;
}

#paymentPreview {
    max-width: 200px;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Admin Panel */
.admin-panel {
    max-width: 1000px;
    margin: 0 auto;
}

.admin-section {
    background: white;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.admin-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 0.5rem;
}

.order-list, .payment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item, .payment-item {
    padding: 1.5rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item.approved, .payment-item.approved {
    border-color: #28a745;
    background: #d4edda;
}

.order-item.pending, .payment-item.pending {
    border-color: #ffc107;
    background: #fff3cd;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.admin-actions button {
    padding: 10px 20px;
    margin-left: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-approve {
    background: #28a745;
    color: white;
}

.btn-reject {
    background: #dc3545;
    color: white;
}

.btn-add {
    background: #17a2b8;
    color: white;
}

/* About & Contact */
.about-content, .contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p, .contact-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .offer-grid, .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}
