/* PrimeOrbits Static Site - Complete Styles */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-100: #d1fae5;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --yellow-400: #facc15;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
}

body {
  background-color: #ffffff;
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--emerald-600);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-700);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--gray-900);
}

.logo {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
}

/* Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--emerald-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-700);
  transition: color 0.3s;
}

.icon-btn:hover {
  color: var(--emerald-600);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--emerald-600);
  color: white;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--gray-200);
  background-color: white;
  padding: 16px;
}

.mobile-menu.show {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--emerald-600);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.5), rgba(17, 24, 39, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(5, 150, 105, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 24px;
  margin-bottom: 16px;
}

.hero-badge-text {
  color: var(--emerald-300);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title-gradient {
  background: linear-gradient(to right, var(--emerald-400), rgb(94, 234, 212));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-200);
  margin-bottom: 32px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--emerald-600);
  color: white;
}

.btn-primary:hover {
  background-color: var(--emerald-700);
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--gray-900);
  transform: scale(1.05);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* Features Bar */
.features {
  padding: 48px 0;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--emerald-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--emerald-600);
}

.feature-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.feature-description {
  font-size: 14px;
  color: var(--gray-600);
}

/* Sections */
.section {
  padding: 80px 0;
  background-color: white;
}

.section-gray {
  background-color: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--emerald-600);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px);
}

.card-image {
  position: relative;
  height: 256px;
  overflow: hidden;
}

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

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.4), transparent);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}

.card-title {
  color: white;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.card-link {
  display: flex;
  align-items: center;
  color: var(--emerald-300);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.3s;
}

.card:hover .card-link {
  transform: translateX(8px);
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.product-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-image {
  position: relative;
  height: 256px;
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--emerald-600);
  color: white;
  padding: 4px 12px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 24px;
}

.product-category {
  font-size: 12px;
  color: var(--emerald-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-900);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.product-card:hover .product-name {
  color: var(--emerald-600);
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.star {
  width: 16px;
  height: 16px;
  fill: var(--yellow-400);
  color: var(--yellow-400);
}

.rating-value {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.rating-count {
  margin-left: 8px;
  font-size: 14px;
  color: var(--gray-500);
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.price-current {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
}

.price-original {
  margin-left: 8px;
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 100%;
  background-color: var(--emerald-600);
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-to-cart-btn:hover {
  background-color: var(--emerald-700);
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--gray-700);
  margin-bottom: 24px;
  line-height: 1.6;
}

.testimonial-author {
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.author-name {
  font-weight: 700;
  color: var(--gray-900);
}

.author-location {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.author-purchase {
  font-size: 12px;
  color: var(--emerald-600);
  font-weight: 600;
}

/* Newsletter */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(to bottom right, var(--emerald-700), var(--teal-800));
  position: relative;
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.newsletter-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.newsletter-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.newsletter-description {
  font-size: 18px;
  color: var(--emerald-100);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  max-width: 28rem;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

.newsletter-submit {
  background-color: white;
  color: var(--emerald-700);
  padding: 0 32px;
  height: 48px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-submit:hover {
  transform: scale(1.05);
  background-color: var(--gray-100);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand .logo {
  filter: brightness(0) invert(1);
}

.footer-brand .brand-name {
  color: white;
}

.footer-description {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  color: var(--gray-300);
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--emerald-400);
}

.footer-section h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.contact-info {
  list-style: none;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-400);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 16px 24px;
  min-width: 300px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content strong {
  display: block;
  color: var(--gray-900);
  font-weight: 700;
  margin-bottom: 4px;
}

.toast-content p {
  color: var(--gray-600);
  font-size: 14px;
}

/* Utility Classes */
.hidden {
  display: none;
}

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

.mt-20 {
  margin-top: 80px;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .newsletter-form {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
}

/* Shop Page Specific */
.filter-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gray-900);
}

.filter-btn {
  padding: 8px 16px;
  background-color: white;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--emerald-600);
  color: var(--emerald-600);
}

.filter-btn.active {
  background-color: var(--emerald-600);
  border-color: var(--emerald-600);
  color: white;
}

/* Product Detail Page */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--gray-500);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--emerald-600);
}

.breadcrumb span {
  color: var(--gray-400);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.product-detail-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-detail-info h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-300);
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
}

.qty-btn:hover {
  border-color: var(--emerald-600);
  color: var(--emerald-600);
}

.qty-display {
  font-size: 20px;
  font-weight: 600;
  min-width: 48px;
  text-align: center;
}

.product-features {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-feature svg {
  width: 20px;
  height: 20px;
  color: var(--emerald-600);
}

@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
