/* 1. ДЕФИНИРАНЕ НА ШРИФТОВЕТЕ С КОРЕКТЕН ПЪТ */ @font-face { font-family: 'Bukyvede'; src: url('fonts/BukyVede-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Bukyvede'; src: url('fonts/Bukyvede_Light.ttf') format('truetype'); font-weight: 300; font-style: normal; } @font-face { font-family: 'Bukyvede'; src: url('fonts/BukyVede-Bold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'Bukyvede'; src: url('fonts/BukyVede-Italic.ttf') format('truetype'); font-weight: normal; font-style: italic; } /* 2. ОБЩИ СТИЛОВЕ ЗА СТРАНИЦИТЕ */ body { font-family: sans-serif; line-height: 1.6; margin: 0; padding: 0; background-color: #D3D5D5; } header, section { padding: 20px; max-width: 800px; margin: 0 auto; } h1 { font-family: 'Bukyvede', serif !important; color: #441917; text-transform: uppercase; font-size: 42px; margin: 0; } h2 { font-family: 'Bukyvede', serif !important; color: #2c3e50; text-transform: uppercase; } /* 3. НАВИГАЦИОННО МЕНЮ (ЗАКОТВЕНО ПРИ СКРОЛВАНЕ) */ .site-navigation { background: #3a4b5c; border-bottom: 3px solid #d4af37; padding: 10px 0; position: sticky; top: 0; z-index: 1000; } .nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; } .brand-wrapper { display: flex; align-items: center; gap: 15px; } .nav-logo { height: 70px; width: auto; display: block; } .brand-text { font-family: 'Bukyvede', serif !important; color: #d4af37; font-size: 20px; line-height: 1.1; text-transform: uppercase; display: flex; flex-direction: column; } .brand-text span { font-family: 'Bukyvede', serif !important; } .nav-links { display: flex; gap: 20px; } .nav-links a { font-family: sans-serif !important; font-size: 14px; font-weight: bold; color: #ffffff; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; padding: 5px 0; transition: color 0.2s ease; } .nav-links a:hover, .nav-links a.active { color: #d4af37; } .nav-links a.active { border-bottom: 2px solid #ffffff; } /* 4. СЕКЦИЯ "НОВИНИ" С ДИНАМИЧЕН СЛАЙДЕР (INDEX.HTML) */ .slider-container { position: relative; max-width: 100%; margin: auto; overflow: hidden; } .news-slide { display: none; width: 100%; opacity: 0; transition: opacity 0.6s ease-in-out; } .news-slide.active { display: block; opacity: 1; } .news-article { background: white; padding: 30px; margin-bottom: 15px; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .news-date { color: #7f8c8d; font-size: 0.9em; font-weight: bold; margin-top: -5px; margin-bottom: 15px; } .slider-btn { cursor: pointer; position: absolute; top: 45%; transform: translateY(-50%); padding: 12px 16px; color: #441917; font-weight: bold; font-size: 20px; border: none; background: rgba(255, 255, 255, 0.7); border-radius: 50%; user-select: none; transition: background 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .slider-btn:hover { background: rgba(212, 175, 55, 0.9); color: white; } .prev-btn { left: 10px; } .next-btn { right: 10px; } .slider-dots { text-align: center; padding: 10px 0; } .dot { cursor: pointer; height: 12px; width: 12px; margin: 0 5px; background-color: #b3b3b3; border-radius: 50%; display: inline-block; transition: background-color 0.3s ease; } .dot.active, .dot:hover { background-color: #441917; } /* 5. СЕКЦИЯ "МЕСТОПОЛОЖЕНИЕ" (LOCATION.HTML) */ #map { height: 500px; width: 100%; display: block; clear: both; position: relative; background-color: #e0e0e0; } .travel-directions { margin-top: 40px; padding: 30px; background-color: white; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .travel-directions h2 { font-family: sans-serif !important; font-weight: bold; color: #441917; font-size: 26px; margin-top: 0; margin-bottom: 20px; border-bottom: 1px solid #7c4f4c; padding-bottom: 10px; text-transform: none; } .travel-directions p { font-family: sans-serif !important; font-weight: normal; font-size: 16px; line-height: 1.7; color: #333333; margin-bottom: 15px; text-align: justify; } .travel-directions strong { font-family: sans-serif !important; font-weight: bold; color: #441917; } .travel-directions a { font-family: sans-serif !important; color: #7c4f4c; text-decoration: none; font-weight: bold; border-bottom: 1px dashed #7c4f4c; transition: color 0.2s ease; } .travel-directions a:hover { color: #441917; border-bottom-style: solid; } /* 6. СЕКЦИЯ "ГАЛЕРИЯ" (GALLERY.HTML) */ .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 20px; } .gallery-item { position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); cursor: pointer; aspect-ratio: 4 / 3; background-color: #eaeaea; } .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; } .gallery-item:hover img { transform: scale(1.05); } .lightbox-overlay { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; flex-direction: column; } .lightbox-content { max-width: 85%; max-height: 80%; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.5); } #lightbox-caption { margin-top: 15px; color: #cccccc; font-size: 16px; text-align: center; } .lightbox-close { position: absolute; top: 20px; right: 30px; color: #ffffff; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.2s; } .lightbox-close:hover { color: #d4af37; } /* 7. СЕКЦИЯ "ДАРЕНИЯ" (DONATE.HTML) */ .donation-container { margin-top: 20px; } .donation-intro { font-size: 16px; color: #333333; margin-bottom: 30px; } .donation-box { background: white; padding: 25px 30px; border-left: 4px solid #7c4f4c; margin-bottom: 25px; border-radius: 0 4px 4px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .donation-box h2 { font-family: sans-serif !important; font-size: 20px; font-weight: bold; color: #441917; margin-top: 0; margin-bottom: 20px; text-transform: none; border-bottom: 1px solid #eeeeee; padding-bottom: 10px; } .info-row { display: flex; padding: 8px 0; border-bottom: 1px solid #fafafa; font-size: 16px; } .info-row:last-child { border-bottom: none; } .label { width: 140px; color: #666663; font-weight: bold; flex-shrink: 0; } .value { color: #111111; } .value.highlighted { font-family: monospace; font-size: 18px; font-weight: bold; color: #441917; letter-spacing: 0.5px; } .legal-box { border-left-color: #7f8c8d; } .legal-box h2 { color: #2c3e50; } .dms-box { border-left-color: #27ae60; } .dms-box h2 { color: #27ae60; } .dms-box p { font-size: 16px; margin: 0; color: #333333; } /* 8. АДАПТИВНИ СТИЛОВЕ ЗА МОБИЛНИ УСТРОЙСТВА (ЕКРАНИ ПОД 768px) */ @media screen and (max-width: 768px) { header, section { padding: 15px; } h1 { font-size: 28px; text-align: center; } .nav-container { flex-direction: column; gap: 15px; padding: 0 10px; } .brand-wrapper { justify-content: center; width: 100%; } .nav-logo { height: 55px; } .brand-text { font-size: 16px; } .nav-links { flex-wrap: wrap; justify-content: center; gap: 12px 15px; width: 100%; } .nav-links a { font-size: 12px; padding: 3px 0; } .nav-links a.active { border-bottom-width: 1px; } .news-article { padding: 20px; } .slider-btn { padding: 8px 12px; font-size: 16px; top: 40%; } .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .donation-box { padding: 15px 20px; } .info-row { flex-direction: column; padding: 6px 0; gap: 2px; } .label { width: 100%; font-size: 14px; } .value { font-size: 15px; } .value.highlighted { font-size: 14px; word-break: break-all; } iframe { height: 350px; } .travel-directions p { text-align: left; } /* Мобилно оформление за заглавието върху фоновата картина */ .saint-header h1 { color: #ffffff !important; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); } } @media screen and (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } } /* ========================================================================== 9. СТИЛОВЕ ЗА СТАТИЧЕН ФОН НА СТРАНИЦАТА "ЗА СВ. ДИМИТЪР" (SAINT.HTML) ========================================================================== */ .saint-bg-overlay { position: fixed; top: 93px; /* Застава точно под височината на навигационното меню */ left: 0; width: 100%; height: calc(100vh - 93px); /* Запълва оставащата височина на екрана */ background-image: url('img/relics.jpg'); /* Пътят до новата ви снимка */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; z-index: -1; /* Остава най-отзад под текста */ } /* Промяна на цвета на главното заглавие над фоновата картина за по-добър контраст */ .saint-header h1 { color: #441917; text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6); text-align: center; margin-top: 20px; } /* Полупрозрачна бяла кутия за текста на житието */ .saint-content-box { background-color: rgba(255, 255, 255, 0.92) !important; border-top: 4px solid #7c4f4c; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important; } /* Допълнение към Секция 9 за страницата "История" */ .history-bg-overlay { position: fixed; top: 93px; left: 0; width: 100%; height: calc(100vh - 93px); background-image: url('img/monastery.jpg'); /* Поставете пътя до снимката, която искате за фон тук */ background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; z-index: -1; }