/* ===================================================
   ANNA POMYKALSKA v6.0
   MAIN.CSS
=================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --white:#ffffff;
    --text:#555555;
    --text-light:#7b7b7b;
    --line:#e9e9e9;
    --accent:#165f61;
    --max-width:1400px;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--white);
    color:var(--text);
    font-family:Inter,Arial,sans-serif;
    line-height:1.6;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

a{
    text-decoration:none;
}

.page{
    width:100%;
    max-width:var(--max-width);
    min-height:100vh;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    background:var(--white);
}


/* ===================================================
   NAGŁÓWEK
=================================================== */

.site-header{
    text-align:center;
    padding:10px 40px 20px;
}

.site-name{
    display:inline-block;
    font-family:"Playfair Display",serif;
    font-size:3.05rem;
    font-weight:400;
    letter-spacing:3px;
    color:var(--text);
    transition:color .25s ease;
}

.site-name:hover{
    color:var(--accent);
}

.site-brand{
    margin-top:7px;
    font-family:Inter,Arial,sans-serif;
    font-size:1.08rem;
    font-weight:400;
    letter-spacing:7px;
    color:#499d9c;
    text-transform:lowercase;
    text-shadow:0 0 1.5px rgba(73,157,156,0.45);
}

.typing{
    display:inline-block;
    min-width:19ch;
    white-space:nowrap;
    letter-spacing:7px;
    border-right:2px solid var(--text-light);
}

.typing-end{
    border-right:none;
}


/* ===================================================
   MENU
=================================================== */

.main-nav{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    padding:14px 40px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.main-nav > a{
    color:var(--text);
    font-size:.98rem;
    line-height:1;
    transition:color .25s ease;
}

.main-nav a:hover{
    color:#368887;
    text-shadow:0 0 .5px currentColor;
}


/* Instagram w menu */

.instagram-link{
    display:flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
}

.instagram-link svg{
    display:block;
    width:17px;
    height:17px;
}


/* Języki */

.language-switch{
    display:flex;
    align-items:center;
    gap:14px;
    margin-left:1px;
}

.language-switch a,
.language-switch .active-lang{
    font-size:.98rem;
    line-height:1;
}

.language-switch a{
    color:var(--text-light);
    transition:color .25s ease;
}

.language-switch a:hover{
    color:var(--accent);
}

.language-switch .active-lang{
    color:var(--text);
    font-weight:600;
}

.sticky-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:var(--white);
}

/* ===================================================
   STRONA GŁÓWNA
=================================================== */

.content{
    flex:0 0 auto;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding:10px 40px 0;
margin-bottom:10px;
}

