/*
=============================================
== 1. Reset and Body Styling
=============================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f4f4; /* Light background */
    color: #333; /* Dark text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/*
=============================================
== 1.B Custom Scrollbar Styles (Optional)
=============================================
*/

/* For Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f4f4f4; /* thumb and track */
}

/* For Chrome, Edge, and Safari */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #f4f4f4; /* Light track background */
}

body::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Light scroll handle */
    border-radius: 10px;
    border: 2px solid #f4f4f4; /* Space around thumb */
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #aaa; /* Darker handle on hover */
}

/*
=============================================
== 2. Main Navigation
=============================================
*/
.main-nav {
    position: fixed; /* CHANGED from absolute */
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: #ffffff; /* ADDED for light theme */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* ADDED subtle shadow */
}

.main-nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #121212; /* Dark logo text */
    text-decoration: none;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
}

.main-nav .nav-links li {
    margin-left: 2.5rem;
}

.main-nav .nav-links li a {
    text-decoration: none;
    color: #333; /* Dark link text */
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav .nav-links li a:hover {
    color: #00bcd4; /* Accent color */
}

.main-nav .nav-links li a.active {
    color: #00bcd4; /* Accent color */
    font-weight: 600;
}

/*
=============================================
== 3. Hero Welcome Container
=============================================
*/
.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 10rem 2rem 4rem 2rem;
    /* Light background gradient */
    background: radial-gradient(circle, #ffffff 0%, #f4f4f4 70%);
}

/*
=============================================
== 4. The Profile Image
=============================================
*/
.profile-image {
    src: "https://via.placeholder.com/250";
    alt: "A portrait of Petter Nilsson";
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 5px solid #fff; /* White border (blends with bg) */
    /* Lighter shadow for light theme */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*
=============================================
== 5. Typography
=============================================
*/
.welcome-container h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #121212; /* Dark heading */
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.welcome-container h1 strong {
    font-weight: 700;
}

.welcome-container .tagline {
    font-size: 1.3rem;
    color: #555; /* Medium-dark gray */
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/*
=============================================
== 6. Call-to-Action Links
=============================================
*/
.cta-links a {
    display: inline-block;
    text-decoration: none;
    color: #333; /* Dark text for secondary button */
    border: 2px solid #333; /* Dark border */
    padding: 14px 30px;
    border-radius: 50px;
    margin: 0 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
}

/* Primary button style */
.cta-links a.primary {
    background-color: #00bcd4; /* Accent color */
    border-color: #00bcd4;
    color: #ffffff; /* Light text on accent */
}

/* Hover effects */
.cta-links a:hover {
    background-color: #333; /* Dark bg on hover */
    color: #ffffff; /* Light text on hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

.cta-links a.primary:hover {
    background-color: #00e5ff; /* Lighter accent */
    border-color: #00e5ff;
    color: #ffffff; /* Light text */
}

/*
=============================================
== 7. Page Container Styles (REFACTORED)
=============================================
*/

/* Shared styles for all main page containers */
.gallery-container,
.contact-container,
.about-container {
    padding: 10rem 3rem 4rem 3rem;
    margin: 0 auto;
    text-align: center;
}

/* Specific widths for each container */
.gallery-container { max-width: 1400px; }
.contact-container { max-width: 900px; }
.about-container { max-width: 1100px; }


/* Shared styles for main page headings */
.gallery-container h1,
.contact-container h1,
.about-container h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #121212; /* Dark headings */
    margin-bottom: 0.5rem;
}

/* Shared styles for page subtitles */
.gallery-container .subtitle,
.contact-container .subtitle,
.about-container .subtitle {
    font-size: 1.2rem;
    color: #555; /* Medium-dark gray */
    font-weight: 300;
    margin-bottom: 3.5rem;
}

/* Image Grid */
.image-grid {
    display: grid;
    /* Min width 350px, Max width 500px */
    grid-template-columns: repeat(auto-fit, minmax(350px, 350px)); 
    gap: 1.5rem;
    text-align: left;
    /* Optional: Center the grid if there's extra space */
    justify-content: center; 
}

.grid-item {
    position: relative;
    overflow: hidden; /* Keep this to contain the scaled item */
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* ADD/UPDATE transition */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    display: block;
    text-decoration: none;
}

.grid-item:hover {
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Keep existing shadow change */
     /* ADD scale transform */
     transform: scale(1.03); /* Scale the whole item slightly */
}

.grid-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/*
=============================================
== 8. Contact Page Styles
=============================================
*/

.contact-form {
    background-color: #ffffff; /* White form bg */
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Light shadow */
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #333; /* Dark text */
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group .form-control {
    width: 100%;
    padding: 14px 18px;
    background-color: #ffffff; /* White input bg */
    border: 2px solid #ddd; /* Light border */
    border-radius: 5px;
    color: #333; /* Dark text */
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group .form-control:focus {
    outline: none;
    border-color: #00bcd4; /* Accent on focus */
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff; /* Light text on accent */
    background-color: #00bcd4;
    border: 2px solid #00bcd4;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.submit-btn:hover {
    background-color: #00e5ff;
    border-color: #00e5ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/*
=============================================
== 9. About Page Styles
=============================================
*/

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Light shadow */
}

.about-text p {
    font-size: 1.1rem;
    color: #333; /* Dark text */
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 0.75fr;
    }

    .about-image img {
        margin: 0;
    }
}

/*
=============================================
== 11. Mobile Navigation & Responsive Styles
=============================================
*/

.nav-toggler {
    display: none;
}

.nav-toggler-label {
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggler-label span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #333; /* Dark hamburger lines */
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.nav-toggler-label span:nth-child(1) {
    top: 0;
}
.nav-toggler-label span:nth-child(2) {
    top: 11px;
}
.nav-toggler-label span:nth-child(3) {
    top: 22px;
}

/*
=============================================
== 17. Admin Painting Table
=============================================
*/

.painting-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.painting-table thead {
    border-bottom: 2px solid #eee;
}

.painting-table th {
    padding: 1rem 0.5rem;
    font-weight: 600;
    color: #333;
}

.painting-table td {
    padding: 1rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f4f4f4;
}

.painting-table tbody tr:last-child td {
    border-bottom: none;
}

.action-btn {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.action-btn.edit {
    background-color: #f0f0f0;
    color: #333;
}
.action-btn.edit:hover {
    background-color: #ddd;
}

.action-btn.delete {
    background-color: #fdd;
    color: #900;
}
.action-btn.delete:hover {
    background-color: #fbb;
    color: #700;
}

/* Responsive Breakpoint (768px and smaller) */
@media (max-width: 768px) {

    .nav-toggler-label {
        display: block;
    }
    
    .main-nav {
        padding: 1.5rem;
        background-color: #ffffff; /* ADDED */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* ADDED */
    }

    .main-nav .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Light background overlay */
        background-color: rgba(244, 244, 244, 0.98); 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .main-nav .nav-links li {
        margin: 2rem 0;
    }

    .main-nav .nav-links li a {
        font-size: 1.75rem;
        font-weight: 300;
    }

    /* "Checked" State (When Hamburger is clicked) */
    
    .nav-toggler:checked ~ .nav-links {
        transform: translateX(0);
    }
    
    /* Animate hamburger to an "X" */
    .nav-toggler:checked ~ .nav-toggler-label span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }
    .nav-toggler:checked ~ .nav-toggler-label span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    .nav-toggler:checked ~ .nav-toggler-label span:nth-child(3) {
        transform: rotate(-45deg);
        top: 11px;
    }

    /* General Page Layout Tweaks */

    .gallery-container,
    .contact-container,
    .about-container {
        padding-top: 8rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .welcome-container {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 8rem;
    }

    /* Typography */
    .welcome-container h1 {
        font-size: 2.5rem;
    }
    
    .gallery-container h1,
    .contact-container h1,
    .about-container h1 {
        font-size: 2.2rem;
    }

    /* Welcome Page Buttons */
    .cta-links a {
        display: block;
        margin: 0.75rem auto; /* Center stacked buttons */
        width: 100%;
        max-width: 300px;
    }

    /* Contact Form Grid */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Page Grid */
    .about-grid {
        grid-template-areas: 
            "image"
            "text";
    }
    .about-text {
        grid-area: text;
    }
    .about-image {
        grid-area: image;
    }
    
    @media (min-width: 768px) {
        .about-grid {
            grid-template-areas: none;
            grid-template-columns: 1fr 0.75fr;
        }
    }

    /* Gallery Grid */
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .painting-table thead {
        display: none; /* Hide headers */
    }
    .painting-table tr {
        display: block;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    .painting-table td {
        display: block;
        padding: 0.5rem 0;
        border: none;
        text-align: right; /* Align right */
        position: relative;
    }
    .painting-table td:before {
        content: attr(data-label); /* Use data-label for header */
        position: absolute;
        left: 0;
        font-weight: 600;
        color: #333;
        text-align: left;
    }
    
    /* Apply data-labels */
    .painting-table td[data-label="Image"] { padding-top: 1rem; }
    .painting-table td[data-label="Actions"] { border-bottom: none; padding-bottom: 0; }
    
    .painting-table img {
        display: block;
        margin-left: auto; /* Align image right */
        max-width: 150px;
        width: 100%;
        height: auto;
    }
}

/*
=============================================
== 12. CV/Projects Page Styles (NEW)
=============================================
*/

/* --- Base Container --- */
.resume-container {
    padding: 10rem 3rem 4rem 3rem;
    margin: 0 auto;
    max-width: 1400px;
    text-align: center;
}

.resume-container h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #121212;
    margin-bottom: 0.5rem;
}

.resume-container .subtitle {
    font-size: 1.2rem;
    color: #555;
    font-weight: 300;
    margin-bottom: 3.5rem;
}

/* --- Main 2-Column Grid (Solo, Group) --- */
.resume-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 3rem;
    text-align: left;
    margin-bottom: 3.5rem;
}

/* --- Secondary 4-Column Grid (Others) --- */
.resume-grid-secondary {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 3rem;
    text-align: left;
    padding-top: 3.5rem;
    border-top: 1px solid #ddd; /* Separator line */
}

.resume-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #121212;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.resume-list {
    list-style-type: none;
}

.resume-list li {
    color: #333;
    font-size: 0.8rem;
    line-height: 1.0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f4f4f4;
}

.resume-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/*
=============================================
== 13. Responsive CV/Projects Page
=============================================
*/

/* Desktop Layout (over 768px) */
@media (min-width: 768px) {
    .resume-container {
        text-align: left; /* Align headings left on desktop */
    }

    .resume-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns */
    }

    .resume-grid-secondary {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
    }
}

/* Large Desktop Layout (over 1024px) */
@media (min-width: 1024px) {
    .resume-grid-secondary {
        grid-template-columns: 1fr 1fr 1fr 1fr; /* 4 columns */
    }
}

/* --- Mobile Tweaks for this page --- */
@media (max-width: 768px) {
    .resume-container {
        padding-top: 8rem;
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: center; /* Center headings on mobile */
    }

    .resume-container h1 {
        font-size: 2.2rem;
    }
}

/*
=============================================
== 14. Alert/Success Message
=============================================
*/
.alert-success {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    background-color: #e0f8f0; /* Light green background */
    color: #008a4f; /* Dark green text */
    border: 1px solid #b3e9d3;
    border-radius: 8px;
    font-weight: 600;
}

/*
=============================================
== 15. Form Error Message
=============================================
*/
.error-message {
    color: #e53e3e; /* A strong red */
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
}

/*
=============================================
== 18. Admin Submission View
=============================================
*/
.submission-details p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.75rem;
}
.submission-details p strong {
    font-weight: 600;
    color: #121212;
    min-width: 100px;
    display: inline-block;
}

.submission-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

.submission-message label {
    display: block;
    margin-bottom: 1rem;
    color: #121212;
    font-weight: 600;
    font-size: 1.2rem;
}

.submission-message pre {
    background-color: #f4f4f4;
    padding: 1.5rem;
    border-radius: 8px;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap; /* Wraps long text */
    word-wrap: break-word; /* Breaks long words */
}

/*
=============================================
== 19. Admin Action Buttons
=============================================
*/
.action-btn-group {
    display: grid;
    gap: 0.5rem; /* 8px (0.5rem) is a nice spacing */
    justify-items: start; /* Aligns buttons to the left */
}

/*
=============================================
== 20. Collection Overlay
=============================================
*/
.grid-item {
    /* We already made this relative, which is perfect */
    text-decoration: none; /* Remove underline from <a> tag */
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.5rem; /* Padding for text */
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    border-radius: 0 0 22px 22px; /* Match grid-item border-radius */
    transition: all 0.3s ease;
}

.collection-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.collection-overlay span {
    font-size: 1rem;
    font-weight: 300;
    color: #eee;
}

.grid-item:hover .collection-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%);
}

