/* ===== BODY ===== */

body{
margin:0;
font-family: Arial, Helvetica, sans-serif;
background:#2f383c;
color:white;
min-height:100vh;
display:flex;
flex-direction:column;
}

main{ flex:1; }

/* ===== WRAPPER ===== */

.wrapper{
    max-width:1100px;
    margin:0 auto;
}

.header .wrapper,
.menu .wrapper,
.hero .wrapper,
.footer .wrapper{
padding-left:20px;
padding-right:20px;
}

/* ===== HEADER ===== */

.header .wrapper{
background:#158a92;
padding:40px 20px 30px;
position:relative;
}

.header-inner{
display:flex;
align-items:center;
justify-content:center;
gap:30px;
}

.logo{
height:200px;
filter:drop-shadow(0 0 18px rgba(21,138,146,0.7));
}

.title{
font-size:70px;
font-weight:900;
font-style:italic;
color:black;
text-shadow:
0 0 6px rgba(255,255,255,0.4),
0 0 18px rgba(21,138,146,0.9);
animation:taxiGlow 4s ease-in-out infinite;
}

.title span{
margin-left:30px;
}

@keyframes taxiGlow{
0%,100%{
text-shadow:
0 0 6px rgba(255,255,255,0.6),
0 0 12px rgba(21,138,146,0.6);
}
50%{
text-shadow:
0 0 10px rgba(255,255,255,0.9),
0 0 20px rgba(21,138,146,0.9);
}
}


.lang-switch{
position:absolute;
right:60px;
bottom:10px;
display:flex;
gap:8px;
}

.lang-switch a{
    font-size:14px;
    padding:4px 6px;
    border-radius:4px;
    text-decoration:none;
    color:white;
    opacity:0.8;
}

.lang-switch a:hover{
    background:#158a92;
    opacity:1;
}

.active-lang{
    background:#0e5f63;
}

/* ===== MENU ===== */

.menu .wrapper{
    background:black;
    display:flex;
    justify-content:center;   /* meny centrerad */
    gap:45px;
    padding:12px 20px;
    flex-wrap:wrap;

    position:relative;   /* 🔥 viktigt */
}

.menu a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    padding:8px 18px;
    border-radius:20px;
    transition:all 0.25s ease;
    position:relative;
}

.menu a:hover{
    background:rgba(21,138,146,0.25);
    box-shadow:0 0 10px rgba(21,138,146,0.6);
}

.menu a.active{
    background:#158a92;
    box-shadow:0 0 12px rgba(21,138,146,0.9);
}

.skip-link{
position:absolute;
left:-9999px;
top:auto;
}

.skip-link:focus{
left:20px;
top:20px;
background:#000;
color:#fff;
padding:10px 16px;
z-index:9999;
border-radius:6px;
}



/* ===== HERO ===== */

.hero{
position:relative;
z-index:1;
}

.hero-alt{
position:absolute;
width:1px;
height:1px;
overflow:hidden;
clip:rect(0,0,0,0);
}

.hero .wrapper{
padding:80px 20px 120px;
background-position:center;
background-repeat:no-repeat;
background-size:cover;
}

.hero-index .wrapper{
    background-image:url("background1.png");
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    padding:35px 20px 350px;
}



.hero-priser .wrapper{
background-image:url("background2.png");
padding:60px 20px 80px;
}

.hero-omoss .wrapper{
    background-image:url("background3.png");
    padding:60px 20px 80px;
}


/* ===== INDEX BUTTONS ===== */

.seo-title {
  font-size:36px;
  text-align:center;
  margin-top:80px;
  margin-bottom:60px;

  font-weight:400;      /* tunnare text */
  line-height:1.6;      /* lugnare radavstånd */
  max-width:600px;      /* smalare text = mer fokus */
  margin-left:auto;
  margin-right:auto;
}

.button-column{
display:flex;
flex-direction:column;
align-items:stretch;
gap:40px;
margin-top:40px;
}