.obraz{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.obraz-image{
    display:block;
    width:720px;
    max-width:85vw;
    height:auto;
    margin:0 auto;
}


/* ===================================================
   STOPKA
=================================================== */

.site-footer{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    border-top:1px solid var(--line);
    padding:8px 40px;
    font-size:.88rem;
    line-height:1;
    color:#888888;
}

.footer-copy{
    margin:0;
}

.site-footer a{
    color:#888888;
    text-decoration:none;
    transition:color .25s ease;
}

.site-footer a:hover{
    color:var(--accent);
}

.footer-instagram{
    display:flex;
    align-items:center;
    justify-content:center;
    width:17px;
    height:17px;
}

.footer-instagram svg{
    display:block;
    width:16px;
    height:16px;
}


/* ===================================================
   TELEFONY
=================================================== */

@media (max-width:700px){

    .site-header{
        padding:20px 20px 18px;
    }

    .site-name{
        font-size:2.2rem;
        letter-spacing:2px;
    }

    .site-brand{
        font-size:.95rem;
        letter-spacing:7px;
    }

    .typing{
        letter-spacing:7px;
    }

    .main-nav{
        gap:12px;
        padding:12px 15px;
        flex-wrap:wrap;
    }

    .main-nav > a,
    .language-switch a,
    .language-switch .active-lang{
        font-size:.9rem;
    }

    .language-switch{
        gap:10px;
    }

    .content{
        padding:10px 15px 0;
    }

    .obraz-image{
        width:100%;
        max-width:820px;
    }

    .site-footer{
        gap:10px;
        padding:8px 15px;
        flex-wrap:wrap;
    }
}

/* ===================================================
   O MNIE
=================================================== */

.about-content{
    width:100%;
    padding:10px 70px 10px;
    color:#555555;
    font-family:"Inter",Arial,sans-serif;
    font-size:16px;
    line-height:1.55;
}


/* SEKCJE */

.about-section{
    width:100%;
    margin:0 auto;
    scroll-margin-top:220px;
}

.about-section h2{
    margin:40px 0 30px;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.5rem;
    font-weight:500;
    letter-spacing:1px;
    color:#555555;
}

.biography-section h2{
    margin:0 0 30px;
}

.about-section h3{
    margin:25px 0 20px;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.05rem;
    font-weight:500;
    letter-spacing:.3px;
    color:#555555;
}


/* BIOGRAFIA */

.about-photo{
    float:left;
    width:270px;
    max-width:40%;
    height:auto;
    margin:0 42px 18px 0;
}

.biography-text{
    font-size:16px;
    line-height:1.55;
    color:#555555;
}

.biography-text p{
    margin:0 0 10px;
}


/* WYSTAWY */

.exhibitions-section{
    clear:both;
}

.exhibition-list p{
    margin:0 0 10px;
}

.exhibition-list strong,
.awards-list strong{
    font-weight:500;
}


/* NAGRODY */

.awards-section{
    clear:both;
}

.awards-list p{
    margin:0 0 12px;
}


/* PODMENU „O MNIE” */

.about-menu{
    position:relative;
}

.about-menu .about-link,
.about-menu .about-link:visited{
    color:#368887;
}

.about-menu:hover .about-link{
    color:#368887;
    text-shadow:0 0 .5px currentColor;
}

.about-submenu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    min-width:100px;
    padding:12px 18px;
    background:#ffffff;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    opacity:0;
    visibility:hidden;
    z-index:20;
}

.about-menu:hover .about-submenu{
    opacity:1;
    visibility:visible;
}

.about-submenu a{
    color:#555555;
    font-size:.92rem;
    line-height:1.4;
    white-space:nowrap;
}

.about-submenu a:hover{
    color:#368887;
}


/* TELEFON */

@media (max-width:700px){

    .about-content{
        padding:25px 20px 50px;
        font-size:16px;
        line-height:1.55;
    }

    .about-photo{
        float:none;
        width:100%;
        max-width:420px;
        margin:0 auto 25px;
    }
}
/* ===================================================
   OFERTA
=================================================== */

.offer-content{
    width:100%;
    padding:50px 70px 70px;
    color:#555555;
    font-family:"Inter",Arial,sans-serif;
    font-size:16px;
    line-height:1.55;
}

.offer-section{
    width:100%;
}

.offer-layout{
    display:flex;
    align-items:flex-start;
    gap:55px;
    max-width:1000px;
    margin:0 auto;
}

.offer-image{
    flex:0 0 200px;
}

.offer-image img{
    display:block;
    width:100%;
    height:auto;
}

.offer-text{
    position:relative;
    flex:1;
    padding-top:5px;
    padding-right:130px;
}

.offer-brand{
    position:absolute;
    top:38px;
    right:88px;
}

.offer-logo{
    display:block;
}

.offer-logo img{
    display:block;
    width:140px;
    height:140px;
    object-fit:cover;
}

.offer-text p{
    margin:0 0 18px;
}

.offer-text ul{
    margin:0 0 24px;
    padding-left:22px;
}

.offer-text li{
    margin-bottom:9px;
}

.offer-text strong{
    font-weight:500;
}


/* ===================================================
   ETSY
=================================================== */

.etsy-link{
    display:flex;
    align-items:center;
    gap:16px;
    margin-top:30px;
}

