/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
header {
  background: #111;
  color: #fff;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100px;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  transition: all 0.4s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  z-index: 1001;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
  margin-left: 15px;
  font-size: 1.8rem;
  font-weight: 700;
  transition: all 0.4s ease;
  opacity: 1;
  visibility: visible;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  transition: all 0.4s ease;
  opacity: 1;
  visibility: visible;
}

.main-nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 3px;
  white-space: nowrap;
  position: relative;
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
  background-color: rgba(255, 255, 255, 0.15);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
}

/* Header scroll effects */
header.scrolled {
  height: 70px;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header.scrolled .logo {
  width: 45px;
  height: 45px;
}

header.scrolled .logo-text {
  opacity: 0;
  visibility: hidden;
  width: 0;
  margin-left: 0;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1002;
}

.mobile-nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content Styles */
main {
  margin-top: 100px;
  padding: 40px 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  transition: margin-top 0.4s ease;
}

body.scrolled main {
  margin-top: 70px;
}

.hero {
  padding: 100px 20px;
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  margin-bottom: 50px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 300;
  color: #222;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
}

.cta-button {
  background: #222;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #000;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #222;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #222;
  margin: 10px auto;
}

.about-section {
  margin-bottom: 60px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-content p {
  margin-bottom: 20px;
  color: #444;
}

/* Products Section */
.products-section {
  margin-bottom: 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 1.1rem;
}

.product-content {
  padding: 20px;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
}

.product-description {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.add-to-cart-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
  transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #000;
}

/* Team Section */
.team-section {
  margin-bottom: 60px;
}

.team-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.team-image-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.team-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-description {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-description p {
  margin-bottom: 20px;
  color: #444;
}

/* Features Section */
.features-section {
  margin-bottom: 60px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
}

.feature h3 {
  margin-bottom: 15px;
  color: #222;
}

.feature p {
  color: #555;
}

/* Cart Section */
.cart-section {
  margin-top: 60px;
}

.cart-summary {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.cart-items {
  list-style: none;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  background: #f0f0f0;
  border-radius: 4px;
}

.cart-item-details h4 {
  margin-bottom: 5px;
}

.cart-item-price {
  color: #666;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  background: #f0f0f0;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.2rem;
  padding-top: 15px;
  border-top: 2px solid #eee;
  margin-top: 20px;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.continue-shopping-btn {
  background: #666;
  color: #fff;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.continue-shopping-btn:hover {
  background: #555;
}

.checkout-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.checkout-btn:hover {
  background: #000;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #222;
  color: #fff;
  padding: 15px 25px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer Styles */
footer {
  background: #111;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  font-size: 1.8rem;
  font-weight: 700;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
}

.footer-nav {
  margin: 20px 0;
}

.footer-nav a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  margin-top: 30px;
  color: #999;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #111;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav a {
    margin: 10px 0;
    padding: 15px;
    font-size: 1.1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .team-content {
    flex-direction: column;
  }
  
  .cart-summary {
    padding: 20px;
  }
  
  .cart-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .continue-shopping-btn,
  .checkout-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 60px 15px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .about-content,
  .team-description {
    padding: 20px;
  }
}

/* Checkout Page Styles */
.checkout-section {
  margin-bottom: 60px;
}

.checkout-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.order-summary {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #222;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.payment-methods {
  margin-bottom: 20px;
}

.payment-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.payment-option:hover {
  border-color: #222;
}

.payment-option input {
  margin-right: 10px;
  width: auto;
}

.card-details {
  margin-top: 20px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 4px;
}

.terms {
  display: flex;
  align-items: flex-start;
}

.terms input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.terms label {
  margin-bottom: 0;
  line-height: 1.4;
}

.terms a {
  color: #222;
  text-decoration: underline;
}

.order-items {
  list-style: none;
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.summary-totals {
  border-top: 2px solid #eee;
  padding-top: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-row.total {
  font-weight: 600;
  font-size: 1.2rem;
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 10px;
}

/* About Page Styles */
.about-page-section {
  margin-bottom: 60px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content-main {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.about-content-main p {
  margin-bottom: 20px;
  color: #444;
  line-height: 1.7;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 8px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.stat-label {
  color: #666;
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.value-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 15px;
  color: #222;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.team-member {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.member-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #222;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.team-member h3 {
  margin-bottom: 10px;
  color: #222;
}

.member-role {
  color: #666;
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.timeline-section {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #222;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-year {
  flex: 0 0 100px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
  background: #fff;
  padding: 10px;
  border: 2px solid #222;
  border-radius: 4px;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 0 20px;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: #222;
}

/* Contact Page Styles */
.contact-section {
  margin-bottom: 60px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info,
.contact-form-container {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-text h3 {
  margin-bottom: 5px;
  color: #222;
}

.contact-text p {
  color: #666;
  line-height: 1.5;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  color: #222;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #222;
  color: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #000;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 60px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question.active {
  background: #f5f5f5;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Map Section */
.map-section {
  margin-bottom: 60px;
}

.map-container {
  max-width: 800px;
  margin: 0 auto;
}

.map-placeholder {
  height: 400px;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  position: relative;
}

.map-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 8px;
}

.map-content h3 {
  margin-bottom: 10px;
  color: #222;
}

.map-content p {
  margin-bottom: 10px;
  color: #666;
}

.directions-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  margin-top: 15px;
}

.directions-btn:hover {
  background: #000;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
  .checkout-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .checkout-form,
  .order-summary,
  .contact-info,
  .contact-form-container {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .order-summary {
    position: static;
  }
  
  .mission-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }
  
  .timeline-year {
    position: absolute;
    left: 0;
    top: 0;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .mission-stats {
    grid-template-columns: 1fr;
  }
  
  .about-content-main,
  .timeline-section {
    padding: 20px;
  }
}