.btn-group{
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
}

.btn{
display:flex;
justify-content:center;
align-items:center;
width:100%;
max-width:480px;
height:64px;
border-radius:14px;
background:linear-gradient(180deg, #19a7b3 0%, #158a92 100%);
color:white;
text-decoration:none;
font-weight:bold;
font-size:20px;
border:2px solid black;
box-shadow:
0 4px 0 #0e5f63,
0 6px 12px rgba(0,0,0,0.35);
transition:all 0.15s ease;
}

.btn:active{
transform:translateY(2px);
box-shadow:
0 2px 0 #0e5f63,
0 3px 6px rgba(0,0,0,0.3);
}

.btn:hover{
background:#19a0aa;
transform:translateY(-2px);
}

.btn-call{
font-size:22px;
}

.btn-icon{
height:28px;
width:32px;
object-fit:contain;
margin-right:8px;
display:block;
}

.btn-call .btn-icon{
height:24px;
}

.btn-inner{
display:flex;
align-items:center;
transform:translateX(-6px);
}

.btn-app{
display:flex;
justify-content:center;
align-items:center;
}

.app-buttons{
display:flex;
justify-content:center;
align-items:center;
gap:18px;
transform:translateX(5px);
}

.app-divider{
width:2px;
height:28px;
background:black;
opacity:0.6;
}

.app-buttons img{
height:32px;
}

.btn-label{
    font-size:22px;
    font-weight:bold;
    text-align:center;
    margin-bottom:8px;
    color:white;
    text-shadow:0 0 10px rgba(0,0,0,0.6);
}

@media(min-width:900px){
.install-popup{
display:none !important;
}
.footer-install{
display:none !important;
}

}

.install-popup{
position:fixed;

bottom:0;
left:0;
right:0;

display:flex;
justify-content:center;

z-index:999999;

pointer-events:none;
}

.install-popup.show{
pointer-events:auto;
}

.install-box{
background:#f8f8f8;
color:#222;
width:92%;
max-width:340px;
margin-bottom:20px;
padding:18px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,0.35);
border:2px solid #158a92;
position:relative;
transform:translateY(120%);
transition:transform 0.4s ease;
pointer-events:auto; 
}

.install-popup.show .install-box{
transform:translateY(0);
}

.install-icon{
width:48px;
height:48px;
border-radius:12px;
margin-bottom:8px;
}

.install-drag{
width:40px;
height:4px;
background:#ccc;
border-radius:3px;
margin:0 auto 10px auto;
}

.install-title{
font-weight:bold;
margin-bottom:6px;
}

.install-text{
font-size:13px;
line-height:1.4;
margin-top:12px;
opacity:0.8;
}

.install-close{
position:absolute;
top:6px;
right:10px;
font-size:18px;
cursor:pointer;
opacity:0.6;
}

.install-dismiss{
margin-top:10px;
background:#eee;
color:#000;
border:none;
padding:8px 14px;
border-radius:8px;
cursor:pointer;
font-size:13px;
}

.install-close:hover{
opacity:1;
}

.install-btn{
background:#158a92;
color:white;
border:none;
padding:12px 20px;
border-radius:12px;
font-size:16px;
font-weight:bold;
cursor:pointer;
margin-top:10px;
width:100%;
}

.install-btn:hover{
background:#19a7b3;
}

.install-box button:last-child{
margin-top:8px;
background:#eee;
color:#000;
border:none;
padding:8px 14px;
border-radius:8px;
cursor:pointer;
}


/* MOBILE */

@media(max-width:800px){

.btn{
width:72%;
max-width:none;
}

.btn-label{
    font-size:18px;
}

.btn-call{
font-size:18px;
}

.app-buttons{
gap:12px;
}

.app-buttons img{
height:28px;
}

}

/* ===== PRICE CALCULATOR ===== */