.etsy-link a:first-child{
    color:#368887;
    font-size:1.12rem;
    font-weight:500;
    text-decoration:none;
    transition:color .2s ease;
}

.etsy-link a:first-child:hover{
    color:#555555;
}

.etsy-link img{
    display:block;
    width:96px;
    height:96px;
    object-fit:cover;
}


/* ===================================================
   OFERTA – TELEFON
=================================================== */

@media (max-width:700px){

    .offer-content{
        padding:25px 20px 50px;
        font-size:16px;
        line-height:1.55;
    }

    .offer-layout{
        flex-direction:column;
        gap:30px;
    }

    .offer-image{
        flex:0 0 auto;
        width:220px;
        max-width:100%;
    }

    .offer-text{
        padding-top:0;
    }

    .etsy-link{
        margin-top:25px;
    }

}

/* ===================================================
   KONTAKT
=================================================== */

.contact-content{
    width:100%;
    padding:50px 70px 70px;
    color:#555555;
    font-family:"Inter",Arial,sans-serif;
    font-size:16px;
    line-height:1.55;
}

.contact-section{
    width:100%;
}

.contact-layout{
    display:flex;
    align-items:flex-start;
    gap:55px;
    max-width:1000px;
    margin:0 auto;
}

.contact-image{
    flex:0 0 180px;
    padding-top:20px;
}

.contact-image img{
    display:block;
    width:100%;
    height:auto;
}

.contact-text{
    flex:1;
    padding-top:5px;
}

.contact-text h1{
    margin:0 0 28px;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.5rem;
    font-weight:500;
    letter-spacing:.5px;
    color:#555555;
}

.contact-text p{
    margin:0 0 22px;
}

.contact-email{
    margin-top:28px !important;
    font-size:1.08rem;
}

.contact-text a{
    color:#368887;
    text-decoration:none;
    transition:color .2s ease;
}

.contact-text a:hover{
    color:#555555;
}


/* ===================================================
   KONTAKT – TELEFON
=================================================== */

@media (max-width:700px){

    .contact-content{
        padding:25px 20px 50px;
        font-size:16px;
        line-height:1.55;
    }

    .contact-layout{
        flex-direction:column;
        gap:30px;
    }

    .contact-image{
        flex:0 0 auto;
        width:220px;
        max-width:100%;
    }

    .contact-text{
        padding-top:0;
    }

    .contact-text h1{
        font-size:1.35rem;
        margin-bottom:24px;
    }

}

/* ===================================================
   GALERIA
=================================================== */

.gallery-content{
    width:100%;
    padding:30px 70px 70px;
    color:#555555;
    font-family:"Inter",Arial,sans-serif;
}

.gallery-category{
    width:100%;
    max-width:1100px;
    margin:0 auto 100px;
    scroll-margin-top:220px;
}

.gallery-category h1{
    margin:0 0 14px;
    text-align:center;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.5rem;
    font-weight:500;
    letter-spacing:.5px;
    color:#555555;
}
.gallery-category h1{
    margin:0 0 14px;
    text-align:center;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.5rem;
    font-weight:500;
    letter-spacing:.5px;
    color:#555555;
}

.gallery-category h2{
    margin:0 0 45px;
    text-align:center;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.5rem;
    font-weight:500;
    letter-spacing:.5px;
    color:#555555;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:45px 30px;
    align-items:start;
}

.gallery-item{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    height:320px;
    overflow:hidden;
    text-decoration:none;
    background:#ffffff;
}

.gallery-item img{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
    transition:transform .35s ease;
}

.gallery-item:hover img{
    transform:scale(1.015);
}
.gallery-caption{
    display:none;
}

/* ===================================================
   MENU GALERII
=================================================== */

.gallery-menu{
    position:relative;
}

.gallery-menu .gallery-link,
.gallery-menu .gallery-link:visited{
    color:#555555 !important;
    transition:color .2s ease;
}

