/* Animacje */
@keyframes slideDown{
	from{
		transform: translateY(-60%);
		opacity: 0;
	}
	to{
		transform: translateY(0);
		opacity: 1;
	}
}


/* Podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}


.menu {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.menu a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-size: 22px;
}

.menu a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.container-op {
    width: 70%;
    margin: 0 auto;
}

/* Nagłówek */
header {
    background-color: #ff5050;
    color: white;
    padding: 5px 0;
    text-align: center;
	position: sticky;
	top: 0;
	z-index: 1000;
	max-width: 100%;
	height: auto;
	display:flex;
	align-items:center;
	flex:1;
}


.header-banner{
	max-width:40%; height:auto; max-height:100%; margin-left:20px; margin-bottom:5px; margin-top:5px; float:left;
}

/*.header-u{
	max-width:2%; height: 50px; max-height:1%; margin-left:20px; margin-bottom:5px; margin-top:5px; float:left;
}

.header-klient {
    max-width: 20%;
    height: 10vh;
    transform: translate(0, -7px);
    object-fit: contain;
    margin: 0 0 0 20px; 
    padding-bottom: 10px;
    padding-top: 10px;
    float: left;
}

.header-u-klienta{
	max-width:0%; height:auto; max-height:100%; margin-left:20px; margin-bottom:5px; margin-top:5px; float:left;
}*/

header h1 {
    margin-bottom: 5px;
    font-size: 2em;
}



/* Strona główna */
.hero {
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    color: white;
    z-index: 1;
    text-shadow: 4px 4px 0px #000000d7;
}

.hero-background {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 700px);
    background-image: url('images/klawiatura.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(6px) brightness(0.8) opacity(0.7);
    z-index: 0;
    pointer-events: none; 
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 240, 240, 0) 0%, rgb(255, 240, 240) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
	font-size: 96px;
    margin-bottom: 5px;
    text-shadow: 4px 4px 0px #000000d7;
}

.hero h1 {
    font-size: 59px;
    margin-bottom: 5px;

}

.hero p {
	font-size: 30px;
}

.hero-sluchawka{
	width:70px; margin-right: 15px;
}


/* Usługi */
.services {
    background-color: #ffffff;
    padding: 50px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
	text-align: left;
	font-size: 35px;
}

.service-list {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;
}

/* Mapa */
.map {
    background-color: #ffffff;
    padding: 50px 0;
	text-align: center;
	font-size: 1.8em;
}

.mapa-img {
	float: center;
    padding-top:30px;
    max-width:60%;
}
/* FAQ */
.faq {
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    color: black;
    z-index: 1;
}
.faq-background {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-image: url('images/BSOD.jpg');
    background-size: 170%;
    background-position: center;
    filter: blur(6px) brightness(0.7) opacity(0.7);
    z-index: 0;
    pointer-events: none;
}

.faq-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, white 0%, transparent 10%);
    z-index: 1;
    pointer-events: none;
}
.faq::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    z-index: 1;
}
.faq-content {
    position: relative;
    z-index: 2;
}


.faq details {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  background: white;
}
.faq summary {
  font-weight: bold;
  cursor: pointer;
}
.faq summary::marker {
  color: red;
}

.service-item { /* kostki usługi */
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(-60%); 
}

.service-item.animate { 
    animation-name: slideDown;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    display: flex;
    align-items: center; 
}

.service-item p {
    font-size: 1.1em;
}

/* O nas */
.about {
    background-color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

.about p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto;
}
/* Opinie */
.google{
    height: 1.5em;
    width: 1.5em;
    text-align: right;
    margin-left: auto;

    display: flex;
}

.blog-post {
  margin-bottom: 20px;
}

.blog-post h3 a {
  text-decoration: none;
  color: #333;
}

.blog-post h3 a:hover {
  color: #d00;
}

.blog-post p {
  margin-top: 5px;
  font-size: 0.95em;
  color: #666;
}


/* Stopka */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.call-sluchawka{
    width: 100px;
    height: 100px;
    transition: transform 0.2s;
}
.call-sluchawka:hover {
  animation: shake 0.8s;
}
.call-button {
    position: fixed;
    bottom: 30px;
    float: left;
    margin-left: 30px;
    background-color: red;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 18px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    text-decoration: none;

}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container .service-item {
  flex: 0 0 auto;
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: start;
}

/* Strzałki */
.slider-btn {
  background-color: #ff5050;
  color: white;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0.8;
}

.slider-btn:hover {
  background-color: #e63333;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.slider-btn.left {
  left: -15px;
}

.slider-btn.right {
  right: -15px;
}



.shake {
  animation: shake 0.8s ease-in-out;
}
@keyframes shake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(15deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}


@media (max-width: 768px) {
    header { flex-direction: column; align-items: center; }
    header img { max-width: 100%; }
	.header-banner{ max-width:90%; margin-left:10px; margin-bottom:10px; margin-top:10px; float: center;}
    .container { width: 90%; }
    .container-op{ width: 90%; }
    .hero h2 { font-size: 50px; }
    .hero h1 { font-size: 35px; }
	.hero p { font-size: 22px; }
	.hero-sluchawka { width: 40px; }
    .map img { max-width: 100%; }
	.about p { font-size: 18px }
	.services h2 { font-size: 30px }
    .contact input, .contact textarea { width: 100%; }
    .menu {
        margin: 10px 0;
        gap: 10px;
    }
    .menu a {
        padding: 64px 10px;
    }
    .call-sluchawka{ width: 50px; height: 50px; }
    .call-button{ margin-left: 20px; bottom: 20px; }
}
@media (max-width: 1200px) {
.menu a {
        font-size: 18px;
        padding: 2px;
    }
    .menu {
        gap: 6px;
    }
}