.price-calc-box{
background:rgba(0,0,0,0.78);
border-radius:14px;
padding:28px 32px;
margin:0 auto 40px auto;
max-width:650px;
display:block;
box-shadow:0 0 30px rgba(0,0,0,0.5);
border-top:4px solid #ffd400;
border-bottom:4px solid #ffd400;
}

.calc-left h3{
    text-align:center;
    margin-bottom:16px;
}


/* vänster sida */
.calc-left{
display:flex;
flex-direction:column;
gap:8px;
}

/* inputs */
.calc-input{
padding:10px;
border-radius:8px;
border:none;
font-size:15px;
}

.geo-btn{
background:#222;
color:white;
border:1px solid rgba(255,255,255,0.3);
padding:6px 8px;
border-radius:6px;
font-size:13px;
cursor:pointer;
margin-top:2px;
margin-bottom:6px;
transition:0.2s;
}

.geo-btn:hover{
background:#158a92;
}

/* knapp */
.calc-button{
background:#158a92;
color:white;
border:none;
padding:12px;
border-left:4px solid #ffd400;
border-right:4px solid #ffd400;
border-radius:8px;
font-weight:bold;
font-size:15px;
cursor:pointer;
transition:all 0.2s ease;
margin-top:10px;
}

.calc-button:hover{
background:#19a7b3;
}

.calc-label{
font-size:14px;
margin-top:6px;
opacity:0.9;
}

.fare-select{
display:flex;
gap:8px;
}

.fare-btn{
flex:1;
background:#111;
color:white;
padding:6px 6px;
border:none;
border-top:3px solid #ffd400;
border-bottom:3px solid #ffd400;
border-radius:8px;
font-size:14px;
font-weight:bold;
cursor:pointer;
transition:all 0.2s ease;
}

.fare-btn.active{
background:#158a92;
}

/* resultat */
.calc-result{
margin-top:14px;
font-size:22px;
font-weight:bold;
text-align:center;
line-height:1.4;
}

.quick-routes button{
display:flex;
justify-content:space-between;
align-items:center;
padding:8px 10px;
border-radius:6px;
background:#222;
color:white;
border:1px solid rgba(255,255,255,0.25);
font-size:13px;
font-weight:600;
cursor:pointer;
transition:0.2s;
}

.quick-routes button small{
font-size:11px;
opacity:0.8;
}

.quick-routes button:hover{
background:#158a92;
border-color:#158a92;
}

.quick-routes button.active{
background:#158a92;
border-color:#158a92;
color:white;
box-shadow:0 0 8px rgba(21,138,146,0.6);
}


/* info */
.calc-info{
    font-size:16px;          /* större även desktop */
    line-height:1.2;
    text-align:center;
    opacity:0.9;

    margin-top:12px;
    margin-bottom:12px;

    max-width:440px;
    margin-left:auto;
    margin-right:auto;
}

/* karta */

.calc-title{
text-align:center;
margin: 5px 0 20px; 
font-size:24px;
letter-spacing:0.5px;
}

.quick-title{
font-size:14px;
font-weight:bold;
margin-top:4px;
margin-bottom:6px;
opacity:0.9;
}

.quick-routes{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:8px;
margin-bottom:16px;
}

.calc-columns{
display:grid;
grid-template-columns:0.8fr 1.2fr;
gap:20px;
align-items:start;
margin-top:30px;
}

.calc-map{
width:100%;
height:350px;
position:relative;
margin-top:0;
}

#map{
position:absolute;
inset:0;
width:100%;
height:100%;
border-radius:10px;
}

/* ===== PRICE BOX ===== */

.price-box{
background:rgba(0,0,0,0.78);
border-radius:14px;
padding:22px 26px 18px;
max-width:650px;
margin:25px auto 0;
box-shadow:0 0 30px rgba(0,0,0,0.5);
border-top:3px solid #ffd400;
border-bottom:3px solid #ffd400;
}

.price-title{
font-size:32px;
font-weight:bold;
margin-bottom:16px;
text-align:center;
}

