/* ==========================
   Highlights Section Styles
   ========================== */

.highlights-section {
    padding: 80px 0;
    position: relative;
    background: url('../../images/highlights-bg.webp') no-repeat center center/cover; /* Replace with your background */
    overflow: hidden; /* Hide overflowing graphic if needed */
}

.mouse-trail-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4; /* Must be above background, below clickable content */
    width: 100%;
    height: 100%;
    pointer-events: none; /* Don't block mouse input */
}

/* Dark Overlay */
.highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.75); /* Adjust darkness */
    z-index: 1;
}

/* Large Overlay Graphic */
.highlights-overlay-graphic {
    position: absolute;
    left: -10%; /* Adjust horizontal position */
    top: 55%;
    transform: translateY(-50%);
    height: 80%; /* Adjust size */
    max-width: 40%; /* Prevent it getting too wide */
    opacity: 0.1; /* Adjust visibility */
    z-index: 2; /* Above dark overlay, below content */
    user-select: none; /* Not selectable */
    pointer-events: none; /* Doesn't block interaction */
}


.highlights-container {
    position: relative;
    z-index: 3; /* Above overlays */
    max-width: 1200px; /* Standard container width */
    margin: 0 auto;
    padding: 0 20px;
}

.highlights-text-content {
    text-align: center;
    margin-bottom: 50px;
}

.highlights-subheading {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 8px; /* Adjust spacing */
    margin-bottom: 15px;
}

.highlights-main-heading {
    font-size: 5rem; /* Adjust size */
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    /* Optional: To clip text like in image */
    /* overflow: hidden; */
    /* white-space: nowrap; */
}

.highlights-main-heading .text-passion {
    color: #f1c40f; /* Yellow/Gold */
}
.highlights-main-heading .text-love {
    color: #3498db; /* Blue */
    /* Add margin if needed */
     margin-left: 0.2em; /* Space between words */
}


/* Thumbnails */
.highlights-thumbnails-container {
    display: flex;
    justify-content: center; /* Center items horizontally */
    gap: 0; /* Space between items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens if needed */
}

.highlight-item {
    /* Adjust basis/width for ~4 items, considering gaps */
    flex-basis: calc(25%); /* Example calculation */
    max-width: 250px; /* Max width for an item */
    text-align: left; /* Text below image aligns left */
    flex-shrink: 0; /* Prevent shrinking if container space is tight */
    cursor: pointer;
    
        /* 🔥 Add transition for smooth hover */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.highlight-item:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Deeper shadow */
}

.highlight-item img {
    max-width: 95%; /* Your setting */
    height: auto; /* Maintain aspect ratio */
    /* Consider a fixed aspect ratio if images vary */
    /* aspect-ratio: 2 / 3; */
    /* object-fit: cover; */
    display: block;
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
     border-radius: 6px;  
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Add shadow */
}

.highlight-item-info {
    padding: 0 5px; /* Small padding for text */
    margin-left: 10px;
}

.highlight-item-info h3 {
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 4px;
    font-weight: bold;
    line-height: 1.3;
}

.highlight-item-info p {
    font-size: 0.8rem;
    color: #aaa; /* Light grey for category */
    margin: 0;
    text-transform: capitalize;
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .highlights-overlay-graphic {
        top: 60%;
        height: 60%; /* Adjust size */
    }
}
@media (max-width: 992px) {
    .highlights-main-heading {
        font-size: 4rem;
    }
    .highlight-item {
        flex-basis: calc(33.33% - 20px); /* Show 3 items */
        max-width: 200px;
    }
    .highlights-overlay-graphic {
        display: none;

     }
     
     .highlight-item-info{
        margin-left: 17px;
     }
}

@media (max-width: 768px) {
    .highlights-section {
        padding: 60px 0;
    }
    .highlights-main-heading {
        font-size: 3rem;
    }
    .highlights-subheading {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }
     .highlight-item {
        flex-basis: calc(50% - 15px); /* Show 2 items */
        max-width: 160px;
    }
     .highlights-thumbnails-container {
        gap: 15px;
    }
     .highlights-overlay-graphic {
        display: none; /* Hide complex graphic on smaller screens */
    }
}

@media (max-width: 601px) {
    .highlight-item {
        flex-basis: calc(50% - 15px); /* Show 2 items */
        max-width: 120px;
    }
    
    .highlight-item-info h3{
        font-size: 0.8rem;
    }
    
    .highlight-item-info{
        margin-left: 8px;
    }
    
    .highlight-item-info p{
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
     .highlights-main-heading {
        font-size: 2.5rem;
    }
     .highlight-item {
        flex-basis: calc(80% - 10px); /* Show mostly 1 item, centered */
         margin: 0 auto; /* Help centering if only one per row */
        max-width: 160px;
         
    }
      .highlights-thumbnails-container {
        gap: 18px; /* Increase gap if stacking */
    }
}

@media (max-width: 376px) {
    .highlights-section {
        padding: 50px 0;
    }
    
    .highlight-item {
        margin: 0 auto; /* Help centering if only one per row */
       max-width: 140px;
        
   }
     .highlights-thumbnails-container {
       gap: 15px; /* Increase gap if stacking */
   }
}

@media (max-width: 321px) {
    .highlight-item {
        margin: 0 auto; /* Help centering if only one per row */
       max-width: 120px;
        
   }
     .highlights-thumbnails-container {
       gap: 12px; /* Increase gap if stacking */
   }
}