/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  font-family: Arial, sans-serif;
}

/* First Header */
.header1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 5px 20px;
  min-height: 45px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  width: 250px;
}

.icons {
  display: flex;
  align-items: center;
  color: #819386;
}

.icons i {
  font-size: 13px;
  cursor: pointer;
  padding-right: 40px;
}

/* Second Header (Menu) */
header {
  background-color: #0b461b;
  padding: 10px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  opacity: 0.6;
}

nav ul li a.selected {
  text-decoration: underline;
  font-weight: bold;
}

/* Dropdown styles */
.dropdown {
  position: relative;
  z-index: 9999;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1002;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  z-index: 1002; /* Make sure the dropdown is above the .VT div */
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
  min-width: 160px;
}

/* Shirt Customizer Styles */
.shirt-customizer {
  margin: 50px auto;
  max-width: 800px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shirt-customizer h1 {
  text-align: center;
  color: #0a3f19;
  margin-bottom: 20px;
  font-size: 2rem;
}

.customizer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.preview-container {
  position: relative;
  width: 400px;
  height: 400px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
}

.preview {
  width: 400px;
  height: 400px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  background-size: cover;
  transition: transform 0.5s ease-in-out;
}

.sticker {
  position: absolute;
  cursor: grab;
  user-select: none;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  transition: border 0.2s ease;
}

.sticker.selected {
  border: 2px dashed black;
}

.resize-handle {
  width: 15px;
  height: 15px;
  background-color: black;
  position: absolute;
  bottom: -5px;
  right: -5px;
  cursor: nwse-resize;
  display: none;
  border-radius: 50%;
}

.delete-button {
  width: 15px;
  height: 15px;
  background-color: red;
  color: white;
  font-size: 12px;
  text-align: center;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
  display: none;
  border-radius: 50%;
  line-height: 15px;
}

.sticker.selected .resize-handle,
.sticker.selected .delete-button {
  display: block;
}

.stickers-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
  max-width: 600px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 20px;
  background-color: #fff;
}

.sticker-option {
  width: 80px;
  height: 80px;
  margin: 10px;
  cursor: pointer;
  flex: 0 0 auto;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.sticker-option:hover {
  transform: scale(1.1);
}

.custom-button {
  font-size: 24px; 
  padding: 15px 30px; 
  background-color: #0b461b; 
  color: white; 
  border: none; 
  border-radius: 8px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: absolute;      
  top: 40%;              
  right: 20px;            
  transform: translateY(-10%); 
}

.custom-button:hover {
  background-color: #0b461b; 
  transform: scale(1.1);    
}

.custom-button:active {
  transform: scale(0.95);  
}

/* Footer Styles */
.footer {
  background-color: #002100;
  color: white;
  opacity: 95%;
  padding: 20px;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.footer-columns {
  display: flex;
  gap: 80px;
  padding-left: 50px;
  flex-grow: 1;
}

.footer-column {
  text-align: left;
  min-width: 250px;
}

.footer-column p {
  margin: 5px 0;
  font-size: 14px;
  color: rgb(236, 234, 234);
}

.footer-image img {
  max-width: 200px;
  height: auto;
  margin-right: 50px;
}

.footer-bottom {
  text-align: left;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 20px;
  padding-left: 110px;
}

.footer-bottom p {
  color: rgb(184, 181, 181);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-columns {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .header1 {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .icons {
    margin-top: 10px;
    justify-content: space-between;
    width: 50%;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  nav ul li a {
    padding: 8px 15px;
  }

  .shirt-customizer {
    padding: 10px;
  }

  .preview-container {
    width: 250px;
    height: 250px;
  }

  .preview {
    width: 250px;
    height: 250px;
  }

  .stickers-container {
    max-width: 100%;
  }

  .footer-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .header1 {
    flex-direction: column;
    padding: 10px;
  }

  .logo img {
    width: 200px;
  }

  .icons {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
  }

  .shirt-customizer {
    padding: 10px;
  }

  .preview-container {
    width: 200px;
    height: 200px;
  }

  .preview {
    width: 200px;
    height: 200px;
  }

  .stickers-container {
    max-width: 100%;
  }

  .footer-columns {
    flex-direction: column;
    padding-left: 0;
  }

  .footer-column {
    margin-bottom: 10px;
  }

  .custom-button {
    position: static;
    width: 100%;
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  .header1 {
    flex-direction: column;
    padding: 10px;
  }

  .nav ul {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-columns {
    gap: 20px;
  }

  .bottom-left-button {
    width: 80px;
    height: 40px;
    font-size: 14px;
    bottom: 10px;
    left: 10px;
  }
}

/* Arrow Buttons */
.switch-arrow-left,
.switch-arrow-right {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease;
  width: 50px;
}

.switch-arrow-left {
  left: 700px;
}

.switch-arrow-right {
  right: 140px;
}

.switch-arrow-left:hover,
.switch-arrow-right:hover {
  background-color: #eaa321;
}

/* Bottom Left Button */
.bottom-left-button {
  position: fixed;
  width: 100px;
  height: 50px;
  bottom: 20px;
  left: 20px;
  font-size: 15px;
  background: linear-gradient(135deg, #FFD700, #0b461b);
  color: white;
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  font-weight: bold;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-left-button:hover {
  background: linear-gradient(135deg, #0b461b, #FFD700);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.bottom-left-button:active {
  transform: translateY(2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}