* {
          padding: 0;
          margin:0;
          box-sizing: border-box;
        }
    
        body {
          font-family: 'Inter', sans-serif;
          background-color: #2c2c2c;
          color: #f0f0f0;
          transition: background-color 1.1s ease, color 1.1s ease;
          height:100%;
          margin:0;
        }
    
        html, body {
          height: 100%;
          margin: 0;
          display: flex;
          flex-direction: column;
        }

        main {
          flex: 1 0 auto;
        }
        

        footer {
          background-color: #111;
          color: #ccc;
          text-align: center;
          padding: 15px 10px;
          font-size: 14px;
          flex-shrink: 0;
        }

    
    .wybor {
      background-color: #0f0f0f;
      padding: 0.75rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position:relative;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
      /* border-bottom: 1px solid #222; */
    }

    .wybor div {
      font-weight: 500;
      transition: color 1.1s ease;
    }

    .wybor div:hover {
      color: #d1d1d1;
      cursor: pointer;
      
      
    }
    
        header {
          background-color: #1a1a1a;
          padding: 0 1.5rem;
          padding-bottom: 1rem;
          width: 100%;
          display: flex;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
          transition: background-color 1.1s ease, color 1.1s ease;
        }
    
        header img {
          width: 150px;
          height: auto;
          padding-top:20px;
        }
    
        nav{
          display:flex;
          justify-content: center; 
          align-items: center;     
          gap: 20px;               
          flex: 1;
          padding-right: 100px;
          
        }
    
        nav a{
          text-decoration: none;
          color: #f0f0f0;
          font-size:2rem;
          padding-top:20px;
          padding-inline: 20px;
          transition: background-color 1.1s ease, color 1.1s ease;
          
        }
    
        nav a:hover{
          color: #d1d1d1;
          cursor: pointer;
        }
        main{
          width:100%;
          padding:50px;
          justify-content: center;
          display:flex;
          align-items: center;
          overflow: hidden;
        }
        ul li{
          list-style: none;

          font-weight: bolder;
       
        }
        .aside ul li{
          margin-left: 30px;
          margin-top:5px;
          padding-bottom:10px;  
        }
        ul li:last-child{
          padding-bottom: 0;
        }
        p{
          margin-left: 20px;
        }
        iframe{
          border-radius: 20px;
          margin-top:25px;
          
        }
        h1, h2{
          color: steelblue;
        }

        .aside p{
        padding:10px;
        }

        .aside {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        }

        .aside a{
          color: #f0f0f0;
          text-decoration: none;
        }
        .aside a:hover{
          color: #d8d4d4;
          text-decoration: underline;

        }

        .light-mode{
          color: #212121;
          background-color: #f5f5f5;
        
        }
        .light-mode .summary ul{
          display:block;
          margin-top:150px;
          margin-left:40px;
          padding-left:30px;
          height:200px;
          border: 3px solid #1a1a1a;
          border-radius:5%;
          background-color: #00000035;
          transition: background-color 1.1s ease, border-color 1.1s ease;
    
        }
        .light-mode header{
          background-color: white;
          padding: 0 1.5rem;
          padding-bottom: 1rem;
          width: 100%;
          display: flex;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        }
        .light-mode nav a{
          color: black;
          transition: color 1.1s ease;
         
        }
        .mode{
          width:70px;
          height:30px;
          border-radius:10px;
          border:2px solid black;
          background-color:rgba(0, 0, 0, 0.438);
          transition: background-color 1.1s ease;
          font-size: 0.9rem;
          cursor:pointer;
        }
        
        .social-media{
            left:100px;
        }
    
        .social-media img{
          width: 20px;
        }
        .light-mode .aside a{
          color:black;
          transition: color 1.1s ease;
        }
    
        .social-media ul li{
            list-style: none;
            display: inline-block;
        }
        .mode-icon {
          display: inline-block;
          transition: opacity 0.4s ease;
        }
    
        .mode-icon.fade-out {
          opacity: 0;
        } 
        .icons {
          width: 25px;
          height: 25px;
          text-decoration: none;
          color: white;
          background-color: gray;
          border-radius: 50%;      
          padding: 5px;
          display: flex;
          justify-content: center;
          align-items: center;
          margin: 2px;
          transition: transform 0.15s ease;
        }
        #facebook-icon {
          background-color: blue;
        }
        #yt-icon {
          background-color: red;
        }
        .icons:hover {
          transform: scale(1.1);
        }
        .lang-dropdown{
          position:relative;
          display:inline-block;
        }
        .lang-btn{
          background-color:transparent;
          color:white;
          border:none;
          cursor:pointer;
          font-weight:500;
          display:flex;
          align-items:center;
          gap:8px;
        }
    
        .flag-icon{
          width:20px;
          height:auto;
          border-radius:3px;
        }
        .lang-selector{
          min-width: 100px;
        }
        .lang-menu {
          position: absolute; 
          display: none;
          background-color: #1e1e1e;
          min-width: 120px;
          border: 1px solid #444;
          border-radius: 4px;
          z-index: 101; 
          top: 100%;
          left: 11px;
          margin-top: -12px;
        }
    
        .lang-selector.open .lang-menu {
          display: block; 
        }
    
        .lang-option{
          padding:8px 12px;
          transition:0.3s;
          cursor:pointer;
          display:flex;
          align-items:center;
          gap:8px;
          color:white;
        }
        .lang-option:hover{
          transition:0.3s;
          background-color:#333;
        }
    
        .lang-selector.open .arrow-icon {
          transform: rotate(180deg);
        }
        .arrow-icon {
          margin-left:-5px;
          transition: transform 0.3s ease;
        }
        .arrow-icon path{
          stroke:white;
        }

      /* Burger base (hidden by default) */
   .burger {
    display: none;
    background: none;
    border: none;
    color: #f0f0f0;
    font-size: 2rem;
    margin-left: auto;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: color 1.1s ease;
  }
  .light-mode .burger{
    color:black;
    transition: color 1.1s ease;
  }

    @media (max-width: 768px) {

    }
    /* Responsive nav styles */
    @media (max-width: 1024px) {
      nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: none;
        z-index: 999;
        transition: opacity 0.3s ease;
        padding-right: 0px;
      }
      nav a {
        padding: 20px;
        font-size: 2rem;
        width: auto;
        border: none;
        color: #f0f0f0;
      }
      main{
        flex-direction: column;
        text-align: center;
       }
      iframe{
         height: 400px;
         width: 100%;
      }
      .aside{
        width: 100%;
      }
      .aside a{
        transition: color 1.1s ease;
      }
      nav.active {
        display: flex;
        transition: color 1.1s ease;
      }
      .light-mode nav.active{
      transition: color 1.1s ease;
      background-color: rgba(185, 185, 185, 0.868);
    }
          
    
      .burger {
        display: block;
        padding-top: 20px;
      }
     
    
      .burgerIcon{
        position:relative;
      }
    }
    @media (min-width: 1025px){
      .aside{
        width: 40%;
        height: 80%;
        padding-left: 20px;
      }
      iframe{
        width: 60%;
        height: 500px;
      }
    }
    /* ========== DESKTOP DROPDOWN ========== */
