/* Убираем стандартные отступы */
body {
  margin: 0;
  padding: 0;
}
	h2 { font-family: Verdana; font-size: 10pt; color: #FFF;}
	h3 { font-family: Verdana; font-size: 13pt; color: #FFF;}
	h4   {margin-top: 0; margin-bottom: 0; font-family: Verdana; font-size: 12pt;
	     font-weight: normal; color: #FFF; text-align: left;}
	h5   {margin-top: 0; margin-bottom: 0; font-family: Verdana; font-size: 16pt;
	     font-weight: normal; color: #00b8b8; text-align: left;}
	h6   {margin-top: 0; margin-bottom: 0; font-family: Verdana; font-size: 18pt;
	      font-weight: normal; color: #00b8b8; text-align: left;}

 

    * { margin:0; padding:0; box-sizing:border-box; }
    body { font-family: Arial, sans-serif; background:#f5f5f5; color:#333; }

    a { text-decoration:none; color:inherit; }
    

  /*    HEADER 
    header {
      position: fixed; top:0; left:0; width:100%; height:100px;
      background: linear-gradient(90deg,#1b0034,#3c0a4b);
      color:#fff; display:flex; align-items:center; padding:0 18px; gap:16px;
      z-index:1000;
    }  */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../images_fon/fon_header.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 16px;
  z-index: 1000;
}

    .logo { display:flex; flex-direction:column; justify-content:center; }
    .logo h2 { font-style:italic; line-height:1; margin:0; font-size:20px; }

    nav { flex:1; }
    nav ul {
      list-style:none; display:flex; justify-content:center; gap:24px; align-items:center;
    }

    nav ul li { position:relative; }
    nav ul li > a {
      color:#fff; font-weight:700; font-size:18px; padding:8px 6px; display:inline-block;
    }
    nav ul li > a:hover { color:#ffb3ff; }

    /* SUBMENU - desktop (absolute) */
    .submenu {
      display:none;
      position:absolute;
      top:38px; left:0;
      background: rgba(0,0,0,0.92);
      padding:10px; border-radius:8px; min-width:180px; z-index:1001;
      box-shadow:0 6px 18px rgba(0,0,0,0.5);
    }
    .submenu li { margin:6px 0; }
    .submenu li a { color:#fff; padding:6px 10px; display:block; font-weight:600; }

    nav ul li:hover > .submenu { display:block; animation:fadeIn .18s ease-in; }
    @keyframes fadeIn { from{opacity:0; transform:translateY(-6px)} to{opacity:1; transform:none} }

    /* Arrow indicator for items with submenu (for both ua and EN anchors) */
    nav ul li.has-submenu > a.ua::after,
    nav ul li.has-submenu > a.en::after {
      content: '\25BE'; /* small down-pointing triangle &#9662; */
      display:inline-block;
      margin-left:8px;
      transition: transform .18s ease;
      transform-origin: center;
      font-size:0.8em;
      vertical-align:middle;
    }

    /* On desktop hover rotate arrow */
    nav ul li:hover > a.ua::after,
    nav ul li:hover > a.en::after {
      transform: rotate(180deg);
    }

    /* language flags */
    .lang-switch { display:flex; gap:10px; align-items:center; }
    .lang-switch img { width:28px; height:18px; cursor:pointer; border:2px solid transparent; border-radius:3px; }
    .lang-switch img:hover { border-color:#ffb3ff; }

    /* burger */
    .burger { display:none; cursor:pointer; gap:4px; flex-direction:column; }
    .burger div { width:26px; height:3px; background:#fff; border-radius:2px; }

    /* main 
    main { padding:140px 20px 40px; text-align:center; min-height:60vh; }
*/

/* footer */
footer {
  background: #021118;               /*  url("../images_fon/fon_header.jpg") center/cover no-repeat; */
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-block {
  background: #007777;                   /*  rgba(26, 26, 26, 0.8); /* полупрозрачный тёмный фон, чтобы читалось поверх картинки */   */
  padding: 16px;
  border-radius: 10px;
  text-align: center;
}
.footer-block-3 {
  background: #007777;                
  padding-top: 15px;
  padding-left: 25px;
  padding-right: 10px;
  border-radius: 10px;
  text-align: left;
}

.footer-block h3 {
  margin-bottom: 12px;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  text-align: center;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  gap: 10px;
  justify-content: center;
}

.projects img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #fff;
}


    /* MOBILE ADAPTATIONS */
    @media (max-width: 768px) {
      nav ul { display:none; position:absolute; top:100px; right:0; width:100%; flex-direction:column; background:rgba(0,0,0,0.92); padding:14px 0; gap:0; }
      nav ul.active { display:flex; }
      nav ul li { margin:0; width:100%; text-align:left; }
      nav ul li > a { display:block; padding:12px 20px; border-bottom:1px solid rgba(255,255,255,0.03); }

      /* submenu becomes in-flow and hidden until parent has .open */
      .submenu { position:static; display:none; background:transparent; padding:0; box-shadow:none; min-width:unset; border-radius:0; }
      .submenu li a { padding:10px 36px; border-bottom:1px solid rgba(255,255,255,0.03); text-align:left; font-weight:600; }

      /* show submenu when parent has open class - it will push content down */
      nav ul li.open > .submenu { display:block; }

      /* rotate arrow when parent open (mobile) */
      nav ul li.open > a.ua::after,
      nav ul li.open > a.en::after { transform: rotate(180deg); }

      .burger { display:flex; margin-left:10px; }
      .lang-switch { position:absolute; top:30px; right:70px; }
    }

    /* footer responsiveness */
    @media (max-width:900px) { .footer-container { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width:600px) { .footer-container { grid-template-columns: 1fr; } }
    
    
/* Кнопка "наверх" */
/* Кнопка "наверх" со стрелкой SVG */
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  background-color: rgba(2, 17, 24, 0.8);
  border: none;
  outline: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

#scrollTopBtn svg {
  transition: transform 0.3s ease;
}

#scrollTopBtn.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background-color: rgba(0, 128, 128, 0.9);
  transform: translateY(-4px) scale(1.05);
}

#scrollTopBtn:hover svg {
  transform: translateY(-3px);
}

/* Кнопка полноэкранного режима */
#fullscreen-toggle {
  position: fixed;
  top: 10px;
  right: 130px; /* ?? сдвинули левее, чтобы не мешала флажкам */
  z-index: 9999;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fullscreen-toggle svg {
  width: 22px;
  height: 22px;
  fill: white;
  transition: transform 0.3s;
}

#fullscreen-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

#fullscreen-toggle.active {
  background: rgba(0, 100, 255, 0.4);
}

/* Ссылки только в card-body_futer */
.card-body_futer a {
   color: #FFF;
   text-decoration: none;
   padding:8px;
   justify-content: center;
 
}

/* Подсветка при наведении */
.card-body_futer a:hover {
  color: #FFF;              
  border-color: #021118;          
  background-color:  #00b4d8;      
  padding:8px;
  border: 1px solid #021118;
}

.card-body_futer {
justify-content: center;
}

.copyright
{
	display: block;
	width: 100%;
	margin-top: 25px;
	font-family: Verdana;
	font-size: 8pt;
	color: #FFF;
	text-align: left;
	background: #021118;
	padding; 10px;
}

/* Текст в Galer_Commerz.htm */

.gallery-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
 }

.gallery-text h2, .gallery-text h3 {
  margin-bottom: 16px;
}

.gallery-text p {
  margin-bottom: 0px;
  line-height: 1.6;
}

.gallery-text ul {
  margin: 16px 0 20px;
  padding-left: 20px;
}

/* Текст в Galer_KindBuch.htm */

.seo-text-block {
  max-width: 900px;
  margin: 0 auto; 
  padding: 40 20px; 
  line-height: 1.7;
  color: #FFF;
  text-align: left;
}

.seo-text-block h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #FFF;
}

.seo-text-block h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: #FFF;
  
}

.seo-text-block p {
  margin-bottom: 15px;
}

.seo-text-block ul {
  margin: 15px 0 25px 20px;
}

.seo-text-block li {
  margin-bottom: 8px;
}
.seo-text-block > *:last-child {
  margin-bottom: 0;
}


/* Мобильные устройства */
@media (max-width: 768px) {

  .gallery-text, .seo-text-block {
    padding-left: 16px;
    padding-right: 16px;
  }
}



/*
a:link {color: #990000;}
a:visited {color: #990000;} 

 a:hover {color: red;}
 */