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

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #ffffff;
    --text-color: #212529;
    --light-text-color: #6c757d;
    --border-color: #dee2e6;
    --hover-color: #0056b3;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    height: 100%;
    color: var(--text-color);
    background-color: var(--background-color);
}

header {
    height: 80px;
    padding: 0 5%;
    background-color: var(--background-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

main {
    padding-top: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5% 50px;
}

.content, #projects, .google-form {
    margin-bottom: 60px;
}

h1 {
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--text-color);
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--text-color);
}

p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--light-text-color);
}

#projects {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.project {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    transition: box-shadow 0.3s ease;
}

.project:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.project h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px; /* Adjust this value as needed */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.fullscreen-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

#close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.google-form {
    height: 600px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .project {
        padding: 20px;
    }

    .carousel {
        height: 300px;
    }

    .carousel-item {
        height: 300px;
    }
}
