* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

    .fade-in-up {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 2s ease-in, transform 2s ease-in;
}

		.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@font-face {
  font-family: 'INK';
  src: url('fonts/Orange Typewriter.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TM';
  src: url('fonts/Tattoo Museum.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CW';
  src: url('fonts/Canadian Western.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cir';
  src: url('fonts/Circus.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ST';
  src: url('fonts/sailorette-tattoo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SC';
  src: url('fonts/Spanish Circus.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TS';
  src: url('fonts/Tattoo Shop.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TT';
  src: url('fonts/TraditionalTattoo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  background: #000;
  color: #fff;
  font-family: sans-serif;
}

p {
  line-height: 1.4;
  margin-bottom: 1em;
}

/* Header i logo */
header {
  background: linear-gradient(to top, #5a5a5a, #1a1a1a);
  padding: 20px;
  text-align: center;
}

.logo {
  margin-top: -1vh;
  margin-bottom: 1vh;
  width: 25vw;
  height: auto;
 /* border-radius: 100%; */
}

/* Menu na desktopie */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

nav a {
  color: #ffc400;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
  font-family: TT;
}

nav a:hover {
  transform: scale(1.08);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: #ffc400;
  cursor: pointer;
}

/* GĹĂłwna sekcja: zdjÄcie + bio */
.main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6))
}

.main h1 {
color: #ffc400;
}

.about {
	min-height: 80vh;
	width: 100%;
	}

 .about-elliott {
 		  margin: 60px auto;
        font-family: 'SC', sans-serif;
        color: #fff;
        line-height: 1.8;
        max-width: 48vw;
        min-height: 80vh;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        text-shadow: 1px 1px 2px black;
    }

    .about-elliott h2 {
        color: #ffc400;
        text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
    }

    .about-elliott p {
        margin-bottom: 1.5rem;
    }
    
    .portfolio-section {
  padding: 40px 20px;
  max-width: 100%;
  min-height: 50vh;
  margin: auto;
  background-color: #5a5a5a;
  color: #eee;
}

.portfolio-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ffc400;
}

.portfolio-filters {
  text-align: center;
  margin-bottom: 30px;
}

.portfolio-filters button {
  margin: 10px 10px;
  padding: 10px 20px;
  background-color: #333;
  color: #f4c842;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.portfolio-filters button:hover,
.portfolio-filters button.active {
  background-color: #f4c842;
  color: #111;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.portfolio-grid img {
  width: 300px;
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  object-fit: cover;
}

.portfolio-grid img.hidden {
  display: none;
}

.bio-photo {
	  display: block;
  /* flex-direction: column; */
  max-width: 40%;
  height: auto;
  align-self: flex-start;
}

.bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
  max-width: 100%;
  text-align: center;
  font-size: 1.2em;
  padding: 20px;
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('bg.jpg');
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bio-af {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
  max-width: 100%;
  text-align: center;
  font-size: 1.2em;
  padding: 20px;
}

.yellow-button {
  background-color: #ffc600;
  color: #000000;
  padding: 12px 24px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.yellow-button:hover {
  transform: scale(1.08);
  background-color: #ffcf40;
}

/* Galeria i social media */
.gallery-wrapper {
  display: flex;
  gap: 20px;
  max-width: 100vw;
}

.social-icons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  text-decoration: none;
}

.social-icons a:nth-child(1) { background: #e1306c; }
.social-icons a:nth-child(2) { background: #1877f2; }
.social-icons a:nth-child(3) { background: #000; }
.social-icons a:nth-child(4) { background: #db4437; }

.gallery {
  padding-top: 20px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  flex-grow: 1;
  z-index: 2;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.2);
}

.info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row; /* domyślnie poziomo */
  background-color: #222;
  color: #fff;
  min-height: 50vh;
}

/* BOX Z ADRESEM */
.address {
  text-align: center;
  flex: 2;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.info-box{
	  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('wat.jpg');
  background-repeat: no-repeat;
  background-position: center 80%;
  background-size: cover;
  background-attachment: fixed; /* zmienione z fixed */
}

.info-box h2{
	color: #ffc400;
}
/* BOX Z MAPĄ */
.map {
  flex: 1;
  min-height: 50vh;
  width: auto;
}

.map-placeholder iframe {
  width: 100%;
  min-height: 50vh;
  border: 0;
}

.box {
}

/* Footer */
footer {
  background: linear-gradient(to bottom, #5a5a5a, #000000);
  padding: 20px;
  text-align: center;
}

a {
	  font-family: TT;
}

.responsive-text {
  font-family: 'INK', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  padding: 40px 20px;
  max-width: 900px;
  /*margin: auto;*/
  color: #f0f0f0;
  border-radius: 16px;
}

.text-link {
  color: #f4c842;
  font-weight: bold;
  text-decoration: underline;
}

/* Mobile: 768px i mniej */
@media (max-width: 768px) {
	
	.responsive-text {
    font-size: 1em;
    padding: 15px 10px;
    width: 100%;
 }
 
  .menu-toggle {
    display: block;
    margin: 10px auto;
  }

  nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
  }

  nav.active {
    height: auto;
    opacity: 1;
  }

  .logo {
    width: 65vw;
  }

  .bio-photo {
    width: 100vw;
    max-width: 100%;
    height: auto;
  }

  .bio {
    width: 100%;
    font-size: 1em;
    background-size: cover;
    background-position: center;
  }
  
  .bio-af {
    width: 100%;
    font-size: 1em;
    background-size: cover;
    background-position: center;
  }
  
    .info {
    flex-direction: column;
  }

  .address,
  .map {
    min-width: 100%;
    width: 100%;
    height: auto;
    padding: 20px 10px;
  }
  
   .portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .portfolio-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    /* delikatne przyciemnienie przy tapnięciu */
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
}

/* Lightbox (tylko mobile go pokazujemy przez JS, ale style globalne) */
#mobileLightbox {
  position: fixed;
  inset: 0;
  display: none;              /* włączane JS-em */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  padding: 16px;
}

#mobileLightbox.open { display: flex; }

#mobileLightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
}

body.modal-open { overflow: hidden; }
