body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0c1111;
    text-align: center;
    padding-top: 80px;
	z-index: 1;
}

/* Ensure full-page height so footer stays at bottom */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
	overflow-x: hidden;
}

/* Wrapper ensures footer is pushed to the bottom */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* HEADER - FIXED TO THE TOP */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px 30px; /* Adjust padding for better spacing */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* LOGO - ENSURE PROPER ALIGNMENT */
.logo {
    display: flex;
    align-items: center; /* Ensures the logo is vertically centered */
    height: 50px; /* Match nav height */
}

.logo img {
    height: 35px; /* Adjust to match nav height */
    width: auto;
    display: block;
}

.hero {
    margin-top: 50px;
	padding-top: 2%;
	padding-bottom: 2%;
    font-size: 120px;
    font-weight: bolder;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    font-style: italic;
    color: #ECDFCC;
    text-align: left; /* Ensures text stays aligned left */
    max-width: 1200px; /* Keeps content width same as header */
    margin-left: auto; /* Centers the block */
    margin-right: auto; /* Centers the block */
}

.read-more {
    margin: 20px;
    color: lightcoral;
    text-decoration: none;
}

/* MENU BUTTONS */
.menu {
    margin: 20px;
}

.tab-button {
    background-color: #ECDFCC;
    color: #1E201E;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.tab-button:hover,
.tab-button.active {
    background-color: lightcoral;
    color: white;
}

/* Contact section container - Centering */
.contact-container {
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center; /* Centering horizontally */
    gap: 50px; /* Adds space between text and image */
    padding: 20px;
}

/* Contact info */
.contact-info {
    font-size: 22px;
    color: lightcoral;
    text-align: left;
    font-weight: 500;
    line-height: 1.6;
    max-width: 45%;
}


/* Contact links */
.contact-info a {
    color: #ECDFCC;
    text-decoration: none;
    font-weight: bold;
	
}

.contact-info a:hover {
	color: lightcoral; /* Change text color */
    transform: scale(1);
	
}

/* Profile picture */
.picture img {
    width: 400px;
    height: 550px;
    object-fit: cover;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
}



.projects {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px;
	color: #ECDFCC;
}

.project {
    width: 300px;
    text-align: center;
}

.project img {
    width: 100%;
    border-radius: 10px;
}

.project-title {
    font-weight: bold;
    margin-top: 10px;
}
/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center; /* Ensures text aligns with logo */
    gap: 20px;
}

/* NAVIGATION TEXT */
.nav-links a {
    text-decoration: none;
    color: #ECDFCC;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}
/* Hover effect */
.nav-links a:hover {
    color: lightcoral; /* Change text color */
    transform: scale(1); /* Slightly enlarge */
}

/* HAMBURGER MENU - HIDDEN ON DESKTOP */
.hamburger-menu {
    display: none;
    position: relative;
    z-index: 110;
}

#hamburger-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    z-index: 110;
	color: #ECDFCC;
}

/* FULLSCREEN MOBILE NAVIGATION */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1E201E;
    z-index: 50;
    display: none;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    justify-content: center;
}

.mobile-nav a {
    display: block;
    text-decoration: none;
    color: #ECDFCC;
    font-weight: bold;
    font-size: 44px;
    margin: 30px 0; /* Adds spacing between items */
}

/* HOVER EFFECT FOR MOBILE MENU */
.mobile-nav a:hover { /* Background color change */
    color: lightcoral; /* Change text color */
    transform: scale(1); /* Slightly enlarges */
}

/* Content grows to push the footer down */
.content {
    flex-grow: 1;
}

/* Footer - Stays at the bottom */
footer {
    width: 100%;
    text-align: center;
    color: #ECDFCC;
    font-size: 14px;
    padding: 10px 0;
    margin-top: auto;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10vh;
    font-size: 14px;
    color: #ECDFCC;
    text-align: center;
    flex-wrap: wrap;
}

.footer-left {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 15px;
	font-weight: bold;
}

.footer-center {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-right {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-weight: bold;
    font-size: 15px;
}
/* RESPONSIVE STYLES - MOBILE VIEW */
/* RESPONSIVE FIX FOR MOBILE */
@media (max-width: 768px) {
    header {
        padding: 15px 20px; /* Adjust padding for smaller screens */
    }
.mobile-nav {
    display: flex;
}
    .logo img {
        height: 30px; /* Reduce logo size for mobile */
		padding-left: 20px;
    }

    .nav-links {
        display: none; /* Hide normal navigation */
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu */
		padding-right: 25px;
	}
    .gallery {
        flex-direction: column;
        align-items: center;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    }
    .gallery {
        grid-template-columns: repeat(1, 1fr); /* 1 image per row */
    }
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .contact-info {
        max-width: 100%;
    }

    .picture img {
        width: 100%;
        height: auto;
        max-width: 400px;
    }
    footer {
        font-size: 12px;
        padding: 10px 0;
    }
	.hero {
		font-size: 12vh;
	}
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
		padding: 0px;;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 6px; /* Lisää hieman tilaa rivien väliin */
    }

    .footer-left,
    .footer-center,
    .footer-right {
        font-size: 14px;
    }
}