/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f5f5f0;
    color: #502d19;
    overflow: hidden; /* Prevent scrollbars unless absolutely needed */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  body {
    display: flex;
    flex-direction: column;
    will-change: opacity;
    height: 100%;
    width: 100%;
    /* height: 100vh; 
    width: 100vw;
    gap: 10rem; */
  }

    /* Loading */
  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f0; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .loader-logo {
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .header {
    align-self: top;
  }

  .hero {
    margin: 0;
    padding: 0rem 4rem 0rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 1710px;
  }
  
  /* Hero */
  .hero-text {
    font-size: 2.6rem;
    font-weight: 300;
    margin: auto 0;
    line-height: 1.4;
    max-width: 80%;
    padding: 0 2rem;
  }
  
  .highlight {
    color: #c7522f;
    white-space: nowrap;
  }
  
  /* .highlight-badge {
    border: 0.2rem solid #f89473;
    border-radius: 100px;
    padding: 0.2rem 0.8rem 0.6rem;
    color: #502d19;
    display: inline-block;
    margin-top: 0.3rem;
  } */
      
  /* Folders */
  .folders {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0 2rem;
    margin: 0 auto;
    width: 100%;
    max-width: 1710px; /* Best balance for large screens */
  }
  
  .folder-btn {
    flex: 1;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    overflow: visible;
    max-width: 100%;
    min-width: 0; /* important to avoid overflow */
    display: flex;
    flex-direction: column;
  }
  
  
  .folder-btn img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
  }

  .folder-top {
    position: relative;
    z-index: 2;
  }
  
  .folder-contents {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;
    z-index: 1;
  }
  
  .img-wrapper {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
  }
  
  .left-img {
    z-index: 2;
  }
  
  .right-img {
    z-index: 1;
  }
  
  .img-wrapper img {
    opacity: 0;
    width: 60%;
    max-width: 400px;
    border-radius: 12px;
    transform: scale(0.85);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
      
  /* Responsive */
/* Base reset & layout (yours) */

/* Responsive Enhancements */
/* Tablet */
/* Tablet and below */
@media (max-width: 1200px) {
  .hero-text {
    max-width: 90%;
    padding: 2rem;
    height: auto;
  }

  .hero-text-outer {
    height: auto !important;
    overflow: visible !important;
  }

  .hero-slide-set.hover-slide {
    display: none !important;
  }

  .hero-slide-set.base-slide {
    position: static !important;
    transform: none !important;
  }

  }
  


/* Phone-sized layout */
@media (max-width: 600px) {
  .hero-slide-set h1,
  .hero-slide-set p {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .highlight-badge {
    font-size: 1.4rem;
    padding: 0.3rem 0.6rem 0.4rem;
    margin-top: 0.5rem;
  }

  .folders {
    flex-direction: column;
    align-items: center;
  }

  .folder-btn {
    width: 100%;
    max-width: 100%;
  }
}
    