.price-section{
margin-top:14px;
}

.price-section h3{
margin-bottom:6px;
font-size:20px;
color:#ffd400;
text-align:center;
}

.price-row{
display:flex;
justify-content:space-between;
margin:6px 0;
font-size:18px;
padding:0 20px;
}

.price-info{
margin-top:20px;
font-size:15px;
line-height:1.5;
opacity:0.9;
text-align:center;
}




/* ===== OM OSS CONTENT ===== */

.content-box{
    background:rgba(0,0,0,0.72);
    border-radius:14px;
    padding:35px 40px 30px;
    max-width:720px;
    margin:0 auto;
    box-shadow:0 0 30px rgba(0,0,0,0.5);
}

.content-title{
    font-size:26px;
    font-weight:bold;
    margin-bottom:25px;
    color:white;
    text-shadow:0 0 16px rgba(21,138,146,1);
}

.content-section{
    margin-top:25px;
}

.content-section h3{
    margin-bottom:12px;
    font-size:22px;
    color:white;
    text-shadow:0 0 16px rgba(21,138,146,1);
}

.content-text{
    line-height:1.6;
    font-size:17px;
}

.station-text{
    flex:1;
    line-height:1.6;
    font-size:17px;
}

.app-section{
display:flex;
gap:24px;
align-items:flex-start;
margin-top:20px;
}

.app-image{
flex:0 0 150px;
}

.app-image img{
width:100%;
height:auto;
border-radius:12px;
box-shadow:0 4px 20px rgba(0,0,0,0.35);
}

.app-text{
    flex:1;
    line-height:1.6;
    font-size:17px;
}

.driver-list{
list-style:none;
padding:0;
margin-top:10px;
}

.driver-list li{
margin:8px 0;
padding:10px 14px;

background:rgba(255,255,255,0.05);
border-radius:8px;

line-height:1.4;
}

.policy-btn{
    display:inline-block;
    margin-top:12px;
    background:white;
    color:black;
    padding:10px 18px;
    border-radius:8px;
    border:2px solid black;
    text-decoration:none;
    font-weight:bold;
    transition:0.2s;
}

.policy-btn:hover{
    background:#f2f2f2;
    transform:translateY(-1px);
}

.content-subtitle{
    margin-top:30px;
    margin-bottom:10px;
    font-size:22px;
    color:white;
    text-shadow:0 0 12px rgba(21,138,146,0.9);
}

.station-section{
    display:flex;
    gap:24px;
    align-items:flex-start;
    margin-top:10px;
}


.station-image{
    flex:1;
    max-width:100%;
}

.station-image img{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    border-radius:12px;
    box-shadow:0 4px 20px rgba(0,0,0,0.45);
}


/* MOBILE */

@media(max-width:800px){

.station-section{
    flex-direction:column;
}

.station-image{
    margin-top:10px;
}

.app-section{
flex-direction:column;
}

.app-image{
max-width:220px;
margin:0 auto;
}

}

/* ===== NYHETER ===== */

.hero-nyheter .wrapper{
    background-image:url("background4.png");
    padding:60px 20px 80px;
}

.hero-nyheter .content-box{
    background:#e2ecea;   /* ljus grågrön */
    color:#111;
    box-shadow:0 0 30px rgba(0,0,0,0.25);
}

.hero-nyheter .content-title{
    color:#000;
    text-shadow:none;
}

.hero-nyheter .news-title{
    color:#000;
}


.news-item{
    margin:40px 0;
    padding:30px 0;

    border-top:1px solid #e5e5e5;
    border-bottom:1px solid #e5e5e5;
}

.news-title{
    font-size:24px;
    font-weight:bold;
    margin-bottom:4px;
}

.news-date{
    font-size:14px;
    opacity:0.8;
    margin-bottom:12px;
}

.news-text{
    line-height:1.6;
    font-size:17px;
}

