/* ====== FONT IMPORTS ====== */
@font-face {
  font-family: 'Headers';
  src: url('fonts/Headers.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Text';
  src: url('fonts/Text.ttf') format('truetype');
}

/* ====== GLOBAL RESET ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Text', sans-serif;
  background-image: url('Background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ====== NAVIGATION BAR ====== */
#main-nav {
  margin: 0 -1in;
  width: calc(100% + 2in);
  background-color: #111;
  box-sizing: border-box;
  padding: 0 10px;
  overflow: visible;
  z-index: 1000;
  min-height: 120px; 
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: center; 
  align-items: center;
  position: relative;
  width: 100%;
  padding: 0 1in; 
}

#logo {
  position: relative;
  margin-left: 40px; 
  height: 120px;
  width: auto;
}

/* ====== NAV LINKS (Desktop) ====== */
.nav-right {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}


.nav-right a {
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  font-family: 'Headers', sans-serif;
  font-weight: bold;
}

.nav-right a:hover {
  background-color: #222;
  border-radius: 5px;
}

.sale-link {
  color: red !important;
  font-weight: bold;
}

.sale-link:hover {
  color: red !important;
}

/* ====== SUBMENU (Desktop) ====== */
.nav-right li {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  list-style: none;
  min-width: 160px;
  z-index: 3000;
  border: 1px solid #333;
}

.submenu a {
  padding: 10px;
  color: white;
  display: block;
}

.submenu a:hover {
  background-color: #444;
}

.nav-right li:hover .submenu {
  display: block;
}

/* ====== HAMBURGER ICON ====== */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-left: auto;
  background: #111;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 2100;
}

/* ====== MAIN CONTENT ====== */
main {
  flex: 1;
  background: white;
  max-width: 1000px;
  width: 95%;
  margin: 40px auto;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* ====== FOOTER ====== */
footer {
  width: 100vw;
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-family: 'Body', sans-serif;
  font-size: 0.9em;
  border-top: 3px solid red;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

footer a {
  color: red;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

/* ====== RESPONSIVE (MOBILE) ====== */
@media (max-width: 768px) {
  #main-nav {
    position: relative;
    overflow: visible;
    z-index: 1000;
  }

  aside img {
    float: none;
    width: 100%;
    margin: 20px 0;
  }

  #logo {
    left: 0;
    position: relative;
    margin-left: 10px;
    width: 140px;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

 
  .menu-icon {
    display: block;
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 36px;
    background: red;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 9999;
  }


  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #111;
    border-top: 1px solid #333;
    position: absolute;   
    top: 100%;
    left: 0;
    z-index: 2000;
    box-sizing: border-box;
  }

  #menu-toggle:checked + .menu-icon + .nav-right {
    display: flex !important;
    position: fixed;               
    top: 70px;                     
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-height: calc(80vh - 10px); 
    overflow-y: auto;              
    border-radius: 0 0 8px 8px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-right::-webkit-scrollbar {
    width: 6px;
  }

  .nav-right::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 3px;
  }

 
  #menu-toggle:checked + .menu-icon + .nav-right {
    display: flex;
  }

  .nav-right a {
    padding: 12px;
    width: 100%;
    border-top: 1px solid #222;
  }

  .submenu {
    position: static;
    background-color: #222;
    border: none;
  }

  .submenu a {
    padding-left: 25px;
  }

  html, body {
    overflow-x: hidden;
  }

  form#survey {
    flex-direction: column;
  }

  div.formRow {
    flex-direction: column;
    align-items: flex-start;
  }

  div.formRow label {
    margin-bottom: 5px;
  }

  div.formRow input,
  div.formRow select,
  div.formRow textarea {
    width: 100%;
  }
}

