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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: #0066cc;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo h1 {
  color: #ff6b6b;
  font-size: 1.8rem;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
  padding: 0.5rem;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ff6b6b;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: #ff6b6b;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: #ff5252;
  transform: translateY(-2px);
}

/* Main Content Styles */
main {
  padding: 2rem 5%;
}

section {
  margin-bottom: 3rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(to right, #ff9a9e, #fad0c4);
  color: white;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feature h3 {
  margin-bottom: 1rem;
  color: #ff6b6b;
}

/* Product Grid */
.featured-products h2,
.products h2,
.page-header h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.page-header p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #666;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1.2rem;
}

.product-card .description {
  padding: 0 1rem;
  color: #666;
  font-size: 0.9rem;
  height: 60px;
  overflow: hidden;
}

.product-card .price {
  padding: 0.5rem 1rem;
  font-weight: bold;
  color: #ff6b6b;
}

.product-card .btn {
  margin: 0.5rem 1rem 1rem;
}

/* Product Filters */
.product-filters {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.filter {
  margin-left: 1rem;
}

.filter label {
  margin-right: 0.5rem;
}

.filter select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Contact Page */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info,
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 1.5rem;
  color: #ff6b6b;
}

.contact-info p {
  margin-bottom: 1rem;
}

.social-media {
  margin-top: 2rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  background: #f1f1f1;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background: #e0e0e0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

/* FAQ Section */
.faq {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq h3 {
  margin-bottom: 2rem;
  text-align: center;
  color: #ff6b6b;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h4 {
  margin-bottom: 0.5rem;
  color: #333;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: white;
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #ff6b6b;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ddd;
}

.footer-section a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  header {
    flex-direction: column;
    padding: 1rem;
  }

  nav ul {
    margin-top: 1rem;
  }

  nav ul li {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }
}
