/* Modern CSS Reset */
:root {
  --primary: #2563eb; /* Modern blue */
  --primary-dark: #1d4ed8;
  --accent: #f43f5e; /* Vibrant pink */
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #334155;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: var(--dark);
  background-color: var(--light);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Modern Header */
.header {
  background-color: rgba(0, 0, 0, 0.581);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo a {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.025em;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: var(--transition);
}

.nav a:hover {
  color: white;
}

.nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search-bar {
  position: relative;
  width: 240px;
}

.search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 9999px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  transition: var(--transition);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.search-bar::before {
  content: '🔍';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

.user-icon img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: 0px;
  margin-top: 8px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  cursor: pointer;
}

.user-icon img:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-banner {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
}

.hero-banner img {
  flex: 1;
  height: 400px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-banner img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Product Section */
.products {
  padding: 4rem 0;
}

.product-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-item {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-item.large {
  flex: 2;
  min-height: 400px;
}

.product-item.medium {
  flex: 1;
  min-height: 300px;
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.product-item h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.product-item h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.product-item button {
  background-color: white;
  color: var(--dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.product-item button:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 3px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-column a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-banner {
    flex-direction: column;
  }
  
  .hero-banner img {
    height: 300px;
  }
  
  .product-row {
    flex-wrap: wrap;
  }
  
  .product-item.large,
  .product-item.medium {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .search-bar {
    width: 100%;
  }
  
  .hero-banner img {
    height: 200px;
  }
  
  .product-item-content {
    padding: 1.5rem;
  }
}
.user-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}
.user-icon span {
  font-size: 14px;
  font-weight: 600;
}
