/**
 * Fashion Minimalist Theme Styles
 * Main theme styles extending style.css
 */

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.site-branding {
  flex: 0 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-logo a {
  color: #222;
}

.site-description {
  font-size: 0.875rem;
  color: #666;
  margin-top: 5px;
}

/* Navigation */
.main-navigation {
  flex: 1 1 auto;
  text-align: center;
}

.primary-menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.primary-menu-container ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu-container ul li {
  margin: 0 20px;
}

.primary-menu-container ul li a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #222;
  font-weight: 400;
  transition: color 0.3s ease;
}

.primary-menu-container ul li a:hover {
  color: #666;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #222;
  position: relative;
  transition: all 0.3s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #222;
  transition: all 0.3s ease;
}

.menu-toggle-icon::before {
  top: -8px;
}

.menu-toggle-icon::after {
  top: 8px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-toggle,
.cart-toggle,
.account-toggle {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #222;
  transition: color 0.3s ease;
}

.search-toggle:hover,
.cart-toggle:hover,
.account-toggle:hover {
  color: #666;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #222;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Shop Banner */
.shop-banner {
  background-color: #f8f8f8;
  padding: 40px 0;
  text-align: center;
}

.shop-banner-content h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.shop-banner-content p {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer Styles */
.site-footer {
  background-color: #f8f8f8;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #222;
}

.footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  color: #666;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: #222;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.newsletter-form input {
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.newsletter-form button {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #444;
}

.social-links h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 500;
  color: #222;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #666;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #222;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-bottom p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.footer-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.footer-menu li a {
  font-size: 14px;
  color: #666;
  transition: color 0.3s ease;
}

.footer-menu li a:hover {
  color: #222;
}

/* Sidebar */
.sidebar {
  padding: 30px;
  background-color: #f8f8f8;
}

.widget {
  margin-bottom: 30px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #222;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  margin-bottom: 10px;
}

.widget ul li a {
  color: #666;
  font-size: 14px;
  transition: color 0.3s ease;
}

.widget ul li a:hover {
  color: #222;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .header-container {
    flex-wrap: wrap;
  }

  .main-navigation {
    order: 3;
    width: 100%;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .header-container {
    padding: 15px 0;
  }

  .menu-toggle {
    display: block;
  }

  .primary-menu-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .primary-menu-container.active {
    display: block;
  }

  .primary-menu-container ul {
    flex-direction: column;
    padding: 20px;
  }

  .primary-menu-container ul li {
    margin: 10px 0;
  }

  .header-actions {
    gap: 15px;
  }

  .shop-banner-content h1 {
    font-size: 2rem;
  }

  .shop-banner-content p {
    font-size: 1rem;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-content {
    gap: 15px;
  }

  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .site-logo {
    font-size: 1.25rem;
  }

  .header-actions {
    gap: 10px;
  }

  .shop-banner {
    padding: 30px 0;
  }

  .shop-banner-content h1 {
    font-size: 1.75rem;
  }

  .site-footer {
    padding: 40px 0 20px;
    margin-top: 60px;
  }
}