body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0c1111;
    text-align: center;
    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;
}
/* RESPONSIVE VIDEO EMBED */
.photo-container {
    position: relative;
	padding-top: 100px;
    width: 100%;
    max-width: 1200px; /* Matches header width */
    margin: 0 auto; /* Centers the video */
}

.photo-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9; /* Ensures proper scaling */
}

.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: 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 {
    background-color: lightcoral;
    color: white;
}

/* Active button styling */
.tab-button.active {
    background-color: lightcoral;
    color: white;
}


/* Change Image Size */
.gallery img {
    width: 37.037vh; /* Adjust width as needed */
    height: auto;
}

.gallery video {
    width: 50vh; /* Adjust width as needed */
    height: auto;
}

.media img {
    width: 400px; /* Adjust width for Feature & Commercials */
    height: auto;
}

/* Video section fix */
.content-container {
    display: flex;
    max-width: 1600px;
    margin: auto;
    padding: 3px;
	gap: 4px;
}

.video-wrapper {
    position: relative;
    width: 50vh;
    height: auto;
    aspect-ratio: 16/9;
    overflow: visible !important; /* Allow video to expand beyond the container */
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    z-index: 5; /* Ensures it is above everything else */
}

/* Ensure both video and thumbnail fully cover the wrapper */
.thumbnail, .video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

/* Video starts hidden */
.video {
    opacity: 0;
    z-index: 10 !important; /* Force it to be above everything */
}

/* Ensure thumbnail is above video initially */
.thumbnail {
    z-index: 15;
}

/* On hover, show video and hide thumbnail */
.video-wrapper:hover .video {
    opacity: 1 !important;
    z-index: 20 !important;
}

.video-wrapper:hover .thumbnail {
    opacity: 0 !important;
}

/* Ensure video title is visible */
.video-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 8px 12px;
    font-size: 20px;
	font-weight: bolder;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    font-style: italic;
    color: #ECDFCC;
    border-radius: 5px;
    opacity: 1;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 23;
}

.video-wrapper:hover .video-title {
    opacity: 1;
    transform: translateY(0);
}


/* CONTENT SECTIONS */
.content-section {
    display: none;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}
.content-section h2 {
	color: #ECDFCC;
	font-size: 18px;
    font-weight: bold;
}
/* Show active section */
.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* FADE-IN EFFECT */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(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;
	z-index: 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: 1500px) {
.content-section {
    display: none; /* Hide all sections initially */
    margin: 0;
    padding: 20px;
}
}

@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;
	}
	    footer {
        font-size: 12px;
        padding: 10px 0;
    }

    .content-container {
        flex-direction: column;
        align-items: center;
		text-align: center;
    }

    .video-wrapper {
        width: 90vw;
        max-width: 100%;
    }


	.video-wrapper:hover .thumbnail {
    opacity: 1 !important;
}
.video-wrapper:hover .video {
    opacity: 0 !important;
    z-index: 14 !important;
}

	.video-title {
    font-size: 30px;

}
	
    .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;
    }
}