:root {
  --bg: #15110d;
  --bg-soft: #211913;
  --panel: rgba(33, 25, 19, 0.86);
  --panel-strong: rgba(28, 21, 16, 0.94);
  --text: #f4ede4;
  --muted: #cfbfaf;
  --accent: #d6b07a;
  --accent-strong: #efd2a6;
  --line: rgba(214, 176, 122, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1280px;
}

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top, rgba(127, 199, 207, 0.10), transparent 38%),
        linear-gradient(180deg, #0b1215 0%, #10191d 45%, #0c1316 100%);
      line-height: 1.65;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .page-shell {
      width: min(var(--max-width), calc(100% - 32px));
      margin: 0 auto;
    }

    /* *********************************************************************************************************** */
    /*                                           TOPBAR                                    
    /* *********************************************************************************************************** */
    .topbar {
        position: sticky;
        top: 0;
        z-index: 50;
        backdrop-filter: blur(12px);
        background: rgba(8, 14, 17, 0.72);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .topbar-inner {
        width: min(var(--max-width), calc(100% - 32px));
        margin: 0 auto;
        padding: 14px 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    /* *********************************************************************************************************** */
    /*                                               BRAND                       
    /* *********************************************************************************************************** */
    .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        font-size: 0.78rem;
        color: var(--accent-strong);
    }

    .brand-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), #d6f2f5);
        box-shadow: 0 0 20px rgba(127, 199, 207, 0.5);
    }

    .brand-flag {
        width: 18px;
        height: 12px;
        object-fit: cover;
        border-radius: 2px;

        /* subtle polish */
        box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .top-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .top-links a {
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      color: var(--muted);
      font-size: 0.92rem;
      transition: 0.25s ease;
    }

    .top-links a:hover {
      transform: translateY(-1px);
      border-color: rgba(167, 223, 229, 0.32);
      color: var(--text);
      background: rgba(127, 199, 207, 0.08);
    }


    /* *********************************************************************************************************** */
    /*                                                   HERO 
    /* *********************************************************************************************************** */
    .hero {
        padding: 44px 0 28px;
    }

    .hero-panel {
        position: relative;
        overflow: hidden;
        min-height: 520px;
        border-radius: var(--radius-xl);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        background:
            linear-gradient(180deg, rgba(5, 10, 14, 0.16) 0%, rgba(5, 10, 14, 0.72) 72%, rgba(5, 10, 14, 0.92) 100%),
            url("assets/images/montenegro-hero.jpg") center/cover no-repeat;
        display: flex;
        align-items: end;
    }

    /* text panel */
    .hero-overlay {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 42px 34px 36px;
        background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.55));
    }

    .hero-image-mode {
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-xl);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        min-height: 520px;
        display: flex;
        align-items: end;
    }

    /* actual image */
    .hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* dark gradient overlay for readability */
    .hero-image-mode::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 85%);
        z-index: 1;
    }

    .hero-kicker {
        display: inline-block;
        margin-bottom: 14px;
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.12);
        background: rgba(8, 17, 20, 0.48);
        color: var(--accent-strong);
        font-size: 0.78rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .hero h1 {
        margin: 0 0 14px;
        max-width: 820px;
        font-size: clamp(2.2rem, 4vw, 4.5rem);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .hero p {
        margin: 0;
        max-width: 800px;
        font-size: 1.03rem;
        color: #e3eef1;
    }

    .hero-actions {
        margin-top: 24px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 18px;
      border-radius: 999px;
      font-weight: 600;
      transition: 0.25s ease;
    }

    .button-primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-strong));
      color: #082126;
      box-shadow: 0 14px 30px rgba(127, 199, 207, 0.20);
    }

    .button-primary:hover {
      transform: translateY(-2px);
    }

    .button-secondary {
      border: 1px solid rgba(255,255,255,0.14);
      background: rgba(255,255,255,0.04);
      color: var(--text);
    }

    .button-secondary:hover {
      transform: translateY(-2px);
      border-color: rgba(167, 223, 229, 0.32);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    section {
      padding: 26px 0;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 22px;
      margin-top: 6px;
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .panel h2 {
      margin: 0 0 14px;
      font-size: 1.45rem;
      letter-spacing: -0.02em;
    }

    .panel p {
      margin: 0;
      color: var(--muted);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .mini-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .mini-links a {
      padding: 9px 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      font-size: 0.88rem;
      color: var(--muted);
      transition: 0.2s ease;
    }

    .mini-links a:hover {
      color: var(--text);
      border-color: rgba(167, 223, 229, 0.30);
      background: rgba(127, 199, 207, 0.08);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .stat-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-top: 18px;
    }

    .stat {
      border-radius: 18px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      padding: 16px;
    }

    .stat strong {
      display: block;
      font-size: 1.1rem;
      margin-bottom: 4px;
      color: var(--accent-strong);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .section-heading {
      margin: 0 0 18px;
      font-size: clamp(1.7rem, 2.6vw, 2.4rem);
      letter-spacing: -0.03em;
    }

    .section-subheading {
      margin: 0 0 26px;
      max-width: 860px;
      color: var(--muted);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .place-card {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 100%;
      overflow: hidden;
      border-radius: var(--radius-lg);
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(20, 29, 35, 0.95), rgba(13, 20, 24, 0.95));
      box-shadow: var(--shadow);
      transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    }

    .place-card:hover {
      transform: translateY(-4px);
      border-color: rgba(167, 223, 229, 0.26);
      box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
    }

    .place-image {
      height: 220px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
        linear-gradient(135deg, #304852, #18242a);
    }

    .place-body {
      padding: 20px 20px 22px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .place-label {
      display: inline-block;
      margin-bottom: 10px;
      font-size: 0.76rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .place-card h3 {
      margin: 0 0 10px;
      font-size: 1.28rem;
      letter-spacing: -0.02em;
    }

    .place-card p {
      margin: 0 0 18px;
      color: var(--muted);
      flex: 1;
    }

    .place-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--accent-strong);
      font-weight: 600;
    }

    .place-link::after {
      content: "→";
      transition: transform 0.22s ease;
    }

    .place-card:hover .place-link::after {
      transform: translateX(3px);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    .footer-nav {
      padding: 8px 0 52px;
    }

    .footer-panel {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 20px 22px;
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
    }

    .footer-panel p {
      margin: 0;
      color: var(--muted);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .footer-links a {
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,0.03);
      color: var(--muted);
      transition: 0.2s ease;
    }

    .footer-links a:hover {
      color: var(--text);
      border-color: rgba(167, 223, 229, 0.30);
      background: rgba(127, 199, 207, 0.08);
    }

    /* *********************************************************************************************************** */
    /*                                                  
    /* *********************************************************************************************************** */
    @media (max-width: 1080px) {
      .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .intro-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 720px) {
      .hero-panel {
        min-height: 460px;
      }

      .hero-overlay {
        padding: 30px 22px 24px;
      }

      .cards-grid {
        grid-template-columns: 1fr;
      }

      .stat-list {
        grid-template-columns: 1fr;
      }

      .topbar-inner {
        align-items: flex-start;
      }
    }
.place-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #4a392c, #241b15);
}

.place-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.place-card:hover .place-image img {
  transform: scale(1.04);
}

.place-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.24) 100%);
  pointer-events: none;
}

.top-links a,
.footer-links a,
.mini-links a {
  background: rgba(255,255,255,0.025);
}

.top-links a:hover,
.footer-links a:hover,
.mini-links a:hover {
  border-color: rgba(239, 210, 166, 0.30);
  background: rgba(214, 176, 122, 0.10);
}

.button-primary {
  background: linear-gradient(135deg, #c89a62, #efd2a6);
  color: #24170f;
  box-shadow: 0 14px 30px rgba(214, 176, 122, 0.22);
}

.button-secondary:hover {
  border-color: rgba(239, 210, 166, 0.28);
}

.place-link {
  color: var(--accent-strong);
}

.place-card:hover {
  border-color: rgba(239, 210, 166, 0.22);
}

