* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
    background: #f3f7f3;
}

/* NAVBAR */
.navbar {

    background: #1b5e20;

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    padding: 15px 40px;

    color: white;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

nav a {

    color: white;

    text-decoration: none;

    margin-left: 20px;
}

nav a:hover {
    color: #c8e6c9;
}

/* HERO */
.hero {

    height: 400px;

    background:
        linear-gradient(rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)),

        url("https://images.unsplash.com/photo-1490818387583-1baba5e638af"
        );

    background-size: cover;
    background-position: center;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    color: white;
}

.hero-content h1 {
    font-size: 55px;
}

.hero-content p {
    font-size: 20px;
    margin: 15px 0;
}

/* BUTTON */
.btn,
button {

    background: #43a047;

    color: white;

    padding: 10px 15px;

    border: none;

    border-radius: 8px;

    cursor: pointer;
}

button:hover {
    background: #1b5e20;
}

/* SEARCH */
.search-section {
    padding: 20px;
    text-align: center;
}

.search-section input {

    width: 300px;

    padding: 10px;

    border-radius: 8px;

    border: 1px solid #ddd;
}

/* SECTION */
.feature,
.page,
.admin-section {
    padding: 40px;
}

/* GRID */
.product-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}

/* CARD */
.card {

    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.1);

    transition: 0.3s;
}

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

.card img {

    width: 100%;

    height: 160px;

    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.price {

    color: #2e7d32;

    font-weight: bold;

    margin: 10px 0;
}

/* BUTTONS */
.card-buttons {

    display: flex;

    gap: 10px;
}

/* DETAIL */
.detail-card {

    display: flex;

    gap: 30px;

    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-card img {

    width: 350px;

    height: 350px;

    object-fit: cover;

    border-radius: 12px;
}

/* ADMIN */
.form-box {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 20px;
}

input {

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 8px;
}

table {

    width: 100%;

    background: white;

    border-collapse: collapse;
}

th {

    background: #2e7d32;

    color: white;
}

th,
td {

    border: 1px solid #ddd;

    padding: 10px;

    text-align: center;
}

td img {

    width: 60px;

    height: 60px;

    object-fit: cover;

    border-radius: 8px;
}

/* FOOTER */
footer {

    background: #1b5e20;

    color: white;

    text-align: center;

    padding: 15px;

    margin-top: 30px;
}
/* ABOUT */
.about-page {
    padding: 50px;
}

.about-container {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.about-image img {
    width: 450px;
    border-radius: 15px;
}

.about-content {
    flex: 1;
}

.about-content h1 {
    margin-bottom: 20px;
    color: #2e7d32;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-boxes {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 180px;
}

/* CONTACT */
.contact-page {
    padding: 50px;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #2e7d32;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info,
.contact-form {

    flex: 1;

    background: white;

    padding: 30px;

    border-radius: 15px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin: 15px 0;
}

.contact-form input,
.contact-form textarea {

    width: 100%;

    margin-bottom: 15px;

    padding: 12px;

    border: 1px solid #ddd;

    border-radius: 8px;
}

.contact-form button {
    width: 100%;
}