/**
Theme Name: Lubelska Akademia Sportu
Author: IcomMedia
Author URI: https://icommedia.pl/
Description: Motyw dla strony Lubelska Akademia sportu, opracowany na podstawie motywu Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lubelska-akademia-sportu
Template: astra
*/

/* Style ogólne */
.flex {
		display: flex;
}

.column {
	flex-direction: column;
}

.row {
	flex-direction: row;
}

.center {
	justify-content: center;
}

.akcentBlue {
    color: #36B5AB;
}

.akcentDarkBlue {
    color: #1C2D50;
}

/* style akordeonu FAQ */
.faq-accordion .faq-item {
    margin-bottom: 20px;
}

.faq-header h2 {
	margin-bottom: 0;
}

.faq-accordion button:focus {
	color: #fff;
}

.faq-accordion .faq-button  {
    font-size: 18px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    transition: all 0.5s;
    padding: 20px 20px !important;
    background: #36B5AB;
		color: #FCFCFD !important;
}

.faq-accordion .faq-button:hover, .faq-accordion .faq-button.active {
    color: #1C2D50 !important;
		background-color: #FCFCFD;
}
.faq-accordion .faq-button.active{
	border-radius: 50px 50px 0 0;
	border-bottom: solid 1px transparent;
}

.faq-accordion .faq-arrow {
    transition: all 0.5s !important;
	width: 20px !important;
}

.faq-accordion .faq-button[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
}

.faq-accordion .faq-collapse {
    display: none;
}

.faq-accordion .faq-collapse.show {
    display: block;
    padding: 0px 10px;
    background: transparent;
    font-size: 16px;
}

.faq-accordion .faq-body {
  padding: 20px 10px;
	background-color: #FCFCFD;
	border-radius: 0 0 50px 50px;
	border: solid 1px #22A196;
	border-top: solid 1px transparent;
	transition: all 0.5s;
}

.faq-section-header {
    padding: 2px;
    text-align: left;
}
/* Strona główna baner */
.h1Move {
    margin-left: 5%;
}

/* Atuty style */
.atut {
	flex-direction: row; 
	width: 100%;
	gap: 10px;
	padding: 20px 0;
}

.atut:not(:last-child) {
	border-bottom: solid 1px #22A196;
}

.SingleKafelIkonka {
	width: 15%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url('/wp-content/uploads/2025/06/gwiazdka-w-tle.svg');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.SingleKafelTresc {
	width: 85%;
}

.SingleKafelIkonka img {
	height: 60px;
	width: 60px;
	object-fit: contain !important;
}

/* Style dla grup wiekowych */
.group {
    flex-direction: column;
    max-width: 33%;
    width: 33%;
    background-image: url('/wp-content/uploads/3-4.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    text-align: center;
    height: 33vh;
    justify-content: center
}

.group .SingleKafelTresc {
     width: 100%;
}

.group .SingleKafelTresc h2 {
    line-height: 1em;
    margin-bottom: 0;
}

.group .SingleKafelTresc h3 {
    line-height: 1em;
}

/* Kafel na stronie głównej z produktami */
.kafelZakupy:hover .overlay img {
    opacity: 0.9;
}
.kafelZakupy:hover .overlay {
    background: #000;
    transition: all 0.7s;
}
.kafelZakupy:hover .gradient {
    background: linear-gradient(90deg, rgba(34, 161, 150, 1) 0%, rgba(93, 200, 98, 1) 100%);
    transition: all 0.7s;
}

.kafelZakupy:hover .btnOverlay a {
    transform: scale(1.1, 1.1);
}

/* Style formularza */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  border: 1px solid #D0D5DD;
  border-radius: 30px;
  padding: 10px;
  font-size: 16px;
  color: #000;
  margin-top: 20px; /* dodane */
}

/* Placeholdery */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #667085;
}

/* Etykiety */
.wpcf7 form label {
  color: #101828;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  display: block;
  margin-bottom: 16px;
}

/* Przycisk "Wyślij" */
.wpcf7 input[type="submit"] {
  background: linear-gradient(90deg, rgba(34, 161, 150, 1) 0%, rgba(93, 200, 98, 1) 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-top: 16px;
  display: block;
  margin-left: auto;
}

/* Hover na przycisk */
.wpcf7 input[type="submit"]:hover {
  background: #22A196;
}

/* Checkbox (jak pole tekstowe, tylko mniejszy) */
.wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #D0D5DD;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

/* Hover na checkbox */
.wpcf7-acceptance input[type="checkbox"]:hover {
  border-color: #22A196;
  opacity: 0.9;
}

/* Po zaznaczeniu checkboxa – tło białe i ✔ */
.wpcf7-acceptance input[type="checkbox"]:checked {
  background-color: #fff !important;
}

.wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "✔";
  color: #22A196;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

/* Aktualności na głównej */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.news-large {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    overflow: hidden;
}

.news-small-wrapper {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.news-small {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 30vh;
    overflow: hidden;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 45, 80, 0.6), transparent 80%);
    color: #fff;
    text-decoration: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.news-overlay h3 {
    color: #fff;
}

.news-btn {
    align-self: flex-start;
    background: linear-gradient(90deg, rgba(34,161,150,1) 0%, rgba(93,200,98,1) 100%);
    color: #fff;
    font-family: Saira;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.7s ease;
    font-size: 16px;
}

.news-overlay:hover .news-btn {
    opacity: 1;
    transform: translateY(0);
    margin-top:20px;
    transition: all 0.7s;
}

.news-overlay:hover {
        background: linear-gradient(180deg,rgba(28, 45, 80, 0.6 ) 0%, rgba(28, 45, 80, 0.8) 100%);
}


@media only screen and (max-width:1366px) {
	.h1Move {
    margin-left: 15% !important;
}
}

@media only screen and (max-width:1024px) {
	
}

@media only screen and (max-width:767px) {
	.h1Move {
    margin-left: 12% !important;
}
	.atut {
	flex-direction: column; 
	align-items: center;
}
	.SingleKafelTresc {
	width: 100%;
		text-align: center;
}
	.SingleKafelIkonka {
		width: 20%;
		height: 80px;
	}
	.news-grid {
    grid-template-columns: 1fr;
  }

  .news-large,
  .news-small {
    min-height: 40vh;
  }

  .news-small-wrapper {
    display: contents;
  }

  .news-btn {
    font-size: 14px;
    padding: 6px 16px;
	opacity: 1;
    transform: translateY(0);
    margin-top: 20px;
  }
	
	.mobileBlue {
        color: #101828 !important;
    }
	
}

