/* --- Sticky slogan po przewinięciu strony --- */
.slogan.sticky {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(99,91,255,0.18);
    padding: 12px 8vw 10px 8vw;
    margin: 0;
    max-width: 90vw;
    font-size: 1.1em;
    border-radius: 0 0 16px 16px;
    animation: slideDown 0.4s cubic-bezier(.4,2,.6,1) 1;
}
@keyframes slideDown {
    from { top: -80px; opacity: 0; }
    to { top: 0; opacity: 1; }
}
/* --- Slogan nad opiniami klientów --- */
.slogan {
        background: #f8f8fc;
        color: #2d72d9;
        font-size: 1.7em;
        font-weight: 700;
        text-align: center;
        padding: 32px 24px 24px 24px;
        border-radius: 14px;
        margin: 48px auto 32px auto;
        max-width: 800px;
        box-shadow: 0 6px 24px rgba(99,91,255,0.12);
        letter-spacing: 0.01em;
        line-height: 1.35;
        transition: box-shadow 0.2s, font-size 0.2s;
}
    .slogan span {
        display: block;
        font-size: 1.1em;
        color: #635bff;
        margin-top: 8px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }
@media (max-width: 600px) {
    .slogan {
        font-size: 1.05em;
        padding: 16px 4vw 12px 4vw;
        margin: 24px 0 16px 0;
        max-width: 98vw;
    }
}
/* Stylowanie wyników wyszukiwania domen */
.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    margin-bottom: 8px;
    background: #f8f8fc;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(99,91,255,0.06);
}

.domain-name {
    font-size: 1.08em;
    font-weight: 500;
    color: #222;
}

