/*
Theme Name: Klunsen2026
Author: Petri Nurmi
Version: 1.0
*/

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(https://gstatic.com) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url(https://gstatic.com) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url(https://gstatic.com) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url(https://gstatic.com) format('truetype');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; margin-top: 0px !important; }
body { margin: 0; background: #08090b; color: #f7f7f7; font-family: Inter, system-ui, sans-serif; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.wrap { width: 92%; max-width: 1120px; margin: auto; }
#wpadminbar { display: none !important; }

header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(8,9,11,0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav { height: 78px; display: flex; align-items: center; justify-content: flex-start; } /* Ändrad för att lägga allt på en rad */
.nav .logo { margin-right: auto; } /* Skjuter ut menyn och språket till höger */

/* NY LOGOSTYLING START */
.logo { display: flex !important; align-items: center !important; gap: 12px !important; font-weight: 850; font-size: 16px; }
.logo img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.logo .logo-circle { display: none !important; }
.logo .logo-text-svg { height: 55px !important; width: auto !important; border-radius: 0 !important; object-fit: contain !important; display: block !important; }
/* NY LOGOSTYLING SLUT */

.navlinks { display: flex; align-items: center; gap: 25px; font-size: 14px; color: #d8dbe0; margin-right: 25px; } /* Lagt till marginal för avstånd till språket */
.navlinks a:hover { color: #fff; }
.navcta { background: #fff; color: #08090b; padding: 11px 17px; border-radius: 9px; font-weight: 800; }

.hero { min-height: 850px; padding: 155px 0 90px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 2.8px; text-transform: uppercase; color: #aeb4bd; }
h1 { font-size: 64px; line-height: 0.98; letter-spacing: -4px; margin: 15px 0 25px; }
.hero p { font-size: 19px; color: #bdc2ca; max-width: 620px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { padding: 14px 21px; border: 1px solid #3b3f46; border-radius: 10px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.btn.primary { background: #fff; color: #08090b; border-color: #fff; }
.heroimage { position: relative; }
.heroimage img { width: 100%; height: 650px; object-fit: cover; border-radius: 22px; display: block; }
.badge { position: absolute; left: 18px; bottom: 18px; background: rgba(8,9,11,0.9); border: 1px solid #3a3e45; border-radius: 12px; padding: 14px 16px; font-size: 13px; }

.stats { border-top: 1px solid #282c33; border-bottom: 1px solid #282c33; background: #0d0f12; }
.statsgrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 27px 24px; border-right: 1px solid #282c33; }
.stat:last-child { border-right: 0; }
.stat strong { font-size: 25px; }
.stat span { display: block; color: #9ea4ad; font-size: 13px; margin-top: 3px; }

section { padding: 105px 0; border-bottom: 1px solid #282c33; }
.sectiontop { max-width: 760px; margin-bottom: 48px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 2.5px; color: #9299a3; font-weight: 850; }
h2 { font-size: 45px; line-height: 1.05; letter-spacing: -2px; margin: 10px 0 14px; }
.sectiontop p { color: #aeb4bd; font-size: 17px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service { background: #101216; border: 1px solid #282c33; padding: 27px; border-radius: 15px; min-height: 215px; transition: 0.2s; }
.service:hover { transform: translateY(-4px); border-color: #454a52; }
.num { font-size: 12px; color: #777f89; font-weight: 800; }
.service h3 { font-size: 20px; margin: 22px 0 8px; }
.service p { color: #aeb4bd; font-size: 14px; margin: 0; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

.aboutimg {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

@media (max-width: 560px) {
    .aboutimg {
        width: 85%;
        max-width: 320px;
        height: auto;
        margin: 0 auto;
    }
}

.about p { color: #aeb4bd; font-size: 17px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.tick { background: #101216; border: 1px solid #282c33; padding: 12px 14px; border-radius: 9px; font-size: 14px; }

.pricebox { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.pricecard { background: #fff; color: #08090b; border-radius: 18px; padding: 36px; }
.pricecard .price { font-size: 54px; font-weight: 900; line-height: 1; }
.pricecard small { color: #575b61; }
.pricecard p { color: #45484d; }
.notes { background: #101216; border: 1px solid #282c33; border-radius: 18px; padding: 30px; }
.notes h3 { margin-top: 0; }
.notes li { color: #b9bec6; margin: 10px 0; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 25px; border-top: 2px solid #fff; background: #101216; border-radius: 0 0 12px 12px; }
.step b { font-size: 12px; color: #888f99; }
.step h3 { margin: 18px 0 7px; }
.step p { margin: 0; color: #aeb4bd; font-size: 14px; }

.gallery { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 15px; }
.gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: 16px; }
.gallery img:first-child { height: 615px; grid-row: span 2; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contactcard { background: #101216; border: 1px solid #282c33; border-radius: 17px; padding: 32px; }
.contactcard h3 { font-size: 22px; margin-top: 0; }
.phone { font-size: 34px; font-weight: 900; margin: 8px 0 18px; }
.contactcard p { color: #aeb4bd; }

footer { padding: 32px 0; color: #777d86; font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.mobile { display: none; }

@media (max-width: 850px) {
    .navlinks { display: none; }
    .mobile { display: block; border: 1px solid #333; border-radius: 8px; padding: 8px 11px; cursor: pointer; }
    .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 125px; }
    .heroimage img { height: 500px; }
    .statsgrid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid #282c33; }
    .stat:last-child { border-bottom: 0; }
    .services { grid-template-columns: 1fr 1fr; }
    .about, .pricebox, .contact { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .gallery img:first-child { height: 430px; grid-row: auto; }
}

@media (max-width: 560px) {
    h1 { font-size: 42px; letter-spacing: -2px; }
    h2 { font-size: 32px; }
    .hero { padding-bottom: 65px; }
    .heroimage img { height: 430px; }
    section { padding: 75px 0; }
    .services, .process, .ticks, .gallery { grid-template-columns: 1fr; }
    .gallery img:first-child { height: 430px; }
    .gallery img { height: 260px; }
}

/* Ny ultrastark styling för språkväljaren i headern */
.lang-switch-header {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 25px !important;
    position: relative !important;
    z-index: 9999 !important; /* Tvingar länken att ligga ÖVER den osynliga mobilmenyn */
}

/* Grundstyling för språklänkarna */
.lang-switch-header a {
    color: #d8dbe0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    transition: color 0.2s !important;
    text-decoration: none !important;
    display: inline-block !important;
}
.lang-switch-header a:hover {
    color: #fff !important;
}

/* BRUTAL KOD: Gömmer det aktiva språket baserat på TranslatePress egna klasser */
.lang-switch-header .trp-ls-shortcode-current-language {
    display: none !important; /* Döljer det språk som är aktivt just nu */
}
.lang-switch-header .trp-with-toggle {
    padding: 0 !important;
}

/* DÖLJ PILEN (^): Tar bort TranslatePress inbyggda pil-ikon helt och hållet */
.lang-switch-header .trp-ls-shortcode-current-language::after,
.lang-switch-header .trp-language-switcher::after,
.lang-switch-header a::after {
    display: none !important;
    content: "" !important;
}

/* Tvinga bort stapling, rullgardinsmenyer och dolda listelement på ALLA sidor */
.lang-switch-header .trp-language-switcher,
.lang-switch-header .trp-language-switcher > div,
.lang-switch-header .trp-ls-shortcode-language,
.lang-switch-header ul,
.lang-switch-header li {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    list-style: none !important;
    position: static !important; /* Förhindrar dolda rullgardinsmenyer */
}

/* Dölj alla automatiska flaggbilder fullständigt */
.lang-switch-header img, 
.lang-switch-header .trp-flag-icon {
    display: none !important;
}

/* Mobil- och surfplattejustering (skärmar under 850px) */
@media (max-width: 850px) {
    .lang-switch-header {
        margin-left: auto !important;
        margin-right: 20px !important; /* Skapar ett perfekt mellanrum till ☰-ikonen */
        display: inline-flex !important;
    }
    .lang-switch-header a {
        font-size: 15px !important;
        padding: 10px !important; /* Gör klickytan större så den är lättare att pricka med fingret */
    }
}
/* TILLFÄLLIGT: Gömmer hela språkväljaren tills översättningen är klar */
.lang-switch-header {
    display: none !important;
}
@media (min-width: 851px) {
    .aboutimg {
        width: 60%;
        height: auto;
        margin: 0 auto;
    }
}
.hero.hero-stacked {
    display: block;
    min-height: auto;
    padding: 140px 0 65px;
}

.hero-stacked .heroimage {
    width: 100%;
    max-width: 600px;
    margin: 35px auto 0;
}

.hero-stacked .heroimage img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 560px) {
    .hero.hero-stacked {
        padding-top: 115px;
    }

    .hero-stacked .badge {
        position: static;
        margin-top: 12px;
    }
}
@media (max-width: 560px) {
    .pricecard .price {
        font-size: 38px;
    }
}