:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #ffffff;
  --hero-gradient2: #ffffff;
  --footer-bg-color: #6b4848b7;
  --link-color: #fdfcfd;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: rgb(83, 23, 56);
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
      
  background-image:
  linear-gradient(rgba(170, 163, 163, 0.445), rgba(255, 255, 255, 0.329)),
    url("/images/icecream-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

  
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
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-news {
  background: var(--footer-bg-color);
  border-top: 3px solid var(--link-color);
  padding: 2.5rem 1rem;
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
  color: var(--footer-text-color);

}

.footer-news a {
  color: var(--link-color);
  text-decoration: none;
  position: relative;
}

.footer-news a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--link-color);
  transition: width 0.3s ease;
}

.footer-news a:hover::after {
  width: 100%;
}

.footer-newsletter h3 {
  color: var(--footer-text-color) !important;
  margin-bottom: 1rem;
  font-weight: 600;
}

.newsletter-form input {
  padding: 0.6rem 1rem;
  border: 1px solid var(--link-color);
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0.6rem 1.5rem;
  border: none;
  background: var(--link-color);
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 143, 106, 0.2);
}
.footer-social .social-icon {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--link-color);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 2px solid var(--link-color);
  border-radius: 50%;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.footer-social .social-icon:hover {
  transform: scale(1.2) rotate(-10deg);
  background: var(--link-color);
  color: #fff;
}

.footer-news::after {
  right: 10px;
  top: auto;
  bottom: 10px;
  left: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}
  


 .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 – polish
========================= */
.hero-section{
  padding: 140px 0 50px; /* малко повече “въздух” */
}

/* по-мек и цветен overlay */
.hero-section.with-bg::before{
  background:
    linear-gradient(
      135deg,
      rgba(255,246,240,.92),
      rgba(255,233,241,.85),
      rgba(239,192,206,.65)
    );
  opacity: .85;
    box-shadow: 0 4px 8px rgba(102, 143, 106, 0.2);

}

/* =========================
   H1 decoration
========================= */
.hero-section h1{
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .3px;
  color: #4b1f2a;
  margin-bottom: 16px;
  position: relative;

  /* лека поява */
  animation: heroFadeUp .9s ease-out both;
}

/* underline акцент */
.hero-section h1::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width: min(160px, 55%);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #4b1f2a,
    #e7a7bd,
    rgba(239,192,206,.5)
  );
  animation: underlineGlow 3s ease-in-out infinite;
}

/* малка декоративна точка */
.hero-section h1::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e7a7bd;
  box-shadow: 0 0 0 6px rgba(231,167,189,.25);
}

/* =========================
   Подзаглавие / текст в hero
========================= */
.hero-section p{
  color: rgba(75,31,42,.85);
  line-height: 1.6;
  margin-top: 28px;
  animation: heroFadeUp 1.1s ease-out both;
}

/* =========================
   Animations
========================= */
@keyframes heroFadeUp{
  from{
    opacity: 0;
    transform: translateY(18px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineGlow{
  0%,100%{ filter: saturate(1); }
  50%{ filter: saturate(1.3); }
}

/* =========================
   Mobile tweaks
========================= */
@media (max-width: 768px){
  .hero-section{
    padding: 110px 0 40px;
  }

  .hero-section h1::after{
    width: 120px;
  }
}


  .tw-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .twitter-tweet {
    max-width: 100%;
    margin: 0 auto;
  }
  
.hero-section {
  padding: 115px 0 30px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.with-bg {
  background-image: url('/images/gelato-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    box-shadow: 0 4px 8px rgb(226, 192, 213);

}

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

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

  
@media (max-width: 768px) {
  .hero-section {
    padding: 77px 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;
  }
}

            





/* =========================
   Theme (по цветовете ти)
========================= */
:root{
  --cream: #fff6f0;
  --rose-50: #ffe9f1;
  --rose-100:#f7d6df;
  --rose-200:#efc0ce;
  --rose-300:#e7a7bd;

  --wine: #4b1f2a;      /* бордо */
  --wine-2:#6a2a3a;     /* по-светло бордо */

  --glass: rgba(255, 255, 255, .22);
  --glass-2: rgba(255, 255, 255, .14);
  --stroke: rgba(255, 255, 255, .35);
  --shadow: 0 18px 60px rgba(40, 10, 18, .18);
}

/* =========================
   Section background + décor
========================= */
.gelato-section{
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(255,233,241,.85), transparent 60%),
    radial-gradient(800px 520px at 75% 30%, rgba(255,246,240,.95), transparent 62%),
    radial-gradient(900px 600px at 50% 120%, rgba(239,192,206,.55), transparent 65%),
    linear-gradient(180deg, rgba(255,246,240,.92), rgba(255,233,241,.85));
}

/* “blobs” за украса (без картинки) */
.gelato-section::before,
.gelato-section::after{
  content:"";
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(28px);
  opacity: .55;
  pointer-events:none;
  mix-blend-mode: multiply;
}

.gelato-section::before{
  left: -180px;
  top: -200px;
  background: radial-gradient(circle at 35% 35%, rgba(231,167,189,.9), rgba(255,233,241,.1) 60%, transparent 70%);
  animation: floatBlob 10s ease-in-out infinite;
}

.gelato-section::after{
  right: -220px;
  bottom: -260px;
  background: radial-gradient(circle at 45% 35%, rgba(239,192,206,.85), rgba(255,246,240,.15) 60%, transparent 72%);
  animation: floatBlob 12s ease-in-out infinite reverse;
}

/* =========================
   Glass card (лявата голяма карта)
========================= */
.glass-card{
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.3vw, 28px);
  color: rgba(75,31,42,.92);
}

/* лек “shine” слой отгоре */
.glass-card::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
    rgba(255,255,255,.55),
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.25) 60%,
    rgba(255,255,255,.10) 75%);
  opacity: .35;
  transform: translateX(-30%);
  animation: glassShine 5.5s ease-in-out infinite;
  pointer-events:none;
}

