@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* ============================
   GLOBALNE USTAWIENIA
   ============================ */

* {
    font-family: 'Inter', sans-serif !important;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #444;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

h1 { 
    font-size: 26px !important;
    font-weight: 400 !important;
    color: #111 !important;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0 !important;
}

h2 { 
    font-size: 20px; 
    font-weight: 400; 
    color: #333; 
    margin: 5px 0 10px 0;
}

h3 { 
    font-size: 11px !important; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
    font-weight: 600;
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.intro-section { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 10px 10px; 
    text-align: center;
}

.intro-section h1 { 
    margin-top: 0; 
}

/* ============================
   FLOATING BACK BUTTON
   ============================ */

#pano-container {
    position: relative;
}

.floating-back-btn {
    position: absolute;
    top: 140px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #333 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.floating-back-btn i {
    font-size: 24px;
}

.floating-back-btn:hover {
    background-color: #0099cc;
    color: #fff !important;
    transform: scale(1.1);
}

/* ============================
   HERO / LAYOUT
   ============================ */

.hero-pano {
    width: 100%;
    height: 55vh; 
    position: relative;
    overflow: hidden;
}

.hero-label-left,
.hero-label-right,
.btn-hero-bottom {
    position: absolute;
    z-index: 9999;
    pointer-events: auto;
}

.hero-label-left,
.hero-label-right {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0,0,0,0.7);
    background: rgba(0,0,0,0.35);
    padding: 8px 16px;
    border-radius: 6px;
}

.btn-hero-bottom {
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    font-size: 1rem;
    background-color: #0d6efd;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .btn-hero-bottom {
        font-size: 14px !important;
        padding: 8px 16px !important;
        line-height: 1.2 !important;
        white-space: nowrap; /* zapobiega łamaniu tekstu */
    }
}


.hero-label-left {
    bottom: 0px;
    left: 0px;
}

.hero-label-right {
    bottom: 0px;
    right: 0px;
}

@media (max-width: 768px) {
    .hero-label-left,
    .hero-label-right {
        display: none !important;
    }
}


main.container.py-5 {
    padding-top: 15px !important;
    padding-bottom: 0px !important;
}

.page-header-block {
    margin: 5px 0;
    padding-left: 15px;
    border-left: 3px solid #0099cc;
}

.subtitle {
    font-size: 14px;
    color: #888;
    font-weight: 300;
}

/* ============================
   MAPA / LEAFLET
   ============================ */

.leaflet-control-zoom a, 
.leaflet-control-fullscreen a {
    border: none !important;
    color: #444 !important;
    background-color: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.leaflet-control-zoom a:hover, 
.leaflet-control-fullscreen a:hover {
    color: #0099cc !important;
}

.map-panel {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

#map_canvas_full {
    width: 100%;
    height: 650px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.map-popup-img {
    width: 150px;
    border-radius: 3px;
    display: block;
}

.popup-content {
    text-align: center;
}

.map-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#map {
    width: 100%;
    height: 80vh;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
    background: #fdfdfd;
    border-top: 1px solid #eaeaea;
    padding: 50px 0 30px;
    margin-top: 60px;
    color: #666;
    font-size: 14px;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: #111;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0099cc;
    padding-bottom: 5px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #0099cc;
}

.footer-bottom {
    border-top: 1px solid #eee;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* ============================
   HEADER + MENU
   ============================ */

.site-header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.logo {
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.logo span {
  color: #007bff; /* niebieski Bootstrapowy */
}


/* HEADER / MENU – dopasowanie do stylu Fotopano */

.site-header {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 1000;
}

.navbar {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.nav-link {
  font-size: 1.05rem;
  padding: 0.7rem 1rem;
  color: #000 !important;
}

.nav-link:hover {
  color: #0d6efd !important;
}

.dropdown-menu {
  border-radius: 0;
  padding: 0;
  border: 1px solid #ddd;
}

.dropdown-item {
  padding: 0.6rem 1rem;
  font-size: 1rem;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

/* Wyszukiwarka */
.search-form input {
  height: 38px;
}

.search-form button {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Naprawa hamburgera Bootstrap 5 */
.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem !important;
    margin-left: auto !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5rem;
    height: 1.5rem;
}

/* Hamburger w prawym rogu */
.navbar-toggler {
    margin-left: auto !important;
    border: none !important;
    padding: 0.25rem 0.5rem !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Zmniejszenie szerokości menu na desktopie */
.navbar-nav .nav-link {
    padding: 0.5rem 0.7rem !important;
    font-size: 1rem !important;
}

.search-form {
    max-width: 160px;
}

.search-form input {
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
}

/* Czytelny dropdown */
.dropdown-menu {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f5f5f5;
}
.navbar-toggler {
    border: none !important;
    margin-left: auto !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.page-meta {
            color: #888;
            font-size: 0.9rem;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
}
		
.description-text img {
    max-width: 100%;
    height: auto;
	padding: 5px;
	margin: 10px, 10px;
}

.dropdown-menu {
    z-index: 2000 !important;
}

.nav-item {
    list-style: none !important;
}

#lang-flags {
    display: flex;
    gap: 6px;
    align-items: center;
}

.flag {
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 2px;
    width: 28px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.flag:hover {
    transform: scale(1.12);
}

/* Powiększone flagi na telefonach */
@media (max-width: 600px) {
    #lang-flags {
        gap: 8px;
    }
    .flag {
        width: 40px;
        height: auto;
    }
}

/* Lista stron */
.page-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    transition: box-shadow 0.2s ease;
}

.page-card-horizontal-thumb {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

.page-card-text {
    flex: 1;
}

.excerpt {
    margin: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

.more-inline {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 6px;
}
.more-inline:hover {
    text-decoration: underline;
}
