* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid #FFD700;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.logo img{
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #FFD700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.shop-container {
    padding: 8rem 5% 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-header h1 {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.shop-header p {
    font-size: 1.2rem;
    color: #cccccc;
}

.filter-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #1a1a1a;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #FFD700;
    color: #0a0a0a;
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #FFD700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    border-color: #FFD700;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.9rem;
    color: #FFA500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.3rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.product-description {
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    color: #FFD700;
    font-weight: bold;
}

.add-to-cart-btn {
    background: #FFD700;
    color: #0a0a0a;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: #FFA500;
    transform: scale(1.05);
}

.error-message {
    text-align: center;
    padding: 3rem;
    color: #ff6b6b;
    font-size: 1.2rem;
}

footer {
    background: #0a0a0a;
    border-top: 2px solid #FFD700;
    padding: 2rem 5%;
    text-align: center;
    color: #cccccc;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem 0.45rem 0.6rem;
  border: 2px solid #FFD700;
  border-radius: 999px;
  color: #FFD700;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.social-links a:hover {
  background: #FFD700;
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 215, 0, 0.25);
}

.social-links img {
  width: 20px;
  height: 20px;
  display: block;
  border-radius: 4px; /* softens inconsistent favicon shapes */
  background: #fff;   /* keeps transparent icons visible on dark bg */
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
    .shop-header h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}