:root {
  --bg-color: #070707;
  --card-bg: rgba(20, 20, 20, 0.85);
  --card-border: rgba(217, 4, 41, 0.25);
  --primary-red: #d90429;
  --hover-red: #ef233c;
  --gold-accent: #e5c158;
  --text-main: #f4f4f9;
  --text-muted: #aaaaaa;
  --shadow-red: rgba(217, 4, 41, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
	
  background-image: url('../images/asd.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  background-attachment: fixed; 
}

header {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary-red);
  text-shadow: 0 0 10px var(--shadow-red);
}

.lang-picker {
  display: flex;
  gap: 6px;
}

.lang-picker button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.lang-picker button.active, .lang-picker button:hover {
  border-color: var(--primary-red);
  background: var(--primary-red);
  color: #fff;
  box-shadow: 0 0 10px var(--shadow-red);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem 1rem;
  background: radial-gradient(circle at center, rgba(217, 4, 41, 0.15) 0%, rgba(7, 7, 7, 1) 70%);
  border-bottom: 1px solid var(--card-border);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  
  background: linear-gradient(45deg, #ffffff, var(--gold-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.controls-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  align-items: center;
}

.search-bar {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  
  background: rgba(20, 20, 20, 0.45); 
  
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  background: rgba(20, 20, 20, 0.65);
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
/* Products Grid */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 2rem 1.2rem 4rem 1.2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-red);
  box-shadow: 0 10px 25px rgba(217, 4, 41, 0.25);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
}

.product-info {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.view-btn {
  background: transparent;
  border: 1px solid var(--primary-red);
  color: #fff;
  padding: 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.product-card:hover .view-btn {
  background: var(--primary-red);
  box-shadow: 0 0 10px var(--shadow-red);
}


.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  border-radius: 20px;
  max-width: 900px;
  margin: 3rem auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input, 
.form-group textarea, 
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 12px var(--shadow-red);
}

.btn {
  background: var(--primary-red);
  color: #fff;
  border: none;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.btn:hover {
  background: var(--hover-red);
  box-shadow: 0 0 15px var(--shadow-red);
  transform: translateY(-2px);
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-content {
  background: #111;
  border: 1px solid var(--primary-red);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  position: relative;
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  background: #000;
  display: block;
}

.modal-body {
  padding: 1.5rem;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

footer {
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid var(--card-border);
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  color: var(--gold-accent);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 10px;
  border-left: 3px solid var(--primary-red);
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: #fff !important;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; box-shadow: 0 0 10px rgba(37, 211, 102, 0.4); }
.social-btn.instagram:hover { background: #E1306C; border-color: #E1306C; box-shadow: 0 0 10px rgba(225, 48, 108, 0.4); }
.social-btn.facebook:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 0 10px rgba(24, 119, 242, 0.4); }

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 1.5rem;
}


@media (max-width: 768px) {
  header {
    padding: 0.8rem 1rem;
  }
  .logo {
    font-size: 1.2rem;
  }
  .hero {
    padding: 2.5rem 1rem 1.5rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .admin-card {
    padding: 1.2rem;
    margin: 1rem;
    border-radius: 14px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .search-bar {
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .search-bar input {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }
}