/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1E1E1E;
  background-color: #FFFFFF;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.text-shadow {
  position: relative;
}

.text-shadow::after {
  content: attr(data-text);
  position: absolute;
  top: 3px;
  left: 3px;
  color: #1E1E1E;
  z-index: -1;
}

/* Header */
header {
  width: 100%;
  height: 82px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #1E1E1E;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.logo {
  width: 270px;
  height: 61px;
  background: url("../images/logo.png") no-repeat left center;
  background-size: contain;
  position: absolute;
  left: 30px;
}

/* Search bar */
.search-container {
  width: 824px;
  height: 50px;
}

.search-bar {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar input {
  width: calc(100% - 58px);
  height: 46px;
  background: #F1F1F1;
  border: 1px solid #1E1E1E;
  border-radius: 40px;
  padding: 0 15px;
  font-size: 15px;
}

.search-button {
  width: 48px;
  height: 48px;
  border: 1px solid #1E1E1E;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-icon {
  width: 20px;
  height: 20px;
  border: 3px solid #1E1E1E;
  border-radius: 50%;
  position: relative;
  padding-left: 15px;
  padding-top: 15px;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 3px;
  background: #1E1E1E;
  transform: rotate(45deg);
  bottom: -5px;
  right: -5px;
}

/* Header Actions */
.header-actions {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 20px;
}

/* Sub Header Navigation */
.sub-header {
  width: 100%;
  height: 40px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #1E1E1E;
  position: fixed;
  top: 82px;
  left: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-header-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sub-header a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1E1E1E;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 10px;
}

.sub-header a:hover {
  color: #B83F3F;
}

.user-button, .cart-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #B83F3F;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Section */
.contact {
  max-width: 1200px;
  margin: 2729px auto 0;
  padding: 0 14px;
}

.contact .contact-info {
  width: 100%;
  background: #D9D9D9;
  border: 1px solid #B1B1B1;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.contact .contact-info h2 {
  font-family: Inter;
  font-weight: 400;
  font-size: 40px;
  color: #000;
  margin-bottom: 116px;
}

.contact .contact-info p {
  font-family: Inter;
  font-weight: 400;
  font-size: 20px;
  color: #000;
  width: 601px;
  margin: 0 auto 126px;
}

.contact .contact-info button {
  width: 305px;
  height: 102px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  font-family: Inter;
  font-weight: 400;
  font-size: 30px;
  color: #000;
  cursor: pointer;
}

/* About Us Section - Fixed Layout */
.about-us {
  width: 100%;
  height: 355px;
  background: rgba(184,63,63,1);
  padding: 40px 0;
  color: #F2E6F4;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.about-us h2 {
  font-size: 50px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 20px;
  margin-left: 178px;
  color: #F2E6F4;
  flex-basis: 100%;
}

.about-us h2.text-shadow {
  position: relative;
}

.about-us p {
  max-width: 50%;
  margin-left: 178px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #FFFFFF;
  position: relative;
}

.about-us p::before {
  content: attr(data-text);
  position: absolute;
  top: 1px;
  left: 1px;
  color: #A6A6A6;
  z-index: -1;
}

.help-section {
  position: static;
  margin-left: auto;
  margin-right: 10px;
  flex-basis: 30%;
  margin-top: -162px;
}

.help-section h3 {
  font-size: 50px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 10px;
  color: #F2E6F4;
}

.contact-button {
  width: 197px;
  height: 61px;
  background: rgb(255, 255, 255);
  border: 2px solid #000000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-button span {
  font-size: 28px;
  font-weight: 500;
  color: #000000;
  transition: color 0.3s ease; /* Add transition for text color */
}

.contact-button:hover {
  background: #000000;
  border-color: #ffffff;
}

.contact-button:hover span {
  color: #ffffff; /* Change text color on hover */
}

/* Newsletter Section */
.newsletter {
  width: 100%;
  padding: 50px 0;
  background-color: #F4F4F4;
  text-align: center;
}

.newsletter h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1E1E1E;
}

.newsletter p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666666;
}

.newsletter form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter label {
  align-self: flex-start;
  margin-bottom: 5px;
  font-weight: 500;
}

.newsletter input {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #1E1E1E;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

.newsletter button {
  padding: 10px 30px;
  background-color: #1E1E1E;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter button:hover {
  background-color: #B83F3F;
}

/* Footer */
footer {
  width: 100%;
  background-color: #1E1E1E;
  color: #FFFFFF;
  padding: 50px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-column {
  width: 200px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #CCCCCC;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #FFFFFF;
}

.footer-column p {
  color: #CCCCCC;
  font-size: 14px;
  line-height: 1.6;
}

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

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #B83F3F;
}

.social-icon.facebook {
  background-image: url('../images/facebook-icon.png');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.social-icon.twitter {
  background-image: url('../images/twitter-icon.png');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.social-icon.instagram {
  background-image: url('../images/instagram-icon.png');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.copyright {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid #333333;
  text-align: center;
}

.copyright p {
  font-size: 12px;
  color: #999999;
}

/* FAQ Section Styles */
.faq-section {
    max-width: 1200px;
    margin: 140px auto 40px;
    padding: 0 20px;
}

.faq-section h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h2 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.faq-question .toggle-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-question .toggle-icon::before,
.faq-question .toggle-icon::after {
    content: '';
    position: absolute;
    background: #333;
    transition: transform 0.3s ease;
}

.faq-question .toggle-icon::before {
    width: 2px;
    height: 16px;
    top: 4px;
    left: 11px;
}

.faq-question .toggle-icon::after {
    width: 16px;
    height: 2px;
    top: 11px;
    left: 4px;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-answer-content {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.faq-item.active .faq-question {
    background: #B83F3F;
    color: white;
}

.faq-item.active .faq-question h2 {
    color: white;
}

.faq-item.active .toggle-icon::before,
.faq-item.active .toggle-icon::after {
    background: white;
}

.faq-item.active .toggle-icon::before {
    transform: rotate(90deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer ul {
    padding-left: 20px;
    margin: 15px 0;
}

.faq-answer li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-contact {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-contact .contact-button {
    display: inline-block;
    padding: 12px 24px;
    background: #B83F3F;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    width: auto;
    height: auto;
    border: none;
}

.faq-contact .contact-button:hover {
    background: #962f2f;
}