/* style.css - Vibrant Gradient Theme */

/* --- 1. Global & Variables --- */
:root {
    --bg-dark: #121212;
    --bg-light: #1E1E1E;
    --text-light: #EAEAEA;
    --text-muted: #999;
    --accent-gradient: linear-gradient(135deg, #FF6B6B, #FFD93D);
    --accent-gradient-hover: linear-gradient(135deg, #8A2BE2, #4169E1); /* Blue-Violet to Royal Blue */
    --accent-color-1: #FF6B6B;
    --accent-color-2: #FFD93D;
    --font-heading: 'Helvetica Neue', sans-serif;
    --font-body: 'Arial', sans-serif;
    --nav-height: 80px;
    --border-color: #333;
}
/* --- NEW: Scroll Progress Bar --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px; /* You can change the thickness here */
    background: var(--accent-gradient);
    width: 0%;
    z-index: 10001; /* Ensures it's on top of everything */
    transition: width 0.1s ease-out;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.7;
    cursor: none; /* Hide default cursor */
}

/* Page Transition Overlay */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 10000;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-overlay.is-active {
    opacity: 1;
}


/* --- 1.5. Custom Cursor --- */
.cursor, .cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

.cursor {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-out;
}

.cursor-follower.active {
    transform: translate(-50%, -50%) scale(2);
    background-color: rgba(255, 107, 107, 0.3);
}


/* --- 2. Header and Navigation --- */
header {
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    text-decoration: none;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    transition: text-shadow 0.2s ease, filter 0.2s ease;
}

.logo a:hover {
    /* Apply base glow */
    text-shadow: 0 0 5px #fff, /* Inner white glow */
                 0 0 10px var(--accent-color-1),
                 0 0 15px var(--accent-color-1),
                 0 0 20px var(--accent-color-1);
    /* Start the flicker animation */
    animation: neon-flicker 1.5s infinite alternate;
}

/* Keyframes for the flickering effect */
@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 4px #fff,
      0 0 11px var(--accent-color-1),
      0 0 19px var(--accent-color-1),
      0 0 20px var(--accent-color-1);
  }
  20%, 24%, 55% {
    text-shadow: none; /* Turn off shadow briefly */
  }
}


.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 35px;
    padding-bottom: 5px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-color-1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
}
/* --- 3. Main Content & Typography --- */
main {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; 
    z-index: 2;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #fff;
}

h2 {
    font-size: 2.2rem;
    color: var(--accent-color-1);
    margin-top: 50px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-light);
}

p.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
}


/* --- 4. Hero Section (Home Page) --- */
#hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}


#hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
}

.animate-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) skewY(5deg);
    transform-origin: bottom left;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s ease;
}

.animate-text span.hover-effect {
    background: var(--accent-gradient-hover);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#hero .tagline {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin: 20px 0 40px;
    max-width: 600px;
    color: var(--text-muted);
}

.cta-button {
    background: var(--accent-gradient);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    position: relative; 
    overflow: hidden;   
    box-shadow: 0 0 25px rgba(255, 180, 107, 0.7);
    animation: pulseGlow 2.5s infinite alternate;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
    animation-play-state: paused;
}

.cta-button:hover::before {
    left: 100%; 
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 25px rgba(255, 180, 107, 0.7);
    }
    to {
        box-shadow: 0 0 50px rgba(255, 107, 107, 1);
    }
}

/* --- 5. Work Page (Gallery) --- */
#filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap; 
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 16 / 9; /* Ensure consistent size */
}

/* Keep the original image visible by default */
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
    transition: transform 0.4s ease;
}

/* The canvas created by the library will cover the image */
.project-item canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 20px 20px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 2; /* Ensure overlay is on top of the canvas/image */
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

/* --- 6. Lightbox Modal --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.close-btn {
    position: sticky; /* Stick within the scrollable lightbox-content */
    top: 15px;       /* Position 15px from the top */
    /* Remove 'right: 25px;' for now */
    float: right;    /* Use float to push it to the right edge *before* sticking */
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    z-index: 1001;   /* Ensure it's above scrolling content */
    /* Add a background to prevent text scrolling underneath */
    
    /* Optional: Add slight padding/margin if needed for spacing */
    padding: 0 5px 5px 5px; 
    margin-right: -10px; /* Pull it slightly back if float pushes too far */
    margin-bottom: -30px; /* Prevent it pushing content down */
    border-radius: 50%; /* Optional: make background circular */
}

.close-btn:hover {
    color: var(--accent-color-1);
    transform: rotate(90deg);
}