.gallery-menu:hover .gallery-link,
.gallery-menu .gallery-link:hover,
.gallery-menu .gallery-link:focus{
    color:#368887 !important;
    text-shadow:0 0 .5px currentColor;
}

.gallery-submenu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    min-width:190px;
    padding:12px 18px;
    background:#ffffff;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    opacity:0;
    visibility:hidden;
    z-index:20;
}

.gallery-menu:hover .gallery-submenu{
    opacity:1;
    visibility:visible;
}

.gallery-submenu a{
    color:#555555;
    font-size:.92rem;
    line-height:1.4;
    white-space:nowrap;
    text-decoration:none;
}

.gallery-submenu a:hover{
    color:#368887;
}


/* ===================================================
   POWIĘKSZENIE OBRAZU
=================================================== */

.gallery-lightbox{
    position:fixed;
    inset:0;
    z-index:1000;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:18px;
    padding:30px;

    background:rgba(255,255,255,.96);
    cursor:pointer;
}

.gallery-lightbox img{
    display:block;
    max-width:90vw;
    max-height:82vh;
    width:auto;
    height:auto;
    object-fit:contain;
}

.gallery-lightbox-caption{
    max-width:700px;

    text-align:center;

    font-family:"Inter",Arial,sans-serif;
    font-size:.9rem;
    line-height:1.45;

    color:#555555;
}
/* ===================================================
   STRZAŁKI LIGHTBOXA
=================================================== */

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 70px;

    border: none;
    background: rgba(255, 255, 255, 0.75);

    color: #499d9c;

    font-size: 38px;
    font-family: Arial, sans-serif;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 10;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #499d9c;
}

.gallery-lightbox-prev {
    left: 25px;
}

.gallery-lightbox-next {
    right: 25px;
}


/* ===================================================
   OBRAZ W LIGHTBOXIE
=================================================== */

.gallery-lightbox-image {
    max-width: 85vw;
    max-height: 78vh;
    width: auto;
    height: auto;

    object-fit: contain;
}


/* ===================================================
   PODPIS W LIGHTBOXIE
=================================================== */

.gallery-lightbox-caption {
    position: static;

    margin-top: 14px;

    text-align: center;

    color: #444;

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;

    background: rgba(255, 255, 255, 0.85);

    padding: 7px 14px;

    white-space: nowrap;
}

/* ===================================================
   TABLET
=================================================== */

@media (max-width:900px){

    .gallery-content{
        padding:25px 35px 60px;
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
        gap:35px 25px;
    }

}


/* ===================================================
   TELEFON
=================================================== */

