/**
 * SOFTTECHNIKA - Style CSS
 * Zawiera: animacje tła, glassmorphic effects, responsywność
 */

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #000a14 0%, #001428 50%, #002642 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ==========================================
   ANIMATED BACKGROUND (Zastąpione przez canvas w script.js)
   ========================================== */

/* ==========================================
   CONTENT WRAPPER
   ========================================== */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav-bar {
    background: rgba(0, 20, 40, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 50px;  /* Domyślna wysokość - można zwiększyć w config */
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #00b4d8;
}

.cart-icon {
    width: 32px;  /* Domyślny rozmiar - można zwiększyć */
    height: 32px;
    cursor: pointer;
    transition: transform 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: 600px;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .highlight {
    color: #00b4d8;
}

.hero-content p {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #00b4d8;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: #0096b8;
    transform: translateY(-2px) scale(1.02); /* Efekt WOW - lekkie powiększenie */
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.5); /* Silniejszy cień */
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #00b4d8;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(0, 180, 216, 0.2); /* Silniejszy kolor tła */
    transform: translateY(-2px) scale(1.02); /* Efekt WOW - lekkie powiększenie */
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.4); /* Dodanie cienia */
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
    border-radius: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 180, 216, 0.4));
}

/* ==========================================
   GLASS CARD (używane w usługach i zaletach)
   ========================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.1);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 180, 216, 0.5);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.3);
}

.glass-card img {
    width: 128px;
    height: 128px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.6));
    transition: filter 0.3s;
}

.glass-card:hover img {
    filter: drop-shadow(0 0 20px rgba(0, 180, 216, 0.9));
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.glass-card p {
    color: #d1d5db;
    line-height: 1.6;
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .highlight {
    color: #00b4d8;
}

.section-subtitle {
    text-align: center;
    color: #d1d5db;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ==========================================
   PRODUCT CARD
   ========================================== */
.product-card {
    /* Ujednolicenie z glass-card dla spójności i efektu WOW */
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 180, 216, 0.5);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.3); /* Silniejszy cień */
}

.product-card:hover .product-image {
    transform: scale(1.05); /* Efekt WOW dla zdjęcia */
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Naprawa uciętych zdjęć - zmiana z 'cover' na 'contain' */
    padding: 1rem; /* Dodanie paddingu, aby zdjęcie nie dotykało krawędzi */
    background: rgba(0, 0, 0, 0.5); /* Ciemne tło dla zdjęć */
    transition: transform 0.3s;
}

.product-content {
    padding: 1.5rem;
    color: #ffffff; /* Zmiana koloru tekstu na biały dla ciemnego tła */
}

.product-category {
    font-size: 0.875rem;
    color: #9ca3af; /* Jasnoszary kolor */
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff; /* Biały kolor */
}

.product-price {
    font-size: 1.75rem;
    font-weight: bold;
    color: #00b4d8;
    margin-bottom: 1rem;
}

.product-card .btn-primary {
    width: 100%;
    text-align: center;
}

/* ==========================================
   PARTNERS SECTION
   ========================================== */
.partners-section {
    background: rgba(0, 0, 0, 0.2);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #9ca3af;
    transition: color 0.3s;
}

.partner-logo:hover {
    color: #00b4d8;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-section {
    background: rgba(0, 10, 20, 0.95);
    border-top: 1px solid rgba(0, 180, 216, 0.2);
    padding: 3rem 2rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #00b4d8;
}

.footer-column p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.przelewy24-logo {
    max-width: 150px;
    height: auto;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(107, 114, 128, 0.3);
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 1rem;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

