body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0c1111;
    padding-top: 80px;
	z-index: 1;
}
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%;
    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: underline;
	margin: 0 auto; /* Center the block */
}

/* Ensure section stays within 1200px boundary */
.section, .section2, .section3, .section4 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; /* Centers the section */
    text-align: left;
    padding: 50px;
    box-sizing: border-box; /* Ensures padding does not exceed 1200px width */
}

/* SPECIFIC PADDING FOR EACH SECTION */
.section { padding: 50px; }
.section2 { padding: 50px; }
.section3, .section4 { padding: 50px; }

/* REMOVE DEFAULT SPACING BETWEEN SECTIONS */
.section + .section,
.section2 + .section2,
.section3 + .section3,
.section4 + .section4 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* SUBSECTION - FLEXBOX FOR BETTER LAYOUT */
.subsection {
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    gap: 30px; /* Removes spacing between items */
    align-items: flex-start; /* Aligns items to the left */
    margin: 0;
    padding: 0;
}

/* SUBSECTION HEADING */
.heading-subsection {
    font-size: 28px;
    font-weight: bold;
    margin: 0; /* Removes any extra margin */
    padding: 0;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    color: #ECDFCC;
	margin-bottom: 20px;
	text-decoration: underline;
}

/* DETAILS STYLING */
.details {
    font-size: 18px;
    line-height: 1.2; /* Reduces line spacing */
    max-width: 600px;
    color: #ECDFCC;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    margin: 0;
    padding: 0;
}

/* FILM NAMES */
.name {
    font-style: italic;
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 20px;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    display: block;
    margin: 0;
    padding: 0;
    color: lightcoral;
}

/* REMOVE SPACING FROM HEADINGS */
h3, h6 {
    margin: 0;
    padding: 0;
}


.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;
    }


    .section, .section2, .section3, .section4 {
        max-width: 100%; /* Use full width on smaller screens */
        padding: 20px; /* Reduce padding for mobile */
    }


    /* Adjust heading sizes */
    .heading-subsection {
        font-size: 24px; /* Slightly smaller on mobile */
        margin-bottom: 15px;
    }

    /* Reduce font size for better readability */
    .details {
        font-size: 16px;
        max-width: 100%; /* Allow full width on smaller screens */
    }

    .name {
        font-size: 18px; /* Slightly smaller for better fit */
    }

    /* Subsection spacing adjustments */
    .subsection {
        gap: 20px; /* Slightly smaller spacing between items */
    }
    footer {
        font-size: 12px;
        padding: 10px 0;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
.hero {
    font-size: 12vh;

}
    .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;
    }
}