/* Base Styles */
:root {
  --primary-red: #d32838;
  --dark-red: #8c2425;
  --orange: #e48b37;
  --green: #1a4331;
  --light-bg: #f9f5f0;
  --dark-text: #333333;
  --light-text: #ffffff;
  --transition: all 0.3s ease;
  --container-padding: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Main wrapper */
.main-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

main {
  overflow-x: hidden;
  width: 100%;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  overflow-x: hidden;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--light-text);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(211, 40, 56, 0.3);
}

.btn-primary:hover {
  background-color: var(--dark-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(211, 40, 56, 0.4);
}

.btn-primary i,
.btn-secondary i,
.btn-shop-now i {
  color: var(--light-text);
}

.btn-secondary {
  display: inline-block;
  background-color: var(--orange);
  color: var(--light-text);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(228, 139, 55, 0.3);
}

.btn-secondary:hover {
  background-color: #d07a2a;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(228, 139, 55, 0.4);
}

.btn-shop-now {
  display: inline-block;
  background-color: var(--green);
  color: var(--light-text);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(26, 67, 49, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  position: relative;
}

.btn-shop-now:hover {
  background-color: #143526;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(26, 67, 49, 0.4);
}

/* Button wrapper */
.button-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.btn-nav {
  background-color: var(--primary-red);
  color: var(--light-text);
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition);
}

.btn-nav:hover {
  background-color: var(--dark-red);
}

section {
  padding: 80px 0;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-red);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  max-width: 100%;
  word-wrap: break-word;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--orange);
}

/* Tangerine Font */
.tangerine {
  font-family: "Tangerine", cursive;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: -5px;
  margin-bottom: 25px;
  max-width: 100%;
  word-wrap: break-word;
}

/* Icon Styles */
.fas,
.far,
.fab,
.fa-brands {
  margin-right: 8px;
}

.section-header h2 .fas,
.section-header h2 .far {
  color: var(--orange);
}

.features-text .fas {
  color: var(--orange);
}

.quality-text .fas {
  color: var(--orange);
}

.footer-section p .fas {
  width: 20px;
  text-align: center;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: auto;
  max-height: 60px;
  max-width: 100%;
  transition: var(--transition);
}

header.scrolled .logo img {
  max-height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover {
  color: var(--primary-red);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #fff 0%, #f9f5f0 100%);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: 50px;
  box-sizing: border-box;
}

.hero-text {
  flex: 1;
  max-width: 100%;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--dark-red);
  margin-bottom: 0;
  line-height: 1.1;
  max-width: 100%;
  word-wrap: break-word;
}

.hero-text .tagline {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-red);
  margin-top: 5px;
  margin-bottom: 15px;
  max-width: 100%;
  word-wrap: break-word;
}

.hero-text .subtitle {
  color: var(--primary-red);
  margin-bottom: 20px;
  font-weight: 700;
  max-width: 100%;
  word-wrap: break-word;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--dark-text);
  max-width: 100%;
  word-wrap: break-word;
}

.hero-image {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
  max-width: 100%;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Products Section */
.products {
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
}

.products-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  box-sizing: border-box;
}

.product-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  overflow: hidden;
  max-width: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
  max-width: 100%;
}

.product-info h3 {
  font-size: 1.3rem;
  color: var(--dark-red);
  margin-bottom: 10px;
  max-width: 100%;
  word-wrap: break-word;
}

.product-info p {
  color: var(--dark-text);
  font-size: 0.95rem;
  max-width: 100%;
  word-wrap: break-word;
}

/* Features Section */
.features {
  background-color: var(--light-bg);
  width: 100%;
  box-sizing: border-box;
}

.features-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: 50px;
  box-sizing: border-box;
}

.features-text {
  flex: 1;
  max-width: 100%;
}

.features-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--dark-text);
  max-width: 100%;
  word-wrap: break-word;
}

.features-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.features-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quality Section */
.quality {
  width: 100vw;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

.quality-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: 50px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.quality-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  box-sizing: border-box;
}

.quality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-text {
  flex: 1;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.quality-text h2 {
  font-size: 2.2rem;
  color: var(--dark-red);
  margin-bottom: 20px;
  line-height: 1.3;
  max-width: 100%;
  word-wrap: break-word;
}

.quality-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--dark-text);
  max-width: 100%;
  word-wrap: break-word;
}

.quality-tagline {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--green);
  margin-top: 30px;
  max-width: 100%;
  word-wrap: break-word;
}

/* Footer Styles */
footer {
  background-color: var(--dark-red);
  color: var(--light-text);
  padding: 60px 0 20px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  box-sizing: border-box;
}

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
  max-width: 100%;
}

.footer-logo img {
  height: auto;
  max-width: 250px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.footer-section {
  max-width: 100%;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  max-width: 100%;
  word-wrap: break-word;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--orange);
}

.footer-section ul li {
  margin-bottom: 10px;
  max-width: 100%;
  word-wrap: break-word;
}

.footer-section a {
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--orange);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a i {
  font-size: 18px;
  margin: 0;
  color: var(--light-text);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--orange);
  transform: translateY(-3px);
}

.social-icons a:hover i {
  color: var(--light-text);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.footer-bottom .credits {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 100%;
  word-wrap: break-word;
  position: relative;
  z-index: 3;
}

.footer-bottom .credits-link {
  color: inherit;
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
  z-index: 4;
}

.footer-bottom .credits-link:hover {
  color: var(--orange);
  text-decoration: underline;
  opacity: 1;
}

/* Mobile Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Fix for horizontal scrolling on mobile */
@media (max-width: 768px) {
  .quality-content {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
  }

  .quality-image,
  .quality-text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .quality-text h2 {
    font-size: 1.7rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .btn-shop-now {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
}