.buy-now-btn {
    display: inline-block;
    margin-left: 18px;
    padding: 7px 20px;
    background-color: #635bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(99,91,255,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.buy-now-btn:hover {
    background-color: #4b42c7;
    box-shadow: 0 4px 16px rgba(99,91,255,0.18);
}
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto 32px auto;
    max-width: 480px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 2px 12px rgba(45,114,217,0.08);
    padding: 8px 16px;
    gap: 8px;
}
.search-bar input {
    border: none;
    outline: none;
    font-size: 1.1em;
    flex: 1;
    padding: 10px 12px;
    border-radius: 32px;
    background: transparent;
}
.search-bar button {
    background: #2d72d9;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-bar button:hover,
.search-bar button:focus {
    background: #174ea6;
}
#search-results {
    max-width: 480px;
    margin: 0 auto 24px auto;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(45,114,217,0.04);
}
.result-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.05em;
}
.result-item:last-child {
    border-bottom: none;
}
@media (max-width: 600px) {
    .search-bar, #search-results {
        max-width: 98vw;
        padding: 6px 4vw;
    }
    .search-bar input {
        font-size: 1em;
        padding: 8px 6px;
    }
    .search-bar button {
        padding: 8px 12px;
        font-size: 0.95em;
    }
}
.footer-dropdown-content a {
    color: #111;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}
.footer-dropdown-content a:last-child {
    border-bottom: none;
}
.footer-dropdown-content a:hover {
    background: #f0f0f0;
    color: #000;
}
.footer-dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 6px;
    z-index: 1;
    margin-top: 4px;
}
/* --- Rozwijane menu w stopce --- */
.footer-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 12px;
}
.footer-dropdown-btn {
    background: #f3f3f3;
    color: #111;
}
.footer-dropdown.open .footer-dropdown-content {
    display: block;
}
@media (min-width: 601px) {
    .main-title {
        position: relative;
        text-align: left;
    }
    .main-title .panel-link {
        position: absolute;
        right: 32px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    .main-title {
        position: relative;
        text-align: left;
        padding-left: 32px;
        padding-right: 40px;
    }
    .main-title .panel-link {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
}
/* Styl linku do panelu klienta przy tytule */
.panel-link {
    margin-left: 16px;
    color: #2d72d9;
    font-size: 1.2em;
    vertical-align: middle;
    transition: color 0.2s;
    text-decoration: none;
}
.panel-link:hover {
    color: #174ea6;
}
.main-title i.fa-user-gear {
    font-size: 0.85em;
}
@media (max-width: 600px) {
    .main-title {
        font-size: 1.5rem;
        margin-top: 18px;
        margin-bottom: 12px;
    }
}
/* Styl głównego tytułu strony */
.main-title {
    font-size: 2rem;
    color: #2d72d9;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(45, 114, 217, 0.08);
    background: transparent;
}
/* Styl dla logo w stopce */
.footer-logo {
    width: 56px;
    height: 56px;
}
/* Estetyczne powiększenie ikon zaufania na desktopie i mobile */
.trust-icons img {
    width: 80px;
    height: 80px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .trust-icons img {
        width: 48px;
        height: 48px;
    }
    .trust-icons {
        gap: 12px !important;
    }
}
/* --- NOWOCZESNY RESPONSYWNY HEADER --- */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 20px;
    background-image: url('podfoldern/background/img-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 250px;
}


.header .logo img {
    max-height: 100px;
    width: auto;
    display: block;
}

/* Animacja pojawiania się logo z góry */
.logo-anim {
    opacity: 0;
    transform: translateY(-50px);
    animation: logoDrop 1s ease-out 0.5s forwards;
}

@keyframes logoDrop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header .phone {
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    background: rgba(44, 62, 80, 0.7);
    padding: 8px 18px;
    border-radius: 24px;
    margin-left: auto;
    transition: background 0.2s;
}
.header .phone:hover {
    background: #2d72d9;
    color: #fff;
}

.header nav {
    display: flex;
    align-items: center;
}

.header #nav-toggle {
    font-size: 2em;
    background: none;
    border: none;
    color: #fff;
    margin-left: 16px;
    cursor: pointer;
    transition: color 0.2s;
}
.header #nav-toggle:hover {
    color: #2d72d9;
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 8px;
        padding: 10px 8px;
    }
    .header .logo {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
        .header .phone {
            order: 2;
            margin: 8px 0 0 0;
            max-width: 100vw;
            width: auto;
            text-align: left;
            font-size: 1.2em;
            border-radius: 12px;
            box-sizing: border-box;
            display: block;
            word-break: break-all;
        }
    .header nav {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .header #nav-toggle {
        align-self: flex-end;
        margin: 0;
    }
}
@media (max-width: 600px) {
  .for-sale-section {
    padding: 10px 2px;
  }
  .domains-table, .domains-table thead, .domains-table tbody, .domains-table th, .domains-table td, .domains-table tr {
    display: block;
    width: 100%;
  }
  .domains-table thead tr {
    display: none;
  }
  .domains-table tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
  }
  .domains-table td {
    padding: 8px 4px;
    text-align: right;
    position: relative;
  }
  .domains-table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    color: #2d72d9;
  }
}
/* Style dla sekcji dynamicznej tabeli domen */
.for-sale-section {
  margin: 40px auto;
  padding: 30px 16px;
  background: #f9f9fa;
  border-radius: 10px;
  max-width: 850px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.domains-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.domains-table th, .domains-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

.buy-btn {
  display: inline-block;
  padding: 7px 18px;
  background: #2d72d9;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s;
}

.buy-btn:hover {
  background: #174ea6;
}
/* Sekcja Ostatnio sprzedane domeny */
.recently-sold-section {
  background: linear-gradient(120deg, #f8fafc 60%, #e0e7ff 100%);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(60, 60, 120, 0.08);
  padding: 32px 24px 24px 24px;
  margin: 32px auto 24px auto;
  max-width: 540px;
  position: relative;
  overflow: hidden;
}
.recently-sold-section h3 {
  font-size: 1.7rem;
  color: #2d3a4a;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recently-sold-section h3::before {
  content: '\1F4B0'; /* emoji money bag */
  font-size: 1.5em;
  vertical-align: middle;
}
.recently-sold-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recently-sold-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(60, 60, 120, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.recently-sold-list li:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(60, 60, 120, 0.13);
  background: #f0f7ff;
}
.domain-name {
  font-weight: 600;
  color: #3b3b6d;
  font-size: 1.1em;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
}
.domain-name::before {
  content: '\1F310'; /* emoji globe */
  margin-right: 7px;
  font-size: 1.1em;
}
.sold-date {
  color: #6b7280;
  font-size: 0.98em;
  margin: 0 10px;
}
.sold-price {
  color: #0e7c3a;
  font-weight: 700;
  font-size: 1.08em;
  background: #e6fbe9;
  border-radius: 6px;
  padding: 3px 10px;
  box-shadow: 0 1px 3px rgba(14,124,58,0.07);
}
@media (max-width: 600px) {
  .recently-sold-section {
    padding: 18px 6px 12px 6px;
    max-width: 98vw;
  }
  .recently-sold-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 8px;
  }
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* Nowoczesny nagłówek */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-image: url('podfoldern/background/img-background.jpg'); /* Ścieżka do obrazu */
    background-size: cover; /* Dopasowanie obrazu do całego nagłówka */
    background-position: center; /* Wyśrodkowanie obrazu */
    color: white; /* Kolor tekstu */
    height: 250px; /* Ustaw wysokość nagłówka */
}


a {
    text-decoration: none; /*ogólne style dla linków*/
    color: blue;
}

a:hover {
    text-decoration: underline;
}

header h1 {
    margin: 0;
}

header nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Stylizacja przycisku menu */
#nav-toggle {
    background-color: #4CAF50; /* Zielone tło */
    color: white; /* Biały tekst */
    padding: 10px 20px; /* Odstępy wewnętrzne */
    border: solid 1px; /* Obramowanie przycisku */
    border-bottom: 3px solid white; /* Ciemniejsze obramowanie na dole */
    border-left: 3px solid white; /* Ciemniejsze obramowanie po lewej */
    border-radius: 5px; /* Zaokrąglone rogi */
    cursor: pointer; /* Kursor zmienia się na wskazujący */
    font-size: 16px; /* Rozmiar tekstu */
    transition: background-color 0.3s ease; /* Płynne przejście koloru tła */
}

