/* Color Theme */
:root {
  --primary-dark: #620101;
  --primary-medium: #813434;
  --primary-light: #A16767;
  --accent-light: #C09999;
  --accent-lighter: #E0CCCC;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f5f3;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: var(--primary-dark);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-dark);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--accent-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
  color: var(--white);
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent-light);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #ddd;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-light);
}

.footer-section p {
  color: #ddd;
  line-height: 1.8;
}

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

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--primary-dark);
  font-weight: bold;
}

.social-icons a:hover {
  background: var(--primary-light);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(224, 204, 204, 0.3);
  padding-top: 20px;
  text-align: center;
  color: #aaa;
}

/* Layout Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--accent-light));
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(98, 1, 1, 0.9), rgba(129, 52, 52, 0.9)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%23620101"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  background-attachment: fixed;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--accent-lighter);
  /* max-width: 700px; */
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent-light);
  color: var(--primary-dark);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-light);
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
}

.btn:hover {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

/* Grid Styles */
.grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--accent-lighter);
  display: block;
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.card-price {
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: bold;
}

.card-rating {
  color: #ffc107;
  font-size: 0.9rem;
}

/* Product Card Styles */
.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--accent-lighter);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(98, 1, 1, 0) linear-gradient(135deg, rgba(98, 1, 1, 0), rgba(98, 1, 1, 0.1));
  transition: all 0.3s ease;
}

.product-card:hover .product-image::after {
  background: rgba(98, 1, 1, 0.2);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-dark);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-content {
  padding: 25px;
}

.product-category {
  color: var(--primary-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.product-description {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-specs {
  background: var(--accent-lighter);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.product-specs p {
  margin-bottom: 8px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.product-price {
  font-size: 1.8rem;
  color: var(--primary-dark);
  font-weight: 700;
}

/* Introduction with Contact Grid */
.intro-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.intro-content h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.intro-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1rem;
}

/* Contact Form Styles */
.contact-form {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(98, 1, 1, 0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group button {
  width: 100%;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

/* About Page Styles */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.about-image {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1rem;
}

.features-list {
  list-style: none;
  margin-top: 25px;
}

.features-list li {
  padding: 12px 0;
  color: var(--text-dark);
  padding-left: 30px;
  position: relative;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Icon Styles */
.icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-lighter), var(--accent-light));
  border-radius: 50%;
  color: var(--primary-dark);
  font-size: 30px;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 30px;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 5px solid var(--primary-dark);
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary-dark);
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-light);
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 20px;
    gap: 15px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

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

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

  .intro-contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 50px 20px;
    min-height: 400px;
  }
}