.news-image{
    width:100%;
    max-width:500px;
    height:auto;

    border-radius:10px;
    border:1px solid #ddd;              /* ram */
    padding:4px;                        /* luft runt bilden */
    background:#fff;

    margin:12px auto 14px auto;
    display:block;

    box-shadow:0 3px 12px rgba(0,0,0,0.15);
}

#news-container{
display:block;
}

.taxiview-title{
font-size:28px;
margin-top:60px;
margin-bottom:20px;
text-align:center;
padding-top:30px;
border-top:1px solid #d0d0d0;
}

.taxiview-scroll{
display:flex;
gap:18px;
overflow-x:auto;
padding-bottom:10px;
scroll-snap-type:x mandatory;
}

.taxiview-scroll .taxiview-item{
flex:0 0 260px;
scroll-snap-align:start;
}


.taxiview-item img{
width:100%;
border-radius:10px;
box-shadow:0 4px 16px rgba(0,0,0,0.25);
}

.taxiview-text{
margin-top:8px;
font-size:15px;
line-height:1.4;
text-align:center;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);

  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.show {
  display: flex;
  opacity: 1;
}

/* bild animation */
.image-modal-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;

  transform: scale(0.96);
  opacity: 0;
  transition: all 0.3s ease;
}

.image-modal.show .image-modal-content {
  transform: scale(1);
  opacity: 1;
}

.image-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: white;
  cursor: pointer;
  padding: 10px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  user-select: none;
}

.image-arrow:hover {
  opacity: 1;
}

.image-arrow.left {
  left: 20px;
}

.image-arrow.right {
  right: 20px;
}

.image-arrow.disabled {
  opacity: 0.2;
  pointer-events: none;
}

@media (min-width: 768px) {
  .image-modal-content {
    max-width: 700px;
  }

}

.image-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}


/* ===== FOOTER ===== */

.footer .wrapper{
background:#158a92;
padding:18px 20px;
}

.footer-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
position:relative;
}

.footer-grid::before{
content:"";
position:absolute;
top:0;
bottom:0;
left:50%;
width:1px;
background:rgba(255,255,255,0.3);
}

.footer-col{
padding:0 20px;
}

.footer-title{
font-size:22px;
font-weight:bold;
margin-bottom:10px;
}

.footer-row{
line-height:1.6;
}

.footer-big{
font-size:20px;
margin-bottom:6px;
}

/* ===== PAGE NAVIGATION ===== */

.page-nav{
    position:relative;
    max-width:950px;
    margin:40px auto 0;
    padding:0 20px;
}

.page-nav-inner{
display:none;
}

@media (min-width:900px){
.page-nav-inner{
display:flex;
justify-content:flex-end;
gap:8px;
}
}

body{
opacity:1;
transition:opacity 0.25s ease;
}

body.page-transition{
opacity:0;
}

.page-prev,
.page-next{
    background:rgba(0,0,0,0.45);
    color:white;
    padding:8px 14px;
    font-size:14px;
    border-radius:6px;
    text-decoration:none;
    font-weight:normal;
    border:1px solid rgba(255,255,255,0.25);
    box-shadow:none;
    transition:0.15s;
}

.page-prev:hover,
.page-next:hover{
    background:rgba(21,138,146,0.6);
}

.page-prev:active,
.page-next:active{
    transform:translateY(2px);
    box-shadow:0 2px 0 #0e5f63, 0 3px 6px rgba(0,0,0,0.3);
}

:focus-visible{
outline:3px solid #ffd400;
outline-offset:4px;
box-shadow:0 0 6px rgba(255,212,0,0.8);
}

.footer-install{
display:flex;
justify-content:center;
margin-top:12px;
margin-bottom:18px;
}

.footer-install{
display:none;
}

.footer-install.show{
display:flex;
}

.page-install{
background:#158a92;
color:white;
padding:8px 16px;
font-size:14px;
border-radius:10px;
border:none;
cursor:pointer;
box-shadow:0 3px 8px rgba(0,0,0,0.35);
transition:0.2s;
}

