/* style.css - Common styles for SmartGuideEasy */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo p {
  font-size: 0.9rem;
  opacity: 0.9;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background: rgba(255,255,255,0.2);
}

/* Free Shipping Banner */
.free-shipping {
  background: #ff6b6b;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { background-color: #ff6b6b; }
  50% { background-color: #ff8787; }
  100% { background-color: #ff6b6b; }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Services Section */
.services {
  padding: 60px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.service-card p {
  padding: 0 20px 20px;
  color: #666;
}

.service-card .btn-small {
  margin: 0 20px 20px;
  display: inline-block;
  padding: 8px 20px;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Features Section */
.features {
  padding: 60px 0;
  background: #f1f3f5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature {
  padding: 30px;
}

.feature i {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 15px;
}

.feature h3 {
  margin-bottom: 10px;
}

/* Product Page Styles */
.product-detail {
  padding: 60px 0;
  background: white;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.price {
  font-size: 1.8rem;
  color: #667eea;
  font-weight: bold;
  margin-bottom: 20px;
}

.description {
  margin-bottom: 30px;
  color: #666;
}

.specs {
  margin-bottom: 30px;
}

.specs h3 {
  margin-bottom: 10px;
  color: #333;
}

.specs ul {
  list-style: none;
}

.specs ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.specs ul li:before {
  content: "✓";
  color: #667eea;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.size-chart {
  margin: 30px 0;
}

.size-chart table {
  width: 100%;
  border-collapse: collapse;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
}

.size-chart th, .size-chart td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.size-chart th {
  background: #667eea;
  color: white;
}

.size-chart tr:last-child td {
  border-bottom: none;
}

/* Contact Page */
.contact-section {
  padding: 60px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.info-item {
  margin-bottom: 25px;
}

.info-item h4 {
  color: #667eea;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.info-item p {
  color: #666;
  line-height: 1.8;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
}

.submit-btn {
  background: #667eea;
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background: #5a67d8;
}

/* Policy Pages */
.policy-section {
  padding: 60px 0;
  background: white;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.policy-container h1 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.policy-container h2 {
  font-size: 1.4rem;
  color: #667eea;
  margin: 30px 0 15px;
}

.policy-container p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.8;
}

.policy-container ul {
  margin: 15px 0 15px 30px;
  color: #666;
}

.policy-container ul li {
  margin-bottom: 10px;
}

.highlight {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #667eea;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 20px;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .policy-container {
    padding: 30px 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 10px;
  }
  
  nav ul li a {
    font-size: 0.9rem;
    padding: 5px 8px;
  }
  
  .hero {
    padding: 60px 15px;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
}