
    * { margin:0; padding:0; box-sizing:border-box; font-family: "Gilroy", Sans-serif; }
    body { background: #222; color: #fff; font-family: Arial, sans-serif; margin: 0; padding: 0; }
    
    /* Основные Flexbox-стили для прижатия футера */
    html, body {
        height: 100%;
    }
    body {
        display: flex;
        flex-direction: column;
    }
    /* Этот контейнер будет занимать все доступное пространство, "выталкивая" футер вниз */
    .content-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding-top: 102px; /* Отступ, чтобы контент не перекрывался навигацией */
    }

    a { text-decoration:none; color:inherit; }
    ul { list-style:none; }
    img { max-width:100%; display:block; }

    .nav {
      position: fixed; top: 0; left: 0; width: 100%;
      background: rgba(0,0,0,0.8);
      color: #fff; z-index: 100;
      display: flex; justify-content: space-between; align-items: center;
      padding: 0px 20px;
    }
    .nav-logo { display: flex; align-items: center; }
    .nav img {height: 100px; width: auto; }
    .nav-list { display:flex; gap:80px; }
    .nav-list-item a { color:#fff; font-weight:500; transition:opacity 1.5s; }
    .nav-list-item a:hover { opacity:0.7; }
    .hamburger { display:none; cursor:pointer; }
    .hamburger-line { width:25px; height:3px; background:#fff; margin:5px 0; }
    .social-icons-nav { display: flex; align-items: center; gap: 30px; }
    .social-icons-nav a { font-size: 32px; color: #fff; transition: color 0.3s ease; }
    .social-icons-nav a.fa-facebookk:hover { color: #3b5998; }
    .social-icons-nav a.fa-instagramm:hover { color: #e1306c; }
    .social-icons-nav a.fa-telegramm:hover { color: #229ED9; }
    .social-icons-nav a img {
        filter: brightness(-1) invert(1);
        transition: filter 0.3s ease;
        height: 45px;
    }
    
        .instruction-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
      padding: 40px 20px;
      background-color: #f9f9f9;
      border-radius: 0px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    }

    .instruction-title {
        font-size: 35px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
    }

    .instruction-subtitle {
        font-size: 1.2rem;
        color: #666;
        margin-bottom: 30px;
    }

    .steps-container {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        width: 100%;
        flex-wrap: wrap;
        gap: 30px;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 180px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 15px;
        border-radius: 10px;
    }

    .step:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .step-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #444;
        margin-bottom: 10px;
    }

    .step-text {
        font-size: 0.9rem;
        color: #777;
    }
    
.no-photos-message {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border: 2px dashed #ccc;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    transition: 0.3s ease;
    
}

    h1 {
      text-align: center;
      padding: 20px 0;
      font-size: 2.4rem;
      text-transform: uppercase;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
      padding: 40px;
    }

    .gallery-item img {
      width: 320px;
      height: 320px;
      object-fit: cover;
      border-radius: 20px;
      transition: transform 0.3s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.05);
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0; top: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.95);
      justify-content: center;
      align-items: center;
    }
    .modal-content {
      max-width: 90%;
      max-height: 90%;
      position: relative;
    }
    .modal-content img {
      max-width: 100%;
      max-height: 90vh; /* Уменьшаем, чтобы изображение помещалось на экране */
      object-fit: contain;
      border-radius: 12px;
    }
    .modal-close {
      position: absolute;
      top: -40px;
      right: 0;
      font-size: 2rem;
      color: white;
      cursor: pointer;
      z-index: 1000;
    }

    .pulsing {
        animation: pulse 1.5s infinite ease-in-out;
    }

    .clicked {
        animation: clickEffect 0.3s ease;
    }

    .nota-burger{display: none;}

    .footer {
        background-color: #373737;
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 20px;
    }

    @keyframes pulse {
        0%   { transform: scale(1);   opacity: 1; }
        50%  { transform: scale(1.1); opacity: 0.9; }
        100% { transform: scale(1);   opacity: 1; }
    }

    @keyframes clickEffect {
        0%   { transform: scale(1); }
        50%  { transform: scale(0.85); }
        100% { transform: scale(1); }
    }

    @media(max-width:1500px) {
      .nav-list {gap:60px;}
    }
    @media(max-width:1200px) {
      .nav-list {gap:25px;}
    }
    @media(max-width:1000px) {
      .nav-list {gap:10px;}
    }


    @media(max-width:700px) {
      .nav-list { display:none; position:absolute; top:80px; left:0; background:rgba(0, 0, 0, 0.7); width:100%; flex-direction:column;padding-left: 2rem; padding-bottom: 1rem; padding-top: 1rem; }
      .nav-list.show { display:flex; }
      .hamburger { display:block; }
      .social-icons-nav { display: none; }
      .nav img {height: 80px;}
      #play-melody{ display: none; }
      .nota-burger{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
      }
      .content-wrapper{padding-top: 82px; gap: 15px;}
      .no-photos-message {max-width: 84%;}
    }
    @media(max-width:570px) {
        .gallery-item img {max-height: none;}
        .steps-container {gap: 15px;}
        .no-photos-message {max-width: 84%;}
        
    }
