* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #000000;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* 
   POPPINS FONTS
   Paths corrected to relative paths
 */

@font-face {
  font-family: "Poppins";
  src: url("font/poppins/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* 
   HEADER
 */

header {
  background-color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 7rem;
  padding: 0 2rem;
}

/* LOGO */

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 4rem;
}

.nav-logo img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.nav-logo h2 {
  color: white;
  font-size: 3rem;
  padding-left: 1rem;
}

.nav-logo h2 span {
  color: #e0001b;
  font-size: 3rem;
}

/* NAV RIGHT */

.nav-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 4rem;
}

/* NAV LINKS */

.nav-link {
  display: flex;
  align-items: center;
}

.nav-link a {
  text-decoration: none;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 1.5rem;
  padding-right: 3rem;
  color: white;
  transition: 0.3s ease;
}

.nav-link a:hover {
  color: #e0001b;
}

/* CART */

.cart-icon {
  height: 2.8rem;
  width: 2.8rem;
  cursor: pointer;
  margin-left: 1rem;
}

/* THEME TOGGLE */

.theme-toggle {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 1.5rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s ease;
}

.theme-toggle img {
  width: 100%;
  height: 100%;
  max-width: 3rem;
  max-height: 3rem;
  object-fit: contain;
  display: block;
  transition: 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.08);
}

.theme-toggle:active img {
  transform: rotate(20deg) scale(0.9);
}

/* MOBILE MENU */

#menu {
  display: none;
}

.menu-btn img {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  cursor: pointer;
}

/* 
   HERO CAROUSEL
 */

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f4f4f4;
}

.hero-slide {
  display: none;
  position: relative;
  isolation: isolate;
  align-items: center;
  width: 100%;
  min-height: 560px;
  box-sizing: border-box;
  padding: 70px 9%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroFade 0.6s ease;
}

/* Show only the active slide */

.hero-slide.active {
  display: flex;
}

/* SLIDE 1 */

.hero-slide-welcome {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.45) 48%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    url("images/hero-shopping.png");
}

/* SLIDE 2 */

.hero-slide-electronics {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.48) 48%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    url("images/hero-electronics.png");
}

/* SLIDE 3 */

.hero-slide-shopping {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.45) 48%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    url("images/hero-clothing.png");
}

/* HERO TEXT */

