/* --- 1. PODSTAWOWY RESET I KONFIGURACJA BODY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; 
    min-height: 100vh;
    overflow-x: hidden; 
    padding-top: 60px; 
    
    /* FIOLETOWA SIATKA W TLE */
    background-image: 
        linear-gradient(to right, rgba(128, 0, 128, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128, 0, 128, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #1a0033; 
}

#content-container {
    padding: 0;
}

/* --- 2. NAWIGACJA (NAV) --- */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 0, 50, 0.95);
    padding: 10px 50px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(163, 102, 255, 0.5);
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px; 
    margin-right: 25px; 
    transition: transform 0.3s ease-in-out;
}

.logo-link:hover .logo-img {
    transform: scale(1.08);
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 15px;
}

.nav-link {
    color: #e0b0ff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    transition: color 0.3s, transform 0.3s;
    display: block;
}

.nav-link:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Styl Aktywnego Linku */
.main-nav .nav-link.active {
    color: #ffffff;
    font-weight: bold;
    border-bottom: 2px solid #a366ff;
}

.client-panel-button {
    position: relative; 
    overflow: hidden;
    padding: 12px 25px;
    border-radius: 8px;
    background: #5e00b3;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.4s ease-in-out;
    border: 1px solid #a366ff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.client-panel-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.7s ease-in-out;
    opacity: 0;
}

.client-panel-button:hover {
    background: #7c4dff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 102, 255, 0.6), 0 0 30px rgba(163, 102, 255, 0.4);
}

.client-panel-button:hover::before {
    opacity: 1;
}

