@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary: #20B2AA;
  --secondary: #FFA500;
  --dark: #222;
  --light: #f9f9f9;
  --text: #444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */
header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

nav h2 {
  font-weight: 700;
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: var(--secondary);
}

/* HERO */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(rgba(32,178,170,0.8), rgba(32,178,170,0.8)),
             center/cover no-repeat;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  margin: 1rem 0 2rem;
  font-size: 1.2rem;
}

.hero button {
  padding: 1rem 2rem;
  border: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

.hero button:hover {
  background: #ff8800;
  transform: scale(1.05);
}

/* SECTION TITLES */
section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--dark);
}

/* PRODUCTS */
.products {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.product-card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.product-card p {
  flex: 1;
  font-size: 0.95rem;
  color: #666;
}

.product-card button {
  margin-top: 1rem;
  padding: 0.8rem;
  background: var(--primary);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.product-card button:hover {
  background: var(--secondary);
}

/* ABOUT PAGE */
.about {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 2rem;
  text-align: center;
}

.about h2 {
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
}

/* SEARCH PAGE */
.search-bar {
  display: flex;
  justify-content: center;
  margin: 2rem;
}

.search-bar input {
  width: 60%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.search-bar button {
  padding: 0.8rem 1.2rem;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.search-results {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* PRODUCT PAGE */
.product-detail {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-detail img {
  width: 100%;
  border-radius: 12px;
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-info p {
  margin-bottom: 1rem;
}

.product-info button {
  padding: 1rem 2rem;
  background: var(--secondary);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* CONTACT & SIGNUP FORMS */
form {
  max-width: 600px;
  margin: auto;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

form input, form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

form button {
  padding: 0.8rem;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

form button:hover {
  background: var(--secondary);
}

/* ORDERS PAGE */
.orders {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 2rem;
}

.order-item {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-item input {
  margin-left: 1rem;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

/* RESPONSIVIDADE */
@media (max-width: 550px) {
  nav ul {
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    display: none; /* Menu hamburguer futuro */
  }

  .hero h1 {
    font-size: 2rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 551px) and (max-width: 1100px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }
}