.hero-slide .hero-text {
  flex: 1;
  max-width: 55rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slide .hero-text h4 {
  color: #7a101d;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-slide .hero-text h1 {
  color: #000000;
  font-size: 4.5rem;
  line-height: 1.15;
  text-transform: capitalize;
  margin-bottom: 2rem;
}

.hero-slide .hero-text p {
  color: #2b2b2b;
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

/* HERO IMAGE */

.hero-slide .hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide .hero-image img {
  width: 100%;
  max-width: 55rem;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
}

/* SHOP BUTTON */

.hero-slide .btn {
  display: flex;
  width: fit-content;
  min-width: 14rem;
  height: 4.8rem;
  padding: 0 1.8rem;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: #500a13;
  color: white;
  border-radius: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-slide .btn:hover {
  background-color: #7a101d;
  transform: translateY(-2px);
}

.hero-slide .btn img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.hero-slide .btn span {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

/* CAROUSEL ARROWS */

.carousel-btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: #500a13;
}

.carousel-btn.prev {
  left: 2rem;
}

.carousel-btn.next {
  right: 2rem;
}

/* CAROUSEL DOTS */

.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.carousel-dots .dot {
  width: 1.2rem;
  height: 1.2rem;
  border: none;
  border-radius: 50%;
  background-color: #cccccc;
  cursor: pointer;
  transition: 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #7a101d;
  transform: scale(1.2);
}

/* 
   ABOUT SECTION
 */

.section-one {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 3rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.section-one h2 {
  font-size: 3rem;
  font-weight: 600;
  text-transform: capitalize;
}

.section-title-line {
  width: 4rem;
  height: 0.3rem;
  background-color: #7a101d;
  margin-top: 0.8rem;
}

/* ABOUT CONTAINER */

.containers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  gap: 3rem;
}

.container-img {
  width: 40rem;
  padding: 0 2rem;
}

.container-img img {
  width: 100%;
  border-radius: 1.6rem;
}

/* ABOUT TEXT */

.container-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40rem;
  padding: 1.5rem;
}

.container-text > p {
  font-size: 1.6rem;
  color: #626161;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* QUALITY / DELIVERY */

.img-text {
  display: flex;
  min-height: 6rem;
  flex-direction: row;
  align-items: center;
  margin-top: 1.5rem;
}

.img-text img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.img-box {
  width: 5rem;
}

.text-box {
  margin-left: 1rem;
}

.text-box h3 {
  text-transform: capitalize;
  font-size: 1.5rem;
  padding-top: 0.5rem;
}

.text-box p {
  font-size: 1.2rem;
  color: #626161;
  margin-top: 0.3rem;
}

/* 
   SERVICES SECTION
 */

.services-placeholder {
  width: 100%;
  min-height: auto;
  padding: 6rem 5%;
  background-color: #f7f7f7;
  color: #171717;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.services-placeholder h2 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 3rem;
}

.servicebox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 115rem;
  margin: 0 auto;
}

.servicebox .serviceBars {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  width: 100%;
  min-width: 0;
  min-height: 14rem;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.servicebox .serviceBars:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2.5rem rgba(80, 10, 19, 0.12);
  border-color: #7a101d;
}

/* SERVICE ICON CIRCLE */

.serviceBars .service-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 7rem;
  width: 7rem;
  height: 7rem;
  background: radial-gradient(
    ellipse at top left,
    #7a101d 0%,
    #650c17 35%,
    #500a13 80%
  );
  border-radius: 50%;
}

.service-img img {
  display: block;
  width: 70%;
  height: 70%;
  padding: 0.5rem;
  object-fit: contain;
}

.serviceBars .serviceData {
  flex: 1;
  min-width: 0;
  margin-left: 0;
}

.serviceBars .serviceData h5 {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: capitalize;
  text-align: left;
  color: #500a13;
  margin-bottom: 0.8rem;
}

.serviceBars .serviceData p {
  font-size: 1.4rem;
  line-height: 1.7;
  text-align: left;
  color: #555555;
  padding-top: 0;
  overflow-wrap: anywhere;
}

/* SERVICES INNER CONTENT */

.services-inner {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
}

.services-placeholder > .services-inner > h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 3vw, 3.4rem);
  font-weight: 600;
}

.services-intro {
  margin-bottom: 3rem;
  font-size: 1.5rem;
  color: #666;
  line-height: 1.7;
}

/* CATEGORY TABS */

.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 3rem;
}

.service-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-width: 0;
  min-height: 8rem;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  background: #fff;
  color: #333;
  font: inherit;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-tab img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.service-tab span {
  font-size: 1.6rem;
  font-weight: 600;
}

.service-tab:hover {
  border-color: #800019;
  transform: translateY(-2px);
}

.service-tab.active {
  background: #800019;
  color: #fff;
  border-color: #800019;
  box-shadow: 0 0.5rem 1.8rem rgba(128, 0, 25, 0.18);
}

.service-tab:focus-visible,
.product-action:focus-visible {
  outline: 3px solid #e0001b;
  outline-offset: 3px;
}

/* PRODUCT PANEL */

.product-panel {
  width: 100%;
  padding: 3rem;
  border: 1px solid #e8e8e8;
  border-radius: 1.2rem;
  background: #fff;
  text-align: left;
  animation: productPanelIn 0.3s ease;
}

.product-panel[hidden] {
  display: none !important;
}

@keyframes productPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.product-panel-heading h3 {
  margin-bottom: 0.5rem;
  color: #800019;
  font-size: 2.4rem;
}

.product-panel-heading p {
  color: #666;
  font-size: 1.4rem;
  line-height: 1.6;
}

.product-count {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 2rem;
  background: #f5e8eb;
  color: #800019;
  font-size: 1.2rem;
  font-weight: 600;
}

/* PRODUCT GRID */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

/* PRODUCT CARD */

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 1rem;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #e5c2c9;
  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.08);
}

/* PRODUCT IMAGE AREA */

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 1.5rem;
  overflow: hidden;
  background: #f7f7f7;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

