/* ==========================================
   KOVAPESU PREMIUM
   STYLE.CSS
========================================== */

/* Google Fonts:
Cinzel
Inter
*/

:root{

    --gold:#c7ab7b;
    --gold-light:#e2c997;
    --black:#090909;
    --dark:#111111;
    --card:#171411;
    --text:#f5f5f5;
    --gray:#cfcfcf;
    --border:rgba(199,171,123,.25);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--black);
    color:var(--text);

    font-family:'Inter',sans-serif;

    line-height:1.7;

    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,92%);
    margin:auto;

}

/* ==========================================
   HEADER
========================================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:transparent;
    transition:all .35s ease;
}

.navbar{
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    transition: .35s;
}



.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

}

.nav-links a{

    color:white;

    font-size:16px;

    font-weight:600;

    letter-spacing:.4px;

    position:relative;

    transition:all .35s ease;

}

header.scrolled .nav-links a{

    font-size:14px;

}

.nav-links a:hover{

    color:var(--gold);

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

.nav-button{

    background:var(--gold);

    color:#111;

    padding:15px 28px;

    border-radius:8px;

    font-weight:700;

    transition:.3s;

}

.nav-button:hover{

    background:var(--gold-light);

    transform:translateY(-3px);

}

/* ==========================================
   YLEISET SECTIONIT
========================================== */

section{

    padding:110px 0;

}

section h2{

    font-family:'Cinzel',serif;

    font-size:48px;

    color:var(--gold);

    text-align:center;

    margin-bottom:60px;

}

section p{

    color:#d8d8d8;

}

/* ==========================================
   HERO
========================================== */

.hero{

    position:relative;

    min-height:85vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.65)
    ),
    url("../images/hero.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    overflow:hidden;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:radial-gradient(

        circle,

        transparent 10%,

        rgba(0,0,0,.25) 65%,

        rgba(0,0,0,.75) 100%

    );

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:1000px;

    padding:80px 40px;

}

.hero-top{

    color:var(--gold);

    font-size:15px;

    letter-spacing:5px;

    margin-bottom:25px;

    font-weight:600;

}

.hero h1{

    font-family:'Cinzel',serif;

    font-size:92px;

    line-height:1.05;

    font-weight:900;

    margin-bottom:10px;

}

.hero h1 span{

    color:var(--gold);

}

.hero h2{

    font-family:'Cinzel',serif;

    font-size:96px;

    color:var(--gold);

    margin-bottom:25px;

    line-height:1;

}

.hero-text{

    max-width:820px;

    margin:0 auto 45px;

    font-size:22px;

    color:#e2e2e2;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.primary-btn{

    background:var(--gold);

    color:#111;

    padding:18px 38px;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.primary-btn:hover{

    background:var(--gold-light);

    transform:translateY(-4px);

}

.secondary-btn{

    border:2px solid var(--gold);

    color:var(--gold);

    padding:18px 38px;

    border-radius:10px;

    font-weight:700;

    transition:.3s;

}

.secondary-btn:hover{

    background:var(--gold);

    color:#111;

}

/* ==========================================
   PALVELUT
========================================== */

.services{

    background:#101010;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.card{

position:relative;
overflow:hidden;

    background:linear-gradient(180deg,#1d1d1d,#151515);

    border:1px solid rgba(212,175,55,.15);

    border-radius:18px;

    padding:40px 30px;

    text-align:center;

    transition:all .35s ease;

    box-shadow:0 15px 40px rgba(0,0,0,.20);

}

.card::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        transparent 0%,
        rgba(255,255,255,.05) 50%,
        transparent 100%
    );

    opacity:0;

    transition:.35s;

    pointer-events:none;

}

.card:hover::after{

    opacity:1;

}

