

/* Warp-specific tools section styling */
#tools {
  border-left: 4px solid #4a90e2;
}

/* ========================================
   HERO SNAPSHOT (TOOLS + VIDEO)
   ======================================== */

#warp-hero {
  width: 100%;
  padding: 28px 5% 32px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff 0%, #e4f3ff 100%);
  margin-bottom: 40px;
}

#warp-hero-meta {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-meta-item h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4a90e2;
  margin: 0 0 4px;
}

.hero-meta-item p {
  margin: 0;
  font-size: 14px;
  color: #4a4a4a;
}

#warp-hero-vid {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: 300px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  #warp-hero {
    padding: 20px 4% 24px;
    margin-bottom: 32px;
  }

  #warp-hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  #warp-hero-vid {
    height: 220px;
    max-height: 220px;
  }
}

/* Introduction / about section */

#about-desc {
  display: flex;
  gap: 30px;
  align-items: center;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1.5px solid #f0f0f0;
  margin: 20px 0;
}

#carousel-section {
  display: flex;
  flex-direction: column;
  min-width: 250px;
  width: 50%;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  /* border: 1.5px solid #f0f0f0; */
}

#sketch-writing {
  width: 45%;
  padding: 24px;
  border-radius: 12px;
}

/* Video and image enhancements */
#screen {
  width: 100%;
  border-radius: 15px;
  height: fit-content;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  margin: 20px 0;
}

/* Problem / solution cards under introduction */

#problem {
  margin-top: 24px;
}

#problem h3 {
  font-size: 20px;
  font-weight: 700;
  color: #4a4a4a;
  margin-top: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#problem-solution-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.problem-card,
.solution-card {
  flex: 1 1 260px;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}

.problem-card p,
.solution-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  #problem-solution-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* Wireframe group styling - match hack.css card patterns */
.group {
  display: flex;
  flex-direction: column;
  width: 45%;
  padding: 10px;
}

.group h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #4a4a4a;
}

.group img {
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Carousel section styling - match hack.css patterns */
.carousel-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

#carousel{
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-item {
  width: 100%;
  height: 100%;
  display: none;
  border-radius: 8px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#button-section{
  margin-top: 10px;
  display: flex;
  gap: 15px;
}

.button {
  width: 20px;
  height: fit-content;
  opacity: 75%;
  border-radius: 4px;
}

/* Style guide text section width */
#style-guide-text{
  width: 50%;
}

/* Warp-specific content organization */

/* Image styling improvements - match hack.css */
#warp-icon{
    width: 7%;
    height: fit-content;
}

#screen{
    width: 100%;
    border-radius: 12px;
    height: fit-content;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin: 20px 0;
}

/* Sketches section layout */
#sketches{
  display: flex;
  gap: 8%;
}

/* High-fi prototype sections - match hack.css */
video {
  width: 70%;
  min-width: 265px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.highfiImg{
  width: 70%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-width: 265px;
}

/* Enhanced video and image styling - match hack.css */
#highfiVid {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Style guide section - match hack.css styling */
#style-guide-images{
  min-width: 250px;
  width: 50%;
}

.styleGuide{
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

#type-guide{
  border-radius: 8px 8px 0px 0px;
}

#color-guide{
  border-radius: 0px 0px 8px 8px;
}

/* Horizontal section styling */
.hor-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.hor-section img {
  width: 75%;
  margin-right: 2%;
}

/* Low-fi wireframe styling - match hack.css */
.lowfiSec{
  width: 100%;
}

.lofiFinal{
  width: 55%;
  max-width: 1000px;
  border-radius: 8px;
}

.lofiFlow{
  width: 115%;
  max-width: 1000px;
  border-radius: 8px;
}

/* Table styling improvements - match hack.css */
th{
  height: 55px;
  text-align: center;
  background-color: #f8f9fa;
  font-weight: 600;
  color: #2c2c2c;
}

td {
  font-size: 16px;
  font-family: 'BasisGrotesk';
  max-width: 200px;
  padding: 16px;
  color: #404040;
}

table, td, th {
  border: 1px solid #dee2e6;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#reflection-sec{
  display: flex;
  gap: 8%;
  justify-content: space-between;
}
#group-pic-sec{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* width: 50%; */

}
#group-pic{
  width: 100%;
  border-radius: 15px;
  height: fit-content;
}
#next, #impact{
  width: 75%;
  min-width: 250px;
}

