/* ErgoMug Website Styles */

:root {
  --primary-color: #e67e22;
  --secondary-color: #3498db;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --max-width: 1200px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Lato:wght@300;400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.nav {
  display: flex;
}

.nav a {
  padding: 0.75rem 1rem;
  margin: 0 0.25rem;
  color: var(--dark-color);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a.current {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 5px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/optimized/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero .container {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #d35400;
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: #2980b9;
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.section-title p {
  font-size: 1.2rem;
  color: #777;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.feature-card p {
  color: #777;
}

/* Products Section */
.products {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-img {
  height: 250px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.product-info p {
  color: #777;
  margin-bottom: 1rem;
}

.product-info .btn {
  width: 100%;
  text-align: center;
}

/* Manufacturer Section */
.manufacturer {
  padding: 4rem 0;
}

.manufacturer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  align-items: center;
}

.manufacturer-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.manufacturer-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.manufacturer-text ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.manufacturer-text ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.manufacturer-img img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Print on Demand Section */
.pod {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.pod-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  align-items: center;
}

.pod-img img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pod-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.pod-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.pod-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.pod-platform {
  background-color: #fff;
  border-radius: 5px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 80px;
}

.pod-platform img {
  max-width: 100%;
  max-height: 100%;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-info .contact-details {
  margin-top: 2rem;
}

.contact-info .contact-details div {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info .contact-details i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.footer-section p {
  margin-bottom: 1rem;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ddd;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .manufacturer-content,
  .pod-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .manufacturer-text h2,
  .pod-text h2,
  .contact-info h2 {
    font-size: 2rem;
  }
}

/* Color Switcher for Mugs */
.color-switcher {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.color-option.active {
  border-color: var(--primary-color);
  transform: scale(1.2);
}

.color-option.black {
  background-color: #333;
}

.color-option.white {
  background-color: #fff;
  border: 2px solid #ddd;
}

/* Product Details Page */
.product-details {
  padding: 4rem 0;
}

.product-details-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  align-items: center;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-main-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-thumbnail {
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  opacity: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-info .product-description {
  margin-bottom: 2rem;
}

.product-info .product-features {
  margin-bottom: 2rem;
}

.product-info .product-features h3 {
  margin-bottom: 1rem;
}

.product-info .product-features ul {
  padding-left: 1.5rem;
}

.product-info .product-features ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.product-info .product-cta {
  margin-top: 2rem;
}

.product-info .product-cta .btn {
  margin-right: 1rem;
}

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.specs-table th {
  background-color: #f9f9f9;
  font-weight: 600;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out;
}