.card::before{

    content:"";

    position:absolute;

    top:-50%;

    left:-150%;

    width:70%;

    height:220%;

    background:linear-gradient(
        115deg,
        transparent 0%,
        rgba(255,255,255,.22) 48%,
        rgba(255,255,255,.45) 50%,
        rgba(255,255,255,.22) 52%,
        transparent 100%
    );

    transform:rotate(15deg);

    transition:left .9s cubic-bezier(.2,.8,.2,1);

    pointer-events:none;

}

.card:hover::before{

    left:180%;

}

.card h3{

    font-family:'Cinzel',serif;

    color:var(--gold);

    font-size:28px;

    margin-bottom:18px;

}

.card p{

    color:#d7d7d7;

    line-height:1.9;

}

/* ==========================================
   MIKSI KOVAPESU
========================================== */

.why h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: #c7ab7b;
    margin: 18px auto 0;
}

.why{

    background:#111111;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.why-grid div{

    background:var(--card);

    padding:40px;

    border-radius:18px;

    border:1px solid var(--border);

    transition:.35s;

}

.why-grid div:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.why-grid h3{

    font-family:'Cinzel',serif;

    color:var(--gold);

    font-size:30px;

    margin-bottom:18px;

}

.why-grid p{

    color:#d7d7d7;

    line-height:1.9;

}

/* ==========================================
   TOIMINTA-ALUE
========================================== */

.area{

    background:#0b0b0b;

    text-align:center;

}

.area p{

    max-width:900px;

    margin:auto;

    font-size:22px;

    line-height:2;

    color:#dddddd;

}

/* ==========================================
   TARJOUSLOMAKE
========================================== */

.contact{

    background:#101010;

}

.contact form{

    max-width:850px;

    margin:auto;

    display:grid;

    gap:20px;

}

.contact input,
.contact select,
.contact textarea{

    width:100%;

    padding:18px;

    border-radius:10px;

    border:1px solid #2c2c2c;

    background:#090909;

    color:white;

    font-size:16px;

    transition:.3s;

    font-family:'Inter',sans-serif;

}

.contact textarea{

    min-height:180px;

    resize:vertical;

}

.contact input:focus,
.contact select:focus,
.contact textarea:focus{

    outline:none;

    border-color:var(--gold);

    box-shadow:0 0 0 3px rgba(199,171,123,.15);

}

.contact button{

    background:var(--gold);

    color:#111;

    border:none;

    border-radius:10px;

    padding:20px;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.contact button:hover{

    background:var(--gold-light);

    transform:translateY(-3px);

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#050505;

    border-top:1px solid var(--border);

    padding:70px 20px;

    text-align:center;

}

.footer-logo{

    width:180px;

    margin:0 auto 30px;

}

footer p{

    color:#cccccc;

    margin:10px 0;

    font-size:17px;

}

/* ==========================================
   WHATSAPP-PAINIKE
========================================== */

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    background:#25D366;

    color:white;

    padding:16px 24px;

    border-radius:50px;

    font-weight:700;

    box-shadow:0 15px 35px rgba(0,0,0,.35);

    transition:.3s;

    z-index:999;

}

.whatsapp:hover{

    transform:translateY(-5px) scale(1.05);

}

/* ==========================================
   ANIMAATIOT
========================================== */

.hidden{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}