#reflection {
  margin-bottom: 2%;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 4%;
  min-width: 325px;
}


/* Mobile responsiveness improvements */
@media screen and (max-width: 768px) {
  /* Section and title area responsive margins */
  .section {
    margin-left: 4%;
    margin-right: 4%;
    margin-top: 40px;
  }
  
  #titleArea {
    margin-left: 4%;
    margin-right: 4%;
  }
  
  /* Typography responsive scaling */
  .section h2 {
    font-size: 28px;
  }
  
  .section h3, .h3-section h3 {
    font-size: 20px;
  }
  
  .section h4 {
    font-size: 18px;
  }
  
  /* Overview section mobile layout */
  #overview-section {
    flex-direction: column;
    gap: 20px;
  }
  
  #tools {
    width: 100%;
    min-width: unset;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
  
  /* About description mobile layout */
  #about-desc {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
  
  #warp-icon {
    width: 15%;
  }
  
  /* Sketches section mobile layout */
  #sketches {
    flex-direction: column;
    gap: 20px;
  }
  
  #carousel-section {
    width: 100%;
    padding: 20px;
  }
  
  #sketch-writing {
    width: 100%;
    padding: 20px;
  }
  
  /* Horizontal sections mobile layout */
  .hor-section {
    flex-direction: column;
    gap: 20px;
  }
  
  .group {
    width: 100% !important;
    padding: 15px;
    margin-bottom: 15px;
  }
  
  /* Video and image mobile adjustments */
  #screen {
    width: 100% !important;
    margin: 15px 0;
  }
  
  video {
    width: 100% !important;
    min-width: unset;
  }
  
  /* Style guide mobile styling */
  #style-guide-sec {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  
  #style-guide-text {
    width: 100% !important;
    padding: 15px;
  }
  
  #style-guide-images {
    width: 100% !important;
    min-width: unset;
  }
  
  /* Low-fi sections mobile styling */
  .lowfiSec {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .lofiFinal, .lofiFlow {
    width: 100% !important;
  }
  
  /* Reflection section mobile layout */
  #reflection-sec {
    flex-direction: column;
    gap: 20px;
  }
  
  #conc-writing {
    width: 100% !important;
    padding: 20px;
  }
  
  #group-pic-sec {
    width: 100% !important;
    padding: 15px;
  }
  
  #group-pic {
    width: 100% !important;
  }
  
  /* High-fi images and videos mobile */
  #highfiVid, .highfiImg {
    width: 100% !important;
    margin: 12px 0;
  }
  
  /* Additional responsive fixes */
  #next, #impact {
    width: 100% !important;
    min-width: unset;
    padding: 20px;
  }
  
  /* Table responsive adjustments */
  table {
    font-size: 14px;
  }
  
  th, td {
    padding: 12px 8px;
  }
}

/* Small mobile breakpoint for additional responsive fixes */
@media screen and (max-width: 480px) {
  .section {
    margin-left: 3%;
    margin-right: 3%;
  }
  
  #titleArea {
    margin-left: 3%;
    margin-right: 3%;
  }
  
  .section h2 {
    font-size: 24px;
  }
  
  .section h3, .h3-section h3 {
    font-size: 18px;
  }
  
  .section h4 {
    font-size: 16px;
  }
  
  /* Ensure all images and videos are fully responsive */
  img, video {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Fix any remaining width issues */
  .group, .lowfiSec, #style-guide-sec, #reflection-sec {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ensure text doesn't overflow */
  p, li, td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Enhanced section styling for new structure */
.lowfiSec {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  margin-bottom: 24px;
}

.lowfiSec h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #4a4a4a;
}

.lowfiSec img {
  width: 100%;
  border-radius: 8px;
  margin-top: 12px;
}

#style-guide-sec {
  display: flex;
  gap: 5%;
  align-items: flex-start;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  margin: 20px 0;
}

#style-guide-text {
  padding: 20px;
  border-radius: 8px;
}

#reflection-sec {
  display: flex;
  gap: 5%;
  align-items: flex-start;
}

#conc-writing {
  flex: 2;
}

#group-pic-sec {
  flex: 1;
  text-align: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
}

#group-pic {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 12px;
}

/* Enhanced video and image styling */
#highfiVid {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  margin: 16px 0;
}

.highfiImg {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: 16px 0;
}

/* Label styling improvements */
label {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-bottom: 8px;
  display: block;
}