.client-panel-button .fas {
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.client-panel-button:hover .fas {
    transform: translateX(5px);
}

/* --- 3. SEKCJA HERO --- */
.hero-section {
    padding: 120px 50px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-box {
    max-width: 800px;
    padding: 40px;
    border-radius: 15px;
    background-color: rgba(30, 0, 50, 0.7); 
    border: 2px solid #a366ff; 
    box-shadow: 0 0 30px rgba(163, 102, 255, 0.5); 
}

.hero-title {
    font-size: 3.5em;
    color: #e0b0ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(163, 102, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.2em;
    color: #cccccc;
    line-height: 1.6;
}

/* --- 4. SEKCJA OFERTA --- */
.offer-section {
    width: 100%;
    text-align: center;
    padding: 50px 0 80px;
}

.offer-title {
    font-size: 2.5em;
    color: #e0b0ff; 
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 0;
    cursor: default;
    user-select: none;
    margin-bottom: 40px;
}

.offers-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.offer-card {
    flex-basis: 30%;
    background-color: #2b0050; 
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(163, 102, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(163, 102, 255, 0.4);
}

.offer-card.popular {
    border-color: #a366ff;
    background-color: #3f007f;
    transform: scale(1.05);
}

.offer-card.popular:hover {
    transform: scale(1.08) translateY(-8px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-name {
    font-size: 1.8em;
    color: #ffffff;
}

.icon-placeholder {
    width: 50px;
    height: 50px;
    background-color: #a366ff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-icon-img {
    max-width: 100%;
    max-height: 100%;
}

.card-description {
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.card-price {
    font-size: 2.5em;
    color: #a366ff;
    font-weight: bold;
    margin-bottom: 20px;
}

.card-price .period {
    font-size: 0.4em;
    font-weight: normal;
    color: #cccccc;
}

.card-specs {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    padding: 0 10px;
}

.card-specs li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    font-size: 1em;
}

.card-specs li:last-child {
    border-bottom: none;
}

.card-specs .fas {
    color: #a366ff;
    margin-right: 10px;
}

.buy-button {
    display: block;
    padding: 12px 20px;
    background-color: #a366ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.buy-button:hover {
    background-color: #7c4dff;
    transform: translateY(-2px);
}

.buy-button .fas {
    margin-left: 10px;
}

/* --- 5. SEKCJA OPINIE KLIENTÓW --- */
.review-section {
    width: 100%;
    text-align: center; 
    padding: 50px 0 80px; 
}

.review-title {
    font-size: 2.5em;
    color: #e0b0ff; 
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 0;
    cursor: default;
    user-select: none;
    margin-bottom: 40px; 
}

.reviews-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.review-card {
    flex-basis: 33%;
    background-color: #2b0050; 
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid rgba(163, 102, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(163, 102, 255, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #a366ff; 
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #e0b0ff;
    margin-bottom: 5px;
}

.stars .fas, .stars .far {
    color: #ffd700; 
    font-size: 0.9em;
}

.review-text {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.review-source {
    font-size: 0.9em;
    color: #28a745; 
    font-weight: bold;
}

.review-source .fas {
    margin-right: 8px;
}

/* --- 6. SEKCJA FAQ --- */
.faq-section {
    width: 100%;
    text-align: center;
    padding: 40px 0 100px;
}

.faq-title {
    font-size: 2.5em;
    color: #a366ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 0;
    cursor: default;
    user-select: none;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.faq-item {
    background-color: #1a1a38; 
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s;
    border: 1px solid #2b0050;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.faq-question {
    display: block;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: #e0b0ff;
    position: relative;
    list-style: none;
}

.faq-question::after {
    content: '\f078'; 
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease, color 0.3s;
    color: #a366ff;
    font-size: 0.8em;
}

.faq-item[open] > .faq-question::after {
    content: '\f077';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #cccccc;
    animation: fadein 0.3s ease-in-out; 
}

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

.faq-question:hover {
    color: #ffffff;
}

.faq-question:hover::after {
    color: #ffffff;
}

/* --- 7. SEKCJA CECHY/KORZYŚCI --- */
.features-section {
    width: 100%;
    text-align: center;
    padding: 50px 0 100px;
}

.features-title {
    font-size: 2.5em;
    color: #e0b0ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 0;
    cursor: default;
    user-select: none;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background-color: #1a1a38;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(163, 102, 255, 0.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(163, 102, 255, 0.2);
}

.feature-icon-wrapper {
    background-color: rgba(163, 102, 255, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #a366ff;
}

.feature-icon {
    color: #a366ff;
    font-size: 1.5em;
}

.feature-name {
    font-size: 1.3em;
    color: #e0b0ff;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 0.95em;
    color: #cccccc;
    line-height: 1.5;
}

/* --- 8. SEKCJA CTA (INFRASTRUKTURA) - WZÓR KWADRATU NA INDEX.HTML --- */
.cta-section {
    position: relative;
    width: 100%;
    height: 300px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 12px; 
    overflow: hidden; 
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(163, 102, 255, 0.3);

    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('image_5e41a0.jpg') center center no-repeat;
    background-size: cover;
}

.cta-overlay {
    z-index: 2;
    padding: 20px;
}

.cta-title {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
}

.cta-button {
    padding: 15px 35px;
    background-color: #a366ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: 1px solid #a366ff;
}

.cta-button:hover {
    background-color: #7c4dff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 102, 255, 0.5);
}

.cta-button .fas {
    margin-left: 10px;
}


/* --- 9. BANNERY PODSTRON (WZÓR KWADRATU DLA GIER I INFRASTRUKTURY) --- */
.page-banner {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    border-radius: 12px;
    overflow: hidden;
    margin: 50px auto; 
    max-width: 1200px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(163, 102, 255, 0.3);
}

.page-banner .banner-title {
    font-size: 3.5em;
    color: #e0b0ff;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(163, 102, 255, 0.8);
}

.page-banner .banner-subtitle {
    font-size: 1.2em;
    color: #cccccc;
}

/* Tło dla Serwery Gier (jeśli kiedyś wrócisz do tego pliku) */
.game-servers-banner {
    background: 
        linear-gradient(rgba(10, 0, 30, 0.85), rgba(10, 0, 30, 0.85)),
        url('https://t3.ftcdn.net/jpg/04/10/37/87/360_F_410378734_qg8c8u7qJz11oK629r5G70vD073gYh41.jpg') center center no-repeat; 
    background-size: cover;
    border: 2px solid #a366ff;
}

/* Tło dla Infrastruktury - Zaktualizowane URL obrazu */
.infrastructure-banner {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://www.trgdatacenters.com/wp-content/uploads/2022/10/shutterstock_495697993-1920x1080.jpg') center center no-repeat; 
    background-size: cover;
    border: 2px solid #a366ff;
}

/* --- 10. STOPKA (FOOTER) --- */
.main-footer {
    background-color: #0d0d21;
    color: #f0f0f0;
    padding-top: 50px;
    border-top: 1px solid rgba(163, 102, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    gap: 30px;
}

.footer-col {
    padding: 0 15px;
}

.footer-info {
    padding-right: 30px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo {
    height: 30px;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(163, 102, 255, 0.5));
    margin-right: 10px;
}

.footer-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: #e0b0ff;
}

.footer-description {
    font-size: 0.9em;
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.service-status {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #28a745;
    font-weight: bold;
}

.status-icon {
    margin-right: 8px;
}

.footer-heading {
    font-size: 1.2em;
    color: #a366ff;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e0b0ff;
}

.footer-links .fas, .footer-links .fa-server, .footer-links .fa-cube, .footer-links .fa-car, .footer-links .fa-robot {
    color: #7c4dff;
    margin-right: 8px;
    width: 15px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 50px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #888888;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-meta a {
    color: #888888;
    text-decoration: none;
    margin-left: 20px;
}

.footer-meta a:hover {
    color: #e0b0ff;
}

.footer-meta span {
    color: #a366ff;
}

/* --- 11. STYLE DLA PODSTRONY INFRASTRUKTURY --- */

.infrastructure-details {
    width: 100%;
    text-align: center;
    padding: 50px 0 100px;
}

.infrastructure-title {
    font-size: 2.5em;
    color: #e0b0ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 0;
    margin-bottom: 40px;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.infra-card {
    background-color: #1a1a38; /* To samo co feature-card */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(163, 102, 255, 0.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.infra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(163, 102, 255, 0.2);
}

.infra-icon-wrapper {
    background-color: rgba(163, 102, 255, 0.15);
    width: 70px;
    height: 70px;
    border-radius: 50%; /* Okrągły kształt dla wyróżnienia */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    border: 2px solid #a366ff;
}

.infra-icon {
    color: #a366ff;
    font-size: 2.2em;
}

.infra-name {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.infra-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
}
/* --- 12. SEKCJA NASZ HARDWARE --- */

.hardware-section {
    width: 100%;
    text-align: center;
    padding: 50px 0 100px;
}

.hardware-title {
    font-size: 2.5em;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.hardware-subtitle {
    font-size: 1.1em;
    color: #cccccc;
    margin-bottom: 50px;
}

.hardware-grid {
    display: flex;
    flex-direction: column; 
    gap: 40px;
    max-width: 900px; /* Maksymalna szerokość dla czytelności */
    margin: 0 auto;
    padding: 0 20px;
}

.hardware-item {
    display: flex;
    align-items: center;
    background-color: #1a1a38;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(163, 102, 255, 0.2);
}

.hardware-pl {
    /* Ustawienie kolejności dla elementu PL (Obraz po lewej) */
    flex-direction: row;
}

.hardware-de {
    /* Ustawienie kolejności dla elementu DE (Obraz po prawej) */
    flex-direction: row-reverse;
    text-align: right;
}

.hardware-img-wrapper {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 8px;
    background-color: #0d0d21;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 15px; 
    border: 1px solid rgba(163, 102, 255, 0.3);
}

.hardware-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hardware-item:hover .hardware-img {
    transform: scale(1.05);
}

.hardware-content {
    flex-grow: 1;
    padding: 0 30px;
}

.hardware-location {
    font-size: 0.9em;
    color: #a366ff;
    font-weight: bold;
    margin-bottom: 5px;
}

.hardware-cpu {
    font-size: 1.8em;
    color: #e0b0ff;
    margin-bottom: 15px;
    font-weight: 700;
}

.hardware-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
}

/* --- 13. SEKCJA DATA CENTER (OVHCLOUD) --- */

.datacenter-section {
    width: 100%;
    padding: 80px 0;
    text-align: center;
    background-color: #0d0d21; /* Ciemne, aby kontrastowało z tłem Body */
    border-top: 1px solid rgba(163, 102, 255, 0.1);
    border-bottom: 1px solid rgba(163, 102, 255, 0.1);
}

.datacenter-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    gap: 50px;
}

.datacenter-image-box {
    flex: 1;
    max-width: 50%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(163, 102, 255, 0.2);
    border: 2px solid #2b0050;
    background-color: #1a1a38;
}

.datacenter-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.datacenter-image-box:hover .datacenter-img {
    transform: scale(1.03);
}

.datacenter-text-box {
    flex: 1;
    max-width: 50%;
    text-align: left;
    padding: 20px 0;
}

.datacenter-title {
    font-size: 3em;
    color: #e0b0ff;
    font-weight: bold;
    margin-bottom: 5px;
}

.datacenter-subtitle {
    font-size: 1.5em;
    color: #a366ff;
    margin-bottom: 25px;
    font-weight: 600;
}

.datacenter-description {
    font-size: 1.1em;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 30px;
}

.datacenter-meta {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.datacenter-meta .fas {
    color: #7c4dff;
    margin-right: 10px;
    margin-left: 20px;
}

.datacenter-meta .fas:first-child {
    margin-left: 0;
}

.datacenter-link-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #a366ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.3s;
    border: 1px solid #a366ff;
}

.datacenter-link-button:hover {
    background-color: #7c4dff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(163, 102, 255, 0.4);
}
