
@font-face {
    font-family: 'MinFont';
    src: url('Minfont.ttf') format('truetype');
    font-display: swap;
}

:root {
    --beige: #F3E6D9;
    --vit-varm: #F7F4EF;
    --morkbla: #1F2B3A;
    --text-mork: #4A4A4A;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--beige);
    color: var(--text-mork);
    font-family: 'MinFont', serif;
}

a {
    text-decoration: none;
    color: inherit;
}


.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


header {
    padding: 30px 0 10px;
    text-align: center;
}

.brand-logo {
    font-family: 'MinFont', serif;
    font-size: 44px;
    letter-spacing: 0.08em;
    color: var(--morkbla);
}

nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

nav a {
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background-color: var(--morkbla);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}


.hero {
    position: relative;
    min-height: 70vh;
    background-image: url("hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(31, 43, 58, 0.60),
        rgba(31, 43, 58, 0.78)
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--vit-varm);
    padding: 30px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 16px;
    max-width: 420px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    background-color: var(--morkbla);
    color: var(--vit-varm);
    border: 1px solid var(--vit-varm);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background-color: #263548; 
    transform: scale(1.04);
    border-color: var(--vit-varm);
}




.gallery-section {
    background-color: var(--beige);
    padding: 35px 0;
}




.section-title {
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 35px;
}


.gallery-grid {
    column-count: 3;       
    column-gap: 28px;     
    padding: 0 15px;      
}


.gallery-item {
    width: 100%;
    margin-bottom: 28px;   
    break-inside: avoid;
    position: relative;
    cursor: pointer;
}


.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.25s ease; 
}

.gallery-overlay {
    position: absolute;
    inset: 0;                     
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 43, 58, 0.55);  
    opacity: 0;                   
    border-radius: 6px;         
    transition: opacity 0.2s ease;
}

/* visa overlay vid hover på större skärmar */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}



.gallery-item:hover img {
    transform: scale(1.04); 
}


.gallery-overlay span {
    color: var(--vit-varm);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-title {
    font-family: 'MinFont', serif;
    font-size: 13px;
    color: var(--text-mork);
    text-align: center;
    margin-top: 6px;
    letter-spacing: 0.03em;
    font-weight: 400;
    opacity: 0.9;
}

.gallery-main {
    display: block;
}

.gallery-size {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 2px;
}



.contact {
    background-color: var(--morkbla);
    color: var(--vit-varm);
    padding: 70px 0 45px; 
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact a {
    text-decoration: underline;
}


footer {
    background-color: var(--morkbla);
    color: var(--vit-varm);
    padding: 22px 0 26px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid rgba(247, 244, 239, 0.18);
    opacity: 0.9; 
}

.footer-logo {
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 5px;
}



.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    display: none;             
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner img {
    max-width: 80vw; 
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    animation: lightbox-in 0.25s ease;
}

@keyframes lightbox-in {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.03) translateY(0);
    }
    100% {
        transform: scale(1);
    }
}


.lightbox-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(247, 244, 239, 0.9);
    font-size: 32px;
    padding: 8px 12px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1100; 
}

.lightbox-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 32px;   
}

.lightbox-next {
    right: 32px;  
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
}


.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 43, 58, 0.55);
    opacity: 0;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.lightbox-close {
    display: none;
}

@media (max-width: 600px) {
    .lightbox-arrow {
        font-size: 30px;
        padding: 6px 8px;
        left: 16px;
        right: 16px;
    }
}

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        display: block;
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(0,0,0,0);
        color: #F7F4EF;
        border: none;
        font-size: 26px;
        line-height: 1;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.9;
        transition: opacity 0.15s ease;
}

.lightbox-close:hover {
        opacity: 1;
    }


@media (max-width: 600px) {
    .lightbox-arrow {
        font-size: 26px;
        padding: 6px 8px;
    }
}

.lightbox-info {
    margin-top: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'MinFont', serif;
    font-size: 15px;
    letter-spacing: 0.03em;
    line-height: 1.4;
    animation: fade-in 0.3s ease;
}

.lb-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.lb-size {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


@keyframes fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}


.lightbox-inner img.slide-change {
    animation: slide-change 0.25s ease;
}

@keyframes slide-change {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.lightbox-inner img.slide-change {
    animation: slide-change 0.25s ease;
}

@keyframes slide-change {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;  
    }
}


@media (max-width: 600px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 14px;
        padding: 0 12px;
    }

    .gallery-item {
        margin-bottom: 18px;
    }

    .gallery-title {
        font-size: 11px;
    }

   .lightbox-arrow {
        display: none !important;
    }

    .gallery-item:hover img {
    transform: scale(1.0); 
}
.gallery-overlay {
    display: none; 
}
}


.sold-badge {
    display: inline-block;
    background: #1F2B3A;       
    color: #F7F4EF;           
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    margin-top: 4px;
    margin-left: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.75;
}

.lb-sold {
    margin-top: 10px;
    background: #1F2B3A;
    color: #F7F4EF;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
}

.instagram-section {
    background-color: var(--morkbla);
    color: var(--vit-varm);
    padding: 60px 0 50px;
    text-align: center;
}

.insta-inner p {
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: 0.06em;
}

.insta-link {
    font-size: 20px;
    letter-spacing: 0.08em;
    text-decoration: underline;
    color: var(--vit-varm);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.insta-link:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .instagram-section {
        padding: 28px 0 28px;
    }

    .insta-inner p {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .insta-link {
        font-size: 17px;
    }
}


.poster-badge {
  display: inline-block;
  background: #2E6F4E;         
  color: #F7F4EF;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-top: 4px;
  margin-left: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}


.lb-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #F7F4EF;
  color: #1F2B3A;
  border: 1px solid rgba(247, 244, 239, 0.6);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lb-cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.hero-posters {
    position: relative;
    min-height: 45vh;
    background-image: url("malning-3.jpg"); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-posters::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(31, 43, 58, 0.50),
        rgba(31, 43, 58, 0.70)
    );
}

.hero-posters .hero-content {
    position: relative;
    text-align: center;
    color: var(--vit-varm);
    padding: 30px;
}

.hero-posters .hero-subtitle {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 22px;
    opacity: 0.95;
}


