﻿.modular .showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  /*height: 500px;
  background: linear-gradient(to bottom, #D9BD71 10%, transparent 40%);*/
  height: 200px;
  background: linear-gradient(
	to bottom,
	rgba(255, 255, 255, 1) 0%,
	rgba(255, 255, 255, 0.9) 40%,
	rgba(255, 255, 255, 0.7) 60%,
	rgba(255, 255, 255, 0.2) 80%,
	rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.modular .showcase {
  /*position: relative;*/
  z-index: 0;
}



/* ====== Podstawowe ustawienia ====== */
body {
  font-family: "Open Sans", sans-serif;
  color: #000;
}

/* ====== Typografia ====== */
h1, h2, h3, h4, h5, h6,
.callout .pricing-container .pricing-item .name,
.contact label,
.modular .bottom table th,
.archive-list label,
.callout .pricing-container .pricing-item .foot .button,
.callout .pricing-container .pricing-item .foot .archive-list button,
.callout .pricing-container .pricing-item .foot .contact button {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

.blog-header h1 {
  font-size: 1.5rem;
}

/* ====== Header / Navbar ====== */
#header {
  color: #000;
}

#header .logo {
  border-bottom: 3px solid #000;
}

#header .logo h3 {
  color: #000;
  font-family: "Open Sans", sans-serif;
}

#header .search-box {
  visibility: hidden;
  width: 0;
}

#header #navbar ul.navigation {
  width: 100%;
}

#header #navbar ul.navigation li a {
  color: #000;
}

.modular.header-image #header #navbar a:hover,
#header #navbar ul.navigation li a.active,
#header #navbar ul.navigation li a:hover {
  color: #D9BD71;
}

#header #navbar ul.navigation li a {
  font-family: "Open Sans",sans-serif;
  font-weight: bold;
}

#header #navbar ul.navigation li a::before {
  background-color: #D9BD71 !important;
}

.modular.header-image #header #navbar a,
#header #navbar .panel-activation {
  color: #000;
}

.sb-slidebar {
    background-color: #D9BD71 !important;
}

/* ====== Header Lite ====== */
.header-lite #header a,
.header-lite #header .menu-btn,
.header-lite #header li.active a {
  color: #000;
}

.header-lite #header .logo ul.social-icons li,
.logo ul.social-icons li,
.logo ul.social-icons li:hover {
  background: #000;
}

#header .logo ul.social-icons a,
.header-lite #header .logo ul.social-icons li:hover .fa {
  color: #fff;
}

/* ====== Panel Nawigacyjny ====== */
#panel .navigation li a {
  color: #fff;
}

#panel .navigation li.active > a {
  color: #000;
}

/* ====== Responsive Navbar ====== */
@media (max-width: 59.938em) {
  #header #navbar ul.navigation {
    display: block !important;
  }

  #header #navbar .panel-activation {
    display: none !important;
    top: 56%;
    font-size: 2.5rem;
  }
}

@media (max-width: 51em) {
  #header #navbar ul.navigation {
    display: none !important;
  }

  #header #navbar .panel-activation {
    display: block !important;
  }
}

@media (max-width: 47.938em) {
  #header .logo h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .sb-width-thin {
    width: 30%;
  }
}

/* ====== Footer ====== */
.footer {
  background: #D9BD71;
  color: #fff;
}

.footer .footer-copyright {
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
}

/* ====== Modular Sections ====== */
.modular .slideme_container {
  height: 28rem;
}

.modular .slideme_container .arrow {
  opacity: unset;
}

.modular .slideme_container .pagination .numbers li {
  background: #000;
}

.modular .features {
  margin: 1.5rem auto;
  padding: unset;
}
}

.modular .features h2 {
  color: #000;
}

.modular .features p,
.modular .features.big .feature-content p {
  color: #555;
}

.modular .features.big i.fa {
  font-size: 4.5rem;
  margin-bottom: 0.5rem;
}

.modular .features.big .feature-content {
  padding-right: 0;
}

.modular .features .feature {
  margin: 0;
}

.modular .bottom p {
  margin: 0.5rem;
}

/* ====== Price Board ====== */
.price-board {
  background: #fefefe;
  border: 1px solid #ddd;
  border-left: 5px solid #D9BD71;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  font-size: 0.85rem;
  margin: 1.5rem auto;
  max-width: 500px;
}

.price-board h3,
.price-board h4,
.price-board h5 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.3rem;
  padding-left: 0.5rem;
}

