/* Base Styles */
:root {
  --primary: #3a0ca3;
  --secondary: #f72585;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #4cc9f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #fff;
  color: var(--dark);
  line-height: 1.6;
  padding-bottom: 60px; /* Space for mobile nav */
}

.container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 1000;
}

.nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--dark);
  font-size: 0.8rem;
}

.nav-icon i {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 70px;
  padding-bottom: 70px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-image:hover img {
  transform: scale(1.1);
}

.zoom-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.product-info {
  padding: 12px;
}

.product-title {
  font-size: 0.9rem;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-designer {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 8px;
}

.product-price {
  font-weight: 700;
  color: var(--primary);
}

/* Image Zoom Modal */
.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.zoom-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.zoom-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
}

.close-zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Search & Filters */
.search-bar {
  margin: 15px 0;
  display: flex;
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px 0 0 20px;
  outline: none;
}

.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-title {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #666;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: white;
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .mobile-nav {
    display: none;
  }
  
  .desktop-nav {
    display: flex;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Hero Section */
.hero {
    background: linear-gradient(rgba(58, 12, 163, 0.8), rgba(247, 37, 133, 0.8)), 
                url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0 80px;
    margin-top: 60px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--primary);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.category-card {
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card h3 {
    text-align: center;
    font-size: 1rem;
}

/* Featured Designers */
.designer-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.designer-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.designer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--primary);
}

.designer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.designer-card h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.designer-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Product Badges */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--secondary);
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    padding: 8px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #2a0980;
}

/* View All Button */
.view-all {
    text-align: center;
    margin-top: 20px;
}

/* How It Works */
.how-it-works {
    background: #f9f9f9;
    padding: 50px 0;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.step h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary);
}

.step ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.step li {
    margin-bottom: 8px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 3px;
}

.testimonial-author p {
    font-style: normal;
    font-size: 0.8rem;
    color: #666;
}

/* Call to Action */
.cta {
    background: var(--primary);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.cta h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.cta p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #222;
    color: #ddd;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-about h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-about p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.8rem;
    color: #aaa;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .hero {
        padding: 120px 0 100px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 150px 0 120px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
}