#nav-toggle:hover {
    background-color: #45a049; /* Ciemniejszy zielony po najechaniu */
}

#nav-toggle:active {
    background-color: #3e8e41; /* Jeszcze ciemniejszy zielony po kliknięciu */
    transform: translateY(2px); /* Przesunięcie w dół po kliknięciu */
}

main {
    margin-bottom: 60px; /* Zapobiega zakryciu treści przez pasek informacyjny */
}

/* Stylizacja tabeli */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

button {
    background-color: #4caf50; /* stylizacja przycisku zielony*/
    border: solid 2px;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0,3s ease; 
}

button:hover {
    background-color: #45a049; /* ciemnniejszy zielony*/
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19); /* cień po najechaniu*/
}

button:focus {
    outline: 0; /* usuwanie obramowania po kliknięciu*/
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5); /* obramowanie po kliknięciu*/
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
}

table th {
    background-color: #007bff;
    color: white;
}


table th:hover {
    background-color: #f5f5f5; /* Stylizacja wiersza nagłówka i kolumny kup po najechaniu*/
    color: black;
}

table tr:hover {
    background-color: #e0e0e0; /* Kolor tła wiersza po najechaniu */
}

td.date {
    font-size: 10px; /* Stylizacja daty w tabeli */
    color: #666;
}

/* Stylizacja dla przycisku "Kup teraz" paypal */
.paypal-container {
    margin: 20px auto; /* Wyśrodkowanie kontenera */
    padding: 20px; /* Dodanie odstępów wewnętrznych */
    max-width: 600px; /* Maksymalna szerokość kontenera */
    background: url('podfoldern/background/topography.png') repeat;
    background-color: #e6f5e9; /* Delikatny zielony filtr pod spodem */
    border: 1px solid #ddd; /* Subtelne obramowanie */
    border-radius: 10px; /* Zaokrąglone rogi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Delikatny cień */
    text-align: center; /* Wyśrodkowanie tekstu */
    position: fixed; /* Pozycjonowanie kontenera */
    top: 50%; /* Ustawienie na środku ekranu */
    left: -300px; /* Ustawienie poza ekranem */
    transform: translateY(-50%); /* Wyśrodkowanie w pionie */
    transition: left 0.5s ease-in-out; /* Płynne przejście dla animacji */
}

.close-button {
    position: absolute; /* Pozycjonowanie przycisku zamykania */
    top: 10px; /* Odstęp od góry */
    right: 10px; /* Odstęp od prawej krawędzi */
    background-color: #f44336; /* Przezroczyste tło */
    color: white; /* Biały tekst */
    border: none; /* Brak obramowania */
    border-radius: 5px; /* Okrągły kształt */
    font-size: 20px; /* Rozmiar tekstu */
    width: 30px; /* Szerokość przycisku */
    height: 30px; /* Wysokość przycisku */
    cursor: pointer; /* Kursor wskazujący */
    text-align: center; /* Wyśrodkowanie tekstu */
    line-height: 30px; /* Wysokość linii dla wyśrodkowania tekstu */
    transition: background-color 0.3s ease; /* Płynne przejście koloru tła */
}