/* =========================
   Typography inside cards
========================= */
.glass-card p{
  line-height: 1.65;
  color: rgba(75,31,42,.82);
  margin: 0 0 12px;
}

/* =========================
   H2 / H3 украси
========================= */
.gelato-section h2,
.gelato-section h3{
  color: var(--wine);
  letter-spacing: .2px;
  margin: 0 0 10px;
}

.gelato-section h2{
  font-weight: 800;
  font-size: clamp(24px, 2.2vw, 34px);
  position: relative;
  padding-bottom: 12px;
}

/* underline + “точка” */
.gelato-section h2::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: 0;
  width: min(140px, 55%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(75,31,42,.9), rgba(231,167,189,.95), rgba(239,192,206,.5));
  animation: underlineWipe 2.8s ease-in-out infinite;
}

.gelato-section h2::before{
  content:"";
  position:absolute;
  left: 0;
  bottom: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(231,167,189,.95);
  box-shadow: 0 0 0 6px rgba(231,167,189,.22);
  animation: dotPulse 2.2s ease-in-out infinite;
}

.gelato-section h3{
  font-weight: 800;
  font-size: clamp(18px, 1.55vw, 22px);
  color: var(--wine-2);
  position: relative;
  padding-left: 14px;
  margin-top: 18px;
}

/* лява “чертичка” */
.gelato-section h3::before{
  content:"";
  position:absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(239,192,206,.9);
  box-shadow: 0 0 0 6px rgba(239,192,206,.22);
}

/* =========================
   Video/Embed card (дясно)
========================= */
.embed-card{
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 16px;
  box-shadow: 0 14px 42px rgba(40, 10, 18, .16);
  padding: 12px;
  animation: softFloat 6.5s ease-in-out infinite;
}

.embed-card iframe,
.embed-card video{
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px;
  display:block;
}

/* =========================
   Buttons/links (ако имаш)
========================= */
.gelato-section a{
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid rgba(75,31,42,.25);
}
.gelato-section a:hover{
  border-bottom-color: rgba(75,31,42,.55);
}

/* =========================
   Keyframes (анимации)
========================= */
@keyframes floatBlob{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(20px, 18px) scale(1.04); }
}

@keyframes softFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

@keyframes glassShine{
  0%, 100%{ transform: translateX(-35%); opacity: .25; }
  50%{ transform: translateX(10%); opacity: .40; }
}

@keyframes underlineWipe{
  0%, 100%{ filter: saturate(1); transform: scaleX(.92); transform-origin: left; }
  50%{ filter: saturate(1.15); transform: scaleX(1.08); }
}

@keyframes dotPulse{
  0%, 100%{ transform: translateY(0) scale(1); opacity: .9; }
  50%{ transform: translateY(-1px) scale(1.08); opacity: 1; }
}

/* =========================
   Responsive polish
========================= */
@media (max-width: 992px){
  .embed-card{ margin-top: 16px; }
  .gelato-section::before,
  .gelato-section::after{
    width: 380px;
    height: 380px;
    opacity: .45;
  }
}