header.scrolled{

    background:#050505;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}

/* ==========================================
   MOUSE HOVER
========================================== */

.card,
.nav-button,
.primary-btn,
.secondary-btn,
.contact button{

    transition:all .3s ease;

}

.card:hover{

    transform:translateY(-12px) scale(1.03);

    border-color:var(--gold);

    box-shadow:
        0 25px 60px rgba(0,0,0,.40),
        0 0 35px rgba(212,175,55,.18);

}

/* ==========================================
   RESPONSIIVISUUS
========================================== */

@media (max-width:1100px){

    .navbar{

        flex-direction:column;

        gap:20px;

    }

    .nav-links{

        flex-wrap:wrap;

        justify-content:center;

    }

}

@media (max-width:768px){

   

    .hero{

        padding:120px 20px 60px;

    }

    .hero h1{

        font-size:50px;

    }

    .hero h2{

        font-size:62px;

    }

    .hero-top{

        font-size:13px;

        letter-spacing:2px;

    }

    .hero-text{

        font-size:18px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .primary-btn,
    .secondary-btn{

        width:100%;

        max-width:320px;

        text-align:center;

    }

    section{

        padding:80px 20px;

    }

    section h2{

        font-size:36px;

    }

    .cards{

        grid-template-columns:1fr;

    }

    .why-grid{

        grid-template-columns:1fr;

    }

    .contact form{

        gap:16px;

    }

    .footer-logo{

        width:140px;

    }

}

@media (max-width:480px){

    .hero h1{

        font-size:42px;

    }

    .hero h2{

        font-size:52px;

    }

    .nav-links{

        gap:16px;

    }

    .nav-links a{

        font-size:14px;

    }

    .whatsapp{

        right:15px;

        bottom:15px;

        padding:14px 18px;

        font-size:14px;

    }

}

.nav-links a.active{

    color:var(--gold);

}

.nav-links a.active::after{

    width:100%;

}

header.scrolled{
    background:rgba(10,10,10,.82);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 10px 35px rgba(0,0,0,.35);
    border-bottom:1px solid rgba(255,255,255,.08);
}

header.scrolled .navbar{
    padding:6px 40px;
}

.logo{
    width:180px;
    max-width:180px;
    height:auto;
    display:block;
    transition:all .4s ease;
}

header.scrolled .logo{
    width:135px;
    max-width:135px;
}

header.scrolled .nav-button{

    padding:12px 22px;

    font-size:14px;

}

header.hide{
    transform:translateY(-100%);
}

header{
    transition: all .35s ease;
}

header.hide{
    transform: translateY(-100%);
}

.card-icon{

    width:78px;
    height:78px;

    margin:0 auto 24px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:rgba(212,175,55,.08);

    border:1px solid rgba(212,175,55,.25);

    color:var(--gold);

    font-size:34px;

    transition:all .35s ease;

}

.card:hover .card-icon{

    transform:translateY(-6px) rotate(8deg) scale(1.08);

    background:var(--gold);

    color:#111;

}


.cards .card:nth-child(1){
    background-image:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../images/services/window.png");
}

.cards .card:nth-child(2){
    background-image:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../images/services/company.png");
}

.cards .card:nth-child(3){
    background-image:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../images/services/apartment.png");
}

.cards .card:nth-child(4){
    background-image:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../images/services/balcony.png");
}

.cards .card:nth-child(5){
    background-image:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../images/services/solar.png");
}

.cards .card:nth-child(6){
    background-image:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../images/services/gutter.png");
}

.card{
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.why-grid div:nth-child(1){
    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.75)),
    url("../images/why/trust.png");

    background-size: cover;
    background-position: center 75%;
    background-repeat: no-repeat;
}

.why-grid div:nth-child(2){
    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.75)),
    url("../images/why/quality.png");

    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
}

.why-grid div:nth-child(3){
    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.75)),
    url("../images/why/professional.png");

    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
}

.why-grid div{
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}


/* ==========================================
   ASIAKASPALAUTTEET
========================================== */

.reviews{

    background:#0b0b0b;

}

.review-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.review-card{

    background:#171717;

    border:1px solid rgba(212,175,55,.15);

    border-radius:20px;

    padding:40px;

    transition:.35s;

}

.review-card:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.stars{

    color:#FFD700;

    font-size:26px;

    margin-bottom:20px;

    letter-spacing:3px;

}

.review-card p{

    color:#dddddd;

    line-height:1.9;

    margin-bottom:25px;

    font-size:17px;

}

.review-card h4{

    color:var(--gold);

    font-family:'Cinzel',serif;

    font-size:18px;

}

.why h2 {
    font-family: "Cinzel", serif;
    font-size: 52px;
    font-weight: 700;
    color: #c7ab7b;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-family: "Cinzel", serif;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #c7ab7b;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    line-height: 1.2;
}