/* PRODUCT INFORMATION */

.product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 1.6rem;
}

.product-category {
  margin-bottom: 0.7rem;
  color: #777;
  font-size: 1.15rem;
}

.product-info h4 {
  margin-bottom: 1rem;
  color: #222;
  font-size: 1.6rem;
  line-height: 1.4;
}

.product-price {
  margin-bottom: 1.5rem;
  color: #800019;
  font-size: 1.8rem;
  font-weight: 700;
}

.product-action {
  width: 100%;
  min-height: 4.2rem;
  margin-top: auto;
  padding: 1rem;
  border: 1px solid #800019;
  border-radius: 0.6rem;
  background: #800019;
  color: #fff;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.product-action:hover {
  background: #fff;
  color: #800019;
}

/* 
   CONTACT SECTION
 */

.contact-section {
  --contact-bg: #ffffff;
  --contact-card: #ffffff;
  --contact-text: #171717;
  --contact-muted: #555555;
  --contact-border: #dfe2e7;
  --contact-accent: #800019;
  width: 100%;
  padding: 4.5rem 5%;
  background: var(--contact-bg);
  color: var(--contact-text);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.contact-inner {
  width: 100%;
  max-width: 115rem;
  margin: 0 auto;
}

.contact-inner > h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 600;
}

.contact-title-line {
  width: 3.5rem;
  height: 0.3rem;
  margin: 0.9rem auto 2.8rem;
  background: var(--contact-accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 2.8rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  padding-right: 2.8rem;
  border-right: 1px solid var(--contact-border);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--contact-border);
  border-radius: 0.6rem;
  background: var(--contact-card);
  color: var(--contact-text);
  font: inherit;
  font-size: 1.4rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.3s ease;
}

.contact-form input {
  min-height: 4.5rem;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--contact-muted);
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--contact-accent);
  box-shadow: 0 0 0 0.3rem rgba(128, 0, 25, 0.1);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  align-self: flex-start;
  min-height: 4.5rem;
  padding: 0 2rem;
  border: 0;
  border-radius: 0.6rem;
  background: var(--contact-accent);
  color: #ffffff;
  font: inherit;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.contact-submit:hover {
  background: #a00022;
  transform: translateY(-2px);
}

.contact-form-status {
  min-height: 1.8rem;
  margin: 0;
  color: var(--contact-muted);
  font-size: 1.3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.2rem;
  min-width: 0;
  padding-left: 0.2rem;
}

.contact-detail {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: start;
  gap: 1.2rem;
}

.contact-detail-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 4rem;
  min-height: 3.2rem;
}

.contact-detail-icon img {
  display: block;
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}

