

:root {
  --body-bg-color: #ffffff;
  --body-text-color: #000000;
  --heading-color: #000000;
  --hero-gradient1: #aea3a3;
  --hero-gradient2: #ffffff;
  --footer-bg-color: #EAA194;
  --link-color: #0f0f10;
  --header-bg-color: #ffffff;
  --font-family: Monaco, 'Menlo', monospace;
  --nav-link-color: #e4e3e2;
  --footer-text-color: #ffffff;
  --header-text-color: #f2f2f2;
}
html {
  overflow-x: hidden;
}



body {
  background-image: url('/images/fjall-bg.webp');
  background-repeat: no-repeat;  
  background-size: cover;          
  background-position: center;       
  background-attachment: fixed;     
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--body-text-color) !important;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.849); 
  z-index: -1;
  backdrop-filter: blur(2px);
}


/* Опционално: добави в <head> за по-красив шрифт (Poppins) */
/* <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap" rel="stylesheet"> */

/* Day theme — само за h1 */
 h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important; /* твоят clamp запазен */
  color: #ffffff;
  font-family: "Poppins", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: none;
  margin: 0;
  padding: 0.5rem 1rem;
  display: inline-block;
  position: relative;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 200, 120, 0.04), rgba(255,140,60,0.02));
  box-shadow:
    0 18px 40px rgba(4,4,4,0.25),              /* голяма мека сянка */
    inset 0 -6px 18px rgba(255,165,80,0.03);   /* вътрешен блясък */
  text-shadow:
    0 2px 0 rgba(0,0,0,0.28),                  /* лек контраст */
    0 8px 30px rgba(255,140,60,0.06);          /* оранжев ореол */
  border-top: 4px solid rgba(255,165,80,0.12);
}

/* Малък декоративен лентен елемент вляво */
h1::before {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  width: 10px;
  height: 40%;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,175,90,1), rgba(255,135,50,1));
  box-shadow: 0 6px 18px rgba(255,135,50,0.12);
  opacity: 0.95;
}

/* Тънка декоративна линия под заглавието (акцент) */
 h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.6rem;
  width: 60%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,160,90,0.95), rgba(255,110,50,0.95));
  filter: blur(6px);
  opacity: 0.9;
}

/* Респонзив — когато е на по-малки екрани намаля padding-а и радиуса */
@media (max-width: 480px) {
h1 {
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
  }
  h1::before { left: -0.5rem; height: 36%; }
   h1::after  { width: 70%; bottom: -0.5rem; height: 5px; }
}



h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
  
  section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2, h3 {
  color: var(--heading-color) !important;
}



.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

  .sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}
  .twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}


  .footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}
.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}
  .footer img {
        filter: brightness(0) invert(1);
      }

 .navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;

}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 115px 0 30px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url('/images/sverige-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.137));
  opacity: 0.5;
  z-index: 1;
}

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

  
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
}
  .navbar-light .navbar-nav .nav-link {
    color: var(--nav-link-color, #141414) !important;
  }

  .navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
  /* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb, var(--header-bg-color) 65%, transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}


.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

            




  .tw-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .twitter-tweet {
    max-width: 100%;
    margin: 0 auto;
  }
  

.custom-section {
  --accent: #ED956D;
  --muted:  #9A9CA8;
  position: relative;
  overflow: hidden;
  padding: 3.25rem 2rem;
  border-radius: 18px;
  /* Нов цветен прозрачен фон */
  background: linear-gradient(
    135deg,
    rgba(237, 149, 109, 0.5) 0%,   /* мек оранжев */
    rgba(154,156,168,0.12) 100%   /* мек сиво-лилав */
  );
  box-shadow:
    0 18px 40px rgba(10,12,20,0.12),
    inset 0 1px 0 rgba(255,255,255,0.02);
  isolation: isolate;
  color: #2c2a2a;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.custom-section a{
  color: #b13c05!important;
}
/* Заглавие h2 */
.custom-section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin: 0 0 0.75rem 0;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  position: relative;
  z-index: 5;
  padding: .35rem .9rem;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-top: 3px solid rgba(255,255,255,0.04);
  text-shadow: 0 6px 22px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.03);
}

/* Малък декоративен акцент до заглавието */
.custom-section h2::after {
  content:'';
  display:inline-block;
  width:12px;
  height:12px;
  margin-left:10px;
  vertical-align:middle;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), #ffb98a 60%);
  box-shadow: 0 6px 18px rgba(237,149,109,0.15), 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

/* Голям blob (ляво) */
.custom-section::before {
  content: "";
  position: absolute;
  left: -12%;
  top: -10%;
  width: 46%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(237,149,109,0.20) 0%, rgba(237,149,109,0.10) 40%, transparent 70%);
  filter: blur(34px);
  transform-origin: center;
  z-index: 1;
  animation: float-slow 16s ease-in-out infinite alternate;
  opacity: 0.95;
  border-radius: 40% 60% 50% 50%;
}

/* Среден blob (дясно) */
.custom-section::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 10%;
  width: 36%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(154,156,168,0.18) 0%, rgba(154,156,168,0.08) 50%, transparent 75%);
  filter: blur(28px);
  transform-origin: center;
  z-index: 2;
  animation: drift 12s ease-in-out infinite alternate-reverse;
  border-radius: 50% 40% 60% 50%;
  opacity: 0.95;
}

/* Мрежа от фини плаващи точки */
.custom-section .bg-dots {
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 200%;
  transform: translate(-20%, -15%) scale(1.05);
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.06) 0.6px, transparent 1px),
    radial-gradient(circle at 60% 65%, rgba(237,149,109,0.025) 0.6px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(154,156,168,0.03) 0.6px, transparent 1px);
  background-size: 18px 18px, 28px 28px, 36px 36px;
  animation: dots-move 22s linear infinite;
}

/* Акцентен шлейф */
.custom-section .accent-line {
  position: absolute;
  left: -10%;
  bottom: -6%;
  width: 140%;
  height: 220px;
  background: linear-gradient(90deg, rgba(237,149,109,0.14), rgba(154,156,168,0.08));
  transform: rotate(-8deg);
  filter: blur(10px);
  z-index: 0;
  animation: slow-rotate 28s linear infinite;
  opacity: 0.9;
  border-radius: 40%;
}

/* --- Keyframes --- */
@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg);}
  50% { transform: translateY(12px) rotate(5deg);}
  100% { transform: translateY(0) rotate(0deg);}
}

@keyframes drift {
  0% { transform: translateY(0) rotate(0deg);}
  50% { transform: translateY(-10px) rotate(-4deg);}
  100% { transform: translateY(0) rotate(0deg);}
}

@keyframes dots-move {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 120px 100px, -80px 60px, 60px -100px; }
}

@keyframes slow-rotate {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(5deg); }
}


.newsletter {
  padding: 2rem 1.5rem;
  background: rgba(237, 149, 109, 0.432); /* леко прозрачен оранжев фон */
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  text-align: center;
  color: #ffffff;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px); /* лек размазан ефект зад секцията */
}

.newsletter h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.newsletter p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.95);
}

.newsletter input[type="email"] {
  padding: 0.6rem 1rem;
  width: 80%;
  max-width: 350px;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  outline: none;
  opacity: 0.7;
  cursor: not-allowed;
}

.newsletter button {
  padding: 0.65rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0,0,0,0.25);
  border: none;
  border-radius: 12px;
  cursor: not-allowed;
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Леко движещи се декоративни елементи */
.newsletter::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 70%);
  animation: spin 20s linear infinite;
  z-index: 0;
}

.newsletter * {
  position: relative;
  z-index: 1;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
