/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-bg-color: #ffffff;
    --project-title-bg: #0ed2f7;
    --text-color: #222222;
    --heading-color: #000000;
    --hover-color: #556b2f;
    --border-color: #000000;
    --input-border-color: #d1d1d1;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--main-bg-color);
}

/* Header styles */
header {
    background-color: #B2FEFA;
    color: var(--heading-color);
    padding: 1rem 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 1rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.back-to-skills {
    font-size: 0.9rem;
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-skills:hover {
    color: var(--hover-color);
}

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

nav ul li {
    margin-left: 1rem;
}

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

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

h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
    color: var(--heading-color);
}

/* Main content styles */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.project {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-images {
    display: flex;
    justify-content: space-between;
    height: 300px;
}

.project-images img {
    width: 49.5%;
    object-fit: cover;
}

.project h2 {
    font-size: 2rem;
    padding: 1.5rem;
    background-color: var(--project-title-bg);
    color: #ffffff;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background-color: #0ed2f7;
    padding: 2px;
    border-radius: 8px;
    overflow: hidden;
}

.detail {
    background-color: white;
    padding: 1.5rem;
    border-radius: 6px;
}

.detail h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.detail p {
    font-size: 1rem;
    color: var(--text-color);
}

/* Footer styles */
footer {
    background-color: rgba(14, 210, 247, 0.1);
    color: var(--heading-color);
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .project-images {
        flex-direction: column;
        height: auto;
    }

    .project-images img {
        width: 100%;
        height: 200px;
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}

/* Form styles (if you have any forms) */
input, textarea {
    border: 1px solid var(--input-border-color);
    color: var(--text-color);
}

/* Additional hover effects */
.project:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.detail h3:hover {
    color: var(--hover-color);
    transition: color 0.3s ease;
}