#lightbox-img, #lightbox-cert-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

#lightbox-title, #lightbox-cert-title {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 10px;
}

.lightbox-text-content {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px 25px;
    margin-top: 25px;
}

/* --- 7. About Page --- */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.profile-pic {
    /* Set a fixed size for the circular container */
    width: 150px; /* Adjust this value for desired size */
    height: 150px; /* Should be equal to width for a perfect circle */
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image covers the circle without distortion */
    object-position: center top; /* Focuses the image to the top-center of the circle */
    margin: 0 auto 30px auto; /* Center it and add bottom margin */
    display: block; /* Ensure it respects margins properly */
    border: 2px solid var(--accent-color-1); /* Use accent color for border */
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4); /* Subtle glow */
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.skills-list li:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}


/* --- 8. Contact Page --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-list {
    list-style: none;
    padding: 0;
}
.info-list li { margin-bottom: 15px; }
.info-list a {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-right: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3px;
    transition: color 0.3s, border-color 0.3s;
}
.social-links a:hover {
    color: var(--accent-color-1);
    border-color: var(--accent-color-1);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color-1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

/* --- 9. Footer --- */
footer {
    text-align: center;
    padding: 40px 5%;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: var(--text-muted);
}

/* --- 10. Scroll Animations --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- 11. Responsive Adjustments --- */
@media (max-width: 992px) {
    .about-grid, .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        cursor: default;
    }
    .cursor, .cursor-follower {
        display: none;
    }

    main {
        padding: 40px 5%;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .hamburger {
        width: 30px;
        height: 3px;
        background-color: var(--text-light);
        display: block;
        position: relative;
        transition: background-color 0.3s;
    }

    .menu-toggle .hamburger::before,
    .menu-toggle .hamburger::after {
        content: '';
        width: 100%;
        height: 3px;
        background-color: var(--text-light);
        position: absolute;
        left: 0;
        transition: transform 0.3s, top 0.3s;
    }

    .menu-toggle .hamburger::before {
        top: -10px;
    }

    .menu-toggle .hamburger::after {
        top: 10px;
    }

    .menu-toggle.active .hamburger {
        background-color: transparent;
    }
    .menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }
    .menu-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav a {
        margin: 20px 0;
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .main-nav a::after {
        display: none; 
    }
}

/* --- 12. Responsive Video --- */
#lightbox-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    border-radius: 4px;
}

#lightbox-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hidden {
    display: none !important;
}

/* --- 13. Certificate Slider --- */
.swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 400px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.swiper-slide:hover {
    transform: scale(1.03);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    color: #fff;
    font-family: var(--font-heading);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color-1) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent-color-1) !important;
}

/* --- 14. Recommendation Accordion --- */
.accordion-container {
    margin-top: 60px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background-color: var(--bg-light);
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-light);
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #2a2a2a;
}

.rec-title {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: bold;
}

.rec-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Replace arrow with text */
.recommendation-list .arrow-icon {
    display: none; 
}
.recommendation-list .view-icon {
    font-size: 0.8em;
    color: var(--accent-color-1);
    border: 1px solid var(--accent-color-1);
    padding: 3px 8px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}
.recommendation-list .accordion-header:hover .view-icon {
    background-color: var(--accent-color-1);
    color: var(--bg-dark);
}

/* Keep content visible but prevent interaction from default accordion JS */
.recommendation-list .accordion-content {
   transition: none !important; /* Disable JS transition */
   /* Remove max-height override if needed */
   padding: 0 !important;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: var(--bg-dark);
    transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1), padding 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 0 25px;
}

.accordion-content p {
    padding: 25px 0;
    margin: 0;
    line-height: 1.8;
    color: var(--text-muted);
}
/* --- 15. Event Badges Section --- */
#event-badges {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.badge-scatter-container {
    position: relative;
    width: 100%;
    /* MODIFIED: Reduced height for 7 badges */
    height: 700px; 
    margin: 40px auto 0;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
}

#badge-canvas-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.flip-card {
    background-color: transparent;
    aspect-ratio: 2 / 3;
    perspective: 1000px;
    position: absolute;
    transition: transform 0.3s ease;
    z-index: 2; 
}

.flip-card:hover {
    transform: scale(1.15) translateY(-5px) rotate(0deg) !important; 
    z-index: 10;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s;
    transform-style: preserve-3d;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background-color: var(--bg-light);
    color: var(--text-light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid var(--border-color);
}

.flip-card-back h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: var(--accent-color-1);
}

