

/* Глобальні стилі */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', Arial, sans-serif;
}

body {
font-size: 16px;
line-height: 1.6;
color: #333;
background-color: #f5f5f5;
overflow-x:hidden!important;
}

/* Контейнери */
.wrapper {
width: 100%;
overflow: hidden;
}

#wrapper {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

/* Header */
.header-container {
background-color: #007799;
color: white;
padding: 10px 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 100;
}
  .container-text:first-child{
      margin-top:0!important;
  }

.header-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 auto;
padding: 0 15px;
}

.head1 {
display: flex;
align-items: center;
color: white;
text-decoration: none;
font-weight: bold;
font-size: 20px;
}

.logo_site {
height: 40px;
margin-right: 10px;
border-radius:3px;
}

.head2 ul {
display: flex;
list-style: none;
}

.head2 ul li {
margin: 0 5px;
}

.link_menu {
color: white;
text-decoration: none;
font-weight: 500;
padding: 5px 10px;
border-radius: 3px;
transition: background-color 0.3s;
font-size: 14px;
}

.link_menu:hover {
background-color: rgba(255, 255, 255, 0.1);
}

.head3 {
display: flex;
}

.langues {
color: white;
text-decoration: none;
margin: 0 5px;
padding: 5px 10px;
border-radius: 3px;
background-color: rgba(255, 255, 255, 0.2);
font-size: 14px;
}

.current-langues {
background-color: rgba(255, 255, 255, 0.4);
}



/* Header picture */
#header-picture {
height: 400px;
background-size: cover;
background-position: center;
display: flex;
align-items: end;
justify-content: end;
position: relative;
}

.sub-title-page {
color: white;
font-size: 24px;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
text-align: center;
padding: 15px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 20px 0 0;
}

/* Main content - ЗМІНЕНО ШИРИНУ КОЛОНОК */
#middle {
display: flex;
margin: 20px 0;
gap: 20px;
}


#left-col {
width: none; /* Приховано праву колонку */
}

#center-col {
width: 70%; /* Змінено з 50% на 70% */
}

#right-col {
width: 27%; /* Змінено з 25% на 30% */
}

#left-col img, #right-col img {
width: 100%;
margin-bottom: 15px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Main content styles */
.main-container {
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
padding-top:0!important;
}

.title-single {
color: #007799;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #007799;
font-size: 24px;
}

.main-description {
color: #007799;
margin-bottom: 20px;
}

.location {
display: flex;
align-items: center;
margin-bottom: 15px;
justify-content:center;
}

.location svg {
margin-right: 10px;
color: #007799;
}

.numbers-phones {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 15px 0;
justify-content:center;
}

.btn-grad {
cursor:pointer;
display: flex;
align-items: center;
background-color: #007799;
color: white;
padding: 10px 15px;
border-radius: 5px;
text-decoration: none;
font-weight: 500;
transition: all 0.3s;
font-size: 14px;
justify-content:center;
}

.btn-grad:hover {
background-color: #007799;
}

.btn-grad svg {
margin-right: 8px;
}

.title-block {
margin: 15px 0;
}



/* Блок «Візитка» – колір на всю ширину, текст по центрі */
.title-block h3 {
padding: 10px 20px;
text-align: center;
margin-bottom: -10px;
border-radius: 10px;
color:#007799;
}
.flat-desc4{
color: #007799;
font-size: 1.2em;
padding: 10px;
text-align: center;
}

.container-text {
margin-bottom: 20px;
border-radius: 4px;
box-shadow: 1px 1px 10px 6px #00000017;
margin: 20px 0;
padding:15px;
}

.container-text p {
  color: #007799;
margin-bottom: 12px;
line-height: 1.6;
font-size: 15px;
}

/* Table styles */
.table-container {
overflow-x: auto;
margin: 15px 0;
}

table {
color: #007799;
width: 100%;
border-collapse: collapse;
margin: 15px 0;
font-size: 14px;
}

