/*
Theme Name: Akatombo Normal
Theme URI: http://www.inbrackets.dev/themes/-theme
Author: Akatombo
Author URI: http://www.akatombo.no
Description: Akatombo is a template based on Bootstrap 5.3
Text Domain: akatombo
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready, blog, right-sidebar, sticky-post, threaded-comments
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ----------------------------------------------
Base Styles
---------------------------------------------- */
/* Base body text */
body {
  font-family: "Roboto", sans-serif;
  color: #293E72;
  font-weight: 400;
  font-size: 1rem; /* 16px base */
  line-height: 1.6; /* Comfortable for body text */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #293E72;
  line-height: 1.2; /* Tight but readable for headings */
  margin-top: 0;
}

/* Type scale matching Bootstrap’s rhythm but with a touch more contrast */
h1, .display {
  font-size: clamp(2rem, 4vw + 0.5rem, 3rem); /* ~32–48px responsive */
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem); /* ~24–36px */
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 1rem;
}

/* Paragraphs & Lists */
p,
ul,
ol {
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Navigation & smaller text */
.nav-links a,
.nav-links span {
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Links */
a {
  color: #207BFF;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: #2C53B3;
  text-decoration: underline;
}

/* Optional: Small text and captions */
small, .text-small {
  font-size: 0.875rem; /* 14px */
  line-height: 1.5;
  color: #5b6a94;
}

strong {
    font-weight: 600;
}

embed, iframe, object {
    max-width: 100%;
}

/* Forms */
button, input, optgroup, select, textarea {
    background-color: #f6f6f6;
    padding: 5px 15px;
    border: 1px solid #e2e2e2;
    max-width: 100%;
}

.pt-big {
    margin-top: 170px;
}

.pb-big {
    margin-bottom: 170px;
}

.py-big {
    margin-top: 170px;
    margin-bottom: 170px;
}
 
.wp-block-quote {
    font-weight: 200;
}

ul.wp-block-list {
  list-style: none;
  padding-left: 1.5em;
  display: inline-block;
}

ul.wp-block-list li {
  position: relative;
  margin-bottom: 0.8em;
  text-align: left;
}

ul.wp-block-list li::before {
  content: '•';
  color: #7199D4;
  font-size: 3em;
  position: absolute;
  left: -0.43em;
  top: -0.19em;
  line-height: 1;
}



/* ----------------------------------------------
Layout
---------------------------------------------- */
.content-area {
    min-height: 80vh;
}

.single-tjenester .top-bar a, .single-tjeneste-bygg .top-bar a, .single-tjeneste-radgiving .top-bar a {
    color: #fff!important;
}

.single-tjeneste-radgiving .mega-menu-item-424 a{
    color: #207BFF!important;
}

.single-tjeneste-bygg .mega-menu-item-423 a{
    color: #207BFF!important;
}

.single-tjenester .mega-menu-item-425 a{
    color: #207BFF!important;
}

.tjenester-top {
    background-color: #273D72;
    background-image: url('img/tjenester-top-standard.webp');
}

.home .content-area,
.page-template-template-home-php .content-area {
    min-height: 500px;
    padding: 0;
}

.wp-block-columns.custom-gutter {
  gap: 2px;
  margin-bottom: 2px;
}

.tophero .fordeler {
    font-size: 0.8rem;
}

.tophero .fordeler img {
    width: 40px;
    margin-right: 5px;
}

.hus-illustrasjon {
    max-width: 800px;
    width: 100%;
}

.tjenester .card {
    color: inherit;
}

.tjenester .card-footer {
  transition: background-color 0.5s, color 0.5s;
}

.tjenester .card-footer:hover {
  background-color: #293E72;
}

.tjenester .card-footer a {
  color: #293E72;
}

.tjenester .card-footer:hover a {
  color: white !important;
}

.tjenester .card img{
  	width: 120px;
	height: auto;
  	padding-top: 20px;
}

.bg-dark {
    background-color: #293E72!important;
}

.tjenester2 {
    background-position: top 70px left -120px;
    background-repeat: no-repeat;
}

.single .tjeneste-icon {
    width: 150px;
	height: auto;
    margin-top: -130px;
    padding: 10px;
    background-color: #fff;
    border-radius: 999px;
}

/* getwid acccordion*/

.tjenester2 .wp-block-getwid-accordion__header a{
    color: #fff;
}

.tjenester2 .wp-block-getwid-accordion__header a{
    color: #fff;
}

.tjenester2 .wp-block-getwid-accordion__content {
    background-color: #fff;
}

.single-tjenester .kontakt{
    background-image: url('img/pattern-bg-fade.webp');
    background-size: cover;
}

.page, .bg-ruter {
    background-image: url('img/pattern-bg-fade.webp');
    background-size: 100%;
    background-repeat: no-repeat;
}

.home {
    background-image: unset;
}


/* down section arrow*/

.custom-shape-divider-bottom {
  position: absolute;
  bottom: -1px; /* overlap to hide seam */
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px; /* adjust depth here */
}

.custom-shape-divider-bottom path {
  fill: #293E72; /* match the next section color */
}

.custom-shape-divider-bottom2 path {
  fill: #112452; /* match the next section color */
}


/* Gravity Forms input styling */

body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper textarea,
body .gform_wrapper select {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 10px 12px;
  width: 100%;
  transition: all 0.2s ease-in-out;
}

/* Add subtle focus effect */
body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus {
  border-color: #0073aa; /* WordPress blue */
  box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
  outline: none;
}


/* ----------------------------------------------
Header
---------------------------------------------- */
header .top-bar {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    transition: 0.5s;
}

.home header .top-bar {
    background-color: transparent;
}

header .top-bar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 10px;
    background-color: #fff !important;
    z-index: 1990;
    height: 80px;
    opacity: 0.97;
    box-shadow: -2px -6px 15px 11px rgba(0, 0, 0, 0.06);
}

header .brand img {
    max-width: 300px;
    height: auto;
    margin-top: 20px;
    transition: 0.5s;
    padding-top: 10px;
    margin-left: 28px;
}

.home header .brand img {
    max-width: 300px;
    height: auto;
    transition: 0.5s;
}

header .top-bar-sticky .brand img {
    max-width: 150px;
    padding-top: 0px;
    margin-top: 10px;
}

header .main-menu {
    margin-top: 20px;
}

.home header .main-menu {
    margin-top: 20px;
}

header .top-bar-sticky .main-menu {
    margin-top: 0px;
}

header .top-bar-sticky .main-menu a{
    color: #fff;
}

/* Site Title */
header p.site-title {
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #000;
    font-weight: 600;
    margin: 0;
}


/* ----------------------------------------------
Main Menu
---------------------------------------------- */
.main-menu {
    padding: 0;
    padding-right: 50px;
    margin-top: 40px;
}



.main-menu ul {
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.main-menu ul li {
    display: inline;
}

.main-menu > ul li a,
.navbar-light .navbar-nav .nav-link {
    color: #515b69;
    text-decoration: none;
    padding: 7px 20px;
    font-weight: 600;
}

.main-menu > ul li a:hover,
.navbar-light .navbar-nav .nav-link:hover {
    color: #009197;
}

.main-menu .navbar-toggler {
    border: none;
    padding-right: 0;
}

.main-menu .navbar-toggler-icon {
    background-image: url('img/hamburger-menu.svg');
}

/* Dropdown */
.main-menu ul li ul {
    background-color: #fff;
}

.main-menu ul li ul li a {
    padding: 1rem;
    color: #333;
}

.main-menu .dropdown:hover > .dropdown-menu,
.main-menu .dropup:hover > .dropdown-menu {
    display: block;
}

/* Active */
.main-menu .navbar-nav .active > .nav-link {
    background-color: #1e71b8;
    color: #fff;
}

/* ----------------------------------------------
Buttons
---------------------------------------------- */
.gform_button, .btn-primary,  .wp-block-button__link{
    background-color: #207BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 11px 21px;
    transition: 0.4s;
}

.gform_button:hover, .btn-primary:hover, .wp-block-button__link:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #4A94FF!important;
    color: #fff!important;
    text-decoration: none;
}

.btn-secondary {
    background-color: #273D72;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    transition: 0.4s;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #4C72CE;
    color: #fff!important;
    color: #635E58;
}

.btn-3 {
    background-color: #213259;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    transition: 0.4s;
    color: #fff;
}

.btn-3:hover {
    background-color: #4C72CE;
    color: #fff!important;
    color: #635E58;
}




.merkelapp {
    font-size: 2rem;
    display: block;
    position: absolute;
    right: 30px;
    top: -110px;
    height: 220px;
    width: 220px;
    border-radius: 50%;
    background-color: #c3e3ff;
    text-align: center;
    padding: 55px 20px;
    box-shadow: 5px 5px 15px -4px rgba(0,0,0,0.12);
    -webkit-box-shadow: 5px 5px 15px -4px rgba(0,0,0,0.12);
    -moz-box-shadow: 5px 5px 15px -4px rgba(0,0,0,0.12);
}

/* ----------------------------------------------
Animations (AOS.js is also available in the theme)
---------------------------------------------- */

.fadeInOnload {
    animation: fadeInOnload 3.5s ease-out forwards;
}

@keyframes fadeInOnload {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

.logo-part {
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(0);
}

/* Entry (fade + slide in) */
.logo-enter-left {
  animation: fadeSlideLeft 1s ease forwards;
}

.logo-enter-right {
  animation: fadeSlideRight 1s ease forwards;
}

/* Exit (slide + fade out) */
.logo-away-left {
  animation: slideAwayLeft 0.8s ease forwards;
}

.logo-away-right {
  animation: slideAwayRight 0.8s ease forwards;
}

/* Your keyframes */
@keyframes fadeSlideLeft {
  0% { opacity: 0; transform: translateX(-70px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
  0% { opacity: 0; transform: translateX(70px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideAwayLeft {
  0% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-60px); }
}

@keyframes slideAwayRight {
  0% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(60px); }
}


/* ----------------------------------------------
Parallax styling
---------------------------------------------- */
.hero {
  position: relative;
  background: url('img/ageria-bg.jpg') top/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .hero-text {
    max-width: 700px;
}


/* ----------------------------------------------
Carousel (Bootstrap 5)
---------------------------------------------- */

.carousel,
.carousel-inner,
.carousel-item {
  height: 90vh;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 0;
}

.carousel-caption h1 {
    font-size: 2rem;
    letter-spacing: 2px;
}

.carousel-caption p {
    font-size: 1.2rem;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

/* ----------------------------------------------
Intro Section
---------------------------------------------- */

.hero {
    min-height: 800px;
}

.big-a {
    position: relative;
    min-height: 98vh;
    max-height: 98vh;
    margin-top: 120px;
}

.a-del-1 {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    animation: fadeSlideLeft 1.5s ease-out forwards;
}

.a-del-2 {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    animation: fadeSlideRight 1.5s ease-out forwards;
}



/* ----------------------------------------------
Single Post
---------------------------------------------- */
.single header h1 {
    font-weight: 700;
}

.single .post-thumbnail {
    margin: 1rem 0;
}

.comments-area {
    border-top: 1px solid #eee;
    padding: 1rem 0 2rem;
    margin-top: 2rem;
}


/* ----------------------------------------------
Footer
---------------------------------------------- */
.footer-widgets {
    padding: 35px 0;
    background: #112452;
    color: #fff;
}

.footer-widgets h2 {
    font-size: 1.4rem;
    color: #fff;
}

.footer-widgets a {
    color: #fff;
}

.footer-widgets a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    display: inline;
    margin-right: 10px;
}

.footer-menu ul li:last-child {
    margin-right: 0;
}

.footer-menu ul li a {
    color: #aaa;
    text-decoration: none;
}

.footer-menu ul li.current-menu-item a {
    color: #fff;
}

.copyright {
    background: #040e26;
    color: #939393;
    padding: 20px 0;
}

/* ----------------------------------------------
WooCommerce
---------------------------------------------- */
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* ----------------------------------------------
Blog/Archive
---------------------------------------------- */
.blog article,
.archive article {
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 1px solid #efefef;
    padding-bottom: 0.7rem;
}


/* ----------------------------------------------
Media Queries
---------------------------------------------- */
@media (max-width: 991.98px) {
  .main-menu {
    padding-right: 20px;
    background: none;
    border-bottom: none;
    }

  .big-a {
    position: relative;
    min-height: 350px;
    max-height: 350px;
    margin-top: 80px;
    }

  .logo-part {
    width: 300px;
    }

  .logo-left{
    left: 0;
    right: 0;
    margin: auto
    }

  .logo-right {
    left: 0;
    right: 0;
    margin: auto
    }
  .home header .brand img {
    max-width: 200px;
    height: auto;
    transition: 0.5s;
    }
}

@media (max-width: 767px) {
  header .brand img {
    max-width: 200px;
    height: auto;
    margin-top: 20px;
    transition: 0.5s;
    padding-top: 0px;
    margin-left: 10px;
  }
  header .main-menu {
    margin-top: 15px!important;
  }
  .footer-widgets .col-12 {
    margin-bottom: 25px;
  }
  .footer-widgets .col-12:last-child {
    margin-bottom: 0;
  }
  .main-menu {
    padding: 5px;
    margin-top: 0px;
  }
  .main-menu ul li {
    margin: 0;
  }
}

@media (max-width: 575px) {
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .hero-text .btn{
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
  }
  .tjenester2 {
    background-position: top 10px center;
    background-size: 200px;
    background-repeat: no-repeat;
    }
  .big-a {
    margin-top: 80px;
  }
  h2.merkelapp {
    display: none;
  }
}

@media (max-width: 500px) {
  .woocommerce ul.products li.product a img {
    width: 100%;
  }
}