.price-row {
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  line-height: 1.2;
  padding: 0.4rem 0.75rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-name {
  color: #555;
  font-weight: 500;
  margin-right: 1rem;
  overflow: hidden;
  text-align: left;
}

.price-amount {
  font-weight: 600;
  text-align: right;
}

/* ====== Contact Header ====== */
.contact-header {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #D9BD71;
  border-radius: 12px;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.15);
  color: #222;
  margin: 1.5rem auto;
  max-width: 400px;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.contact-header:hover {
  transform: translateY(-6px);
}

.contact-logo,
.contact-text {
  width: 50%;
  box-sizing: border-box;
}

.contact-logo {
  text-align: center;
  padding-right: 1rem;
}

.contact-logo img {
  border-radius: 8px;
  max-width: 100px;
  height: auto;
}

.contact-text {
  text-align: left;
}

.contact-text p {
  margin: 0 !important;
}

.contact-text h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: left;
}

.contact-text a {
  color: #000;
  font-weight: bold;
}

/* ====== Doctor Bio ====== */
.doctor-bio {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #D9BD71;
  border-radius: 12px;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.15);
  max-width: 1200px;
  margin: 1.5rem 0 1rem 0;
}

.toggle-button {
  color: #000;
  padding: 10px 50px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 1rem 0 0 0;
  font-size: 1rem;
  font-weight: bold;
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #D9BD71;
  border-radius: 12px;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.15);
}

#doctor-details-1.collapsed,
#doctor-details-2.collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0 1rem; /* dodaj poziome wypełnienie nawet gdy zwinięty */
}

#doctor-details-1.expanded,
#doctor-details-2.expanded  {
  opacity: 1;
  padding: 0 1rem;
  max-width: 1200px;
  /*margin: 1.5rem auto;*/
  padding: 1rem;  /* pełne wypełnienie gdy rozwinięty */
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.doctor-photo {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.bio-text {
  flex: 1;
  min-width: 260px;
  text-align: justify;
  text-indent: 3rem;
}

.bio-text-kursy {
  text-align: center;
  text-indent: 0;
  padding-top: 0.5rem;
}

.bio-text h3 {
  margin-bottom: 0.5rem;
  text-align: center;
}

.bio-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

@media screen and (max-width: 640px) {
  .doctor-bio {
    flex-direction: column;
    text-align: center;
  }

  .doctor-photo {
    width: 100%;
  }

  .bio-text h3::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ====== Service Cards ====== */
.opinie,
.photo-gallery,
.service-block {
  max-width: 1200px;
  margin: 1.5rem auto;
}

.service-block h2 {
  font-size: 2.2rem;
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
}

.service-list-gallery,
.service-list-cennik,
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-list-gallery,
.service-list-cennik {
  grid-template-columns: repeat(auto-fit, minmax(320px, max-content));
  justify-content: center;
}

.google-review,
.service-card-gallery,
.service-card,
.service-card-main,
.service-card-cennik {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #D9BD71;
  border-radius: 12px;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease;
}


.service-card-gallery {
  padding: 1rem;
}

.google-review {
  padding: 1rem 0 0.2rem 0;
}

.service-card-gallery img {
  border-radius: 12px;
}

.service-card-cennik {
  font-size: 0.85rem;
}

.service-card,
.service-card-cennik {
  padding: 1rem 0 0.2rem 0;
}

.service-card-main {
  padding: 5px 0 5px 0;
}

.google-review:hover,
.toggle-button:hover,
.service-card:hover,
.service-card-cennik:hover,
.service-card-gallery:hover {
  transform: translateY(-6px);
}

.service-card i,
.service-card-cennik i {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.service-card h3,
.service-card-main h3,
.service-card-cennik h3 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.service-card h3,
.service-card-cennik h3 {
  font-size: 1.1rem;
  margin-top: -0.5rem;
}

.google-review p,
.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* ====== Gallery ====== */

.photo-gallery-kursy {
  margin: 1.5rem auto;
}

.photo-gallery h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.gallery-grid,
.gallery-grid-kursy {
  display: grid;
  gap: 1rem;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-grid-kursy {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.gallery-grid a img,
.gallery-grid-kursy a img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid a img:hover,
.gallery-grid-kursy a img:hover {
  transform: translateY(-6px);
}

iframe, svg {
    border-radius: 12px;
}

.lekarz {
  display: flex;
  align-items: center;
  background: #fff;
  margin: 1rem;
  max-width: 1200px;
  gap: 1.5rem;
}

.lekarz-logo {
  text-align: right;
  width: 50%;
  box-sizing: border-box;
}

.lekarz-text {
	width: 50%;
  text-align: left;
  box-sizing: border-box;
}

.lekarz-text h3 {
	margin-bottom: 0;
}

.lekarz-text p {
	margin: 0 !important;
}

@media screen and (max-width: 640px) {
	.lekarz {
		display: inline-block;
	}

	.lekarz-logo {
		text-align: center;
		width: 100%;
	}

	.lekarz-text {
		width: 100%;
		text-align: center;
	}
}

#google-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.star {
  color: #D9BD71;
}

body {
  animation: fadeIn 0.8s ease-in forwards;
}
	
@keyframes fadeIn {
  0% {
     opacity: 0;
     }
  100% {
     opacity: 1;
     }
}