/*
===============================================================================================================================
Put your custom CSS in this file.
===============================================================================================================================
*/
/* Kolorowe przyciski*/

   .button-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
    }

    a.button-container {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      border-radius: 8px;
      font-family: Arial, sans-serif;
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      color: #fff;
      user-select: none;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);

      /* animacja wejścia */
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.6s ease forwards;
    }

    /* efekt lekkiego opóźnienia pojawiania się */
    a.button-container:nth-child(1) { animation-delay: 0.1s; }
    a.button-container:nth-child(2) { animation-delay: 0.2s; }
    a.button-container:nth-child(3) { animation-delay: 0.3s; }
    a.button-container:nth-child(4) { animation-delay: 0.4s; }
    a.button-container:nth-child(5) { animation-delay: 0.5s; }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    a.button-container:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    .icon {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
    }

    .text-block {
      display: flex;
      flex-direction: column;
      line-height: 1.3;
    }

    .title {
      font-size: 16px;
      font-weight: 600;
      color: #fff;
    }

    .subtitle {
      font-size: 13px;
      color: #f0f0f0;
    }

    /* Efekt falowania */
    .ripple {
      position: absolute;
      border-radius: 50%;
      transform: scale(0);
      animation: ripple 600ms linear;
      background-color: rgba(255, 255, 255, 0.5);
      pointer-events: none;
    }

    @keyframes ripple {
      to {
        transform: scale(4);
        opacity: 0;
      }
    }

    /* Pastelowe kolory przycisków */
    .vulcan { background:#90caf9; }
    .office { background:#ffcc80; }
    .teams  { background:#b39ddb; }
    .moodle { background:#ffab91; }
    .plan   { background:#a5d6a7; }

 /* kolumny tekstu i obrazu w "Patron"*/   

    .content {
  margin: 0 40px 40px 40px;
}

.content img {
  display: block;
  margin: 20px auto;
  max-width: 300px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.content p {
  text-align: justify;
  line-height: 1.6;
}

/* --- Stylizacja tylko dla bloku kadra --- */
.kadra {
  font-family: Arial, sans-serif;
  background: #f8f9fa;
  color: #333;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.kadra h1 {
  text-align: center;
  color: #3a7bd5; /* niebieski */
}

.kadra .dyrekcja-container {
  text-align: center;
  margin-bottom: 40px;
}

.kadra .node {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  margin: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.kadra .node:hover {
  transform: scale(1.05);
}

.kadra .dyrekcja { background: #3a7bd5; }
.kadra .przedmiot { 
  background: #2a9d8f; 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.kadra .nauczyciel { 
  background: #f4a261; 
  display: block; 
  margin-top: 5px; 
  cursor: default;
}

.kadra .subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.kadra .subject-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 16px;
  text-align: center;
}

.kadra .subject-card .node.przedmiot {
  margin-bottom: 10px;
  font-weight: bold;
}

.kadra .teachers {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.kadra .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 14px;
}

.kadra .arrow.rotate {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .kadra .subjects {
    grid-template-columns: 1fr;
  }
}

/*------ Stilizacja ikon społecznościowych ------*/

              

/*stylizacja social ikon z deepseek*/

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}

/* Każda ikona w osobnym elemencie */
.social-icon {
    position: relative;
    text-align: center;
}

/* Styl podstawowy linków ikon */
.social-icon a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #f5f5f5; /* Jasny kolor ikon – pasuje do nagłówka */
    
    padding-left: 3px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    position: relative;
    overflow: hidden;
    justify-content: center;
}

/* Efekt po najechaniu */
.social-icon a:hover {
    transform: translateY(-3px);
    background: rgb(255, 255, 255);
    box-shadow: 0 5px 15px rgba(235, 235, 235, 0.478);
}

/* Ikony Font Awesome */
.social-icon i {
    font-size: 22px;
    transition: all 0.3s ease;
}

/* Kolory po najechaniu dla poszczególnych ikon */
.social-icon.facebook a:hover i {
    color: #1877f2; /* niebieski (Facebook) */
    
}

.social-icon.youtube a:hover i {
    color: #b33e3e; /* czerwony (YouTube) */
}

.social-icon.email a:hover i {
    color: #34a853; /* zielony (E-mail) */
}

/* Opcjonalnie – zmiana obwódki na kolor ikony */
.social-icon.facebook a:hover {
    border-color: #1877f2;
}

.social-icon.youtube a:hover {
    border-color: #b33e3e;
}

.social-icon.email a:hover {
    border-color: #34a853;
}

/* Liczniki (opcjonalne) */
.like-count {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    background: rgba(30, 144, 255, 0.9);
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    bottom: -5px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.social-icon a:hover .like-count {
    opacity: 1;
    transform: translateY(0);
}

/* Efekt pulsowania */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.social-icon a.updating .like-count {
    animation: pulse 0.5s ease-in-out;
}

/* Responsywność */
@media (max-width: 768px) {
    .social-icons {
        gap: 12px;
    }
    
    .social-icon a {
        width: 45px;
        height: 45px;
        padding: 10px;
    }
    
    .social-icon i {
        font-size: 22px;
    }
    
    .like-count {
        font-size: 9px;
        bottom: -4px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 10px;
    }
    
    .social-icon a {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .social-icon i {
        font-size: 18px;
    }
    
    .like-count {
        font-size: 8px;
        bottom: -3px;
    }
}



/* Galeria featherlight w artykułach blogu */

/* Stylizacja strzałek nawigacyjnych */
.featherlight .featherlight-next,
.featherlight .featherlight-previous {
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.featherlight .featherlight-next:hover,
.featherlight .featherlight-previous:hover {
    background: rgba(0,0,0,0.8);
}

.featherlight .featherlight-next span,
.featherlight .featherlight-previous span {
    color: white;
    font-size: 24px;
}