*{box-sizing:border-box;}

html, body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

body{
    margin:0;
    font-family:"Segoe UI", Arial, sans-serif;
}

/* Навигация */
.nav-bar{
    position:relative;
    z-index:5;
    padding:16px 10px;
    width:100%;
}

.nav-inner{
    max-width:1500px;
    width:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    position:relative;
}

/* Меню */
.menu{
    list-style:none;
    display:flex;
    gap:10px;
    padding:0;
    margin:0;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    max-width:100%;
}

.menu > li{position:relative;}

.menu > li > a{
    display:block;
    padding:12px 18px;
    font-size:16px;
    background:linear-gradient(180deg,#cfe8d2,#a7d3ab);
    color:#134b2b;
    text-decoration:none;
    border-radius:12px;
    box-shadow:0 5px 10px rgba(0,0,0,0.16);
    transition:all 0.25s ease;
    font-weight:600;
    white-space:nowrap;
}

.menu > li > a:hover{
    background:linear-gradient(180deg,#b8e0be,#8ccf97);
    transform:translateY(-2px);
    box-shadow:0 9px 16px rgba(0,0,0,0.22);
}

/* Dropdown */
.dropdown-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:240px;
    max-width:calc(100vw - 24px);
    background:rgba(238,247,239,0.97);
    border-radius:12px;
    box-shadow:0 10px 22px rgba(0,0,0,0.28);
    padding:10px 0;
    z-index:9999;
}

.dropdown-menu li{list-style:none;}

.dropdown-menu li a{
    display:block;
    padding:10px 18px;
    font-size:15px;
    color:#1f5a37;
    text-decoration:none;
    white-space:normal;
}

.dropdown-menu li a:hover{background:#d9eedc;}
.dropdown:hover .dropdown-menu{display:block;}

/* Вътрешни страници */
.page{
    min-height:100vh;
    background:linear-gradient(180deg,#f4fbf6,#ffffff);
    padding:36px 16px;
}

.page-card{
    max-width:900px;
    margin:0 auto;
    background:rgba(255,255,255,0.92);
    border-radius:20px;
    box-shadow:0 12px 30px rgba(0,0,0,0.12);
    padding:28px;
}

.page-title{
    margin:0 0 18px 0;
    font-size:32px;
    color:#134b2b;
}

.contact-row{
    margin-top:14px;
    padding:12px 14px;
    border-radius:14px;
    background:#eef7ef;
    font-size:17px;
    color:#134b2b;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    max-width:100%;
}

.fb-btn{
    display:inline-block;
    padding:9px 14px;
    border-radius:12px;
    background:linear-gradient(180deg,#d6e8ff,#a9c7ff);
    color:#0b2e5a;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 6px 14px rgba(0,0,0,0.12);
    transition:all 0.2s ease;
    white-space:nowrap;
}

.fb-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 18px rgba(0,0,0,0.18);
}

/* За Асоциацията - членове */
.member-row{
    margin-top:14px;
    padding:14px 16px;
    border-radius:16px;
    background:#eef7ef;
    box-shadow:0 6px 16px rgba(0,0,0,0.06);
}

.member-name{
    font-size:18px;
    font-weight:800;
    color:#134b2b;
}

.member-role{
    margin-top:6px;
    font-size:16px;
    font-weight:700;
    color:#1f5a37;
}

.member-note{
    margin-top:4px;
    font-size:15px;
    color:#2a6a44;
    opacity:0.9;
}

/* Цел */
.goal-box{
    margin-top:10px;
    padding:18px 18px;
    border-radius:18px;
    background:#eef7ef;
    font-size:18px;
    line-height:1.6;
    color:#134b2b;
    box-shadow:0 10px 24px rgba(0,0,0,0.08);
}

/* Mobile */
@media (max-width: 900px){
    .nav-inner{
        justify-content:center;
    }

    .menu{
        flex-direction:column;
        align-items:stretch;
        gap:10px;
        width:100%;
        max-width:520px;
        padding:12px;
        border-radius:18px;
        background:rgba(255,255,255,0.22);
        box-shadow:0 16px 30px rgba(0,0,0,0.22);
        backdrop-filter: blur(10px);
    }

    .menu > li > a{
        width:100%;
        text-align:center;
        font-size:16px;
        padding:12px 18px;
    }

    .dropdown-menu{
        position:static;
        display:block;
        box-shadow:none;
        margin-top:8px;
        background:rgba(238,247,239,0.95);
        max-width:100%;
    }
}


/* Галерия */
.gallery-grid{
    margin-top:18px;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
}

.gallery-item{
    display:block;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 22px rgba(0,0,0,0.14);
    background:#ffffff;
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 30px rgba(0,0,0,0.18);
}

.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

@media (max-width: 900px){
    .gallery-grid{
        grid-template-columns:1fr;
    }
    .gallery-item img{
        height:240px;
    }
}


/* Текстови кутии */
.text-box{
    margin-top:10px;
    padding:18px 18px;
    border-radius:18px;
    background:#eef7ef;
    box-shadow:0 10px 24px rgba(0,0,0,0.08);
    color:#134b2b;
}

.mini-title{
    margin:0 0 12px 0;
    font-size:20px;
    color:#134b2b;
}

.nice-list{
    margin:0;
    padding-left:20px;
    line-height:1.8;
    font-size:17px;
}

.final-line{
    margin-top:14px;
    font-weight:800;
    font-size:18px;
}

.big-text{
    margin:0;
    font-size:18px;
    line-height:1.6;
}

/* Форма - Стани член */
.member-form{
    margin-top:10px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.member-form label{
    display:flex;
    flex-direction:column;
    gap:8px;
    font-weight:700;
    color:#134b2b;
    font-size:16px;
}

.member-form input,
.member-form textarea{
    width:100%;
    padding:12px 14px;
    border-radius:14px;
    border:1px solid rgba(19,75,43,0.20);
    background:#eef7ef;
    font-size:16px;
    outline:none;
}

.member-form input:focus,
.member-form textarea:focus{
    border:1px solid rgba(19,75,43,0.45);
    box-shadow:0 0 0 4px rgba(140,207,151,0.25);
}

.send-btn{
    margin-top:6px;
    align-self:flex-start;
    padding:12px 20px;
    font-size:16px;
    font-weight:800;
    border:none;
    cursor:pointer;
    border-radius:12px;
    background:linear-gradient(180deg,#cfe8d2,#a7d3ab);
    color:#134b2b;
    box-shadow:0 6px 14px rgba(0,0,0,0.14);
    transition:all 0.2s ease;
}

.send-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 18px rgba(0,0,0,0.18);
}


/* YouTube thumbnails grid */
.yt-grid{
    margin-top:18px;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
}

.yt-thumb{
    display:block;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 22px rgba(0,0,0,0.14);
    background:#ffffff;
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.yt-thumb:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 30px rgba(0,0,0,0.18);
}

.yt-thumb img{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
}

@media (max-width: 900px){
    .yt-grid{
        grid-template-columns:1fr;
    }
    .yt-thumb img{
        height:220px;
    }
}

/* Реализирани обекти */
.object-card{
    margin-top:14px;
    padding:18px 18px;
    border-radius:18px;
    background:#eef7ef;
    box-shadow:0 10px 24px rgba(0,0,0,0.08);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
}

.object-title{
    font-size:18px;
    font-weight:800;
    color:#134b2b;
}


/* Mobile: show only main green buttons, open submenu on tap */
@media (max-width: 900px){
    .dropdown-menu{
        display:none;
        position:static;
        width:100%;
        margin-top:8px;
    }

    .dropdown:focus-within .dropdown-menu{
        display:block;
    }
}

/* ===== Професии -> Арборист (само фон + бутон Начало) ===== */
body.arborist-page{
  margin:0;
  min-height:100vh;
  background-image:url("arb2.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-color:transparent;
}

.home-btn{
  position:fixed;
  top:18px;
  left:18px;
  z-index:9999;
  display:inline-block;
  padding:10px 16px;
  border-radius:14px;
  background:linear-gradient(180deg,#cfe8d2,#a7d3ab);
  color:#134b2b;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 6px 14px rgba(0,0,0,0.14);
}
.home-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 18px rgba(0,0,0,0.18);
}

/* ===== Професии -> Дървосекач (фон + текст) ===== */
body.durvosekach-page{
  margin:0;
  min-height:100vh;
  background-image:url("dar.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-color:transparent;
}

.durvosekach-overlay{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.durvosekach-textbox{
  width:100%;
  max-width:1100px;
  text-align:center;
  color:#ffffff;
  text-shadow:0 3px 12px rgba(0,0,0,0.75);
}

.durvosekach-title{
  margin:0 0 14px 0;
  font-size:56px;
  font-weight:900;
  color:#ffffff;
}

.durvosekach-text{
  margin:0 auto;
  max-width:1000px;
  font-size:24px;
  font-weight:700;
  line-height:1.55;
  color:#ffffff;
  background:rgba(0,0,0,0.25);
  border-radius:18px;
  padding:14px 16px;
}

@media (max-width: 900px){
  .durvosekach-title{font-size:40px;}
  .durvosekach-text{font-size:18px;}
}
/* ===== Арборист (текст центриран върху фона) ===== */
.arborist-overlay{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.arborist-textbox{
  width:100%;
  max-width:1100px;
  text-align:center;
  color:#ffffff;
  text-shadow:0 3px 12px rgba(0,0,0,0.75);
}

.arborist-title{
  margin:0 0 14px 0;
  font-size:56px;
  font-weight:900;
  color:#ffffff;
}

.arborist-text{
  margin:0 auto 18px auto;
  font-size:24px;
  font-weight:700;
  line-height:1.55;
  color:#ffffff;
  max-width:1000px;
}

.arborist-subtitle{
  margin:10px 0 12px 0;
  font-size:30px;
  font-weight:900;
  color:#ffffff;
}

.arborist-list{
  margin:0 auto;
  padding-left:0;
  list-style:none;
  max-width:1000px;
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:22px;
  font-weight:700;
  line-height:1.45;
}

.arborist-list li{
  padding:10px 14px;
  border-radius:16px;
  background:rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}

@media (max-width: 900px){
  .arborist-title{font-size:40px;}
  .arborist-text{font-size:18px;}
  .arborist-subtitle{font-size:22px;}
  .arborist-list{font-size:17px;}
}

/* ===== Професии -> Карвинг / Дърворезба (фон + текст) ===== */
body.karving-page{
  margin:0;
  min-height:100vh;
  background-image:url("asd.jpg");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-color:transparent;
}

.karving-overlay{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.karving-textbox{
  width:100%;
  max-width:1100px;
  text-align:center;
  color:#ffffff;
  text-shadow:0 3px 12px rgba(0,0,0,0.75);
}

.karving-title{
  margin:0 0 14px 0;
  font-size:56px;
  font-weight:900;
  color:#ffffff;
}

.karving-text{
  margin:0 auto;
  max-width:1000px;
  font-size:24px;
  font-weight:700;
  line-height:1.55;
  color:#ffffff;
  background:rgba(0,0,0,0.25);
  border-radius:18px;
  padding:14px 16px;
}

@media (max-width: 900px){
  .karving-title{font-size:40px;}
  .karving-text{font-size:18px;}
}

/* ===== За Асоциацията -> Каква е нашата цел (фон + текст) ===== */
body.nashata-cel-page{
  margin:0;
  min-height:100vh;
  background-image:url("mar.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-color:transparent;
}

.nashata-cel-overlay{
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:28px 16px;
  padding-top:18vh; /* вдигнато леко нагоре */
}

.nashata-cel-textbox{
  width:100%;
  max-width:1100px;
  text-align:center;
  color:#ffffff;
  text-shadow:0 3px 12px rgba(0,0,0,0.75);
}

.nashata-cel-title{
  margin:0 0 14px 0;
  font-size:56px;
  font-weight:900;
  color:#ffffff;
}

.nashata-cel-text{
  margin:0 auto;
  max-width:1000px;
  font-size:24px;
  font-weight:700;
  line-height:1.55;
  color:#ffffff;
  background:rgba(0,0,0,0.25);
  border-radius:18px;
  padding:14px 16px;
}

@media (max-width: 900px){
  .nashata-cel-title{font-size:40px;}
  .nashata-cel-text{font-size:18px;}
}
/* ===== FIX: Кои сме ние - фон на цял екран ===== */
html, body{
  height:100%;
}

body.koi-sme-nie-page{
  min-height:100vh;
  background-image:url("nie.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}

/* махаме бледо-зеленото само за тази страница */
body.koi-sme-nie-page .page{
  background:transparent !important;
}

body.koi-sme-nie-page .page-card{
  background:rgba(255,255,255,0.88) !important;
}
/* ===== Членство -> Стани член (фон mail.png) ===== */
body.stani-chlen-page{
  margin:0;
  min-height:100vh;
  background-image:url("mail.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}

body.stani-chlen-page .page{
  background:transparent !important;
}

body.stani-chlen-page .page-card{
  background:rgba(255,255,255,0.88) !important;
}
/* ===== Членство -> Ползи (фон gold.png) ===== */
body.polzi-page{
  margin:0;
  min-height:100vh;
  background-image:url("gold.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}

body.polzi-page .page{
  background:transparent !important;
}

body.polzi-page .page-card{
  background:rgba(255,255,255,0.88) !important;
}
/* ===== Членство -> Условия (фон usl.png) ===== */
body.usloviya-page{
  margin:0;
  min-height:100vh;
  background-image:url("usl.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}

body.usloviya-page .page{
  background:transparent !important;
}

body.usloviya-page .page-card{
  background:rgba(255,255,255,0.88) !important;
}
/* ===== Контакти -> Социалните ни мрежи (фон mrj.png) ===== */
body.socialni-mreji-page{
  margin:0;
  min-height:100vh;
  background-image:url("mrj.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}

body.socialni-mreji-page .page{
  background:transparent !important;
}

body.socialni-mreji-page .page-card{
  background:rgba(255,255,255,0.88) !important;
}
/* ===== Контакти -> За връзка с нас (фон dig.png) ===== */
body.kontakti-vruzka-page{
  margin:0;
  min-height:100vh;
  background-image:url("dig.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  background-attachment:fixed;
}

body.kontakti-vruzka-page .page{
  background:transparent !important;
}

body.kontakti-vruzka-page .page-card{
  background:rgba(255,255,255,0.88) !important;
}
/* ===== Intro screen (лого се върти като монета) ===== */
.intro-screen{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}

.intro-inner{
  text-align:center;
  padding:24px;
}

.intro-title{
  font-size:28px;
  font-weight:900;
  color:#0f3b1f;
  margin-bottom:18px;
}

.intro-logo-wrap{
  width:260px;
  height:260px;
  margin:0 auto;
  perspective: 900px;
}

.intro-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  transform-style:preserve-3d;
  animation:introCoinSpin 2.64s linear 2;
}

@keyframes introCoinSpin{
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.intro-hide{
  opacity:0;
  transition:opacity .65s ease;
}

@media (max-width: 600px){
  .intro-title{font-size:20px;}
  .intro-logo-wrap{width:200px;height:200px;}
}


/* ===== Проекти и дейности -> Инициативи (фон iniciativi.png) ===== */
body.iniciativi-page{
  background: url("iniciativi.png") no-repeat center center fixed;
  background-size: cover;
}
body.iniciativi-page .page{
  background: transparent !important;
}

/* ===== Проекти и дейности -> Събития (фон sabi.png) ===== */
body.subitiya-page{
  background: url("sabi.png") no-repeat center center fixed;
  background-size: cover;
}
body.subitiya-page .page{
  background: transparent !important;
}

/* ===== Проекти и дейности -> Благотворителни акции (фон blago.png) ===== */
body.blagotvoritelni-akcii-page{
  background: url("blago.png") no-repeat center center fixed;
  background-size: cover;
}
body.blagotvoritelni-akcii-page .page{
  background: transparent !important;
}


html, body {
  overflow-x: hidden;
}


/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 70px; /* above footer */
  z-index: 9998;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}

.cookie-banner__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner__text{
  color:#fff;
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}

.cookie-banner__text a{
  color:#fff;
  text-decoration: underline;
  opacity: 0.95;
  font-weight: 600;
}

.cookie-banner__actions{
  display:flex;
  gap: 10px;
}

.cookie-btn{
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}

.cookie-btn--primary{
  background: #ffffff;
  color: #000000;
}

.cookie-btn--ghost{
  background: transparent;
  color: #ffffff;
}

@media (max-width: 520px){
  .cookie-banner{
    bottom: 84px;
  }
}