.glass-section{
  position: relative;
  overflow: hidden;
padding: 30px 20px;
  /* лека цветна нотка (розово-крем) */
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.637),
      rgba(255, 233, 241, 0.486)
    );

  transition: transform .4s ease, box-shadow .4s ease;
}

/* hover – леко "повдигане" */
.glass-section:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(80, 20, 35, 0.22);
}

/* =========================
   Shine слой (glass reflection)
========================= */
.glass-section::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,.55),
      rgba(255,255,255,.08) 45%,
      rgba(255,255,255,.28) 60%,
      rgba(255,255,255,.08) 75%
    );
  opacity:.5;
  transform: translateX(-40%);
  animation: glassShine 6s ease-in-out infinite;
  pointer-events:none;
}

/* =========================
   Декоративна линия долу
========================= */
.glass-section::after{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  bottom:14px;
  height:3px;
  border-radius:999px;
  background: linear-gradient(
    90deg,
    rgba(120,40,60,.85),
    rgba(240,190,205,.95),
    rgba(255,255,255,.4)
  );
  opacity:.8;
}

/* =========================
   Typography вътре
========================= */
.glass-section h2{
  font-weight:800;
  font-size: clamp(22px, 2vw, 32px);
  color:#4b1f2a;
  margin-bottom:14px;
  position:relative;
  padding-bottom:10px;
}

.glass-section h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:120px;
  height:4px;
  border-radius:999px;
  background: linear-gradient(
    90deg,
    #4b1f2a,
    #e7a7bd,
    rgba(231,167,189,.4)
  );
  animation: underlineGlow 2.8s ease-in-out infinite;
}

.glass-section h3{
  font-weight:700;
  font-size: clamp(18px, 1.5vw, 22px);
  color:#6a2a3a;
  margin-top:22px;
  margin-bottom:6px;
  padding-left:14px;
  position:relative;
}

.glass-section h3::before{
  content:"";
  position:absolute;
  left:0;
  top:.6em;
  width:8px;
  height:8px;
  border-radius:3px;
  background:#efc0ce;
  box-shadow:0 0 0 6px rgba(239,192,206,.25);
}

/* текст */
.glass-section p{
  color: rgba(75,31,42,.85);
  line-height:1.65;
}

/* =========================
   Dark вариант – автоматично красив
========================= */
.glass-section.dark{
  background:
    linear-gradient(
      135deg,
      rgba(40,20,25,.45),
      rgba(80,30,40,.35)
    );
}

.glass-section.dark h2,
.glass-section.dark h3,
.glass-section.dark p{
  color:#fff;
}

.glass-section.dark::after{
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.85),
    rgba(231,167,189,.85),
    rgba(255,255,255,.35)
  );
}

/* =========================
   Animations
========================= */
@keyframes glassShine{
  0%,100%{ transform: translateX(-45%); opacity:.25; }
  50%{ transform: translateX(5%); opacity:.45; }
}

@keyframes underlineGlow{
  0%,100%{ filter:saturate(1); }
  50%{ filter:saturate(1.3); }
}


/* =========================
   Newsletter (Sidebar)
========================= */
.newsletter{
  margin-bottom: 24px;
}

/* заглавие */
.newsletter h3{
  font-size: 20px;
  font-weight: 800;
  color: #4b1f2a;
  margin-bottom: 8px;
}

/* текст */
.newsletter p{
  font-size: 14px;
  color: rgba(75,31,42,.8);
  margin-bottom: 14px;
}

/* form */
.newsletter-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* input */
.newsletter-form input{
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.35);
  font-size: 14px;
  color: #4b1f2a;
  backdrop-filter: blur(6px);
}

.newsletter-form input::placeholder{
  color: rgba(75,31,42,.55);
}

/* disabled input */
.newsletter-form input:disabled{
  cursor: not-allowed;
  opacity: .75;
}

/* button */
.newsletter-form button{
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  letter-spacing: .3px;
  background: linear-gradient(
    135deg,
    #4b1f2a,
    #6a2a3a
  );
  color: #fff;
  box-shadow: 0 8px 20px rgba(75,31,42,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* disabled button */
.newsletter-form button:disabled{
  background: linear-gradient(
    135deg,
    rgba(75,31,42,.55),
    rgba(106,42,58,.45)
  );
  box-shadow: none;
  cursor: not-allowed;
  opacity: .8;
}

/* малка бележка */
.newsletter-note{
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: rgba(75,31,42,.6);
  text-align: center;
  font-style: italic;
}
