/* =========================
   HERO - Porto-kompatibel
   ========================= */

/* =========================
   HERO
   ========================= */

.hero-porto {
	position: relative;
	min-height: 85vh;
	overflow: hidden;
	background-image:
		linear-gradient(rgba(8, 35, 65, 0.45), rgba(8, 35, 65, 0.45)),
		url("../img/Lokaler/huset-mot-parkering.jpg");
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
}

/* Dölj gamla bakgrundslager */
.hero-bg,
.hero-overlay {
	display: none;
}

/* Dekorativa block */
.hero-el-1,
.hero-el-2 {
	display: none;
}

/* SVG-linjer */
.hero-svg {
	display: none !important;
}

/* Innehåll */
.hero-content {
	position: relative;
	z-index: 4;
	min-height: 85vh;
	display: flex;
	align-items: center;
}

/* Highlight bakom Stålgatan 4 */
.hero-highlight {
	display: inline-block;
	background: rgba(255,255,255,0.14);
	border-radius: .35rem;
}

/* Ta bort bildkolumnens styling */
.hero-image-wrap,
.hero-main-img {
	display: none;
}

/* Mobil */
@media (max-width: 1199px) {
	.hero-porto {
		min-height: 560px;
		background-position: center center;
	}

	.hero-content {
		min-height: 560px;
	}
}



#googlemaps {
  width: 100%;
  min-height: 420px;
}
/* Overlay */
.karta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* Kontaktbild */
.kontakt-bild-stor {
    width: 140px;
    height: auto;
    object-fit: cover;
    border-radius: 50% / 65%;
    border: 4px solid #0088cc;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Stora bilder */
.big-image-right {
    position: relative;
    z-index: 1;
}

.big-image-right img {
    max-width: 180%;
    margin-left: -40px;
}

.custom-big-image {
    width: 160%;
    max-width: none;
    height: auto;
    display: block;
    margin-left: 20px;
}

.image-box {
    padding-left: 40px;
}

.image-box img {
    transform: scale(1.5);
    transform-origin: top left;
}

/* Gallery cards */
.gallery-card {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Carousel */
.custom-gallery-carousel .gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* 👈 här sker magin */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.custom-gallery-carousel img {
    width: 100%;
    height: 100%; /* 👈 viktigt */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.custom-gallery-carousel img:hover {
    transform: scale(1.05);
}

.custom-gallery-carousel .owl-item {
    display: flex;
}

.custom-gallery-carousel .gallery-item {
    flex: 1;
}

.objekt-carousel .owl-item > div {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.objekt-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owl-nav button {
    font-size: 28px !important;
}

.owl-dots {
    margin-top: 15px;
}

/* Lokaler */
.lokal-bild {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.lokal-bild:hover {
    transform: scale(1.03);
}

#lokaler .thumb-info {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#lokaler .thumb-info:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

#lokaler .thumb-info img {
    border-radius: 14px;
    transition: transform 0.5s ease;
}

#lokaler .thumb-info:hover img {
    transform: scale(1.05);
}

#lokaler .thumb-info-title {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

#lokaler .thumb-info-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 4px !important;
}

#lokaler .thumb-info-caption {
    margin-top: 6px;
    padding-top: 4px !important;
}

#lokaler .thumb-info-caption-text {
    font-size: 16px;
    margin-top: 0 !important;
}

/* Objektgalleri */
.objekt-galleri {
    max-width: 900px;
    margin: auto;
}

.huvudbild img,
.objekt-carousel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.objekt-carousel {
    position: relative;
}

/* Mini-bilder */
.mini-bilder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.mini-bilder img {
    width: 120px;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    transition: opacity 0.2s ease;
}

.mini-bilder img:hover {
    opacity: 0.7;
}
/* Objekt-carousel navigation */
/* Objektgalleri */
.objekt-galleri {
    max-width: 900px;
    margin: auto;
}

.objekt-carousel {
    position: relative;
}

.objekt-carousel .owl-item > div {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.objekt-carousel .owl-item > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Pilar */
.objekt-carousel .owl-nav {
    position: absolute !important;
    top: 50% !important;
    left: 0;
    right: 0;
    height: 0;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 20;
}

.objekt-carousel .owl-nav button.owl-prev,
.objekt-carousel .owl-nav button.owl-next {
    position: absolute !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

.objekt-carousel .owl-nav button.owl-prev {
    left: 30px !important;
}

.objekt-carousel .owl-nav button.owl-next {
    right: 30px !important;
}

.objekt-carousel .owl-nav button span {
    line-height: 1;
}

.objekt-carousel .owl-dots {
    display: none;
}
/* Disable animation effects */
.appear-animation {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
}

/* Full width contact section */
.kontakt-full {
    margin: 0 !important;
    padding: 0 !important;
}

.kontakt-full .container-fluid {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
}

.kontakt-full .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.kontakt-full [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove Porto default spacing */
.main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.section {
    margin-top: 0;
}
@media (max-width: 768px) {
  .header-top .header-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px;
  }

  .header-top a {
    overflow-wrap: anywhere;
  }
}
