/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}


body {
  font-family: Barlow, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
}
/* Kontener */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Panel górny */
.header {
  background: url('../images/header.jpg') center/cover no-repeat;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  text-align: center;
}

.logo
{
		height: 180px;
		margin-bottom: 2%;
}

.header h1 {
  font-size: 2.5rem;
  max-width: 90%;
}

/* Nawigacja */
nav {
  background-color: #222;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #fff;
  padding: 15px 25px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00bcd4;
  transition: all 0.3s ease;
}

nav a:hover::after {
  left: 0;
  width: 100%;
}

nav a:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Panel środkowy */
.main {
  max-width: 1200px;
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex: 1;
}

/* Stopka */
.footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 20px;
}
/* subpages: webdesign, grafika  */
.subpage{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.webdesign, .grafika {
  flex: 1 1 300px;
  min-width: 300px;

}
.prawy {
  flex: 1 1 300px;
  min-width: 500px;
}

/* Responsywność */
@media (max-width: 768px) {
  .header {
    height: 200px;
  }
  .header h1 {
    font-size: 1.8rem;
  }
  nav a {
    flex: 1 1 50%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav a {
    flex: 1 1 100%;
  }
}
/*CUSTOM SELECT - JĘZYKI */
.custom-select {
  position: relative;
  width: 160px;
  cursor: pointer;
  z-index:100;
}
.custom-select .selected,
.custom-select .options li {
  display: flex;
  align-items: center;
  padding: 10%;
  gap: 8px;
  color: #fff;
}

.selected {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 15px 25px;
  position: relative;
  overflow: hidden;
}
.custom-select img {
  width: 20px;
  height: 14px;
  object-fit: cover;
}
.options {
  display: none;
  position: absolute;
  background-color: #222;	
  border: 1px solid #ccc;
  top: 100%;
  left: 0;
  right: 0;
  color: #fff;
}
li.lang:hover
{
	background-color: #333;		
}
.custom-select:hover .options {
  display: block;
}

/* CUSTOM LIST */
.custom-list {
  list-style: none;
  padding-left: 1em;
}

.custom-list li {
  margin: 0.4em 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* KONTAKT */
.phone-btn {
  background-color: #008CBA;
  color: white;
  border: none;
  padding: 0.4em 1em;
  cursor: pointer;
  font-size: 1em;
  border-radius: 0.3em;
  margin-left: 0.5em;
}

form {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 500px;
}

input, textarea {
  padding: 0.6em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 0.3em;
}

button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 0.3em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-size: 1.15em;
}

.submit-btn:hover {
	background:#39833b;
	color: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.kontakt {
	width: 50%;
	margin: auto;
}
/* kontakt WHATSAPP i MESSANGER */

.contact-button {
  display: inline-block;
  margin: 8px 0;
  padding: 10px 16px;
  font-size: 16px;
  font-family: sans-serif;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: background 0.2s ease;
}

.contact-button i {
  margin-right: 8px;
}

.whatsapp {
  background-color: #25d366;
}

.whatsapp:hover {
  background-color: #1ebe5b;
}

.messenger {
  background-color: #0084ff;
}

.messenger:hover {
  background-color: #006fde;
}



/* PRICING */
.table-wrapper {
  max-width: 800px;
  margin: 0 auto 40px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: #3498db;
  color: white;
}

th, td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
}

tr:hover {
  background-color: #f0f8ff;
}

.note {
  text-align: center;
  font-size: 0.95em;
  margin-top: 20px;
  color: #666;
}