/*
=============================================
== 21. Collection Cover Grid
=============================================
*/
.collection-cover-grid {
    display: grid;
    /* Create a 2x2 grid */
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    
    /* Fill the entire parent <a> tag */
    width: 100%;
    height: 100%;
    
    /* This is important for the overlay */
    position: absolute;
    top: 0;
    left: 0;
    
    /* This ensures the overlay sits on top of the grid */
    z-index: 1; 
}

.collection-cover-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Add a subtle transition for the hover effect */
    transition: transform 0.4s ease-in-out;
}

/* We need to update the overlay to be on top of the grid */
.collection-overlay {
    z-index: 2; /* Make sure overlay is above z-index: 1 */
}

/*
=============================================
== 22. Recent Paintings Section
=============================================
*/
.recent-paintings {
    margin-bottom: 3.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the scroll container */
}

.recent-paintings h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #121212;
    margin-bottom: 1.5rem;
    text-align: center; /* Center the heading */
}

.recent-paintings-scroll {
    display: flex;         /* Keep flex */
    flex-wrap: wrap;       /* ALLOW WRAPPING */
    gap: 1.5rem;           /* Keep gap */
    padding: 0.5rem 0;     /* Adjust padding */
    justify-content: center; /* CENTER the items */
}

.recent-item {
    display: block;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recent-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; 
}

