/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

header {
    background: white;
    padding: 15px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.item {
    overflow: hidden;
}

.item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.item img:hover {
    transform: scale(1.1);
}

/* Base Cursor Style */
.custom-cursor, .secondary-cursor {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: rgba(50, 50, 50, 0); /* Invisible by default */
      transition: 
        transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), /* Smoother scaling */
        opacity 0.2s ease-out, 
        backdrop-filter 0.3s ease-out, 
        color 0.3s ease-out; 
    transform: translate(-50%, -50%);
}

/* Main Cursor (smaller dot) */
.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: rgba(245, 176, 39, 0.8);
     z-index: 1001; /* Ensures it appears above the secondary cursor */
}


/* Secondary Cursor (larger trailing dot) */
.secondary-cursor {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 1);
    z-index: 1001; z-index: 1000; /* Lower than the main cursor */
    transition: transform 0.02s ease-out;
}

/* Cursor transforms into a large blur circle when hovering over links */
.custom-cursor.link-hover { 
    width: 60px;
    height: 60px;
    background-color: rgba(245, 176, 39, 0.17);
    backdrop-filter: blur(2px); /* Creates the blur effect */
    color: rgba(50, 50, 50, 1); /* Make the text visible */	
    Transform: translate(-50%, -50%) scale(1.5); /* Center the cursor and scale it */
}