:root {
  --bg-dark: #1e1e21;
  --bg-mid: #525157;
  --bg-light: #908e96;

  --surface: rgba(42, 42, 46, 0.62);
  --surface-2: rgba(255, 255, 255, 0.07);

  --text: #f2f2f5;
  --muted: #c7c5cc;

  --red: #ba272c;
  --red-deep: #8f1d22;

  --gold: #d9a927;

  --white: #ffffff;
  --black: #101012;

  --border: rgba(255, 255, 255, 0.20);

  --shadow: 0 16px 42px rgba(0, 0, 0, 0.38);

  --max: 1180px;
  --radius: 20px;
}

    * { 
        box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--text);
      font-family: "Segoe UI", Tahoma, Arial, sans-serif;
      line-height: 1.6;
      background:
        linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.08)),
        repeating-linear-gradient(
          180deg,
          rgba(255,255,255,.045) 0px,
          rgba(255,255,255,.015) 2px,
          rgba(0,0,0,.02) 4px,
          rgba(255,255,255,.015) 6px
        ),
        linear-gradient(180deg, var(--bg-light), var(--bg-dark));
      min-height: 100vh;
    }

    

    a {
      color: inherit;
      text-decoration: none;
    }

  

    .site-header {
        background: rgba(0, 0, 0, 0.511);
        color: #fff;
        width: 100%;
        
    }

   .container {
        width: 80%;
        
        margin: 0 auto;
        padding: 24px 0;

        display: flex;
        justify-content: space-between;
        align-items: center;            
    }


    /* Logo */





/* Naslov */

.header-title {
    text-align: center;

    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: #fff;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Navigacija */

.main-nav {    

    display: flex;
    justify-content: flex-end;
    align-items: center;    
}

.main-nav-mobile{
   display: flex;
   flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.open{
    display: none;
}

.main-nav-a {
    color: #fff;
    text-decoration: none;

    padding: 10px 12px;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.main-nav a:hover {
    background: #c6281c;
}



/* Hero */

    .hero {
      padding: 34px 0 26px;
      height: 70vh;
      background-image: url("images/hero.jpg");
      background-size: cover;
      background-position: center;
      border-top: #e9e9ea 1px solid;
      border-bottom: #e9e9ea 1px solid;
    }

    .description{
      padding: 20px 0;
    }
.info-accordion {
    width: 100%;
  
    display: flex;
    flex-direction: column;    
}


.accordion-item {
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}


/* NASLOV */

.accordion-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    border: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.015)
        );

    color: var(--text);

    font-size: 1rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;

    text-align: left;

    cursor: pointer;

    transition: background 0.25s ease;
}


.accordion-header:hover {
    background:
        linear-gradient(
            90deg,
            rgba(186, 39, 44, 0.30),
            rgba(255,255,255,0.02)
        );
}


/* CRVENA LINIJA LEVO */

.accordion-header::before {
    content: "";

    width: 4px;
    height: 24px;

    flex: 0 0 4px;

    background: var(--red);
}


/* STRELICA */

.accordion-arrow {
    margin-left: auto;

    color: var(--red);

    font-size: 1rem;
    font-weight: 400;
    transform: scale(1.5, 1);
    

    line-height: 1;

    transition: transform 0.3s ease;
}


/* SADRŽAJ */

.accordion-content {
  
    max-height: 0;

    overflow: hidden;

    transition: max-height 0.4s ease;
}


.accordion-content-inner {
  margin-top: 10px;
    padding:
        4px
        24px
        22px
        28px;

    color: var(--muted);

    font-size: 0.96rem;
    line-height: 1.75;
}


/* OTVOREN ELEMENT */

.accordion-item.open .accordion-header {
    background:
        linear-gradient(
            90deg,
            rgba(186, 39, 44, 0.22),
            rgba(255,255,255,0.02)
        );
}


.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
}


      .shell {
      width: min(100% - 28px, var(--max));
      margin-inline: auto;
    }

.chapter-card-slider {
    padding: 0;
    overflow: hidden;
}


/* =========================
   CAROUSEL
   ========================= */

.chapter-carousel {
    position: relative;

    width: 100%;

    background: var(--bg-dark);

    overflow: hidden;

    
}


.chapter-carousel-track {
    position: relative;

    width: 100%;

    
}

