/* Global reset */
    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: 'Pirata One';
      background: url('../images/background-texture.jpg') center/cover no-repeat fixed;
      backdrop-filter: blur(4px);
      color: #141414;
       text-shadow:
         -1px -1px 0 rgb(214, 214, 214),
          1px -1px 0 rgb(214, 214, 214),
         -1px 1px 0 rgb(214, 214, 214),
         1px 1px 0 rgb(214, 214, 214),
         0 5px 5px rgba(0, 0, 0, 0.9);
      text-align: center;
      
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 0.5rem;
      margin: 0;
    }
    /* Header image */
    .header-image {
      max-width: 800px;
      height: 100%;
      object-fit: cover;
    }

    /* Main card window */
    .main-window {
      background: url('../images/window-background.png') center/cover no-repeat;
      aspect-ratio: 0.71428;
      background-color: rgba(77, 72, 52, 0);
      width: 100%;
      max-width: 700px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      overflow: hidden;
      padding: 2rem;
      border-radius: 20px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.9);
      font-size: 1rem;
      backdrop-filter: blur(8px); /* amount of blur */
      -webkit-backdrop-filter: blur(8px);
      filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
    }

    .headline {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .description {
      font-size: 1.7rem;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(1px);
      -webkit-backdrop-filter: blur(1px);
      margin-bottom: 1rem;
      margin-top: 1rem;
    }

    /* Buttons */
    .link-btn {
      display: block;
      width: 100%;
      max-width: 300px;
      margin: 10px auto;
      padding: 1rem;
      border-radius: 0 16px 0;
      background: rgba(160,160,160,0.5);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
      color: #141414;
      text-decoration: none;
      font-size: 2rem;
      transition: background 0.3s ease;
    }

    .link-btn:hover {
      background: rgba(160,160,160,0.6);
      transform: translateY(-2px) scale(1.04);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);  
    }

    /* Social links row */
    .social-row {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-top: auto;
      margin-bottom: 1rem;
    }

    .social-row a img { 
      height: 40px;
      transition: transform 0.2s ease;
      filter:drop-shadow(0 12px 16px rgba(0,0,0,0.9));
    }

    /* cleaned duplicate social row styles (defined above) */
    @media (max-width: 600px) {
      .headline { font-size: 2.rem; }
      .description { font-size: 1.2rem; }
      .main-window { margin: 0; }
      body {
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .link-btn { font-size: 1.5rem; }
    }
    
/* Social images hover glow (already defined above) */
/* Make cards scroll inside when content is long */
.scrollable {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Optional: style scrollbar (modern browsers only) */
.scrollable::-webkit-scrollbar {
  width: 8px;
}
.scrollable::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
}

/* Back button style */
.back-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.5rem;
  background: rgba(160,160,160,0.5);
  border-radius: 8px;
  color: #000000;
  text-decoration: none;
  font-family: 'Pirata One';
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-btn:hover {
  background: rgba(160,160,160,0.6);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);  
}
/* Timak style */
.timak-img {
  width: 100px;   /* or any size you want */
  height: auto;   /* keeps correct proportions */
  display: block; /* useful if you center it */
  margin: 1rem auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7)); /* optional styling */
}

 /* --- carousel overlay styles (self-contained) --- */
  /* --- carousel overlay styles (self-contained) --- */ 
    :root{ 
      --overlay-bg: rgba(0,0,0,0.82);
      --card-gap: 18px;
      --center-scale: 1;
      --side-scale: 0.86;
      --peek-width: 0%;
      --peek: 0; /* no peek */
      --stage-pad-y: 14px; /* vertical padding inside carousel stage to avoid clipping */
    } /* overlay / modal */ 

    /* reduce gaps/peek on smaller screens to avoid overhang */
    @media (max-width: 900px) {
      :root { --peek: 0; --card-gap: 12px; --stage-pad-y: 10px; }
    }
    @media (max-width: 560px) {
      :root { --peek: 0; --card-gap: 10px; --stage-pad-y: 8px; }
    }
.cards-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--overlay-bg);
  z-index: 9999;
  backdrop-filter: blur(6px);
}

.cards-overlay.show {
  display:flex; }
  .cards-overlay { touch-action: none; overscroll-behavior: none; }
  
  /* wrapper that centers and constrains the track */
  .cards-stage { position: relative;
    width: min(1100px, 96vw);
    height: min(80vh, 720px);
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* no peeking - single slide full width */
    padding-left: 0;
    padding-right: 0;
    padding-top: var(--stage-pad-y);
    padding-bottom: var(--stage-pad-y);
  } /* track of slides */
  
  .cards-track {
    height: 100%;
    display: flex;
    align-items: center;
    transition: transform 420ms cubic-bezier(.22,.9,.28,1);
    will-change: transform;
    pointer-events: auto; /* allow pointer events for dragging */
    /* Prevent browser touch gestures while overlay is shown; JS will handle swipe gestures */
    touch-action: none;
    
    /* slide-level clicks handled separately */ } /* each slide */
  .card { --w: 100%;
      
    /* main card width base */
      /* make each card full stage width so there's no peeking */
      width: 100%;
      max-width: 100%;
      flex: 0 0 100%;
      flex: 0 0 auto;
      /* keep the card within the stage height, but let the width adapt for aspect ratio */
      /* always fit vertically to the track height to avoid clipping */
      margin: 0 auto;
      border-radius: 12px;
      padding: 8px; /* inner padding so image can't touch card edges */
      overflow: hidden;
      background: #111;
      box-shadow: 0 20px 60px rgba(0,0,0,0.6);
      transform-origin: center center;
      transition: transform 320ms ease;
      pointer-events: auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
  .card img {
    /* maintain aspect ratio, fill height and shrink width when necessary */
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    box-sizing: border-box;
    margin: 0;
  }
  
  /* previously had center/side transforms; these are removed for a single-slide layout */
  
  /* prevent unexpected extra margins — keep consistent spacing */
  .card.prev { margin-left: 0; }
  
  /* extra spacing tweak */
  .card.next { margin-right: 0; }
  
  /* arrows */
  .cards-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    transition: background .18s ease, transform .12s ease;
  }
  
  .cards-arrow:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-50%) scale(1.06);
  }
  
  .cards-arrow.left {
    left: 10px;
  }
  
  .cards-arrow.right {
    right: 10px;
  } 
  
  .cards-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 12;
    cursor: pointer;
    transition: background .12s;
  }
  
  .cards-close:hover {
    background: rgba(255,255,255,0.12);
  }
  
  /* info footer (optional) */
  
  .cards-footer {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: #ddd;
    font-family: 'Pirata One', cursive;
    font-size: 0.95rem;
    opacity: .9;
  }
  
  /* responsive */
  @media (max-width:900px) {
    .cards-stage {
      height: 84vh;
    } 
    .card {
      --w: calc( (100% - (var(--card-gap)*2)) * 0.82 );
      height: calc(100% - 34px);
    }
    .cards-arrow { display: none;
    }
    
    /* rely on swipe on smaller screens */
  } 
  
  @media (max-width:560px) {
    .card {
      --w: calc( (100% - (var(--card-gap)*2)) * 0.92 );
      height: calc(100% - 28px);
    } 
  } 
/* subtle hint dots (optional) */
.cards-dots {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display:flex;
  gap:6px;
}
.cards-dots button {
  width:8px;
  height:8px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,0.18);
  cursor:pointer;
}
.cards-dots button.active {
  background: rgba(255,255,255,0.95);
  transform: scale(1.2);
}