 
/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #000;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #50C878;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #50C878;
}

.cart {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: #50C878;
    transition: color 0.3s;
}

.cart:hover {
    color: #40A167;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #50C878;
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero {
    height: 50vh;
    background: linear-gradient(to right, #000, #50C878);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.shop-hero {
    padding: 4rem 2rem;
    text-align: center;
    background: #111;
}

.shop-hero h1 {
    font-size: 2.5rem;
    color: #50C878;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #50C878;
}

.prev { left: 10px; }
.next { right: 10px; }

.featured-products, .products-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-products h2, .products-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #50C878;
    font-size: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product {
    background: #111;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(80, 200, 120, 0.3);
}

.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product h3 {
    margin-bottom: 0.5rem;
    color: #50C878;
}

.product p {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.9rem;
}

.product .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #50C878;
    margin-bottom: 1rem;
}

.product select {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #333;
    color: #fff;
    border: 1px solid #50C878;
    border-radius: 4px;
}

.add-to-cart {
    background: #50C878;
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    width: 100%;
}

.add-to-cart:hover {
    background: #40A167;
}

.explore-btn {
    display: block;
    margin: 2rem auto;
    background: #50C878;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.explore-btn:hover {
    background: #40A167;
}

.contact-section {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 2rem;
    color: #50C878;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

#contact-form button {
    background: #50C878;
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

#contact-form button:hover {
    background: #40A167;
}

footer {
    background: #111;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin: 1rem 0;
}

.social-links a {
    color: #50C878;
    margin: 0 1rem;
    text-decoration: none;
    font-size: 1.5rem;
}

.cart-modal {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #111;
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 1rem;
    overflow-y: auto;
}

.cart-modal.show {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.cart-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #222;
    border-radius: 4px;
}

.cart-item h4 {
    color: #50C878;
    margin-bottom: 0.5rem;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.qty-controls button {
    background: #50C878;
    color: #000;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
}

.remove-btn {
    background: #ff4444;
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
}

.cart-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    background: #50C878;
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #40A167;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

.overlay.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .cart-modal {
        width: 100%;
        right: -100%;
    }

    .carousel-btn {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* ====== URBANSTYLE v2 - CSS Modernizado ====== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  --primary: #50C878;
  --primary-dark: #40A167;
  --bg-dark: #000;
  --bg-light: #111;
  --text: #fff;
  --muted: #bbb;
  --border: #333;
  --radius: 10px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
}

/* ========== NAVBAR ========== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  font-weight: 400;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.cart {
  position: relative;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.cart:hover {
  transform: scale(1.1);
  color: var(--primary-dark);
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ========== HERO SECTION ========== */
.hero {
  height: 55vh;
  background: linear-gradient(to right, #000, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SHOP HERO ========== */
.shop-hero {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-light);
}

.shop-hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.shop-hero p {
  color: var(--muted);
}

/* ========== CAROUSEL ========== */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: brightness(0.9);
  transition: var(--transition);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: var(--text);
  border: none;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

.prev { left: 15px; }
.next { right: 15px; }

/* ========== PRODUCTS GRID ========== */
.featured-products,
.products-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-products h2,
.products-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 2.2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* PRODUCT CARD */
.product-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(80, 200, 120, 0.3);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.product-card h3 {
  color: var(--primary);
  margin-top: 1rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.product-card .price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.product-card select {
  margin-top: 0.5rem;
  padding: 0.4rem;
  background: #222;
  color: var(--text);
  border: 1px solid var(--primary);
  border-radius: 4px;
}

.add-to-cart {
  display: block;
  width: 90%;
  margin: 1rem auto;
  padding: 0.8rem;
  border: none;
  background: var(--primary);
  color: #000;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.add-to-cart:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form input,
#contact-form textarea {
  padding: 1rem;
  background: #111;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  resize: none;
}

#contact-form button {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

#contact-form button:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

/* ========== CART MODAL ========== */
.cart-modal {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: #111;
  transition: right 0.4s ease;
  z-index: 1001;
  padding: 1.5rem;
  overflow-y: auto;
  border-left: 2px solid var(--primary);
}

.cart-modal.show {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  background: #222;
  padding: 0.8rem;
  border-radius: var(--radius);
}

.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item h4 {
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-controls button {
  background: var(--primary);
  color: #000;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}

.remove-btn {
  background: #ff4b4b;
  border: none;
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.remove-btn:hover {
  background: #ff3333;
}

.cart-total {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  padding-top: 1rem;
  font-weight: 600;
}

.checkout-btn {
  width: 100%;
  background: var(--primary);
  color: #000;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.checkout-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

/* ========== OVERLAY ========== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(2px);
}

.overlay.show {
  display: block;
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg-light);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-content p {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-links {
  margin: 1rem 0;
}

.social-links a {
  color: var(--primary);
  margin: 0 1rem;
  text-decoration: none;
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-dark);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .cart-modal {
    width: 100%;
    right: -100%;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
}

.carousel {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  user-select: none;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-btn:hover {
  background: #50C878;
}

.prev { left: 10px; }
.next { right: 10px; }
