/* Fix for the duplicate navigation issue - Now applies to ALL screen sizes */
body > nav,
body > a[href="/home.html"],
body > a[href="/index.html"], 
body > a[href="/about.html"],
body > a[href="/contact.html"],
body > a[href$="Shop Now"],
body > .home,
body > .about,
body > .contact,
body > a[href*="etsy.com"] {
  display: none !important;
}

/* ===== Mobile Hamburger Menu ===== */
@media (max-width: 768px) {
  /* Override header styling for mobile */
  .header {
    min-height: 70px;
    position: relative;
  }
  
  /* Hide the regular nav and Shop Now on mobile */
  .main-nav, .nav-cta {
    display: none !important;
  }
  
  /* Reset any conflicting mobile styles */
  .header-container {
    flex-direction: row !important;
    justify-content: flex-start !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  
  /* Logo sizing for mobile */
  .header-container .logo,
  .logo-link img {
    height: 80px !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }
  
  /* Hamburger button styling */
  .hamburger-menu {
    display: block !important;
    width: 30px;
    height: 25px;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }
  
  .hamburger-menu span:nth-child(1) {
    top: 0px;
  }
  
  .hamburger-menu span:nth-child(2) {
    top: 10px;
  }
  
  .hamburger-menu span:nth-child(3) {
    top: 20px;
  }
  
  /* Hamburger animation */
  .hamburger-menu.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
  }
  
  .hamburger-menu.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }
  
  .hamburger-menu.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
  }
  
  /* Mobile menu panel */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--light);
    z-index: 999;
    padding: 80px 20px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  
  .mobile-menu.open {
    right: 0;
  }
  
  /* Mobile menu overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
  }
  
  .menu-overlay.open {
    display: block;
  }
  
  /* Menu items in mobile menu */
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .mobile-nav-links a {
    padding: 15px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: background-color 0.2s;
  }
  
  .mobile-nav-links a:hover {
    background-color: rgba(0,0,0,0.05);
  }
  
  .mobile-nav-links a.active {
    color: var(--primary);
  }
  
  /* Shop Now button in mobile menu */
  .mobile-nav-cta {
    display: inline-block;
    margin: 20px auto;
    padding: 12px 25px;
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    width: 100%;
  }
  
  /* Prevent scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Fix spacing issues in mobile */
  .about-hero {
    padding-top: 80px !important;
  }
}

/* Additional mobile optimizations for team section */
@media (max-width: 768px) {
  .team-member-image-container {
    width: 200px;
    height: 200px;
  }
  
  .team-grid {
    gap: 30px;
  }
  
  .team-member-bio {
    padding: 0 10px;
  }
  
  /* Team member styling overrides */
  .team-member-name {
    color: var(--primary) !important;
    margin-top: 15px;
    margin-bottom: 5px;
  }
  
  .team-member-title {
    color: var(--dark) !important;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .team-member-bio {
    color: var(--dark) !important;
  }
}

/* Make the Values section more readable on mobile */
@media (max-width: 768px) {
  .value-item {
    padding: 20px;
    background-color: rgba(253, 255, 252, 0.95) !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
  }
  
  .value-item h3 {
    color: var(--primary) !important;
  }
  
  .value-item p {
    color: var(--dark) !important;
  }
  
  .about-values {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}