.recent-item:hover {
    transform: scale(1.1); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    z-index: 5; 
    position: relative; 
}

/*
=============================================
== 24. Welcome Page Social Links
=============================================
*/
.welcome-social-links {
    /* Position it absolutely within the welcome container */
    position: absolute;
    /* Adjust top position to be below the nav bar's padding */
    /* (Welcome container padding-top is 10rem, nav is ~6rem high, leave some space) */
    top: 7rem; 
    right: 3rem; /* Position it on the right side */
    
    /* Keep flex and gap */
    display: flex;
    gap: 1rem; /* Adjust gap if needed */
    
    /* Remove top margin */
    margin-top: 0; 
    
    z-index: 10; /* Ensure it's above other welcome content if needed */
}

.welcome-social-links a {
    color: #555; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.welcome-social-links a:hover {
    color: #00bcd4; 
    transform: scale(1.1); 
}

.welcome-social-links svg {
    display: block; 
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .welcome-social-links {
        /* Center icons below the tagline on mobile */
        position: static; /* Revert to normal flow */
        justify-content: center; /* Center horizontally */
        right: auto; /* Reset right positioning */
        top: auto; /* Reset top positioning */
    }
}

/*
=============================================
== 25. Contact Page Details
=============================================
*/
.contact-details {
    margin-bottom: 2.5rem; /* Space below details, before form/message */
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center; /* Center the text */
}

.contact-details p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem; /* Space between lines */
    line-height: 1.6;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    font-weight: 600;
    color: #121212;
}

.contact-details a {
    color: #00bcd4; /* Use accent color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #008ba3; /* Darker accent on hover */
    text-decoration: underline;
}

/* Add near Section 2 */
.main-nav .nav-links .admin-link {
    margin-left: 2.5rem; /* Match other links */
    /* Optional: Add a separator */
    padding-left: 2.5rem;
    border-left: 1px solid #eee;
}

.main-nav .nav-links .admin-link a {
    /* Optional: Different color or weight */
    font-weight: 600;
    color: #008ba3; /* Darker accent */
}

/* Adjust mobile menu */
@media (max-width: 768px) {
    .main-nav .nav-links .admin-link {
        margin: 2rem 0; /* Match mobile spacing */
        padding-left: 0; /* Remove padding */
        border-left: none; /* Remove separator */
    }
    .main-nav .nav-links .admin-link a {
        font-size: 1.75rem; /* Match mobile font size */
        font-weight: 300;
        color: #333; /* Match mobile color */
    }
}