@media (min-width: 1025px) {
  

  .mobile-only {
    display: none !important;
  }

  .dropdown1 {
    position: relative;
    display: inline-block;
    padding-top: 20px;
  }


  .dropdown1 > a {
    color: white;
    font-size: 2rem;
    padding: 12px 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 8px;
  }

  .dropdown1 > a:hover {
    color: #007cc2;
  }

  .dropdown1-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
  }
  .light-mode .dropdown1-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
  }

  .dropdown1:hover .dropdown1-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .dropdown1-content a {
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .light-mode .dropdown1-content a {
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .dropdown1-content a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #007cc2;
  }

  .dropdown1-content a::before {
    content: "📦";
    font-size: 1rem;
  }
}

/* ========== MOBILE AKORDEON ========== */
@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }

  .accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    color: #f0f0f0;
    font-size: 2rem;
    padding: 15px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid #555;
    cursor: pointer;
  }

  .accordion-toggle i {
    transition: transform 0.3s ease;
  }
  .light-mode .accordion-toggle{
    color:black;
    border-bottom:1px solid white;
  }
  .accordion-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.02);
    flex-direction: column;
  }

  .accordion-content a {
    display: block;
    padding: 12px 20px;
    font-size: 1.5rem;
    color: #ccc;
    text-decoration: none;
    border-bottom: 1px solid #444;
    text-align: center;
  }

  .accordion-content a:hover {
    background-color: #555;
  }

  .accordion-content.open {
    max-height: 600px;
    padding: 10px 0;
  }
}