/* ShopEasy Portfolio Page - Modern Design */

/* ============================================
   CSS Variables & Base Styles
   ============================================ */
.shopeasy,
.shopeasy * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.shopeasy {
  /* Use CSS variables from vars.css */
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  background: var(--gray-white, #ffffff);
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  padding-top: 80px !important;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  width: 100%;
  color: var(--gray-700, #424e60);
}

/* Ensure navigation components fill parent width */
.navigation-bar,
.footer-component {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  left: 0;
  right: 0;
}

/* ============================================
   Typography - Using WorkSans
   ============================================ */
.shopeasy h1,
.shopeasy h2,
.shopeasy h3,
.shopeasy h4,
.shopeasy h5,
.shopeasy h6 {
  font-family: var(--heading-01-font-family, "WorkSans-SemiBold", sans-serif);
  color: var(--gray-900, #132238);
  font-weight: 600;
}

.shopeasy p,
.shopeasy li {
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-600, #556070);
  text-align: justify;
}

/* Section Titles */
.shopeasy .shop-easy,
.shopeasy .project-title {
  font-family: var(--heading-01-font-family, "WorkSans-SemiBold", sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-900, #132238);
  text-align: center;
  margin-bottom: 24px;
}

.shopeasy .problem,
.shopeasy .research,
.shopeasy .solution,
.shopeasy .design-process,
.shopeasy .competitive-analysis-title,
.shopeasy .project-outcome-title {
  font-family: var(--heading-02-font-family, "WorkSans-SemiBold", sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900, #132238);
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

.shopeasy .problem::after,
.shopeasy .research::after,
.shopeasy .solution::after,
.shopeasy .design-process::after,
.shopeasy .competitive-analysis-title::after,
.shopeasy .project-outcome-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-500, #a53dff);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Links */
.shopeasy a {
  color: var(--primary-500, #a53dff);
  text-decoration: none;
  transition: color 0.3s ease;
}

.shopeasy a:hover {
  color: var(--primary-600, #8431cc);
  text-decoration: underline;
}

/* Footer link colors */
.footer-component a,
#footer a {
  color: #f0f1f3 !important;
}

.footer-component a:hover,
#footer a:hover {
  color: #a53dff !important;
}

/* ============================================
   Main Content Container - CENTERED
   ============================================ */
.shopeasy-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.shopeasy-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 40px;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
}

/* ============================================
   Section Styles - CENTERED CARDS
   ============================================ */
.about-shopeasy,
.problem-shopeasy,
.research-shopeasy,
.solution-shopeasy,
.design-process-shopeasy,
.competitive-analysis-shopeasy,
.project-outcome-shopeasy {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  background: var(--gray-white, #ffffff);
  border-radius: 20px;
  box-shadow: 0px 8px 40px rgba(43, 56, 76, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-shopeasy:hover,
.problem-shopeasy:hover,
.research-shopeasy:hover,
.solution-shopeasy:hover,
.design-process-shopeasy:hover,
.competitive-analysis-shopeasy:hover,
.project-outcome-shopeasy:hover {
  transform: translateY(-4px);
  box-shadow: 0px 16px 60px rgba(43, 56, 76, 0.12);
}

/* Section content wrapper */
.shopeasy-contents,
.section-contents {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}

.shopeasy-title-container,
.shopeasy-title-wrapper,
.content-wrapper,
.content-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 100%;
}

.container,
.container2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  width: 100%;
}

/* ============================================
   Image Display - Modern Cards
   ============================================ */
.shopeasy .frame-393112 {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  align-self: center;
  flex-shrink: 0;
  position: relative;
  width: 100%;
  margin-top: 32px;
}

.shopeasy .frame-230-1,
.shopeasy .item-recommended,
.shopeasy .item-reviews {
  flex: 1;
  height: auto;
  min-width: 280px;
  max-width: 100%;
  min-height: 200px;
  /* Increased max-height for larger display */
  max-height: none;
  position: relative;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0px 12px 40px rgba(43, 56, 76, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: var(--gray-50, #f8f9fa);
  width: 100%;
}

/* Make frame-230-1 (the main hero image) even larger */
.shopeasy .frame-230-1 {
  max-height: none;
  min-height: 200px;
}

.shopeasy .frame-230-1:hover,
.shopeasy .item-recommended:hover,
.shopeasy .item-reviews:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0px 20px 50px rgba(43, 56, 76, 0.2);
}

/* Hide the item-reviews image by default and ensure proper fit when shown */
.shopeasy .item-reviews {
  display: none !important;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* ============================================
   Lists - Modern Styling
   ============================================ */
.shopeasy ul,
.shopeasy ol {
  width: 100%;
  max-width: 900px;
  padding-left: 0;
  list-style: none;
}

.shopeasy ul li,
.shopeasy ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
  font-family: var(--body-regular-400-font-family, "WorkSans-Regular", sans-serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-600, #556070);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.shopeasy ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-400, #b764ff), var(--primary-500, #a53dff));
}

.shopeasy ol li {
  counter-increment: list-counter;
}

.shopeasy ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-500, #a53dff);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shopeasy li:last-child {
  margin-bottom: 0;
}

/* ============================================
   Footer Styles
   ============================================ */
.shopeasy .frame-2320 {
  display: flex;
  flex-direction: column;
  gap: 100px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  width: 100%;
}

.shopeasy .footer {
  background: var(--gray-800, #2b384c);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  width: 100%;
}

/* ============================================
   Responsive Design - FIXED
   ============================================ */
@media screen and (max-width: 1024px) {
  .shopeasy .about-shopeasy,
  .shopeasy .problem-shopeasy,
  .shopeasy .research-shopeasy,
  .shopeasy .solution-shopeasy,
  .shopeasy .design-process-shopeasy,
  .shopeasy .competitive-analysis-shopeasy,
  .shopeasy .project-outcome-shopeasy {
    padding: 32px 24px;
    margin: 0 16px;
    width: calc(100% - 32px);
  }
  
  .shopeasy .shop-easy,
  .shopeasy .project-title {
    font-size: 2rem;
  }
  
  .shopeasy .problem,
  .shopeasy .research,
  .shopeasy .solution,
  .shopeasy .design-process,
  .shopeasy .competitive-analysis-title,
  .shopeasy .project-outcome-title {
    font-size: 1.75rem;
  }
  
  .shopeasy p,
  .shopeasy li {
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .shopeasy .section-contents,
  .shopeasy ul,
  .shopeasy ol {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .shopeasy {
    padding-top: 70px !important;
    gap: 60px;
  }
  
  .shopeasy-content {
    padding: 0 16px;
    gap: 60px;
  }
  
  .shopeasy .about-shopeasy,
  .shopeasy .problem-shopeasy,
  .shopeasy .research-shopeasy,
  .shopeasy .solution-shopeasy,
  .shopeasy .design-process-shopeasy,
  .shopeasy .competitive-analysis-shopeasy,
  .shopeasy .project-outcome-shopeasy {
    padding: 24px 20px;
    border-radius: 16px;
    margin: 0 12px;
    width: calc(100% - 24px);
  }
  
  .shopeasy .shop-easy,
  .shopeasy .project-title {
    font-size: 1.75rem;
  }
  
  .shopeasy .problem,
  .shopeasy .research,
  .shopeasy .solution,
  .shopeasy .design-process,
  .shopeasy .competitive-analysis-title,
  .shopeasy .project-outcome-title {
    font-size: 1.5rem;
  }
  
  .shopeasy p,
  .shopeasy li {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .shopeasy .frame-393112 {
    flex-direction: column;
    gap: 16px;
  }
  
  .shopeasy .frame-230-1,
  .shopeasy .item-recommended,
  .shopeasy .item-reviews {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    height: auto;
  }
  
  .shopeasy .section-contents,
  .shopeasy ul,
  .shopeasy ol {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .shopeasy {
    padding-top: 60px !important;
    gap: 40px;
  }
  
  .shopeasy-content {
    gap: 40px;
  }
  
  .shopeasy .about-shopeasy,
  .shopeasy .problem-shopeasy,
  .shopeasy .research-shopeasy,
  .shopeasy .solution-shopeasy,
  .shopeasy .design-process-shopeasy,
  .shopeasy .competitive-analysis-shopeasy,
  .shopeasy .project-outcome-shopeasy {
    padding: 20px 16px;
    margin: 0 8px;
    width: calc(100% - 16px);
    border-radius: 12px;
  }
  
  .shopeasy .shop-easy,
  .shopeasy .project-title {
    font-size: 1.5rem;
  }
  
  .shopeasy .problem,
  .shopeasy .research,
  .shopeasy .solution,
  .shopeasy .design-process,
  .shopeasy .competitive-analysis-title,
  .shopeasy .project-outcome-title {
    font-size: 1.25rem;
  }
  
  .shopeasy p,
  .shopeasy li {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .shopeasy ul li,
  .shopeasy ol li {
    padding-left: 20px;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .shopeasy ul li::before {
    width: 6px;
    height: 6px;
    top: 6px;
  }
}

/* ============================================
   Animation Classes
   ============================================ */
.shopeasy .animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.shopeasy .animate-delay-1 { animation-delay: 0.1s; }
.shopeasy .animate-delay-2 { animation-delay: 0.2s; }
.shopeasy .animate-delay-3 { animation-delay: 0.3s; }
.shopeasy .animate-delay-4 { animation-delay: 0.4s; }
.shopeasy .animate-delay-5 { animation-delay: 0.5s; }
.shopeasy .animate-delay-6 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.shopeasy .text-center { text-align: center; }
.shopeasy .text-left { text-align: left; }
.shopeasy .text-justify { text-align: justify; }

.shopeasy .mb-0 { margin-bottom: 0; }
.shopeasy .mb-1 { margin-bottom: 8px; }
.shopeasy .mb-2 { margin-bottom: 16px; }
.shopeasy .mb-3 { margin-bottom: 24px; }
.shopeasy .mb-4 { margin-bottom: 32px; }

.shopeasy .mt-0 { margin-top: 0; }
.shopeasy .mt-1 { margin-top: 8px; }
.shopeasy .mt-2 { margin-top: 16px; }
.shopeasy .mt-3 { margin-top: 24px; }
.shopeasy .mt-4 { margin-top: 32px; }

.shopeasy .container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
