/*
Theme Name: Hudson Furniture
Author: Hudson Furniture
Version: 1.0
Description: Hudson Furniture AWS Capstone Demo
*/

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f7f4;
    color: #29352d;
}

html { scroll-behavior: smooth; }

nav {
    background: #fff;
    padding: 24px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

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

nav a {
    color: #29352d;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.hero {
    background: #e9e3d8;
    padding: 90px 8%;
    text-align: center;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 64px);
    margin: 20px 0;
    font-weight: normal;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.button, button {
    display: inline-block;
    background: #354639;
    color: white;
    padding: 14px 25px;
    border: 0;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 55px 25px;
}

.section-title {
    font-family: Georgia, serif;
    font-size: 36px;
    text-align: center;
    font-weight: normal;
}

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

.product {
    background: white;
    border: 1px solid #e6e3dc;
    border-radius: 8px;
    overflow: hidden;
}

.product img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 22px;
}

.price {
    font-size: 22px;
    font-weight: bold;
}

.order-section {
    background: #e9e3d8;
    padding: 45px 25px;
}

.order-form {
    max-width: 650px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
}

label {
    display: block;
    margin: 15px 0 7px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

footer {
    background: #29352d;
    color: white;
    text-align: center;
    padding: 35px;
    line-height: 1.8;
}

.success {
    background: #e2f2e5;
    color: #205b30;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

@media (max-width: 600px) {
    nav a { margin-left: 8px; }
    .hero { padding: 50px 20px; }
}
