/* src/styles/global.css */

/* Pagrindiniai nustatymai */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  body {
    background-color: #f4f4f4;
    font-family: 'Inter', sans-serif;
  }
  
  /* Antraštė (header) */
  header {
    height: 6rem;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #333; /* Fono spalva, kol kraunasi nuotrauka */
    background-image: url('/images/top.jpg'); /* Set the background image */
    background-size: cover; /* Make sure the image covers the entire header */
    background-position: center; /* Position the image in the center */
    color: white;
    padding: 15px 0;
    text-align: center;
    z-index: 100;
    transition: opacity 0.5s ease, visibility 0s ease 0.5s;
  }

  
  header nav a {
    all: unset; /* neutralizuoja Tailwind spalvų keitimą */
    cursor: pointer;
    margin: 0 15px;
    font-weight: 500;
    color: white;
  }
  
  header nav a:hover {
    text-decoration: underline;
  }
  
  /* Poraštė (footer) */
  footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: auto;
  }
  
  /* Teksto elementai */
  h1, h2, p {
    color: black;
  }
  
  /* Mygtukai */
  button:not(.tailwind-btn) {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
  }
  
  button:not(.tailwind-btn):hover {
    background-color: #45a049;
  }
  
  /* Pagrindinis turinys */
  main {
    padding-top: 80px;
    padding: 20px;
    flex-grow: 1;
  }
  
  /* Nuorodos */
  a {
    text-decoration: none;
    pointer-events: auto;
    z-index: 1;
    position: relative;
  }
  
  /* Foninė nuotrauka */
  img.bg-image {
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
  }
  
  /* Galerija */
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  #showMoreBtn {
    display: block;
    margin: 20px auto;
  }
  
  /* Sekcijų vidiniai nustatymai */
  section {
    position: relative;
  }

 /* Hamburger mygtuko stilius pagal ID "burger" */
#burger {
    background-color: #000000; /* Pilka spalva */
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 5px; /* Kampai suapvalinti */
  }
  
  #burger:hover {
    background-color: #666666; /* Tamsesnė pilka spalva hover efektui */
  }
  
  #burger.open {
    background-color: #666666; /* Tamsesnė pilka spalva, kai mygtukas atidarytas */
  }
  
  #burger.open:hover {
    background-color: #444444; /* Dar tamsesnė pilka spalva hover efektui, kai atidarytas */
  }
  
  /* Jei naudojate ikoną hamburgerio mygtuke, įsitikinkite, kad ikonų spalva bus pritaikyta */
  #burger .iconify {
    color: white; /* Balta spalva ikonai */
  }

  #header {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s ease 0.5s;
    margin: 0; /* Nustatome, kad nebūtų marginų */
    border-bottom: none; /* Pašaliname galimus kraštus */
    box-shadow: none; /* Pašaliname galimus šešėlius */
  }
  
  #header.loaded {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
  }
  
  #lightbox img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
  