
:root{
  --orange:#ff6900;
  --black:#000000;
  --bg-light:#f2f2f2;
  --white:#ffffff;
  --text:#111111;
  --dark-gray:#202020;

  --max-width:1100px;
  --pad:40px;
  --radius:6px;
}

/* RESET & LAYOUT */
*{box-sizing:border-box;}
html,body{
  margin:0; padding:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#ffffff;
}
body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
main{flex:1;}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 var(--pad);
}

/* HEADER */
/* ============================================================
   TOPBAR – COMPLETE FINAL VERSION
   Baron logo left | Contact top-right | Nav bottom-right
   Background: #202020 | Texts: var(--orange)
   ============================================================ */

.topbar {
  width: 100%;
  background: #202020; /* Dark background */
  padding: 20px 0;
  position: relative;
  z-index: 100;
  box-sizing: border-box;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ------------------------
   LEFT: LOGO
------------------------- */

.topbar-left img {
  height: 70px;
  width: auto;
  display: block;
}

/* ------------------------
   RIGHT SIDE (COLUMN):
   CONTACT (TOP)
   NAVIGATION (BOTTOM)
------------------------- */

.topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ------------------------
   CONTACT ROW
------------------------- */

.topbar-contact {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar-contact a {
  color: var(--orange) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.topbar-contact span {
  color: var(--orange) !important;
  font-weight: 400;
}

/* ------------------------
   NAV MENU
------------------------- */

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--orange) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* ------------------------
   MOBILE RESPONSIVE
------------------------- */

@media (max-width: 860px) {

  .topbar {
    padding: 16px 0;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .topbar-right {
    align-items: flex-start;
  }

  .topbar-contact {
    font-size: 14px;
  }

  .main-nav ul {
    gap: 16px;
    flex-wrap: wrap;
  }
}



/* BUTTONS */
.btn{
  border:none;
  border-radius:var(--radius);
  padding:10px 22px;
  font-weight:bold;
  cursor:pointer;
  font-size:14px;
}
.btn-orange{background:var(--orange);color:var(--black);}
.btn-orange-outline{
  background:transparent;
  border:2px solid var(--orange);
  color:var(--orange);
}
.btn-black{background:var(--black);color:var(--white);}
.link-underline{
  border:none;
  background:transparent;
  color:var(--white);
  text-decoration:underline;
  font-weight:bold;
  cursor:pointer;
}

/* HERO – SHARED RUST BACKGROUND */
.hero{position:relative;}
.hero-rust{
  width:100%;
  background-image:url("images/background element rust.png");
  background-size:cover;
  background-position:center bottom;
  color:#ffffff;
}

/* Landing hero */
.page-home #hero.hero-rust{
  display:flex;
  align-items:flex-end;
}
.hero-rust-inner{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  padding:60px var(--pad) 30px;
}
.hero-rust-left{
  display:flex;
  align-items:flex-end;
}
.hero-rust-left img{
  width:100%;
  max-width:420px;
  display:block;
  align-self:flex-end;
}
.hero-rust-right{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:22px;
  align-self:center;
}
.hero-multiface-logo{
  max-width:340px;
  height:auto;
}

/* Order hero */
.page-order .order-hero{
  padding:80px 0 40px;
}
.order-hero-inner{
  color:#ffffff;
}

/* Contact hero */
.page-contact .contact-hero{
  padding:80px 0 80px;
}
.contact-hero-inner{
  color:#ffffff;
}
.contact-form-wrap{
  max-width:720px;
}

/* TITLES & TEXT */
.section-title-orange{
  color:var(--orange);
  font-size:30px;
  margin:0 0 10px;
  text-transform:uppercase;
}
.section-title-black{
  color:var(--black);
  font-size:30px;
  margin:0 0 10px;
}
.highlight{color:var(--orange);font-weight:bold;}

/* SECTIONS */
.section-standout,
.section-upgrade,
.section-pricing{
  padding:40px 0;
}
.section-standout{background:var(--bg-light);}
.section-upgrade{background:#ffffff;}
.section-pricing{background:#ffffff;}

.two-col{
  display:flex;
  align-items:center;
  gap:40px;
}
.col-text{flex:1;}
.col-media{flex:1;}

.col-media img,
.col-media video{
  width:100%;
  display:block;
  border:none;
  background:transparent;
}

/* PRICING IMAGE small tweak */
.section-pricing .col-media img{
  max-width:360px;
}

/* ORDER FORM SECTION */
.order-form-section{
  padding:40px 0 80px;
}
.order-form{
  max-width:720px;
  margin:0 auto;
  float: left;
  margin-bottom: 40px;
}

/* FORMS */
.form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.form label{
  font-size:14px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="file"],
.form textarea{
  width:100%;
  padding:9px 10px;
  border-radius:var(--radius);
  border:1px solid #ddd;
  margin-top:4px;
  font-size:14px;
  font-family:inherit;
}
textarea{resize:vertical;}
.upload-area{
  border:1px dashed #aaa;
  padding:20px 10px;
  text-align:center;
}
.terms{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
}
.mandatory-note{
  font-size:11px;
  color:#eee;
}
.page-contact .mandatory-note{
  color:#ffffff;
}

/* 3D CAROUSEL */
.section-readmore-carousel{
  padding:50px 0 40px;
  background:#ffffff;
}
.rmc-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
}

/* play-style orange arrows */
.rmc-nav {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  padding: 0;

  flex-shrink: 0;     /* estää puristumisen kapeassa näytössä */
}

.rmc-nav:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,0.3);
}

.rmc-stage{
  position:relative;
  width:700px;
  height:280px;
}

/* unified image behaviour */
.rmc-img{
  position:absolute;
  top:50%; left:50%;
  height:100%;
  max-height:280px;
  width:auto;
  object-fit:contain;
  transform:translate(-50%,-50%);
  transition:transform .3s ease, opacity .3s ease;
  border:none;
  box-shadow:none;
}

/* center image */
.rmc-center{
  z-index:3;
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}

/* side previews */
.rmc-left{
  z-index:1;
  opacity:.30;
  transform:translate(-145%,-50%) scale(.72);
}
.rmc-right{
  z-index:1;
  opacity:.30;
  transform:translate(45%,-50%) scale(.72);
}

/* FAQ */
.section-faq{
  padding:70px 0 80px;
  background:var(--bg-light);
}
.faq-intro-block{
  max-width:860px;
  margin-bottom:30px;
}
.faq-accordion{max-width:860px;}
.faq-question{
  width:100%;
  background:#ffffff;
  border-radius:var(--radius);
  border:1px solid #ccc;
  margin-bottom:4px;
  padding:10px 12px;
  font-weight:bold;
  cursor:pointer;
}
.faq-answer{
  display:none;
  background:#ffffff;
  padding:10px 12px 14px;
  margin-bottom:10px;
  font-size:14px;
}

/* FOOTER */
.site-footer{
  background:var(--black);
  color:var(--orange);
  padding:22px 0;
  font-size:13px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:30px;
}
.footer-right a{
  color:var(--orange);
  text-decoration:none;
  display:block;
  margin-bottom:4px;
}

/* POPUPS */
.popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
}
.popup[aria-hidden="false"]{
  display:flex;
}
.popup-inner{
  background:#ffffff;
  border-radius:var(--radius);
  max-width:820px;
  width:100%;
  padding:24px 26px 26px;
  position:relative;
}
.popup-close{
  position:absolute;
  right:14px;
  top:10px;
  border:none;
  background:transparent;
  font-size:22px;
  cursor:pointer;
}
.popup-title{
  color:var(--orange);
  text-align:center;
  margin:0 0 18px;
}

