/* Skip to main content link - only visible on focus */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    overflow: visible;
    border-radius: 4px;
}

/* Navigation - Flexbox + nice styling */
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;  /* flexbox */
    background-color: #2c3e50;
}

.navbar li {
    margin: 0;
}

.navbar a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* hover effect on nav links */
.navbar a:hover {
    background-color: #e67e22;
    color: #fff;
}

/* Box model for images */
.styled-image {
    border: 4px solid #3498db;
    padding: 5px;
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* Grid for gallery page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 15px;
    margin-top: 20px;
}

/* nth-child selector: every even image has different border-radius */
.gallery-grid img:nth-child(even) {
    border-radius: 50px;
}

/* Hover effect on about page text */
.hover-text:hover {
    color: #e74c3c;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.4s ease;
}