.flip-card-back p {
    font-size: 0.9em;
    margin: 5px 0;
    color: var(--text-muted);
}

/* --- 16. Lightbox Gallery Styles --- */
#lightbox-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Increase gap slightly if needed */
    width: 100%;
}

#lightbox-main-img {
    width: 100%;
    /* MODIFIED: Increased max-height for a larger main image */
    max-height: 65vh; 
    object-fit: contain;
    border-radius: 4px;
}

/* NEW: Styles for the thumbnail "tray" */
#lightbox-thumbnail-container {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

#lightbox-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    /* MODIFIED: Decreased max-height for a smaller thumbnail area */
    max-height: 20vh; 
    overflow-y: auto;
    padding-right: 10px; 
}

/* NEW: Custom scrollbar styles */
#lightbox-thumbnail-grid::-webkit-scrollbar {
    width: 8px;
}
#lightbox-thumbnail-grid::-webkit-scrollbar-track {
    background: transparent;
}
#lightbox-thumbnail-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color-1);
    border-radius: 10px;
}
#lightbox-thumbnail-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color-2);
}

.thumbnail-item {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail-item:hover {
    opacity: 1;
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--accent-color-1);
}

/* --- 17. Recommendation Lightbox --- */
#recommendation-lightbox .lightbox-content {
    max-width: 800px; /* Adjust as needed */
    max-height: 95vh;
    padding-top: 60px; /* Space for title */
}

#recommendation-lightbox #lightbox-rec-title {
    position: absolute;
    top: 20px;
    left: 30px;
    right: 60px; /* Space for close button */
    font-size: 1.3rem;
    color: var(--text-light);
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    background: none; /* Override default gradient */
    -webkit-background-clip: unset;
    background-clip: unset;
}

#recommendation-lightbox #lightbox-rec-img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 10px; /* Space below title */
}
/* --- 18. Cursor Hiding for Lightboxes --- */

/* Hide custom cursor when a lightbox is open */
body.lightbox-is-open .cursor,
body.lightbox-is-open .cursor-follower {
    display: none !important; /* Use !important to override potential inline styles */
}

/* Ensure default cursor shows over lightboxes and their content */
.lightbox, .lightbox * {
    cursor: default !important;
}
/* --- 19. Project Type Icons (Modified) --- */
.project-item::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px; /* Slightly smaller than the container */
    z-index: 3; /* Above overlay */
    opacity: 1; /* Always visible */
    transform: scale(1);
    transition: opacity 0.3s, transform 0.3s;
}

/* Icon for Videography */
.project-grid .project-item[data-category="videography"]::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>');
    background-size: 14px 14px; /* Adjust play icon size */
}

/* Icon for Photography */
.project-grid .project-item[data-category="photography"]::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5zM19 3v2H5V3h14z"/></svg>');
}

/* Icon for Design */
.project-grid .project-item[data-category="design"]::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>');
}

/* Icon for 3D */
.project-grid .project-item[data-category="3d"]::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M21 5v14l-9 4-9-4V5l9-4 9 4zm-10 1.35L6.61 8.5 11 10.65 15.39 8.5 11 6.35zM5 16.9l6 2.67v-8.07L5 8.83v8.07zm14-8.07l-6 2.67v8.07l6-2.67V8.83z"/></svg>');
}

/* --- 20. Mobile Experience Notice (Added) --- */
.mobile-notice {
    display: none; /* Hidden by default on desktop */
    background-color: var(--accent-color-2);
    color: var(--bg-dark);
    text-align: center;
    padding: 12px 10px;
    font-weight: 500;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10001; /* On top of everything */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .mobile-notice {
        display: block; /* Show only on mobile */
    }

    /* Push header down to make space for the new banner */
    header {
        top: 39px; /* Adjust this value if the banner height changes */
    }

    /* Push progress bar down */
    .scroll-progress-bar {
        top: 39px; /* Match the header's new top position */
    }
    
    /* Ensure mobile nav opens below the new banner */
    .main-nav {
        top: 39px; /* Match the header's new top position */
    }
}

/* --- 21. Social Icon Links (Added) --- */
.social-links {
    margin-top: 20px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
    font-size: 0.9em;
}

.social-icon-link:hover {
    color: var(--accent-color-1);
    border-color: var(--accent-color-1);
    background-color: rgba(255, 107, 107, 0.1);
}

.social-icon-link svg {
    width: 18px; /* Control icon size */
    height: 18px;
    fill: currentColor; /* Inherits the color from the <a> tag */
}