/* ====== TABLET VIEW (769px–1024px) ====== */
@media (min-width: 769px) and (max-width: 1024px) {
  #main-nav {
    min-height: 100px;
    padding: 0 20px;
  }

  #logo {
    position: relative;   
    left: 0;              
    margin-left: 20px;    
    height: 100px;
    width: auto;
  }


  .nav-container {
    justify-content: center;
    align-items: center;
    gap: 30px;
  }


  .menu-icon {
    display: none !important;
  }


  .nav-right {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    position: static;
    background: none;
    border: none;
    max-height: none;
    overflow: visible;
  }

  .nav-right a {
    font-size: 0.95em;
    padding: 6px 10px;
  }

  .submenu {
    background-color: #222;
    border-radius: 6px;
  }
}

/* ====== CUSTOMER SATISFACTION FORM ====== */
form#survey {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 20px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  max-width: 900px;
  margin: 30px auto;
}

form#survey fieldset {
  flex: 1 1 380px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  margin: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form#survey fieldset:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

legend {
  background-color: #000;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

div.formRow {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin: 10px 0;
}

div.formRow label {
  flex: 1 1 150px;
  font-weight: 600;
  color: #333;
}

div.formRow input,
div.formRow select,
div.formRow textarea {
  flex: 2 1 200px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

div.formRow input:focus,
div.formRow select:focus,
div.formRow textarea:focus {
  border-color: #000;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  background-color: #fff;
}

textarea {
  height: 120px;
  resize: vertical;
}

div#buttons {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

div#buttons input[type="submit"],
div#buttons input[type="reset"] {
  font-size: 1.1em;
  padding: 10px 20px;
  margin: 10px;
  border: none;
  border-radius: 8px;
  background-color: #000;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

div#buttons input[type="submit"]:hover {
  background-color: #e60000;
  transform: translateY(-2px);
}

div#buttons input[type="reset"]:hover {
  background-color: #444;
  transform: translateY(-2px);
}



/* ====== ASIDE / QUICK TIP ====== */
aside.quick-tip {
  float: right;
  width: 30%;
  background-color: #f4f4f4;
  border-left: 4px solid red;
  padding: 15px 20px;
  margin: 10px 0 10px 20px;
  border-radius: 6px;
  font-family: 'Text', sans-serif;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

aside.quick-tip h3 {
  font-family: 'Headers', sans-serif;
  margin-bottom: 8px;
  color: black;
}

aside.quick-tip p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}

aside {
  float: right;               
  width: 30%;                 
  background: #f8f8f8;        
  padding: 15px;
  margin: 10px 0 10px 20px;   
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

aside img {
  max-width: 100%;            
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
}


article p {
  text-align: justify;
}

@media (max-width: 900px) {
  aside.quick-tip {
    float: none;
    width: 100%;
    margin: 15px 0;
  }

  aside.about {
    float: none;
    width: 100%;
    margin: 15px 0;
  }
  }



html, body {
  overflow-x: clip; 
}


.nav-container,
footer {
  overflow-x: clip;
}



/*==========TABLES==============*/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  text-align: center; 
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center; 
}

caption {
  caption-side: top;
  font-weight: bold;
  margin-bottom: 10px;
}

thead {
  background-color: #f2f2f2;
}


.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.table-container table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; 
}


.table-container::-webkit-scrollbar {
  height: 8px;
}
.table-container::-webkit-scrollbar-thumb {
  background-color: #666;
  border-radius: 4px;
}





/*==========CLOTHING CARD==============*/

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center; 
  margin: 20px 0;
}

.item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 220px; 
  box-sizing: border-box;
}

.item-card img {
  width: 100%;
  height: 250px; 
  object-fit: contain; 
  border-radius: 5px;
  margin-bottom: 10px;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 80px; 
  text-align: center;
}

.text-wrapper h3 {
  font-size: 1rem;
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.text-wrapper h4 {
  font-size: 0.9rem;
  margin: 0;
  color: #333;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1024px) {
  .item-card img {
    height: 220px;
  }
  .text-wrapper {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
  }
  .item-card img {
    height: 180px;
  }
  .text-wrapper {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .item-card img {
    height: 160px;
  }
  .text-wrapper {
    height: auto;
  }
}

/*==========STORES==============*/

.store-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  margin-bottom: 50px;
  background: #fafafa;
}

.store-img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.store-info {
  max-width: 650px;
}