/* RESPONSIVE */
@media (max-width:980px){
  .topbar-inner{
    flex-wrap:wrap;
    padding:10px 0;
    padding-left: 18px;
  }
  .topbar-middle{
    order:3;
    width:100%;
    margin-top:8px;
    justify-content:flex-start;
  }
  .topbar-right {
    padding-right: 18px;
  }
  .main-nav ul{
    flex-wrap:wrap;
    gap:18px;
  }

  .hero-rust-inner,
  .two-col,
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-rust-right{
    align-self:flex-start;
  }

  .rmc-stage{
    width:100%;
    max-width:700px;
  }
}

@media (max-width:680px){
  .container{padding:0 18px;}
  .rmc-wrapper{gap:12px;}
  .rmc-stage{
    height:230px;
  }
  .rmc-img{
    max-height:230px;
  }
  .rmc-nav{
    width:40px;
    height:40px;
    font-size:18px;
  }
}

/* --- v9 carousel frame system --- */
.rmc-stage {
  position: relative;
  width: 700px;
  height: 280px;
  overflow: visible;
}
.rmc-frame {
  position:absolute;
  top:50%;
  left:50%;
  width:280px;
  height:280px;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .3s ease, opacity .3s ease;
}
.rmc-img {
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
.rmc-center {
  z-index:3;
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}
.rmc-left {
  z-index:1;
  opacity:0.32;
  transform:translate(-150%,-50%) scale(.72);
}
.rmc-right {
  z-index:1;
  opacity:0.32;
  transform:translate(50%,-50%) scale(.72);
}

.btn-orange:hover {
  background: #d45500 !important;
  color:#ffffff !important;
}
.btn-orange-outline:hover {
  background: #d45500 !important;
  color:#ffffff !important;
  border-color:#d45500 !important;
}


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

.hero {
  position: relative;
  padding: 20px 0 0 0; /* poistettu bottom-padding */
  background-size: cover;
  background-position: center;
}


.hero-rust {
  background-image: url("images/background element rust.png");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.0); /* poistettu tumma overlay */
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;       /* 💥 tärkein rivi */
}


