/* Larger send button text for contact form */
.contact-form button {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
}

/* Dark contact form fields */
.contact-form input,
.contact-form textarea {
    background: #2a2a2a;
    color: #f4f4f4;
    border: 1px solid #555;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}
/* styles.css for Kieran Gillott's website */
:root {
    --primary-color: #333;
    --secondary-color: #555;
    --accent-color: #888;
    --background-color: #333;
    --text-color: #f4f4f4;
    --header-font: 'Roboto', sans-serif;
    --body-font: 'Roboto', sans-serif;
}
body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    font-size: 1.3rem;
    font-size: 1rem;
}
/* Modern Hero Section */
.hero {
    background: linear-gradient(to bottom, #444 0%, #111 100%), url('https://as1.ftcdn.net/v2/jpg/05/14/95/12/1000_F_514951224_2dxMLbIw5qNRdPGD003chpbVcxWtcp7K.jpg') no-repeat center center/cover;
    filter: grayscale(1);
    min-height: 50vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(224,231,255,0.7) 0%, rgba(244,244,244,0.5) 100%);
    z-index: 1;
}
.hero-glass {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.25);
    border-radius: 32px;
    box-shadow: none;
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    margin: 2rem auto 0 auto;
    backdrop-filter: blur(12px);
    animation: fadeInDown 1.2s cubic-bezier(.25,.8,.25,1) forwards;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-title {
    font-size: 2.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #222;
    margin: 0.6rem 0 0.5rem 0;
    text-shadow: 0 4px 16px rgba(0,0,0,0.18);
    letter-spacing: 1px;
    text-align: center;
}
.hero-tagline {
    font-size: 1.1rem;
    color: #444;
    margin: 0.5rem 0 0.5rem 0;
    font-family: 'Roboto', sans-serif;
    opacity: 0.85;
    text-align: center;
}
.hero-icon {
    display: block;
    margin: 0 auto 0.6rem auto;
}
@media (max-width: 768px) {
    .hero-glass {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-tagline {
        font-size: 1rem;
    }
}
nav {
    display: flex;
    justify-content: center;
    background-color: rgba(51,51,51,0.7);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}
nav a {
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    transition: background-color 0.3s;
}
nav a:hover {
    background-color: var(--secondary-color);
}
section {
    padding: 2rem;
    margin: 1rem;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.container {
    max-width: 1200px;
    margin: auto;
}
.about-me, .contact-me, .home-lab, .certifications {
    margin-bottom: 2rem;
}
footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #111;
    color: #f4f4f4;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
form {
    display: flex;
    flex-direction: column;
}
form input, form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #555;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #2a2a2a;
    color: #f4f4f4;
}

.contact-form button {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
}
form button {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}
form button:hover {
    background-color: var(--secondary-color);
}
.projects, .certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.project, .certification {
    background-color: #222;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
}
.project img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 16px 16px 0 0;
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
    z-index: 1;
}
.project-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    min-height: 200px;
    max-width: 90vw;
    background: #181818;
    color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    transition: opacity 0.3s, transform 0.3s;
    padding: 2rem 1rem;
    overflow-y: auto;
    box-shadow: 0 12px 32px rgba(0,0,0,0.22);
    border-radius: 18px;
    z-index: 10;
}
.project:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 2;
}
.project:hover img {
    filter: blur(2px) brightness(0.7);
    transform: scale(1.08);
}
.project:hover .project-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}
.project h3, .project p {
    margin: 0.5rem 0;
}
.project h3 {
    font-size: 1.3rem;
    font-weight: bold;
}
.project p {
    font-size: 1rem;
    color: #ccc;
}
.icon {
    color: var(--accent-color);
    margin-right: 0.5rem;
}
.project-header {
    font-size: 1.1rem;
    font-weight: bold;
    background: #333;
    color: #f4f4f4;
    padding: 0.5rem 0;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}
