/* Reset and Base Styles */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Poppins', sans-serif; 
}

body { 
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); 
  color: #fff; 
  min-height: 100vh;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner.active {
  display: flex;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 0, 0, 0.3);
  border-top-color: #FF0000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #FF0000;
}

.nav-brand {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: #FF0000;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  padding: 5px 10px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF0000;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: #FF0000;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Home Section */
.home-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 50px 20px;
  text-align: center;
  position: relative;
}

.home-content {
  max-width: 800px;
  margin: 0 auto;
}

.profile-container {
  position: relative;
  margin-bottom: 30px;
}

.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FF0000;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.5);
  transition: transform 0.5s;
  cursor: pointer;
}

.profile-img:hover {
  transform: scale(1.05) rotate(5deg);
}

.profile-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.3), transparent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1); 
    opacity: 0.5; 
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.1); 
    opacity: 0.3; 
  }
}

.home-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(45deg, #FF0000, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradient 3s ease infinite;
}

@keyframes textGradient {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(30deg); }
}

.subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.social-links a:hover {
  background: #FF0000;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: #FF0000;
  color: #fff;
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #cc0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #FF0000;
}

.btn-secondary:hover {
  background: #FF0000;
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Stats Section */
.stats-section {
  padding: 50px 20px;
  background: rgba(0, 0, 0, 0.3);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 0, 0.2);
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.stat-card i {
  font-size: 2.5rem;
  color: #FF0000;
  margin-bottom: 15px;
}

.stat-card h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.stat-card p {
  color: #ccc;
}

/* Filter Section */
.filter-section {
  padding: 50px 20px;
  text-align: center;
}

.filter-container h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.filter-btn {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: #FF0000;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
}

/* Designs Section */
.designs-section {
  padding: 50px 20px;
  min-height: 400px;
}

.designs-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.design-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 0, 0.2);
  transition: all 0.4s;
  cursor: pointer;
}

.design-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 0, 0, 0.4);
}

.design-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.design-card:hover img {
  transform: scale(1.1);
}

.design-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.design-card:hover .design-overlay {
  opacity: 1;
}

.design-info {
  padding: 20px;
}

.design-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.design-description {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.design-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.design-price {
  background: #FF0000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.design-category {
  color: #ccc;
  font-size: 0.85rem;
}

.no-designs {
  text-align: center;
  padding: 100px 20px;
  color: #666;
}

.no-designs i {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Upload Section */
.upload-section {
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.3);
}

.upload-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.upload-container h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #FF0000;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: #fff;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #FF0000;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.form-group select option {
  background: #333;
  color: #fff;
}

.form-group small {
  color: #aaa;
  font-size: 0.85rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.btn-submit {
  padding: 15px 40px;
  background: #FF0000;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.btn-submit:hover {
  background: #cc0000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
}

/* Payment Section */
.payment-section {
  padding: 80px 20px;
}

.payment-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.payment-container h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #FF0000;
}

.payment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.payment-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 0, 0.2);
  transition: transform 0.3s;
}

.payment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(255, 0, 0, 0.3);
}

.payment-card img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.payment-card i {
  font-size: 4rem;
  color: #FF0000;
  margin-bottom: 20px;
}

.payment-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.phone-number {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FF0000;
  margin: 15px 0;
}

.btn-pay {
  background: #FF0000;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-pay:hover {
  background: #cc0000;
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.3);
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  border: 3px solid #FF0000;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #FF0000;
}

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

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.contact-card i {
  font-size: 2.5rem;
  color: #FF0000;
  margin-bottom: 15px;
}

.contact-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: #ccc;
  margin-bottom: 15px;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 30px 20px;
  border-top: 2px solid #FF0000;
}

.footer-content p {
  margin: 5px 0;
  color: #ccc;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #FF0000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from { 
    transform: scale(0.5); 
    opacity: 0; 
  }
  to { 
    transform: scale(1); 
    opacity: 1; 
  }
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  border-radius: 10px;
  color: #fff;
}

/* Toast Messages */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #333;
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  z-index: 3000;
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.toast.show {
  display: flex;
}

.toast.success {
  background: #28a745;
}

.toast.error {
  background: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .home-section h1 {
    font-size: 2rem;
  }

  .profile-img {
    width: 200px;
    height: 200px;
  }

  .designs-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .upload-container {
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .home-section h1 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .profile-img {
    width: 150px;
    height: 150px;
  }

  .designs-container {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}