body {

    
    margin: 0;
    background: #f2efe9;
    color: #2b2b2b;
    font-family: 'Cormorant Garamond', serif;
}

/* Navigation */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    max-width: 1200px;     /* viktigt */
    margin: 0 auto;        /* centrera */
}

.logo {
    text-decoration: none;
    color: #2a2a2a;
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    text-decoration: none;
    color: #2a2a2a;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.closing-line {
    margin-top: 80px;
}

.menu a:hover {
    opacity: 1;
}


#about,
#prints {
    max-width: 900px;
    margin: 120px auto;
}

.section-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 1.2vw, 20px);
    color: #444;
    margin-top: 40px;
    line-height: 1.6;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.work-item img {
    width: 100%;
    height: auto;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #444;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 36px;
    margin-bottom: 40px;
}

.about-text {
    max-width: 700px;
    line-height: 1.8;
    color: #444;
}

.print-box {
    border: 1px solid #ddd;
    padding: 60px;
    text-align: center;
    max-width: 700px;
}

#prints {
    max-width: 900px;
    margin: 120px auto;
}

.prints-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 1.2vw, 20px);
    color: #666;
    margin-top: 40px;
}

.print-title {
    font-size: 20px;
}

.print-year {
    font-style: italic;
    font-size: 16px;
}

.print-details {
    font-size: 14px;
    color: #777;
}

.price {
    font-size: 16px;
    margin-top: 4px;
}



footer {
    text-align: center;
    padding: 60px 0;
    font-size: 14px;
    color: #777;
}

.buy-button {
    background: none;
    border: 1px solid #000;
    padding: 10px 24px;
    margin-top: 15px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
}

.buy-button:hover {
    background: #000;
    color: #fff;
}

.image-container img {
    max-height: 70vh;   /* 70% av viewport height */
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

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


.about-container {
    max-width: 640px;   /* testa 600–680 */
    margin: 140px auto;
}

.about-container p {
    max-width: 100ch;
    margin-left: auto;
    margin-right: auto;
}

.viewer {
    position: relative;
    text-align: center;
}

.nav-button {
    background: none;
    border: none;
    font-size: 40px;
    color: #888;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

    .navigation {
        max-width: 900px;      /* samma som bilden */
        margin: 40px auto;     /* centrera blocket */
        display: flex;
        justify-content: space-between;  /* tryck ut pilarna */
    }

.nav-button {
    background: none;
    border: none;
    font-size: 26px;
    color: #888;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-button:hover {
    opacity: 0.5;
}

.caption {
    max-width: 900px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#year {
    display: block;
    font-size: 16px;
    color: #777;
    margin-top: 5px;
}

#mailLink {
    display: block;
    margin-top: 25px;
    text-align: center;
}

.print-item p.print-details {
    font-size: 14px;
    color: #777;
}

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

.print-item img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.prints-contact {
    margin-top: 40px;
}


.print-details p {
    margin: 4px 0;
}



.inquire-button {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #1a1a1a;
    transition: background 0.3s ease, color 0.3s ease;
}

.inquire-button:hover {
    background: #1a1a1a;
    color: #fff;
}

.price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin: 15px 0 35px 0;
}

.about-container {
    max-width: 620px;
    margin: 160px auto;
}


.about-container p {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* DROP CAP */
.intro::first-letter {
    float: left;
    font-family: 'Bodoni Moda', serif;
    font-weight: 700;
    font-size: 4.6rem;      /* Bodoni tål att vara lite större */
    line-height: 0.75;
    padding-right: 2px;
    padding-top: 0px;
    color: #1f1f1f;
}

.about-container a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #999;
    transition: opacity 0.2s ease;
}

.about-container a:hover {
    opacity: 0.6;
}

.contact {
    margin-top: 120px;   /* luft ovanför */
    padding-top: 60px;   /* extra andrum */
    text-align: center;
}

.medium {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 35px;
}

.print-item p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #444;
}



.title-block {
    text-align: center;
    flex: 1;
}

#title {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 400;
}

#year {
    font-size: clamp(12px, 0.9vw, 15px);
    color: #888;
    margin-top: 4px;
}

.artwork-wrapper {
    position: absolute;
    top: 0;
    left: 0;
}


.artwork-wrapper.active .resize-handle {
    opacity: 0.6;
}

.artwork {
    max-width: 220px;
    cursor: grab;
}

.resize-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    right: -8px;
    bottom: -8px;
    background: white;
    border-radius: 50%;
    cursor: nwse-resize;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artwork-wrapper {
    position: absolute;
    animation: drift 40s ease-in-out infinite alternate;
}

.artwork {
    max-width: 220px;
    display: block;
    animation: pulse 12s ease-in-out infinite;
}

@keyframes drift {
    0%   { transform: translate(0px, 0px); }
    50%  { transform: translate(40px, -30px); }
    100% { transform: translate(-30px, 40px); }
}

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(0.98); }
}



.back-link {
    position: fixed;
    z-index: 9999;
}

/* Today Section */

.today {
    text-align: center;
    padding: 80px 0px;
}

.today h1 {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 50px;
}

.today img {
    max-width: 520px;
    width: 90%;
    display: block;
    margin: 0 auto;
    transition: opacity 0.6s ease;
}

.today img:hover {
    opacity: 0.85;
    cursor: pointer;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}


/* ===== BURGER ===== */

.burger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 20px;
        background: #f2efe9;
        padding: 20px;
        gap: 20px;
    }

    .menu.active {
        display: flex;
    }

    .burger {
        display: block;
    }

}