/* public\css\style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff7f3;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, #f78ca0, #f9748f);
    padding: 30px 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
}

/* Product Section */
.products {
    padding: 40px 20px;
    text-align: center;
    background: #fffaf9;
}

.product-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
    min-height: 200px;
}

.product {
    width: 200px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
    display: block;
}

.product:hover {
    transform: scale(1.05);
}

.product h3 {
    font-size: 1.1rem;
    color: #444;
}

/* Gallery Section */
.gallery {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #c44d58;
}

.gallery-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    min-height: 300px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Order Form Section */
.order-form {
    background: #ffe4ec;
    padding: 40px 20px;
    margin: 30px auto;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.order-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #c44d58;
}

form input,
form select,
form button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
}

form input,
form select {
    background: #fff;
    border: 1px solid #ccc;
}

form button {
    background: #f67280;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #c06c84;
}

/* Success Message */
.success-message {
    max-width: 600px;
    margin: 100px auto;
    background: #eaffea;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    color: #2e7d32;
}

.success-message h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.success-message p {
    font-size: 1.2rem;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
    background: #2e7d32;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.back-button:hover {
    background: #1b5e20;
}

/* Admin Table */
.admin-table {
    width: 95%;
    margin: 0 auto 50px;
    border-collapse: collapse;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.admin-table th,
.admin-table td {
    border: 1px solid #ddd;
    padding: 12px 10px;
    text-align: center;
}

.admin-table th {
    background-color: #f8bbd0;
    color: #333;
}

.admin-table tr:nth-child(even) {
    background-color: #fdf3f6;
}

.admin-table .pending {
    color: #e65100;
    font-weight: bold;
}

.admin-table .delivered {
    color: #2e7d32;
    font-weight: bold;
}

.admin-table button {
    padding: 6px 12px;
    background-color: #26a69a;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.admin-table button:hover {
    background-color: #00796b;
}

/* Responsive */
@media (max-width: 600px) {

    .products,
    .product-list {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
    }

    .order-form {
        padding: 30px 15px;
    }

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