/* --- YLEISET TYYLIT JA FONTTIEN ASETUKSET --- */
:root {
    --color-dark-bg: #1A1A1A; /* Lähes musta tausta */
    --color-text-light: #EEEEEE; /* Vaalea harmaa teksti */
    --color-accent: #82A9AD; /* Neon-sininen/turkoosi korostusväri */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    background-color: var(--color-dark-bg);
    text-align: center;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    text-transform: uppercase;
}

p {
    line-height: 1.5;
}

/* --- CTA LINKKIEN TYYLIT (TEL: ja MAILTO:) --- */
.cta-link {
    color: var(--color-text-light); /* Käytä samaa vaaleaa väriä kuin muu teksti */
    text-decoration: none; /* Poistaa alleviivauksen */
    transition: color 0.2s ease;
}

.cta-link:hover {
    color: var(--color-accent); /* Korostaa, kun hiiri on päällä */
}

/* --- TUKES LINKIN TYYLIT (UUSI) --- */
.tukes-link {
    /* Perii h3-elementin fontti- ja koko-ominaisuudet */
    font-family: var(--font-heading);
    font-size: 3em; 
    text-transform: uppercase;
    
    /* Värimääritykset */
    color: var(--color-accent); /* Korostusväri Tukes-tekstille */
    text-decoration: none; /* Poistaa linkin alleviivauksen */
    transition: color 0.2s ease;
    display: inline-block; /* Tarvitaan, jotta fonttiperimä toimii paremmin */
}

.tukes-link:hover {
    color: var(--color-text-light); /* Muuttaa väriä, kun osoitin on päällä */
}

/* --- 1. HERO SECTION (PÄÄOSIO) --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Taustakuvan placeholder ja tumma overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* HUOM: Korvaa placeholder-URL omalla taustakuvallasi! */
    background: url('https://www.iisisahko.fi/img/hero_background.png') no-repeat center center/cover;
    filter: blur(0px) brightness(0.7);
    z-index: ;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 10, 30, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 5px;
}

.hero-content .subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 60px;
    letter-spacing: 3px;
    color: var(--color-accent);
}

.hero-icon, .warning-icon {
    font-size: 2.5em;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.warning-text {
    max-width: 450px;
    margin: 0 auto;
    font-size: 0.9em;
    padding: 70px;
    border: 0px solid var(--color-accent);
}

/* --- 2. INFO SECTION (PALVELU/YHTEYSTIEDOT) --- */
.info-section {
    padding: 80px 20px;
    background-color: var(--color-dark-bg);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 40px;
}

.info-column {
    flex: 1;
    max-width: 500px;
    padding: 40px;
}

.info-column h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.info-column p {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.info-icon {
    font-size: 3em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* --- 3. FOOTER (ALAOSA) --- */
.site-footer {
    position: relative;
    padding: 80px 20px;
    background-color: var();
    overflow: hidden;
}

/* Taustakuvan placeholder ja overlay footerille */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* HUOM: Korvaa placeholder-URL omalla taustakuvallasi! */
    background: url('https://www.iisisahko.fi/img/footer_background.png') no-repeat center center/cover;
    filter: blur(0px) brightness(0.5);
    z-index: ;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 50, 0.4);
    z-index: -1;
}

.footer-content {
    z-index: 1;
    position: relative;
}

/* H3-elementin tyylit poistettu ja siirretty tukes-link-luokkaan */
.footer-content h3 {
    margin-bottom: 10px;
    /* Piilotetaan h3:n oma tyyli, jotta linkki voi hallita ulkoasua */
    font-size: 0; 
}


.footer-content p {
    font-size: 1em;
    font-weight: 300;
}

/* style.css - oletus koko (esim. työpöytä) */
.tukes-logo {
	max-width: 100px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* --- RESPONSIIVISUUS (Mobiilinäkymä) --- */
@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 3em;
    }

    .hero-content .subtitle {
        font-size: 1em;
        letter-spacing: 2px;
        margin-bottom: 40px;
    }

    /* Info-osion sarakkeet pinoutuvat allekkain */
    .info-container {
        flex-direction: column;
    }

    .info-column {
        padding: 20px 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    /* Pienempi fonttikoko Tukes-linkille mobiilissa */
    .tukes-link {
        font-size: 2em;
    }
	
	@media (max-width: 600px)  {
		
	.tukes-logo {
        max-width: 70px;
    }
}