.close-button:hover {
    background-color: #d32f2f; /* Ciemniejszy kolor po najechaniu */
}

.paypal-container.show {
    left: 20px; /* Ustawienie na ekranie */
}

.paypal-container p {
    font-size: 16px; /* Rozmiar tekstu */
    color: #333; /* Kolor tekstu */
    margin-bottom: 15px; /* Odstęp od przycisku */
    line-height: 1.5; /* Wysokość linii dla lepszej czytelności */
}

.highlight-paypal {
    color: lightblue; /* Kolor tekstu */
    font-weight: bold; /* Pogrubienie tekstu */
    background-color: #f0f8ff; /* Opcjonalne tło */
    padding: 2px 4px; /* Opcjonalne odstępy */
    border-radius: 4px; /* Opcjonalne zaokrąglenie */
}

#paypal-container-W9H4HB7DZ5E86 {
    margin-top: 10px; /* Odstęp od tekstu */
}

@media (max-width: 767px) {
    .paypal-container {
        padding: 15px; /* Zmniejszenie paddingu na małych ekranach */
        max-width: 90%; /* Zmniejszenie szerokości kontenera */
    }

    .paypal-container p {
        font-size: 14px; /* Zmniejszenie rozmiaru tekstu */
    }
}

/* Responsywne obrazy */
img {
    max-width: 50%;
    height: auto;
}

/* Karty */
.card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}

.card img {
    max-width: 100%;
    border-radius: 5px 5px 0 0;
}

.card h2 {
    margin: 0;
    font-size: 1.5em;
}

.card-content {
    display: flex; /*stylizacja dla interaktywnych card*/
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    line-height: 1.5;
    margin-top: 10px;
}

/* Stylizacja dla nagłówka na małych ekranach */
@media (max-width: 767px) {
    header nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .logo {
        max-width: 50%;
    }
}

.marquee {
    position: fixed;
    bottom: 0;
    left: 0; /* Stylizacja dla paska informacyjnego */
    width: 100%;
    background-color: black;
    color: #ffff00;
    white-space: nowrap;
    overflow: hidden;
    z-index: 10; /* Ustawienie warstwy powyżej innych elementów */
}

.highlight {
    background-color: #ffff00; /* Stylizacja dla kuponu */
    border: 2px dotted red; /* Stylizacja dla kuponu */
    padding: 2px; /* Stylizacja dla kuponu */
    color: red; /* Stylizacja dla kuponu */
}

.marquee p {
    display: inline-block; /* Stylizacja dla paska informacyjnego */
    padding-left: 100%; /* Stylizacja dla paska informacyjnego */
    animation: marquee 160s linear infinite; /* Stylizacja dla paska informacyjnego */
}


@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}


.pagination { /* Stylizacja dla paginacji */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.nav-arrow { /* Stylizacja dla strzałek nawigacyjnych */
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.nav-arrow:hover { /* Stylizacja dla strzałek nawigacyjnych po najechaniu */
    background-color: #0056b3;
}
.nav-arrow:disabled { /* Stylizacja dla nieaktywnych strzałek nawigacyjnych */
    background-color: #ccc;
    cursor: not-allowed;
}

#pricing-table {
    width: 100vw;
    margin-left: calc(50% - 50vw); /* Centruje tabelę w poziomie */
    margin-top: 20px; /* Odstęp od góry */
    padding: 20px 0; /* Add padding to the top and bottom */
    background-color: #fff; /* Light background for the table */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */

}

footer {
    background-image: url('podfoldern/background/img-background.jpg'); /* Tło obraz */
    background-size: cover; /* Dopasowanie obrazu */
    background-position: center; /* Wyśrodkowanie obrazu */
    color: #fff; /* Kolor tekstu */
    text-align: center; /* Wyśrodkowanie tekstu */
    padding: 20px; /* Odstępy wewnętrzne */
    position: relative; /* Pozycjonowanie w normalnym przepływie */
    bottom: 0;
    width: 100%; /* Szerokość stopki */
    margin: 0; /* Brak marginesów */
    box-sizing: border-box; /* Uwzględnienie paddingu i borderu */
    z-index: 1; /* Ustawienie warstwy poniżej paska .marquee */
}

footer a {
    color: aqua; /* Kolor linków */
    text-decoration: none; /* Usuń podkreślenie */
    transition: text-decoration 0.3s ease; /* Płynne przejście dla efektu hover */
}

footer a:hover {
    text-decoration: underline; /* Podkreślenie linków po najechaniu */
}
