/* VARIABLES */
:root {
    --white: #F2F1F3;
    --dark-red: #8C191F;
    --light-red: #C04E64;
    --body-text: #191818;
    --accent-green: #565b31;
}

/* EXTRA - Font Styles */
.caveat {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

/* General */
body {
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--white);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--body-text);
}

h1 {
    font-family: 'Caveat', cursive;
    color: var(--dark-red);
}

.title {
    font-size: 48px;
    color: var(--dark-red);
    text-transform: lowercase;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark-red);
    padding: 10px 50px;
    height: 70px;
    z-index: 1000;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-weight: 300;
}

.nav-links .active {
    font-weight: bold;
}

.logo {
    margin-left: auto;
}

.logo img {
    height: 50px;
}

/* Hero Section */
.hero {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    z-index: 10;
    transition: opacity 0.5s ease;
}

.hero h1 {
    max-width: 80%;
    margin: 10px 0;
    font-size: 64px;
}

.hero p {
    max-width: 80%;
    margin: 10px 0;
    font-size: 30px;
}

/* Portfolio Section */
.portfolio {
    margin-top: 30px;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    display: block;
}

.coming-soon {
    background-color: #2e2e2e; /* dark grey background */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    font-size: 1.5em;
    font-weight: bold;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

/* Project Section */
.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 80%;
    margin: auto;
}

#project-intro, #project-information, #created-with {
    margin: 40px;
}

#created-with {
    text-align: center;
}

#project-name {
    margin-top: 120px;
    font-size: 40px;
    font-weight: bold;
    color: var(--dark-red);
    text-align: center;
}

#project-intro, #project-information, #created-with, #moreInformation, #moreInformation2, #image1, #image2, #image3, #image4, #image5 {
    max-width: 800px;
}

.main-image {
    width: 100%;
    max-width: 900px;
    height: auto; /* or set a fixed height like 500px if needed */
    object-fit: cover;
    margin: 20px 0;
    display: block;
}


/* Button */
.button, button {
    display: inline-block;
    width: auto;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--light-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    border: 2px solid var(--dark-red);
    align-content: center;
}

.button:hover, button:hover {
    background-color: var(--dark-red);
    border-color: var(--white);
}

.container {
    text-align: center;
  }

/* Footer */
footer {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.social-links a {
    text-decoration: none;
    color: var(--accent-green);
    font-size: 20px;
    font-weight: bold;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

/* About Section */
.about {
    margin: 10px;
    padding: 20px;
    text-align: justify;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    align-items: center; 
    gap: 32px; 
    margin: 0 auto; 
    padding: 32px;
}

.about-image img {
    width: 100%; 
    max-width: 400px; 
    display: block;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
}

.about-text h1 {
    font-size: 48px;
    color: var(--dark-red);
    margin-bottom: 15px;
    text-align: center;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body-text);
}

/* Contact Section */
#contact {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-top: 50px;
    padding: 50px 20px;
}

#contact p { 
    margin-bottom: 15px;
    text-align: center; 
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    text-align: left; 
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--dark-red);
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Hamburger Menu (Hidden by Default) */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--white);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 20px;
    background-color: var(--dark-red);
    width: 200px;
    border: 2px solid var(--accent-green);
    border-radius: 25px;
    padding: 10px;
    text-align: center;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 10px;
    display: block;
}

.mobile-menu a:hover {
    background: var(--light-red);
}

.mobile-menu .active {
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .mobile-menu.show {
        display: flex;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 20px;
    }

    .portfolio {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr; 
        margin-top: 40px;
    }

    #contact {
        margin: auto;
        margin-top: 30px;
        padding: 60px;
    }
}