/* General Styles */
:root {
    --primary-color: #5e3a1e;
    --secondary-color: #d4a76a;
    --light-color: #f8f1e5;
    --dark-color: #2c1a0a;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
}

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

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e0b878;
}

/* Products/Services Section */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.products-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card, .service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.product-img, .service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info, .service-info {
    padding: 20px;
}

.product-info h3, .service-info h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 10px 0;
}

.add-to-cart, .book-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.add-to-cart:hover, .book-btn:hover {
    background-color: #7a4d27;
}

/* Admin Dashboard Styles */
.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.sidebar {
    background-color: var(--dark-color);
    color: white;
    padding: 20px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 15px;
}

.sidebar-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: var(--primary-color);
}

.main-content {
    padding: 20px;
}

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

.stat-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
}

.table-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-confirmed {
    background-color: #d4edda;
    color: #155724;
}

.action-btn {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 5px;
}

.edit-btn {
    background-color: var(--warning-color);
    color: white;
}

.delete-btn {
    background-color: var(--danger-color);
    color: white;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}






                                    .category-filter {
                                        background-color: white;
                                        padding: 20px;
                                        border-radius: 8px;
                                        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
                                    }

                                    .category-btn {
                                        display: inline-block;
                                        padding: 8px 15px;
                                        background-color: var(--light-color);
                                        color: var(--dark-color);
                                        border-radius: 20px;
                                        text-decoration: none;
                                        transition: all 0.3s;
                                    }

                                    .category-btn:hover {
                                        background-color: #e0e0e0;
                                    }

                                    .category-btn.active {
                                        background-color: var(--primary-color);
                                        color: white;
                                    }

                                                    .newsletter {
                                                    margin-top: 30px;
                                                    text-align: center;
                                                }

                                                .newsletter h3 {
                                                    margin-bottom: 15px;
                                                    color: var(--light-color);
                                                }

                                                .newsletter form {
                                                    display: flex;
                                                    max-width: 500px;
                                                    margin: 0 auto;
                                                }

                                                .newsletter input {
                                                    flex: 1;
                                                    padding: 10px;
                                                    border: none;
                                                    border-radius: 4px 0 0 4px;
                                                }

                                                .newsletter button {
                                                    padding: 10px 20px;
                                                    background-color: var(--secondary-color);
                                                    color: var(--dark-color);
                                                    border: none;
                                                    border-radius: 0 4px 4px 0;
                                                    cursor: pointer;
                                                    font-weight: bold;
                                                }

                                                .search-container {
                                                    margin-left: auto;
                                                    padding: 0 15px;
                                                }

                                                .search-container form {
                                                    display: flex;
                                                }

                                                .search-container input {
                                                    padding: 8px;
                                                    border: 1px solid #ddd;
                                                    border-radius: 4px 0 0 4px;
                                                }

                                                .search-container button {
                                                    padding: 8px 15px;
                                                    background-color: var(--secondary-color);
                                                    border: none;
                                                    border-radius: 0 4px 4px 0;
                                                    cursor: pointer;
                                                }  



                                                /* Products */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

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

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #4E342E;
}

.product-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.price {
    font-weight: bold;
    color: #388E3C;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6D4C41;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #5D4037;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background-color: #ddd;
}
