/* ==========================================================================
   About Page Specific Styles
   ========================================================================== */

   body.aboutpage {
    /* Specific body styles if needed, otherwise can be removed */
  }
  
  /* Top Section */
  .top-section { /* This uses the .info class structure from common.css */
    position: relative;
    display: flex;
    min-height: 90vh; /* Adjust as needed */
    padding-top: 184px;
    padding-bottom: 120px;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(180deg, var(--color-overlay-medium-dark), var(--color-overlay-medium-dark)), url("../assets/about-us-page.jpg");
    background-position: 0px 0px, 50% 50%;
    background-size: auto, cover;
    background-repeat: repeat, no-repeat;
  }
  .top-section .title { color: var(--color-white); } /* Ensure title is white */
  .top-section .paragraph-white { color: var(--color-white); } /* Ensure paragraph is white */
  
  /* About Links Bar */
  .about-links-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 100px; /* Adjust based on nav height */
    z-index: 10;
    display: flex;
    padding: 16px 0;
    justify-content: space-around;
    border-style: none solid solid;
    border-width: 1px;
    border-color: var(--color-border-light);
    background-color: var(--color-white);
  }
  
  .about-link {
    display: flex;
    padding: 4px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex: 1;
    transition: color var(--transition-bezier);
    color: var(--color-text-dark);
    font-size: 16px;
    line-height: 24px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
  }
  .about-link:hover { color: var(--color-accent); }
  
  .tab-icon { width: 40px; margin-right: 16px; }
  .divider { width: 1px; background-color: var(--color-border-light); }
  
  /* About Video Section */
  .about-video {
    display: flex;
    height: auto;
    min-height: 56vw;
    margin: 100px 32px 144px;
    justify-content: flex-start;
    align-items: flex-end;
    background-image: linear-gradient(180deg, var(--color-overlay-medium), var(--color-overlay-medium)), url("../assets/action-bg.jpeg");
    background-position: 0px 0px, 50% 50%;
    background-size: auto, cover;
    background-repeat: repeat, no-repeat;
  }
  
  .video-info {
    display: flex;
    margin-bottom: 5vw;
    margin-left: 5vw;
    color: var(--color-text-white);
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
  }
  
  .video-heading {
    margin-top: 0px;
    margin-bottom: 30px;
    color: var(--color-text-white);
    font-family: var(--font-secondary);
    font-size: 85px;
    line-height: 85px;
    font-weight: 400;
  }
  
  .video-description {
    max-width: 500px;
    margin-bottom: 0px;
    font-size: 15px;
    line-height: 25px;
    text-align: left;
    font-family: var(--font-primary);
    color: var(--color-white); /* Added for clarity */
  }
  
  .video-play { display: flex; margin-top: 20px; align-items: center; }
  .video-text { margin-right: 20px; color: var(--color-text-white); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
  .video-icon { width: 100%; max-width: 40px; margin-left: 20px; }
  
  /* Portfolio/Gallery Section */
  .gallery-wrapper {
    margin-top: 100px;
    padding-bottom: 0.8%;
    background-color: var(--color-background); /* Match section bg */
  }
  
  .portfolio {
    display: flex;
    margin-bottom: 0.8%;
    justify-content: space-between;
  }
  
  .portfolio-image-small {
    width: 100%;
    max-width: 39.6%;
    min-height: 960px;
    background-image: url("../assets/stylist1.png"); /* Default */
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .portfolio-image-small.two { background-image: url("../assets/stylist2.png"); }
  .portfolio-image-small.three { background-image: url("../assets/stylist3.png"); }
  
  .portfolio-image-large {
    width: 100%;
    max-width: 59.66%;
    min-height: 960px;
    background-image: url("../assets/stylist4.png"); /* Default */
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .portfolio-image-large.two { background-image: url("../assets/stylist5.jpeg"); }
  .portfolio-image-large.three { background-image: url("../assets/stylist6.jpeg"); }
  
  /* Media Queries for About Specifics */
  @media screen and (max-width: 991px) {
      .top-section { height: auto; padding: 120px 0; }
      .about-links-wrapper { top: 64px; } /* Adjust sticky position */
      .about-link { font-size: 14px; line-height: 20px; }
      .about-video { min-height: 60vw; margin: 60px 16px 120px; }
      .video-heading { font-size: 70px; line-height: 70px; }
      .portfolio-image-small { height: 550px; min-height: auto; }
      .portfolio-image-small.three { height: 630px; }
      .portfolio-image-large { height: 550px; min-height: auto; }
      .portfolio-image-large.three { height: 630px; }
      .video-info { margin-bottom: 40px; margin-left: 50px; }
      .tab-icon { width: 28px; margin-right: 12px; }
  }
  
  @media screen and (max-width: 767px) {
      .top-section { padding: 100px 0; }
      .video-heading { font-size: 50px; line-height: 50px; }
      .about-video { margin: 80px 15px; }
      .portfolio-image-small.three { height: 480px; }
      .gallery-wrapper { margin-top: 80px; }
      .portfolio-image-large.three { height: 480px; }
      .video-info { margin-bottom: 20px; margin-left: 30px; align-items: flex-start; }
  }
  
  @media screen and (max-width: 479px) {
    .top-section { 
        padding: 80px 0; 
    }
    .video-heading { 
        font-size: 40px; 
        line-height: 40px; 
    }
    .about-links-wrapper { 
        position: static; 
        padding: 0; 
        flex-direction: column; 
        border: none; 
    }
    .about-link { 
        padding: 10px 24px; 
        justify-content: flex-start; 
        border-top: 1px solid var(--color-border-light); 
        width: 100%; 
    }
    .about-links-wrapper a:first-child { 
        border-top: none; 
    }
    .about-video { 
        height: 60vh; 
        margin: 40px 0 60px 0; 
    }

    /* --- REVISED STACKING & SPACING (No Gap) --- */
    .portfolio { 
        margin-bottom: 0; 
        flex-direction: column; 
        gap: 0; 
        display: flex; /* Explicitly keep flex */
    }

    /* --- PREMIUM IMAGE FIX v5 (Forcing Block, Height, No Shrink) --- */
    .portfolio-image-small, 
    .portfolio-image-large { 
        display: block !important; /* Force block display */
        width: 100%; 
        height: 350px !important; /* *** FORCE HEIGHT CONSISTENCY *** */
        max-width: 100%; 
        min-height: auto; /* Override any base min-height */
        margin-bottom: 0; 
        background-size: cover; 
        background-position: top center; 
        flex-shrink: 0; /* *** PREVENT FLEX SHRINKING *** */
        box-sizing: border-box; /* Ensure padding/border included */
    }
    /* --- PREMIUM IMAGE FIX END --- */
    
    .gallery-wrapper { 
        margin-top: 50px; 
        padding-bottom: 0; 
    }
    .video-description { 
        font-size: 14px; 
    }
    .video-info { 
        margin: 10px; 
    }
    .video-play { 
        margin-top: 10px; 
    }
}