.chapter-carousel-track.portrait {
    aspect-ratio: 1254 / 1698;
}

.chapter-carousel-track.landscape {
    aspect-ratio: 550 / 181;
}


.chapter-slide {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transition: opacity 0.4s ease;
}


.chapter-slide.active {
    opacity: 1;
}

.chapter-slide picture {
    width: 100%;
    height: 100%;

    display: flex;
}

.chapter-slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================
   STRELICE
   ========================= */

.chapter-carousel-btn {
    position: absolute;

    top: 50%;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);

    color: var(--white);

    font-size: 1.4rem;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.chapter-carousel-btn:hover {
    background: var(--red);

    transform:
        translateY(-50%)
        scale(1.05);
}


.chapter-carousel-prev {
    left: 10px;
}


.chapter-carousel-next {
    right: 10px;
}


/* =========================
   DOTS
   ========================= */

.chapter-carousel-dots {
    position: absolute;

    bottom: 12px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;
}


.chapter-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.4);

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.chapter-dot.active {
    background: var(--red);

    transform: scale(1.25);
}


/* =========================
   DONJI DEO KARTICE
   ========================= */

.chapter-card-content {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 0 8px 0 8px;
}


.chapter-card-content h3 {
    margin: 0;

    font-size: 1.05rem;

    text-transform: uppercase;
    letter-spacing: 0.03em;

    color: var(--text);
}