.page-install:hover{
background:#19a7b3;
}

.page-install::before{
content:"📱 ";
}

#footerInstallBtn{
background:rgba(255,255,255,0.15);
color:white;

border:1px solid rgba(255,255,255,0.4);

padding:6px 10px;
border-radius:8px;

font-size:13px;
cursor:pointer;

transition:0.2s;
}

#footerInstallBtn:hover{
background:rgba(255,255,255,0.25);
}

.swipe-slide{
transition:transform 0.25s ease;
}

.swipe-left{
transform:translateX(-40px);
}

.swipe-right{
transform:translateX(40px);
}


/* ===== MOBILE ===== */

@media(max-width:800px){

.wrapper{
margin-left:0;
max-width:none;
}

.header-inner{
gap:12px;
}

.logo{
height:120px;
}

.title{
font-size:43px;
line-height:1.0;
text-align:left;
}

.title span{
display:block;
font-size:50px;
margin-left:20px;
}

/* MENU */
.menu .wrapper{
margin-left:0;
padding-left:20px;
justify-content:center;
gap:10px;
}

.menu a{
    padding:6px 14px;
    font-size:16px;
}

.menu a:first-child{
margin-left:0;
}

.lang-switch{
position:absolute;
right:30px;
bottom: 5px;

display:flex;
gap:10px;
}

.lang-switch a{
padding:3px 6px;      /* små diskreta knappar */
font-size:13px;
border-radius:6px;
opacity:0.85;
}

.seo-title{
font-size:24px;
margin-top:25px;
margin-bottom:30px;
padding-left:30px;
padding-right:30px;

line-height:1.4;
}


/* PRICE CALC MOBILE FIX */


.price-calc-box{
flex-direction:column;
align-items:stretch;
padding:14px;
gap:10px;
margin-bottom:25px;
}

.calc-left{
flex:1;
width:100%;
gap:6px;
}

.calc-input{
padding:9px;
font-size:14px;
}

.calc-button{
padding:9px;
font-size:14px;
}

.calc-result{
font-size:28px;
text-align:center;
line-height:1.4;
margin-top:16px;
}


/* dölj karta i mobil */
.calc-map{
display:none;
}

.hero .wrapper{
    padding:30px 16px 140px;
}

/* PRICE BOX */

.price-box{
    margin-top:15px;
}

.price-title{
font-size:26px;
}

.price-row{
font-size:16px;
}

.calc-columns{
grid-template-columns:1fr;
}

.taxiview-item{
flex:0 0 80%;
}

  .image-arrow {
    display: none;
  }

.page-nav{
    margin:30px auto 10px;
}

.page-prev,
.page-next{
    padding:10px;
    font-size:14px;
}

.footer-grid{
grid-template-columns:1fr;
gap:20px;
}

.footer-grid::before{
display:none;
}

.footer .wrapper{
padding-bottom:90px;
}

}

/* ===== FLOATING CALL BUTTON (MOBILE) ===== */

.call-float{
position:fixed;
bottom:18px;
left:50%;
transform:translateX(-50%);

background:rgba(21,138,146,0.85);
color:white;

padding:10px 26px;
border-radius:30px;

font-weight:bold;
font-size:18px;

text-decoration:none;

border:2px solid #000;
box-shadow:0 6px 14px rgba(0,0,0,0.6);

z-index:999;

transition:opacity 0.3s ease, background 0.2s ease;
}

/* bara index använder scroll-variant */

.home .call-float{
opacity:0;
pointer-events:none;
}

.home .call-float.show{
opacity:1;
pointer-events:auto;
}

/* hover */
.call-float:hover{
background:#19a7b3;
}

.call-icon{
height:22px;
position:relative;
top:5px;
}

@media (min-width:900px){

.call-float,
.install-popup{
display:none !important;
}

}
