   :root {
      --brand-primary: #1f3a32;
      --brand-primary-dark: #173028;
      --brand-secondary: #d9d2c5;
      --brand-bg: #f7f4ee;
      --brand-dark: #262626;
      --brand-accent: #b89a6a;
      --brand-secondary-accent: #D32F2F;
      --brand-secondary-accent-hover: #B71C1C;
      --brand-muted: #6c7570;
      --brand-border: rgba(38, 38, 38, 0.08);
      --brand-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
      --radius-lg: 1.25rem;
      --radius-xl: 1.75rem;
      --container-max: 1320px;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--brand-dark);
      background-color: #ffffff;
      line-height: 1.65;
    }

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

    a {
      text-decoration: none;
    }

    .container {
      max-width: var(--container-max);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .display-font {
      /* font-family: 'Cormorant Garamond', serif; */
    font-family: Montserrat, sans-serif;
      letter-spacing: 0.025em;
      color: var(--brand-dark);
    }

    .h100 {
      max-height: 100vh;
    }

    .top-bilde {
    height: calc(100vh - 60px);
}

.bg-bilde {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .logo {
      background:  var(--bs-white);
      border-bottom: 5px solid #b89a6a;
}

    .section-block {
      padding: 6rem 0;
    }

    .bg-soft {
      background: var(--brand-bg);
    }

    .section-dark {
      background: var(--brand-primary);
    }

    .text-accent {
      color: var(--brand-accent) !important;
    }

    .section-eyebrow {
      display: inline-block;
      margin-bottom: 1rem;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--brand-accent);
    }

    .section-title {
      font-size: clamp(2.25rem, 4vw, 3.75rem);
      line-height: 0.98;
      margin-bottom: 1.25rem;
    }

     .section-title-ab {
      font-size: 1.875rem;
      line-height: 2.25rem;
      font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .025em;
    margin-bottom: 1.5rem;
    }

   .section-text {
      font-size: 1.05rem;
      color: var(--brand-muted);
      max-width: 42rem;
      margin-bottom: 0;
    }

    .btn-brand,
    .btn-outline-brand,
    .btn-outline-dark,
    .btn-brand-second {
      border-radius: 0;
      padding: 0.75rem 1.2rem;
      font-weight: 400;
      font-family: Montserrat, sans-serif;
      transition: all 0.25s ease;
      text-transform: uppercase;
    }

    .btn-brand {
      background-color: var(--brand-accent);
      color: #fff;
      border: 1px solid var(--brand-accent);
    }

    .btn-brand:hover,
    .btn-brand:focus {
      background-color: var(--brand-primary-dark);
      border-color: var(--brand-primary-dark);
      color: #fff;
    }

    .btn-outline-brand {
      background: transparent;
      color: var(--brand-accent);
      border: 1px solid var(--brand-accent);
    }

    .btn-outline-brand:hover,
    .btn-outline-brand:focus {
      background: var(--brand-primary);
      border-color: var(--brand-primary);
      color: #fff;
    }

     .btn-outline-dark {
      background: rgba(255, 255, 255, 1);
      color: var(--brand-secondary-accent);
      border: 1px solid var(--brand-secondary-accent);
    }

    .btn-outline-dark:hover,
    .btn-outline-dark:focus {
      background: var(--brand-secondary-accent-hover);
      border-color: var(--brand-secondary-accent-hover);
      color: #ffffff;
      /* color: var(--brand-accent); */
    }

     .btn-brand-second {
      background: var(--brand-secondary-accent);
      color: #fff;
      border: 1px solid var(--brand-secondary-accent);
    }

    .btn-brand-second:hover,
    .btn-brand-second:focus {
      background: var(--brand-secondary-accent-hover);
      border-color: var(--brand-secondary-accent-hover);
      color: #ffffff;
      /* color: var(--brand-accent); */
    }

     .bg-white-75 {
      background-color: rgba(255, 255, 255, 0.75);
    }

    .bg-white-75:hover {
      background-color: var(--brand-primary);
    }
    .navbar {
      padding-top: 0;
      padding-bottom: 0;
    }

    .site-navbar {
      /* background: rgba(255, 255, 255, 0.82); */
      background: var(--bs-white);
      border-bottom: 2px solid #b89a6a;
      /* backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px); */
      /* border-bottom: 1px solid rgba(38, 38, 38, 0.06); */
      /* padding: 1rem 0; */
    }

    .navbar-brand {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 700;
      color: var(--brand-primary) !important;
      letter-spacing: -0.03em;
    }

    .nav-link {
      color: var(--brand-dark);
      font-weight: 500;
      padding-left: 1rem !important;
      padding-right: 1rem !important;
    }

    .nav-link:hover,
    .nav-link:focus {
      color: var(--brand-primary);
    }

    .hero-title-carousel {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .025em;
    color: #fff;
      font-size: clamp(3.25rem, 7vw, 4.75rem);
      line-height: 1;
      margin-bottom: 1.5rem;
      max-width: 14ch;
    
    }

    .hero-section {
      /* position: relative;
      min-height: 100vh;
      display: flex; */
      /* align-items: center; */
      /* padding-top: 8rem;
      padding-bottom: 4rem; */
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-title {
      font-size: clamp(3.25rem, 7vw, 6rem);
      line-height: 0.92;
      margin-bottom: 1.5rem;
      max-width: 12ch;
    }

    .hero-text {
      font-size: 1.125rem;
      color: var(--brand-muted);
      max-width: 36rem;
    }

    .hero-image-wrap {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-xl);
      box-shadow: var(--brand-shadow);
    }

    .hero-image {
      width: 100%;
      height: 680px;
      object-fit: cover;
    }

    .hero-floating-card {
      position: absolute;
      left: 1.5rem;
      bottom: 1.5rem;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-radius: 1.25rem;
      padding: 1rem 1.1rem;
      min-width: 220px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .hero-floating-card small {
      display: block;
      color: var(--brand-muted);
      font-size: 0.85rem;
    }

    .hero-floating-card strong {
      color: var(--brand-dark);
      font-size: 1rem;
    }

    .metric-card,
    .feature-card,
    .contact-form-card,
    .testimonial-card {
      background: #fff;
      border: 1px solid var(--brand-border);
      border-radius: var(--radius-xl);
      padding: 2rem;
      height: 100%;
    }

    .metric-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3rem;
      line-height: 1;
      color: var(--brand-primary);
      margin-bottom: 0.35rem;
    }

    .metric-label {
      color: var(--brand-muted);
      font-size: 0.96rem;
    }

    .feature-card h3,
    .testimonial-card h3 {
      font-family: Montserrat, sans-serif;
      text-transform: uppercase;
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    .feature-card p,
    .testimonial-card p {
      color: var(--brand-muted);
      margin-bottom: 0;
    }

    .feature-icon {
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(31, 58, 50, 0.08);
      color: var(--brand-primary);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .home-card {
      overflow: hidden;
      border: 0;
      border-radius: var(--radius-xl);
      box-shadow: var(--brand-shadow);
      height: 100%;
    }

        .img-box {
      height: 280px;
      object-fit: cover;
      transition: all 0.5s;
          overflow: hidden;
}
    .img-box .card-img-top {
      /* height: 280px;
      object-fit: cover; */
      transform: scale(1, 1);
      transition: all 0.5s;
          /* overflow: hidden; */
}

      .home-card:hover .img-box .card-img-top {
      /* height: 280px;
      object-fit: cover; */
            transform: scale(1.1, 1.1);

    }

    .home-card .card-body {
      padding: 1.5rem;
    }

    .home-card .card-title {
        font-family: Montserrat, sans-serif;
      text-transform: uppercase;
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0;
    }

    .home-status {
      background: #eef4f1;
      color: var(--brand-primary);
      border-radius: 999px;
      padding: 0.45rem 0.8rem;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .home-meta li {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.65rem 0;
      border-bottom: 1px solid rgba(38, 38, 38, 0.06);
      color: var(--brand-muted);
      font-size: 0.96rem;
    }

    .home-meta li:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .home-meta strong {
      color: var(--brand-dark);
      font-weight: 600;
    }

    .link-more {
      color: var(--brand-primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .image-composition img,
    .clubhouse-image,
    .gallery-grid img,
    .about-image,
    .contact-map-placeholder {
      border-radius: var(--radius-xl);
    }

    .image-composition img,
    .clubhouse-image,
    .about-image {
      width: 100%;
      height: 100%;
      min-height: 520px;
      object-fit: cover;
    }

    .location-points .location-point {
      background: #fff;
      border-radius: 999px;
      padding: 0.95rem 1.1rem;
      border: 1px solid var(--brand-border);
      font-size: 0.95rem;
      color: var(--brand-dark);
      height: 100%;
    }

    .section-dark .section-title,
    .section-dark .section-text,
    .section-dark h2,
    .section-dark h3,
    .section-dark p,
    .section-dark li {
      color: #fff;
    }

    .section-dark .section-text,
    .section-dark .text-muted-light {
      color: rgba(255, 255, 255, 0.72) !important;
    }

    .clubhouse-features li {
      list-style: none;
      position: relative;
      padding-left: 1.6rem;
      margin-bottom: 0.85rem;
      color: rgba(255, 255, 255, 0.8);
    }

    .clubhouse-features li::before {
      content: '•';
      position: absolute;
      left: 0;
      top: -0.05rem;
      color: var(--brand-accent);
      font-size: 1.2rem;
      line-height: 1;
    }

    /* .gallery-grid img {
      width: 100%;
      object-fit: cover;
      height: 100%;
      min-height: 250px;
    } */

    .img-thumb {
      aspect-ratio: 1 / 1;
      width: 100%;
      object-fit: cover;
      height: 100%;
      /* min-height: 250px; */
      overflow: hidden;
      border-radius: var(--radius-xl);
    }

    .img-thumb img {
      width: 100%;
      object-fit: cover;
      height: 100%;
      transform: scale(1, 1);
      transition: all 0.5s;
}

    .img-thumb:hover img {
      transform: scale(1.1, 1.1);
}

    .contact-form-card .form-control,
    .contact-form-card .form-select {
      min-height: 3.5rem;
      border-radius: 1rem;
      border-color: rgba(38, 38, 38, 0.1);
      padding: 0.9rem 1rem;
      box-shadow: none;
    }

    .contact-form-card textarea.form-control {
      min-height: 160px;
      resize: vertical;
    }

    .contact-form-card .form-control:focus,
    .contact-form-card .form-select:focus {
      border-color: rgba(31, 58, 50, 0.45);
      box-shadow: 0 0 0 0.2rem rgba(31, 58, 50, 0.08);
    }

    .contact-info p {
      margin-bottom: 0.65rem;
      color: var(--brand-muted);
    }

    .contact-info strong {
      color: var(--brand-dark);
    }

    .contact-map-placeholder {
      background:
        linear-gradient(rgba(31, 58, 50, 0.08), rgba(31, 58, 50, 0.08)),
        url('assets/img/map-placeholder.jpg') center center / cover no-repeat;
      min-height: 260px;
      border: 1px solid var(--brand-border);
      display: flex;
      align-items: end;
      padding: 1.5rem;
      color: var(--brand-dark);
      font-weight: 600;
    }

    .site-footer {
      background: #1d1d1d;
      color: rgba(255, 255, 255, 0.72);
      padding: 2rem 0;
    }

    .site-footer a {
      color: rgba(255, 255, 255, 0.9);
    }

    .footer-brand {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.75rem;
      color: #fff;
      margin-bottom: 0.5rem;
      display: inline-block;
    }


    .map-container {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Marķiera pamata stils */
.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%); /* Centrē punktu uz koordinātām */
}

/* Animētais punkts */
.dot {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--brand-secondary-accent); /* Bootstrap primary zils */
    border-radius: 50%;
    border: 2px solid white;
}

.dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--brand-secondary-accent);
    animation: pulse 2s infinite;
    z-index: -1;
}

.custom-popover {
  --bs-popover-max-width: 250px;
  --bs-popover-border-color: var( --brand-accent);
  --bs-popover-header-bg: var( --brand-accent);
  --bs-popover-header-color: #fff;
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: .5rem;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* Bootstrap Popover stila pielāgošana, lai atļautu HTML (pogu) */
.popover-body {
    padding: 1rem;
}

    @media (max-width: 991.98px) {
      .section-block {
        padding: 4.75rem 0;
      }

      .site-navbar {
        padding: 0.8rem 0;
      }

      .hero-section {
        min-height: auto;
        padding-top: 7.5rem;
      }

      .hero-image {
        height: 480px;
      }

      .nav-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
      }
    }

    @media (max-width: 767.98px) {
      .hero-title {
        font-size: clamp(2.7rem, 12vw, 4rem);
      }

      .section-title {
        font-size: clamp(2rem, 10vw, 2.9rem);
      }

      .hero-image,
      .image-composition img,
      .clubhouse-image,
      .about-image {
        min-height: 360px;
      }

      .hero-floating-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        min-width: auto;
      }
    }