/* ======================
   VASEN PUOLI (VIDEO)
====================== */

/* ===== HERO VIDEO — VASEN, ISO, ALAOSASSA ===== */

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end; 
}

.hero-left {
  width: 50%;
  display: flex;
  align-items: flex-end;
}

.hero-video-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin: 0;
  padding: 0;
}

.hero-video {
  width: 840px;                /* isompi video */
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  pointer-events: none;
}
/* ======================
   OIKEA PUOLI (LOGO + CTA)
====================== */

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  /* Tämä irrottaa oikean puolen flex-end -pakosta */
  align-self: center;              /* 🔥 nostaa sen pystykeskelle koko hero-alueella */

  padding-bottom: 0;               /* poistetaan aiempi offset */
    margin-bottom: 0px;    /* esimerkiksi 40–80px toimii hyvin */
    margin-top: 80px;
}



.hero-logo {
  width: 500px;
  max-width: 100%;
}

.hero-cta-btn {
  padding: 14px 28px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff !important;
}

/* ======================
   MOBIILI
====================== */

@media (max-width: 860px) {

  .hero-inner {
    flex-direction: column-reverse; /* LOGO + CTA YLÖS, VIDEO ALAS */
    align-items: flex-start;
    padding-top: 40px;
    gap: 10px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-video {
    width: 600px;
    margin-top: 0px;
  }

  .hero-right {
    align-items: flex-start;
  }
}


/* HERO CTA – no underline + black button */
.hero-cta-btn {
  text-decoration: none !important;
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

.hero-cta-btn:hover {
  background: #222222 !important;
  border-color: #222222 !important;
}

/* GLOBAL: All orange buttons → white text */
.btn-orange,
.btn-orange * {
  color: #ffffff !important;
}

/**
.btn-orange-outline,
.btn-orange-outline * {
  color: #ffffff !important;
}
*/

/* =========================================
   GLOBAL VIDEO STYLE — ROUNDED + SHADOW
   Applies to all video elements on site
========================================= */

video {
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  background: transparent;
}

/* Hero-video specifically (slightly stronger shadow works better over rust bg) */
.hero-video {
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

/* REMOVE rounding + shadow specifically from HERO video */
.hero-video {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ================================
   READ MORE INTRO (before carousel)
================================ */

.readmore-intro {
  padding: 40px 0 40px 0;
  text-align: left;
  background: var(--bg-light);

}

.readmore-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #000; /* tai oranssi, jos haluat korostuksen */
}

.readmore-text {
  max-width: 780px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* Mobiili */
@media (max-width: 860px) {
  .readmore-title {
    font-size: 28px;
  }
  .readmore-text {
    font-size: 16px;
  }
}

/* ======================================================
   CAROUSEL BUTTON FIX – ALWAYS ABOVE ALL IMAGES
   ====================================================== */

/* Always keep carousel navigation ABOVE images */
.rmc-nav {
  position: relative;
  z-index: 999 !important;   /* ylittää aina kuvat */
  flex-shrink: 0 !important;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--orange);
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

.rmc-wrapper {
  position: relative;
  z-index: 998;
}

.rmc-prev {

  padding-top:3px;
  padding-right:3px;


}

.rmc-next {

  padding-top:3px;
  padding-left:3px;
  

}

/* ============================================================
   CONTACT PAGE — SAME INPUT + BUTTON STYLE AS OTHER PAGES
============================================================ */

/* General section styling */
.page-contact .contact-hero {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
}

.page-contact .contact-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form-wrap {
  max-width: 900px;
  width: 100%;
}

/* Titles matching other pages */
.contact-form-wrap h1.section-title-black {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #000;
}

.contact-form-wrap p {
  font-size: 20px;
  color: #000;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* FORM GRID */
#contactPageForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* LABELS (same as other forms) */
#contactPageForm label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

/* INPUTS + TEXTAREA — SAME STYLE AS PRICING + ORDER */
#contactPageForm input,
#contactPageForm textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: #000;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;          /* MATCH OTHER PAGES */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-family: inherit;
  resize: vertical;
}

#contactPageForm input:focus,
#contactPageForm textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* TEXTAREA HEIGHT */
#contactPageForm textarea {
  min-height: 140px;
}

/* SUBMIT BUTTON — SAME STYLE AS OTHER FORMS */
#contactPageForm .btn-submit {
  background: #000;
  color: #fff !important;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 8px;
  width: fit-content;
  border: none;
  cursor: pointer;
  justify-self: end; /* right aligned like mockup */
  box-shadow: 4px 4px 10px rgba(0,0,0,0.35);
}

#contactPageForm .btn-submit:hover {
  opacity: 0.85;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .contact-form-wrap h1.section-title-black {
    font-size: 36px;
  }
  #contactPageForm .btn-submit {
    justify-self: start; /* shift left on mobile */
  }
}

