/* ============================================
   PURE MEATS QUALITY LTD — Main Stylesheet
   Colors: Dark Red #8B0000 | Black #111111
           White #FFFFFF | Light Gray #F5F5F5
           Gold Accent #C8A44D
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-red: #8B0000;
  --color-red-dark: #6b0000;
  --color-red-light: #a52a2a;
  --color-black: #111111;
  --color-white: #ffffff;
  --color-gray: #f5f5f5;
  --color-gray-mid: #e0e0e0;
  --color-gray-text: #666666;
  --color-gold: #c8a44d;
  --color-gold-light: #d4b86a;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;

  --header-height: 80px;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --radius: 4px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 16px;
}

.section__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
  margin: 0 auto 20px;
}

.section__subtitle {
  color: var(--color-gray-text);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn--primary:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.35);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-red);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background-color: rgba(17, 17, 17, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 2px;
}

.logo__tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold);
}

.nav__link--cta {
  background-color: var(--color-red);
  color: var(--color-white) !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background-color: var(--color-red-dark);
  color: var(--color-white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.75) 0%, rgba(139, 0, 0, 0.55) 100%),
    url('https://images.unsplash.com/photo-1603048588665-791ca8aea58f?w=1920&q=80') center/cover no-repeat;
  padding-top: var(--header-height);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(17, 17, 17, 0.4) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 60px 24px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- About ---------- */
.about {
  background-color: var(--color-white);
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.about__lead {
  font-size: 1.15rem;
  color: var(--color-black);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__intro p {
  color: var(--color-gray-text);
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about__card {
  padding: 36px 28px;
  background-color: var(--color-gray);
  border-left: 4px solid var(--color-red);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.about__card-icon {
  width: 48px;
  height: 48px;
  color: var(--color-red);
  margin-bottom: 20px;
}

.about__card-icon svg {
  width: 100%;
  height: 100%;
}

.about__card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-black);
}

.about__card p {
  font-size: 0.9rem;
  color: var(--color-gray-text);
  line-height: 1.7;
}

/* ---------- Products ---------- */
.products {
  background-color: var(--color-gray);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #2a2a2a;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.55), transparent 60%);
  transition: background var(--transition);
  pointer-events: none;
}

.product-card:hover .product-card__overlay {
  background: linear-gradient(to top, rgba(139, 0, 0, 0.65), rgba(139, 0, 0, 0.1) 70%);
}

.product-card:hover .product-card__image img {
  transform: scale(1.08);
}

.product-card__body {
  padding: 24px;
}

.product-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-red);
}

.product-card__body p {
  font-size: 0.85rem;
  color: var(--color-gray-text);
  line-height: 1.6;
}

/* ---------- Why Choose Us ---------- */
.why-us {
  background-color: var(--color-black);
  color: var(--color-white);
}

.why-us .section__title {
  color: var(--color-white);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 36px 28px;
  border: 1px solid rgba(200, 164, 77, 0.2);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-gold);
  background-color: rgba(200, 164, 77, 0.05);
  transform: translateY(-5px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--color-gold);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-white);
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ---------- Industries ---------- */
.industries {
  background-color: var(--color-white);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  padding: 40px 28px;
  text-align: center;
  background-color: var(--color-gray);
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}

.industry-card:hover {
  border-bottom-color: var(--color-red);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.industry-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-black);
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--color-gray-text);
}

/* ---------- FAQ ---------- */
.faq {
  background-color: var(--color-gray);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: var(--shadow);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-black);
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--color-red);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-red);
  transition: transform var(--transition);
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__item.active .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--color-gray-text);
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact {
  background-color: var(--color-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.contact__detail {
  margin-bottom: 28px;
}

.contact__detail h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-red);
  margin-bottom: 8px;
}

.contact__detail p,
.contact__detail address {
  font-size: 0.95rem;
  color: var(--color-gray-text);
  line-height: 1.7;
}

.contact__detail a:hover {
  color: var(--color-red);
}

.contact__hours li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-gray-text);
  border-bottom: 1px solid var(--color-gray-mid);
}

.contact__hours li:last-child {
  border-bottom: none;
}

/* Form */
.contact__form {
  background-color: var(--color-gray);
  padding: 36px;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-black);
}

.form-group label span {
  color: var(--color-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 2px solid var(--color-gray-mid);
  border-radius: var(--radius);
  background-color: var(--color-white);
  color: var(--color-black);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d32f2f;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #d32f2f;
  margin-top: 4px;
  min-height: 18px;
}

.form-success {
  margin-top: 16px;
  padding: 14px;
  background-color: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-align: center;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact__map iframe {
  display: block;
  filter: grayscale(20%);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__desc {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer__links h3,
.footer__contact h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-gold);
}

.footer__contact address,
.footer__contact p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 4px;
}

.footer__contact a:hover {
  color: var(--color-gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
}

.footer__credit {
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-red);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__cards {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 70px 0;
  }

  /* Mobile Navigation */
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-black);
    padding: 100px 30px 40px;
    transition: right var(--transition);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .products__grid {
    grid-template-columns: 1fr;
  }

  .industries__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact__form {
    padding: 24px;
  }
}