@media (max-width:700px){

    .gallery-item{
        height:280px;
    }

    .gallery-content{
        padding:25px 20px 50px;
    }

    .gallery-category{
        margin-bottom:70px;
    }

    .gallery-category h1{
        font-size:1.35rem;
        margin-bottom:35px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

    .gallery-submenu{
        position:static;
        transform:none;
        align-items:flex-start;
        padding:8px 0 0 10px;
    }

}

/* ===================================================
   NOTATKI
=================================================== */

.notatki-content{
    width:100%;
    max-width:1100px;
    margin:0 auto;
    padding:45px 30px 20px;
}

.notatki-title{
    margin:0 0 55px;
    text-align:center;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.55rem;
    font-weight:500;
    letter-spacing:.5px;
    color:#555555;
}

.notatki-entry{
    display:grid;
    grid-template-columns:320px 1fr;
    column-gap:45px;
    align-items:start;
    margin-bottom:40px;
}

.notatki-image{
    width:160px;
}

.notatki-image img{
    display:block;
    width:100%;
    height:auto;
}

.notatki-text{
    padding-top:3px;
}

.notatki-date{
    margin:0 0 10px;
    font-size:.95rem;
    color:#777777;
}

.notatki-text h2{
    margin:0 0 28px;
    font-family:"Inter",Arial,sans-serif;
    font-size:1.45rem;
    font-weight:500;
    color:#555555;
}

.notatki-body{
    font-size:1rem;
    line-height:1.65;
    color:#555555;
}

.notatki-body p{
    margin:0 0 18px;
}


/* ===================================================
   NOTATKI – NAJECHANIE W MENU
=================================================== */

.notatki-link,
.notatki-link:visited{
    color:#555555 !important;
    text-decoration:none;
}

.notatki-link:hover,
.notatki-link:focus{
    color:#368887 !important;
}


/* ===================================================
   TABLET
=================================================== */

@media (max-width:900px){

    .notatki-content{
        padding:35px 30px 70px;
    }

    .notatki-entry{
    grid-template-columns:160px 1fr;
    column-gap:35px;
}

.notatki-image{
    width:160px;
}

}

/* ===================================================
   TELEFON – NOTATKI
=================================================== */

@media (max-width:700px){

    .notatki-content{
        padding:30px 20px 60px;
    }

    .notatki-title{
        margin-bottom:40px;
    }

    .notatki-entry{
        display:block;
        margin-bottom:40px;
    }

    .notatki-image{
        width:160px;
        max-width:100%;
        margin-bottom:25px;
    }

    .notatki-text{
        padding-top:0;
    }

    .notatki-text h2{
        font-size:1.3rem;
        margin-bottom:20px;
    }

}

/* KOTWICE – TELEFON */

@media (max-width:700px){

    .about-section{
        scroll-margin-top:150px;
    }

    .gallery-category{
        scroll-margin-top:150px;
    }

}

/* OSTATNIA NOTATKA – MNIEJSZY ODSTĘP DO STOPKI */

.notatki-content .notatki-entry:last-of-type{
    margin-bottom:25px;
}

@media (max-width:700px){

    .notatki-content .notatki-entry:last-of-type{
        margin-bottom:20px;
    }

}

/* ===================================================
   PRASA
=================================================== */

.press-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:45px 30px;
    margin-top:35px;
    align-items:start;
}

.press-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-decoration:none;
    color:#555555;
}

.press-item img{
    display:block;
    width:100%;
    height:300px;
    object-fit:contain;
    cursor:pointer;
    transition:opacity .25s ease;
    filter:drop-shadow(0 2px 5px rgba(0,0,0,0.18));
}

.press-item:hover img{
    opacity:.82;
}

.press-item span{
    display:block;
    margin-top:12px;
    text-align:center;
    font-family:"Inter",Arial,sans-serif;
    font-size:.88rem;
    line-height:1.45;
    color:#555555;
}


/* ===================================================
   POWIĘKSZENIE SKANU PRASOWEGO
=================================================== */

.press-lightbox{
    position:fixed;
    inset:0;
    z-index:1000;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:14px;
    padding:30px;

    background:rgba(255,255,255,.97);

    cursor:pointer;
}

.press-lightbox img{
    display:block;
    max-width:90vw;
    max-height:90vh;
    width:auto;
    height:auto;
    object-fit:contain;
}

.press-lightbox-caption{
    max-width:900px;
    text-align:center;

    font-family:"Inter",Arial,sans-serif;
    font-size:.9rem;
    line-height:1.45;

    color:#555555;
}


/* ===================================================
   PRASA – TELEFON
=================================================== */

@media (max-width:700px){

    .press-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .press-item img{
        height:auto;
        max-height:500px;
    }

}

/* ===================================================
   STRZAŁKI – PRASA
=================================================== */

.press-lightbox-prev,
.press-lightbox-next{
    position:fixed;

    top:50%;
    transform:translateY(-50%);

    border:none;
    background:transparent;

    color:#368887;

    font-size:2.6rem;
    font-family:Arial,sans-serif;
    font-weight:300;

    line-height:1;

    padding:10px;

    cursor:pointer;

    z-index:1001;

    transition:opacity .2s ease;
}

.press-lightbox-prev{
    left:30px;
}

.press-lightbox-next{
    right:30px;
}

.press-lightbox-prev:hover,
.press-lightbox-next:hover{
    opacity:.65;
}