/* GLOBAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

a {
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: #000;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 16px;
}

.navbar nav a {
    margin-left: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.navbar nav a.active {
    border-bottom: 2px solid #ff6600;
}

/* HERO */
.hero {
    position: relative;
    height: 60vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* BUTTONS */
.btn, .btn-small {
    display: inline-block;
    background: #ff6600;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.btn-small {
    padding: 7px 16px;
    font-size: 13px;
}

.btn:hover, .btn-small:hover {
    background: #e05500;
}

/* SECTIONS */
.section {
    padding: 50px 8%;
    background: #f5f5f5;
}

.section-alt {
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.section-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* PAGE HEADER */
.page-header {
    padding: 40px 8% 10px;
    background: #111;
    color: #fff;
}

.page-header h1 {
    margin: 0 0 5px;
}

.page-header p {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    text-align: center;
}

.product-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card h3 {
    margin: 8px 0;
    font-size: 1rem;
}

.price {
    font-weight: 700;
    margin-bottom: 10px;
}

/* PRODUCT PAGE */
.product-page {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.product-page-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.product-page-details h2 {
    margin-top: 0;
}

.price-large {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 10px 0 15px;
}

.product-features {
    list-style: disc;
    padding-left: 18px;
    margin-bottom: 20px;
}

/* ABOUT */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CONTACT */
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 30px;
}

.contact-card, .contact-info {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.06);
}

.contact-card form {
    display: flex;
    flex-direction: column;
}

.contact-card label {
    font-size: 0.9rem;
    margin: 8px 0 4px;
}

.contact-card input,
.contact-card textarea {
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 0.9rem;
}

/* FOOTER */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .product-page,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 50vh;
    }

    .hero h1 {
        font-size: 1.9rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar nav {
        margin-top: 10px;
    }
}