.chapter-card-content p {
    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}





    .hero-wrap {
      display: flex;
      flex-direction: column;
      gap: 26px;
    }

    .cover-panel {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 18px;
      border: 1px solid rgba(255,255,255,.16);
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.14));
      box-shadow: var(--shadow);
    }

    .accent-bars {
      display: flex;
      align-items: center;
      gap: 5px;
      max-width: 320px;
    }

    .accent-bars span {
      height: 10px;
      border: 1px solid rgba(255,255,255,.30);
      box-shadow: inset 0 1px 1px rgba(255,255,255,.24);
    }

    .accent-bars .black { flex: 0 0 34%; background: var(--black); }
    .accent-bars .white { flex: 0 0 34%; background: #e9e9ea; }
    .accent-bars .gold { flex: 0 0 32%; background: var(--gold); }

    .hero-main {
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .visual-stack {
      display: flex;
      flex-direction: column;
      gap: 10px;
      
    }

    .visual-frame {
      position: relative;
      overflow: hidden;
      border: 3px solid rgba(255,255,255,.28);
      box-shadow: 0 20px 38px rgba(0,0,0,.34);
      background: rgba(0,0,0,.18);
    }

    .visual-frame img {
      width: 100%;
      object-fit: cover;
    }

    .hero-copy {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .rule {
      width: 100%;
      max-width: 340px;
      height: 2px;
      background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.18));
      align-self: flex-start;
    }

    .title-plate {
      display: inline-flex;
      align-self: flex-start;
      padding: 10px 18px;
      background: linear-gradient(180deg, #d23428, #b12118);
      border: 2px solid rgba(255,255,255,.80);
      box-shadow: 0 8px 24px rgba(0,0,0,.22);
    }

    .title-plate h1 {
      margin: 0;
      font-size: clamp(1.85rem, 6vw, 3.75rem);
      letter-spacing: .03em;
      line-height: 1;
      font-weight: 900;
      
    }

    .intro {
      max-width: 62ch;
      color: #f3f3f4;
      font-size: 1rem;
      margin: 0;
    }

    .toc {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 18px;
      background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.18));
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 16px;
    }

    .toc-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--white);
      font-size: .95rem;
      letter-spacing: .01em;
      text-transform: uppercase;
    }

    .toc-row span:last-child {
      color: #f2d252;
      font-weight: 800;
      min-width: 28px;
      text-align: right;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .btn {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 16px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid rgba(255,255,255,.30);
      transition: transform .18s ease, background .18s ease;
    }

    .btn:hover {
      transform: translateY(-1px);
    }

    .btn-primary {
      background: var(--red);
      color: var(--white);
    }

    .btn-secondary {
      background: rgba(255,255,255,.06);
      color: var(--white);
    }

  

    .section-title {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 18px;
    }

    .section-title h2 {
      margin: 0;
      font-size: clamp(1.45rem, 4vw, 2.35rem);
      text-transform: uppercase;
      letter-spacing: .03em;
    }

    .section-title p {
      margin: 0;
      color: var(--muted);
      max-width: 68ch;
    }

    .panel {
      padding: 18px;
      border-radius: var(--radius);
      border: 1px solid rgba(255,255,255,.16);
      background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.14));
      box-shadow: var(--shadow);
    }

    .feature-list,
    .price-list,
    .chapter-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .feature-card,
    .chapter-card {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 0 0 16px 0;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.05);
      border-radius: 16px;
      overflow: hidden;
    }

        .price-card {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 16px;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(255,255,255,.05);
      border-radius: 16px;
      overflow: hidden;
    }

    .feature-index {
      width: 38px;
      height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: rgba(201,42,31,.92);
      border: 1px solid rgba(255,255,255,.45);
      font-size: .92rem;
      font-weight: 900;
    }

    .feature-card h3,
    .price-card h3,
    .chapter-card h3 {
      margin: 0;
      font-size: 1.02rem;
      text-transform: uppercase;
      letter-spacing: .02em;
    }

    .feature-card p,
    .price-card p,
    .chapter-card p {
      margin: 0;
      color: var(--muted);
    }

    .preview-wrap {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .preview-image {
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 16px;
      background: rgba(255,255,255,.05);
      margin-bottom: 10px;
    }

    .preview-image img {
      width: 100%;
      object-fit: cover;
    }

    .price-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .price-qty {
      color: #f2d252;
      font-size: .86rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .08em;

      flex: 0 0 40%;
    }

    .price-value {
      font-size: 1.3rem;
      font-weight: 900;
      line-height: 1;
    }

    .price-value small {
      font-size: .85rem;
      color: var(--muted);
      font-weight: 700;
    }

    .contact-box {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 22px;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.18);
      background: linear-gradient(180deg, rgba(201,42,31,.22), rgba(0,0,0,.18));
    }

    .contact-box p {
      margin: 0;
      color: var(--muted);
    }

    .footer {
      padding: 24px 0 36px;
    }

    .footer-inner {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,.15);
      color: var(--muted);
      font-size: .9rem;
    }

    @media (max-width: 480px) {
         .container{
            width: 95%;
        }
        .header-title{
            display: none;
        }
        .header-logo img{
            height: 50px;
        }
        .main-nav{
       display: none;
        }
        .menu-toggle {
            display: block;
        }
    .info-accordion {        
        gap: 8px;
    }

    .accordion-header {
        padding: 16px;

        font-size: 0.9rem;
    }

    .accordion-content-inner {
        padding:
            2px
            18px
            20px
            24px;

        font-size: 0.91rem;
    }
        
    }
    @media screen and (min-width: 481px) and (max-width: 768px) {
        .container{
            width: 90%;
        }
        .header-title{
            display: none;
        }
    .header-logo img{
            height: 50px;
        }
        .main-nav{
       display: block;
        }

    .main-nav a {
        padding: 10px 8px;
        }

        .info-accordion {
        
        gap: 8px;
    }

    .accordion-header {
        padding: 16px;

        font-size: 0.9rem;
    }

    .accordion-content-inner {
        padding:
            2px
            18px
            20px
            24px;

        font-size: 0.91rem;
    }

    .chapter-carousel-btn {
        width: 36px;
        height: 36px;

        font-size: 1.2rem;
    }

    .chapter-card-content {
        padding: 16px;
    }

    



    }
     @media screen and (min-width: 769px) and (max-width: 1039px) {
        .container{
            width: 90%;
        }
        .header-title{
            display: block;
            font-size: 1.2rem;
        }
    .header-logo img{
            height: 40px;
        }
        .main-nav{
       display: block;
        }

    .main-nav a {
        padding: 10px 8px;
        }
    .hero {
      background-image: url("images/hero-desk.jpg");      
    }

        .chapter-carousel-btn {
        width: 36px;
        height: 36px;

        font-size: 1.2rem;
    }

    .chapter-card-content {
        padding: 16px;
    }

    }

    @media (min-width: 1040px) {
              .header-title{
            display: block;
            font-size: 1.6rem;
        }
        .hero {
      background-image: url("images/hero-desk.jpg");      
    }

     .chapter-carousel-track {
        /* landscape */
        aspect-ratio: 16 / 9;
    }
     .chapter-slide img {
        object-fit: cover;
    }

    }
