﻿/*=======================================
    GENERAL STYLES
==================================================*/
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  background-color: #f0f4da;
}

.text-center { text-align: center; }

h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; }

h1 {
  margin-top: 320px;
  text-transform: uppercase;
}

h2 {
  color: #777;
  font-weight: 300;
}
h2:after {
  display: block;
  content: "";
  margin: 10px auto 40px;
}

h3 { line-height: 30px; padding-bottom: 20px; }
h4 { line-height: 30px; }

p { font-weight: 300; line-height: 30px; padding-bottom: 20px; }

.space-pad { padding: 50px 0; }

section { padding: 50px 0 40px; }

/*=======================================
    COLOR CODES
==================================================*/
.main-color { color: #27C00A; }

/*=======================================
    NAVIGATION STYLES (BS5)
==================================================*/
/* Bakgrund och ramfärger – motsvarar din gamla .navbar-inverse */
.navbar {
  background-color: #d2d5be;
  border-top-color: #f0f4da;
  border-right-color: #f0f4da;
  border-bottom-color: #f0f4da;
  border-left-color: #f0f4da;
}

/* Varumärke + länkar i navbaren */
.navbar .navbar-brand { color: #ffffff !important; padding-right: 100px; }
.navbar .nav-link,
.navbar .navbar-brand { color: #222;}
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: #000; background: transparent; }

/* Telefontexten i navbaren */
.navbar .navbar-text.phone {
  color: #555;
  font-weight: 300;
  padding: 0;
  margin: 0;
  padding-top: 15px;
}
.navbar .navbar-text.phone a { color: #555 !important; text-decoration: none; }
@media (min-width: 768px) {
  .navbar .navbar-text.phone { margin-top: 2px; margin-bottom: 8px; }
}



/* Toggler-ikon (hamburgare) på ljus bakgrund */
.navbar-light .navbar-toggler { border-color: rgba(0,0,0,.2); }
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*=======================================
    HEADER STYLES
==================================================*/
.head-main { font-size: 70px !important; font-weight: 900 !important; color: #fff; }
.head-sub-main { font-size: 40px !important; font-weight: 600 !important; padding: 5px 20px 30px; color: #27C00A; }
.head-last { padding: 5px 20px 200px; color: #fff; }

.div-trans {
  padding: 5px;
  min-height: 600px;
  margin-top: 200px;
  color: #fff;
  border-radius: 5px;
  margin-bottom: 30px;
}
.div-trans .form-control { background-color: rgba(255, 255, 255, 0); }

/*=======================================
    frisorer  STYLES
==================================================*/
/* BS5-variant av nav-pills aktiv länk */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #27C00A;
}

/* Parallax #1 */
#Parallax-one {
  background-image: url(../img/fot.jpg);
  padding: 30px;
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
  background-attachment: fixed;
  min-height: 250px;
  color: #fff;
}
#Parallax-one i { color: #fff; }

/*=======================================
    PRICING STYLES
==================================================*/
.plan {
  background: #eef1f3;
  padding: 0 0 15px;
  margin: 30px 0;
  list-style: none;
  text-align: center;
}
.plan-active { transform: scale(1.1); }
.head-active { background-color: #658AEB !important; }
.plan li { padding: 15px 0; color: #434749; border-top: 1px dashed #000; }
.plan li.plan-head {
  padding: 15px 0;
  background-color: #6F6F6F;
  color: #FFFFFF;
  line-height: 20px;
  font-size: 20px;
  font-weight: 600;
  border: none;
}
.plan li.main-price { padding: 25px 0; border: none; font-size: 30px; }

/* Parallax #2 */
#Parallax-two {
  background-image: url(../img/utsida.jpg);
  padding: 30px;
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
  background-attachment: fixed;
  min-height: 300px;
  color: #fff;
}
#Parallax-two i { color: #fff; }

/*=======================================
    CONTACT STYLES
==================================================*/
#social-icon a {
  color: #f0f4da !important;
  margin-right: 10px;
  font-size: 20px;
  float: none;
}

/*=======================================
    FOOTER STYLES
==================================================*/
/* Låt innehållet styra höjden */
#footer {
  background-color:#404f1f;
  color:#fff;
  padding: 40px 50px 20px;
  height: auto;           /* <-- ersätter tidigare fixed heights */
}

/* Samma centrering på mindre skärmar */
@media (max-width: 1024px) {
  #footer #right { text-align: center; }
}

#frisorer { background-color: #d2d5be; padding-top:80px; }
#frisorer img { max-width: 80%; }
#frisorer .col { padding-left:50px; padding-right:50px; }
#frisorer h3 { margin-top: 20px; }
#frisorer b { font-weight:bold; }

#right { text-align: right; }

#knapp {
  display: inline-block;
  color: #404f1f;
  background-color: #F90;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #404f1f;
  padding: 15px 30px;
  border-radius: 14px;
  cursor: pointer;
}
#knapp:hover {
  color: #637e2a;
  background-color: #F90;
  border: 2px solid #637e2a;
}

/*=======================================
    RESPONSIVE / PARALLAX VISIBILITY
==================================================*/
@media (max-width: 767px) {
  /* Dölj parallax på små skärmar */
  #Parallax-two, #Parallax-one { display: none; visibility: hidden; }
}

/*=======================================
    #hem BACKGROUNDS (EXAKT SOM DITT ÖNSKADE BETEENDE)
    Obs: kontrollera att filerna finns i /assets/img/
==================================================*/
/* 0–767px (mobil): använd större mobilbild utan 'fixed' */
@media (max-width: 767px) {
  #hem {
    background-image: url(../img/logo_m.png);
    background-repeat: no-repeat;
    background-position: center 160px; /* justera vid behov */
    background-size: contain;          /* visa hela loggan */
    background-attachment: scroll;     /* säkert på mobil */
    min-height: 350px;
  }
}
/* 768–991px */
@media (min-width: 768px) and (max-width: 991px) {
  #hem {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: cover;
    background-attachment: fixed;
    min-height: 680px;
  }
}
/* 992–1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  #hem {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: cover;
    background-attachment: fixed;
    min-height: 680px;
  }
}
/* ≥1200px */
@media (min-width: 1200px) {
  #hem {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: cover;
    background-attachment: fixed;
    min-height: 680px;
  }
}

/*=======================================
    CAROUSEL GRADIENTS (BS5 VARIANTER)
==================================================*/
.carousel-control-prev {
  background-repeat: repeat-x;
  background-image: linear-gradient(to right, rgba(0,0,0,.5) 0%, rgba(0,0,0,.0001) 100%);
}
.carousel-control-next {
  right: 0;
  left: auto;
  background-repeat: repeat-x;
  background-image: linear-gradient(to right, rgba(0,0,0,.0001) 0%, rgba(0,0,0,.5) 100%);
}

/*=======================================
    MISC
==================================================*/
/* Behåll extra padding runt små pilarna i frisörnamsrubrikerna */
.container .row.space-pad .col-md-4.col-sm-4 div center h3 img {
  padding-right: 5px;
  padding-left: 5px;
}


@media (max-width: 767.98px) {
  .navbar .navbar-nav .nav-link {
    padding: .5rem 0;   /* lite jämnare vertikal rytm centralt */
    text-align: center; /* säkrar att texten är centrerad */
  }
}


/* Aktiv meny-länk ska vara fet (gäller både scroll och klick) */
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: #000;
}


#boka a {
	color: #000;
	text-decoration: none;
}

#footer a {
	color: #fff;
	text-decoration: none;
}