/* Yhtenäinen tekstikoko videoiden vieressä */
.section-standout .col-text p,
.section-upgrade .col-text p,
.section-pricing .col-text p {
  font-size: 1.125rem;        /* sama kuin readmore-text */
  line-height: 1.7;
}

.readmore-text {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Hero GIF */
.hero-left .hero-gif {
  width: 100%;        /* peittää containerin */
  max-width: 600px;   /* valinnainen, rajaa liikaa suurta GIF:iä */
  display: block;
  margin: 0 auto;     /* keskitys */
  object-fit: cover;  /* täyttää tilan kuten video */
}


/* UUSIN CSS */ 

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
 /**  color: #fff; */
}

label {
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
}


/* =========================
   POPUP – CLEAN LIGHT UI
========================= */

.popup-inner {
  background: #ffffff;
  color: #111;
  border-radius: 16px;
  padding: 32px;
  max-width: 520px;
  width: 90%;
}

.popup-inner h2,
.popup-inner h3 {
  color: #000;
}

.popup-inner p,
.popup-inner li {
  color: #333;
  line-height: 1.6;
}

.popup-close {
  color: #000;
}


/* =========================
   POPUP – CLEAN LIGHT UI
========================= */

.popup-inner {
  background: #ffffff;
  color: #111;
  border-radius: 16px;
  padding: 32px;
  max-width: 520px;
  width: 90%;
}

.popup-inner h2,
.popup-inner h3 {
  color: #000;
}

.popup-inner p,
.popup-inner li {
  color: #333;
  line-height: 1.6;
}

.popup-close {
  color: #000;
}


/* =========================
   ORDER PAGE FIX
========================= */
/**
.order-form-section {
  padding: 80px 20px;
  background: #f5f5f5;
}

.order-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);


.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

}**/


/* =========================
   ORDER FORM – WIDE LAYOUT
========================= */

.order-form {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  background: #ffffff;
  padding: 48px;
  border-radius: 20px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}


.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 1100px) {
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* leveämmät kentät */
.form-group.full {
  grid-column: 1 / -1;
}

/* tärkeät kentät */
.form-group:nth-child(1),
.form-group:nth-child(2) {
  grid-column: span 2;
}

.btn-orange {
  background: #ff6a00;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255,106,0,0.3);
}

.order-hero p {
  max-width: 500px;
  line-height: 1.6;
  /** color: #444; */
}


/* FORCE FIX – LABEL COLORS */
.order-form label,
.popup-inner label {
  color: #222 !important;
}

/* TERMS – LEFT ALIGN */
.form-group.terms {
  display: flex;
  justify-content: flex-start; /* ei keskelle */
  align-items: flex-start;
}

.form-group.terms label {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  width: auto;
  text-align: left;
}

.form-group.terms input[type="checkbox"] {
  width: auto;
  margin: 0;
}


/* UPLOAD LABEL FIX */
.upload-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* tärkein */
  text-align: left;
}

.upload-area label {
  width: 100%;
  text-align: left;
}