@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');


:root {
    --primary-color: #2a2a2a;
    --accent-color: #4a90e2;
    --link-color: #b205e6;
    --link-hover-color: #63f463;
    --background-color: #ffffff;
    --text-color: #333333;
    --heading-font: 'Roboto', Arial, sans-serif;
    --body-font: 'Roboto', Arial, sans-serif;
}

.project-link {
    color: #b205e6;
    text-decoration: none;
}

.friend-link {
    color: #056ae6;
    text-decoration: none;
}

body {
    font-feature-settings: "liga" 1;
    font-weight: 300; /* Regular weight */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    font-family: var(--body-font);
    color: var(--text-color);
}

body.home-page {
    background-image: url('../assets/pngs/title.png');
    background-size: cover; /* Scales image to cover entire area */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Image stays fixed when scrolling */
}

header {
    background-color: white;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

nav {
    background-color: white;
    padding: 1rem;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about, .projects, .contact {
    margin: 2rem 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.project-card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Project card images */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Main project image on project pages */
.project-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Project gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-image {
    width: 60%;
    height: 60%;
    object-fit: cover;
    /* transition: transform 0.2s; */
    cursor: pointer;
}

/* .gallery-image:hover {
    transform: scale(1.02);
} */

/* Ensure responsive images */
img {
    max-width: 100%;
    height: auto;
}

.pdf-container {
    width: 100%;
    height: 800px;
    margin: 2rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}

p {
    margin: 0;
    font-size: 6;
}

p.custom-space {
    margin-bottom: 0.25rem;  /* Even smaller space */
}