th, td {
padding: 10px 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}

th {
background-color: #f2f2f2;
font-weight: bold;
}

tr:hover {
background-color: #f5f5f5;
}

.price-text {
font-weight: bold;
margin-bottom: 10px;
text-align:center;
}

.after-table-list {
color: #007799;
padding-left: 18px;
margin: 15px 0;
font-size: 14px;
}

.after-table-list li {
margin-bottom: 8px;
line-height: 1.5;
}

/* Google maps */
.gmaps {
margin-bottom: 15px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
background-color: #ffffff;
color: #007799;
box-shadow: 1px 1px 10px 6px #00000017;
border-radius: 10px;
padding: 30px 0 15px;
}

.footer-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 auto;
padding: 0 15px;
}

.footer-column {
flex: 1;
min-width: 200px;
margin-bottom: 20px;
}
.footer-column:first-child{
background: #007799;
height: fit-content;
color: white;
padding: 10px;
border-radius: 3px;
text-align: center;
}

.footer-logo {
display: flex;
align-items: center;
color: white !important;
justify-content: center;
text-decoration: none;
font-weight: bold;
font-size: 18px;
margin-bottom: 12px;
}

.footer-logo img {
height: 35px;
margin-right: 10px;
}

.reserved {
font-size: 13px;
opacity: 0.8;
line-height: 1.5;
}

.footer-column b {
display: block;
margin-bottom: 12px;
font-size: 16px;
}

.footer-column li {
margin-bottom: 6px;
font-size: 14px;
margin-left:25px;
}

.footer-column a {
color: #007799;
text-decoration: none;
transition: color 极.3s;
}

.footer-column a:hover {
color: white;
text-decoration: underline;
}

.after-footer  {
text-align: center;
padding: 15px 15px 0;
width: 100%;
margin: 0 auto;
font-size: 13px;
opacity: 0.8;
line-height: 1.5;
border-top: 1px solid rgba(255, 255, 255, 0.1);
background: #007799;
color: white;
padding-bottom: 10px;
margin-bottom: -10px;
}

/* Адаптивність */
@media (max-width: 992px) {
    .container-text{
        margin:0 15px;
    }
    .location{
        text-align:center;
    }
.main-container{
padding:0!important;
}

.header-wrapper {
flex-direction: column;
}



.head2 ul {
flex-wrap: wrap;
justify-content: center;
}

.head2 ul li {
margin: 3px;
}

#middle {
flex-direction: column;
}

#left-col, #center-col {
width: 100%;
}

.footer-container {
flex-direction: column;
}
}

@media (max-width: 768px) {
.head2 ul {
flex-direction: column;
align-items: center;
}

.head2 ul li {
margin: 5px 0;
}

.numbers-phones {
flex-direction: column;
}

.menu__burger {
display: block;
color: white;
font-size: 22px;
cursor: pointer;
}

#header-picture {
height: 80vh;
}

.sub-title-page {
font-size: 18px;
padding: 10px;
}

.footer-column {
min-width: 100%;
}

/* Адаптація для мобільних пристроїв */
.fotorama-container {
margin: 15px 0;
}


}

/* Спеціальні класи */
.text-center {
text-align: center;
}

.mt-20 {
margin-top: 20px;
}

.mb-20 {
margin-bottom: 20px;
}

.highlight {
background-color: #ffeaa7;
padding: 2px 5px;
border-radius: 3px;
}

/* Стилі для контенту */
b {
font-weight: 600;
}

ol, ul {
padding-left: 20px;
}

iframe {
border: 0;
width: 100%;
height: 250px;
}

/* Стилі для фотогалереї Fotorama */
.fotorama-container {
margin: 20px 0;
}

.fotorama {
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
* Додав ці стилі для виправлення позиціювання футера */
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}

#wrapper {
flex: 1;
}