.contact-detail h3 {
  margin: 0 0 0.4rem;
  color: var(--contact-text);
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-detail p,
.contact-detail a {
  margin: 0;
  color: var(--contact-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-detail a:hover {
  color: var(--contact-accent);
  text-decoration: underline;
}

/* SCREEN-READER ONLY */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 
   FOOTER
 */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  min-height: 7rem;
  padding: 1.8rem 5%;
  background: #080a0b;
  color: #ffffff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 1.3rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.footer-socials a {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #f0a4ad;
}

.footer-socials img {
  width: 20px;
}

/* 
   DARK MODE
 */

body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .hero-carousel {
  background-color: #121212;
}

body.dark-mode .hero-slide .hero-text h1 {
  color: #ffffff;
}

body.dark-mode .hero-slide .hero-text p {
  color: #dddddd;
}

body.dark-mode .section-one {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .section-one h2 {
  color: #ffffff;
}

body.dark-mode .container-text > p {
  color: #cccccc;
}

body.dark-mode .text-box h3 {
  color: #ffffff;
}

body.dark-mode .text-box p {
  color: #cccccc;
}

body.dark-mode .services-placeholder {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .services-placeholder h2 {
  color: #ffffff;
}

body.dark-mode .services-intro {
  color: #cccccc;
}

body.dark-mode .servicebox .serviceBars {
  background-color: #1c1c1c;
  border-color: #333333;
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.2);
}

body.dark-mode .servicebox .serviceBars:hover {
  border-color: #7a101d;
  box-shadow: 0 1rem 2.5rem rgba(122, 16, 29, 0.2);
}

body.dark-mode .serviceBars .serviceData h5 {
  color: #f0a4ad;
}

body.dark-mode .serviceBars .serviceData p {
  color: #cccccc;
}

body.dark-mode .service-tab {
  background: #1c1c1c;
  color: #eee;
  border-color: #383838;
}

body.dark-mode .service-tab.active {
  background: #800019;
  color: #fff;
  border-color: #800019;
}

body.dark-mode .product-panel {
  background: #1a1a1a;
  border-color: #383838;
}

body.dark-mode .product-panel-heading h3 {
  color: #f0a4ad;
}

body.dark-mode .product-panel-heading p {
  color: #ccc;
}

body.dark-mode .product-count {
  background: #3b2026;
  color: #f0a4ad;
}

body.dark-mode .product-card {
  background: #222;
  border-color: #383838;
}

body.dark-mode .product-image {
  background: #2a2a2a;
}

body.dark-mode .product-info h4 {
  color: #f5f5f5;
}

body.dark-mode .product-category {
  color: #bbb;
}

body.dark-mode .product-price {
  color: #f0a4ad;
}

body.dark-mode .product-action {
  background: #800019;
  color: #fff;
  border-color: #a63a4d;
}

body.dark-mode .product-action:hover {
  background: #a00022;
}

body.dark-mode .contact-section {
  --contact-bg: #121212;
  --contact-card: #1c1c1c;
  --contact-text: #f5f5f5;
  --contact-muted: #c6c6c6;
  --contact-border: #383838;
  --contact-accent: #f0a4ad;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  color-scheme: dark;
}

body.dark-mode .contact-submit {
  background: #800019;
  color: #ffffff;
}

body.dark-mode .contact-submit:hover {
  background: #a00022;
}

body.dark-mode .contact-detail-icon img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(17%) saturate(1113%)
    hue-rotate(298deg) brightness(98%) contrast(91%);
}

body.dark-mode .contact-placeholder {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .contact-placeholder h2 {
  color: #ffffff;
}

body.dark-mode .contact-placeholder p {
  color: #cccccc;
}

/* 
   TABLET: HERO
 */

@media (max-width: 1020px) {
  .hero-slide {
    padding: 4rem 5%;
  }

  .hero-slide .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-slide .hero-text h4 {
    font-size: 1.6rem;
  }

  .hero-slide .hero-text p {
    font-size: 1.5rem;
  }
}

/* 
   TABLET: SERVICES AND PRODUCTS
 */

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-panel {
    padding: 2.2rem;
  }

  .service-tab {
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  .services-placeholder {
    padding: 5rem 4%;
  }

  .servicebox {
    gap: 1.8rem;
  }

  .servicebox .serviceBars {
    gap: 1.5rem;
    padding: 1.8rem;
    min-height: 12rem;
  }

  .serviceBars .service-img {
    flex-basis: 6rem;
    width: 6rem;
    height: 6rem;
  }
}

/* 
   MOBILE NAVIGATION AND HERO
 */

@media (max-width: 768px) {
  .nav-logo img {
    display: none;
  }

  .menu-btn img {
    display: block;
  }

  .nav-link {
    display: none;
  }

  #menu:checked ~ .nav-link {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    position: absolute;
    top: 7rem;
    left: 0;
    background-color: #000000;
    padding-bottom: 1rem;
  }

  .nav-link a {
    padding: 1.5rem;
    border-bottom: 0.1rem solid #333333;
    width: 100%;
    text-align: center;
  }

  .theme-toggle {
    width: 3rem;
    height: 3rem;
    margin-left: 1rem;
  }

  .theme-toggle img {
    width: 100%;
    height: 100%;
    max-width: 3rem;
    max-height: 3rem;
  }

  .hero-carousel {
    min-height: auto;
    margin-top: 7rem;
  }

  .hero-slide {
    min-height: 65rem;
    padding: 3rem 2rem 5rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-slide .hero-text {
    width: 100%;
    align-items: center;
    order: 1;
  }

  .hero-slide .hero-image {
    width: 100%;
    order: 2;
  }

  .hero-slide .hero-image img {
    width: 100%;
    max-width: 38rem;
  }

  .hero-slide .hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-slide .hero-text h4 {
    font-size: 1.4rem;
  }

  .hero-slide .hero-text p {
    font-size: 1.4rem;
  }

  .hero-slide .btn {
    margin-top: 1.5rem;
  }

  .carousel-btn {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.8rem;
  }

  .carousel-btn.prev {
    left: 0.8rem;
  }

  .carousel-btn.next {
    right: 0.8rem;
  }

  .carousel-dots {
    bottom: 1.5rem;
  }

  .section-one {
    padding: 4rem 2rem;
  }

  .container-img {
    width: 100%;
    max-width: 40rem;
  }

  .container-text {
    width: 100%;
    max-width: 40rem;
  }

  .contact-section {
    padding: 4rem 4%;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .contact-form {
    padding: 0 0 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--contact-border);
  }

  .contact-details {
    gap: 1.8rem;
    padding: 0;
  }

  .contact-submit {
    align-self: stretch;
  }

  .site-footer {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* 
   SMALL PHONES
 */

@media (max-width: 520px) {
  .services-placeholder {
    padding: 4rem 1.5rem;
  }

  .service-tabs {
    gap: 0.7rem;
    margin-bottom: 2rem;
  }

  .service-tab {
    min-height: 8rem;
    padding: 0.8rem 0.3rem;
    gap: 0.7rem;
    border-radius: 0.8rem;
  }

  .service-tab img {
    width: 2.6rem;
    height: 2.6rem;
  }

  .service-tab span {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .product-panel {
    padding: 1.3rem;
  }

  .product-panel-heading h3 {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .product-image {
    padding: 0.8rem;
  }

  .product-info {
    padding: 1rem;
  }

  .product-info h4 {
    font-size: 1.35rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .product-action {
    font-size: 1.2rem;
    padding: 0.8rem 0.3rem;
  }
}

@media (max-width: 480px) {
  .services-placeholder h2 {
    margin-bottom: 2.5rem;
  }

  .servicebox {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .servicebox .serviceBars {
    min-height: 11rem;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .serviceBars .service-img {
    flex-basis: 5.5rem;
    width: 5.5rem;
    height: 5.5rem;
  }

  .serviceBars .serviceData h5 {
    font-size: 1.6rem;
  }

  .serviceBars .serviceData p {
    font-size: 1.3rem;
    line-height: 1.6;
  }
}

@media (max-width: 450px) {
  .nav-logo h2,
  .nav-logo h2 span {
    font-size: 2.5rem;
  }

  .theme-toggle {
    width: 2.6rem;
    height: 2.6rem;
    margin-left: 0.7rem;
  }

  .theme-toggle img {
    width: 100%;
    height: 100%;
    max-width: 2.6rem;
    max-height: 2.6rem;
  }

  .hero-slide {
    min-height: 60rem;
    padding: 2rem 1.5rem 4rem;
  }

  .hero-slide .hero-text h1 {
    font-size: 2.7rem;
  }

  .hero-slide .hero-text h4 {
    font-size: 1.3rem;
  }

  .hero-slide .hero-text p {
    font-size: 1.3rem;
  }

  .hero-slide .hero-image img {
    max-width: 32rem;
  }

  .carousel-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }

  .carousel-btn.prev {
    left: 0.5rem;
  }

  .carousel-btn.next {
    right: 0.5rem;
  }
}

@media (max-width: 400px) {
  .contact-section {
    padding: 3.2rem 1.6rem;
  }

  .contact-detail {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .contact-detail-icon {
    width: 3.2rem;
  }

  .contact-detail-icon img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 1.1rem;
  }
}

/* 
   REDUCED MOTION ACCESSIBILITY
 */

@media (prefers-reduced-motion: reduce) {
  .servicebox .serviceBars,
  .service-tab,
  .product-card,
  .product-image img,
  .product-panel,
  .contact-section,
  .contact-form input,
  .contact-form textarea,
  .contact-submit {
    animation: none;
    transition: none;
  }
}
