/* --- ACCENT COLORS (Coral/Peach from your screenshot) --- */
:root {
    --accent-primary: #FF8966; 
    --accent-secondary: #FF6B4A;
  }
  
  .story-section { width: 100vw; min-height: 100vh; background: #fffbec; color: var(--color-white); display: flex; align-items: center; padding: 120px 5vw; }
  .story-container { display: flex; gap: 80px; max-width: 1300px; margin: 0 auto; align-items: center; width: 100%; }
  
  /* --- LEFT SIDE: TYPOGRAPHY LAYOUT --- */
  .story-content { flex: 1; }
  
  .story-overline {
    font-family: var(--secondary-font);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    font-weight: 500;
  }
  
  .section-title {
    font-family: var(--primary-font);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -1px;
    color:#962E51;
  }

  .accent-text {
    /* This creates that beautiful gradient text effect */
    background: linear-gradient(to right, #962E51, #962E51);
    -webkit-background-clip: text;
    background-clip: text; /* Standard property for modern compatibility */
    -webkit-text-fill-color: transparent;
    font-family: var(--secondary-font) !important;
    font-size: 2.5rem;
  }
  
  .story-content p { 
    font-family: var(--secondary-font); 
    font-size: 15px; 
    line-height: 1.8; 
    margin-bottom: 25px; 
    font-weight: 300; 
    opacity: 0.85; 
    max-width: 95%;
    color: #000;
  }
  
  /* --- THE HIGHLIGHT LIST --- */
  .story-highlights {
    list-style: none;
    padding: 0;
    margin: 35px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .story-highlights li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--secondary-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
  }
  
  .sparkle-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
  }
  
  /* --- THE BUTTON --- */
  .btn-primary {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    background: linear-gradient(to right, #962E51, #962E51);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 20px rgba(255, 107, 74, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 107, 74, 0.3);
  }
  
  /* Make sure button text doesn't turn black on header hover */
  a.btn-primary { color: #ffffff !important; }
  
  /* --- THE ACCORDION GALLERY --- */
  .story-visual { flex: 1.2; display: flex; justify-content: center; height: 600px; }
  .accordion-gallery { display: flex; gap: 15px; width: 100%; height: 100%; }
  
  .accordion-panel {
    position: relative;
    flex: 1; /* Thin when inactive */
    border-radius: 20px;
    background-size: cover;
    background-position: bottom (1%);
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Super smooth squeeze/expand */
  }
  
  /* Active State Expands */
  .accordion-panel.active { flex: 3; }
  
  /* Dark gradient at the bottom for text readability */
  .accordion-panel::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0; transition: opacity 0.5s ease;
  }
  .accordion-panel.active::before { opacity: 1; }
  
  /* The Labels ("The Vows", etc.) */
  .panel-content {
    position: absolute; bottom: 30px; left: 30px;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease; z-index: 2;
  }
  .accordion-panel.active .panel-content {
    opacity: 1; transform: translateY(0); transition-delay: 0.3s;
  }
  .panel-content h3 { font-size: 1.8rem; letter-spacing: 2px; }
  
  /* The Progress Bar (Only visible on active panel) */
  .slider-progress-bg {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
    background: rgba(255, 255, 255, 0.2); z-index: 10;
    opacity: 0; transition: opacity 0.3s ease;
  }
  .accordion-panel.active .slider-progress-bg { opacity: 1; }
  .slider-progress-fill { width: 0%; height: 100%; background: var(--color-white); }
  .story-content .section-title {
    text-align: left;
}
  
  /* --- MOBILE RESPONSIVENESS --- */
  @media (max-width: 900px) {
      .story-container { flex-direction: column; gap: 50px; }
      .story-section { padding: 80px 20px; }
      .section-title { font-size: 3rem; text-align: center; }
      .story-content p { text-align: justify; }
      
      /* --- THE SAFARI/MOBILE HEIGHT FIX --- */
      .story-visual { 
        height: 600px; /* Gives the entire gallery a strict physical height */
        width: 100%; 
        display: flex; /* Ensures the gallery inside fills it properly */
      }
      
      .accordion-gallery { 
        flex-direction: column; /* Stacks them vertically */
        gap: 12px; 
        width: 100%; 
        height: 100%; 
      }
      
      .accordion-panel { 
        width: 100%; 
        min-height: 80px; /* THE MAGIC LOCK: Prevents the 0px collapse */
        flex: 1 1 80px; /* Tells the browser the base size is 80px, not 0% */
        border-radius: 12px; 
      }
      
      .accordion-panel.active { 
        flex: 4 1 300px; /* Pushes the active one to take up the most vertical space */
      }
      
      .panel-content { bottom: 20px; left: 20px; }
      .panel-content h3 { font-size: 1.4rem; }
    }