.footer {
margin-top: auto;
}

/* Стилі для навігації Fotorama */
.fotorama__nav--thumbs .fotorama__nav__frame {
padding: 5px;
}

.fotorama__thumb-border {
border: 2px solid #3498db;
border-radius: 3px;
}

/* мобільний верхній ряд */
.burger-top        { display: none; }

@media (max-width: 768px) {
.burger-top      { display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
margin-bottom: 10px; }

/* приховуємо старі UA/RU на мобільному */
.desktop-lang    { display: none; }

/* саме меню + UA/RU всередині */
.head2              { display: none; }
.head2.burger-open  { display: block;
position: absolute;
top: 60px;
left: 0;
width: 100%;
background-color: #007799;
z-index: 999; }
.head2.burger-open ul {
flex-direction: column;
align-items: center;
padding: 10px 0;
}
.head2.burger-open li { margin: 8px 0; }

.burger-lang        { display: flex;
justify-content: center;
gap: 10px;
padding: 10px 0; }
.menu__burger {
display: none;
}
}
/* === мобільне меню === */
.mobile-menu-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,.55);
z-index: 998;
display: none;
opacity: 0;
transition: opacity .35s;
}
.mobile-menu {
position: fixed;
top: 0;
right: -260px;
width: 260px;
height: 100%;
background: #007799;
display: flex;
flex-direction: column;
z-index: 999;
transition: right .35s ease;
box-shadow: -4px 0 12px rgba(0,0,0,.2);
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay.open { display: block; opacity: 1; }

.mob-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid rgba(255,255,255,.15);
}
.mob-logo { font-weight: 600; color: #fff; font-size: 17px; }
.mob-close { font-size: 26px; color: #fff; cursor: pointer; line-height: 1; }

.mob-nav {
list-style: none;
margin: 0;
padding: 18px 0;
flex: 1;
}
.mob-nav li a {
display: block;
color: #fff;
padding: 12px 24px;
text-decoration: none;
font-size: 17px;
transition: background .25s;
}
.mob-nav li a:hover { background: rgba(255,255,255,.1); }

.mob-lang {
display: flex;
justify-content: center;
gap: 10px;
padding: 14px 0 24px;
}
.mob-lang a {
color: #fff;
text-decoration: none;
padding: 6px 14px;
border-radius: 4px;
background: rgba(255,255,255,.15);
}
.mob-lang a.cur { background: rgba(255,255,255,.35); }

@media(max-width: 768px) {
.head2, .desktop-lang { display: none; }
.burger-toggle { display: block; }
}
/* === мобільний хедер: лого + бургер в один ряд === */
@media (max-width: 768px) {
.fotorama{
border-radius: 0!important;
}

.header-wrapper {
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.burger-toggle {
display: inline-block;
color: #fff;
font-size: 26px;
cursor: pointer;
}
.head2,
.desktop-lang {
display: none;
}
}
@media (min-width: 769px) {
.burger-toggle {
display: none !important;
}
.head2,
.desktop-lang {
display: flex;
}


}
#right-col .fotorama{
           max-width:345px!important;
}
    .fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__fullscreen-icon {
    opacity: 1!important;
}
@media screen and (max-width:771px)  {
   .fotorama__fullscreen-icon{
      display:none!important;
}
#right-col{
    width:100%;
}

}

/* table */
.table-container{

}
.table-container thead{
    background:#80808014;
color: #007799;
letter-spacing: .7px;
    font-family: Inter, sans-serif;

}
.table-container table{
    border: 1px solid #007799;
}
.table-container table thead tr td{
    color: #007799;
    font-family: Inter,sans-serif;
    font-weight: 500;
}

.table-container table tr td{
    border: 1px solid #007799;
    text-align: center;
    color: #007799;
    font-family: Inter,sans-serif;
}
.table-container table tbody tr:nth-child(even){
    background: #80808014;
}
/* table end */

