/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #f0f2f5;
    background-image: url('../images/kostka_brukowa.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    font-size: 18px;
    font-weight: 600;
}

body::before {
    display: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff6b35;
    color: white;
    border: 2px solid #ff6b35;
}

.btn-primary:hover {
    background-color: #e85a2a;
    border-color: #e85a2a;
}

.btn-secondary {
    background-color: #2c3e50;
    color: white;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background-color: #1d2b39;
    border-color: #1d2b39;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-outline {
    background-color: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-outline:hover {
    background-color: #2c3e50;
    color: white;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Header */
.site-header {
    background-color: rgba(240, 242, 245, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

.site-header::before {
    content: none;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    position: relative;
    z-index: 2;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.logo a {
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ff6b35;
}

.auth-links {
    display: flex;
    gap: 10px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #2c3e50;
    border-radius: 10px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    color: white;
    text-align: center;
    overflow: hidden;
    background: transparent;
}

.hero::before {
    content: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

/* Responsive styles for hero section */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 20px;
        margin: 0 15px;
    }
}

/* Wspólne style dla sekcji */
section {
    padding: 60px 0;
}

/* Sekcje na stronie about */
.about-info-section,
.about-info,
.team-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    margin: 0;
    background: transparent !important;
}

.about-info-section::before,
.about-info::before,
.team-section::before {
    display: none !important;
}

.about-info-section .container,
.about-info .container,
.team-section .container {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
}

.partners-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: transparent !important;
}

.partners-section::before {
    display: none !important;
}

.partners-section .container {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
}

.about-preview {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: transparent !important;
}

.about-preview::before {
    display: none !important;
}

.about-preview .container {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 20px;
    background-color: transparent;
}

.project-info h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.project-info p {
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* Contact Preview */
.contact-preview {
    background-color: transparent;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-preview::before {
    content: none;
}

.contact-preview .container {
    position: relative;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 30px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 250px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2.5em;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.contact-item:nth-child(1) i {
    color: #4CAF50; /* Zielony dla telefonu */
}

.contact-item:nth-child(2) i {
    color: #2196F3; /* Niebieski dla emaila */
}

.contact-item:nth-child(3) i {
    color: #F44336; /* Czerwony dla lokalizacji */
}

.contact-item p {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.1em;
    font-weight: 600;
}

.contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #666;
}

/* Poprawione kolory tekstu w stopce - ujednolicone */
.footer-section.contact p,
.footer-section.contact p a,
.footer-section.contact p a:visited {
    color: #ddd;
    text-decoration: none;
}

.footer-section.contact a:hover,
.footer-section.contact a:visited:hover {
    color: #ff6b35;
}

/* Zapobieganie zmianie koloru odwiedzonych linków do mapy */
.contact-item a:visited,
.contact-section .info-item a:visited {
    color: #333;
    text-decoration: none;
}

/* Zapewnienie, że efekt hover działa poprawnie nawet dla odwiedzonych linków */
.contact-item a:visited:hover,
.contact-section .info-item a:visited:hover {
    color: #666;
}

.info-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 250px;
}


@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/Behaton-pattern.svg') repeat;
    opacity: 0.05;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section.links a:hover {
    color: #ff6b35;
}

.footer-section.contact p {
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section.contact i {
    color: inherit;
}

.footer-section.contact p i {
    transition: color 0.3s ease;
}

/* Poprawione kolory ikon dla stopki */
.footer-section.contact p:first-of-type i {
    color: #4CAF50; /* Zielony dla telefonu (pierwsza ikona) */
}

.footer-section.contact p:nth-of-type(2) i {
    color: #2196F3; /* Niebieski dla emaila (druga ikona) */
}

.footer-section.contact p:nth-of-type(3) i {
    color: #F44336; /* Czerwony dla lokalizacji (trzecia ikona) */
}

/* Efekt hover dla ikon */
.footer-section.contact p:hover i {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .logo {
        order: 1;
    }
    
    .auth-links {
        order: 2;
    }
    
    .main-nav {
        order: 4;
        width: 100%;
        display: none; /* Will be toggled with JS */
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

/* Project Details Page */
.project-details {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    padding: 60px 0;
}

.project-details::before {
    content: none;
}

.project-details .container {
    position: relative;
}

.project-details h2 {
    margin-bottom: 30px;
    color: #1a1a1a;
}

.project-details .project-description {
    margin-bottom: 40px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Style dla głównego zdjęcia projektu */
.project-main-image {
    margin-bottom: 30px;
    text-align: center;
    max-height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.project-main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

/* Lightbox modal for gallery */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border: 3px solid white;
}

.lightbox-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lightbox-controls button {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Styles dla podglądu zdjęć w formularzu dodawania projektu */
.image-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.image-preview {
    position: relative;
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-preview {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.remove-preview:hover {
    background-color: rgb(220, 53, 69);
}

/* Style dla istniejących zdjęć na stronie edycji projektu */
.existing-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.photo-item {
    width: 150px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.photo-preview {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-actions {
    padding: 10px;
    background-color: #f0f2f5;
    font-size: 0.85rem;
}

/* Forms */
.form-container {
    background-color: transparent;
    padding: 30px;
    border-radius: 8px;
    box-shadow: none;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #1a1a1a;
}

.form-control:focus {
    outline: none;
    border-color: #ff6b35;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Admin Dashboard */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    width: 250px;
    background-color: transparent;
    padding: 30px;
    border-right: 1px solid #e9ecef;
}

.dashboard-sidebar ul {
    list-style: none;
}

.dashboard-sidebar li {
    margin-bottom: 5px;
}

.dashboard-sidebar a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active {
    background-color: #ff6b35;
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    background-color: transparent;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h2 {
    margin-bottom: 10px;
    text-align: left;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #1a1a1a;
}

.table th {
    background-color: rgba(240, 242, 245, 0.3);
    font-weight: 600;
}

.table tr:hover {
    background-color: rgba(240, 242, 245, 0.3);
}

.action-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed #ddd;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.upload-zone:hover {
    border-color: #ff6b35;
}

.upload-zone i {
    font-size: 2rem;
    color: #ff6b35;
    margin-bottom: 10px;
}

/* Login with button */
.social-login {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.social-login-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-google {
    background-color: #db4437;
}

.login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.login-separator::before,
.login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.login-separator-text {
    padding: 0 10px;
    color: #1a1a1a;
}

/* Sekcja Partnerów */
.partners-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: none;
}

.partners-section .container {
    position: relative;
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.partners-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #1a1a1a;
}

.partners-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.partners-links li {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partners-links li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.partners-links a {
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.partners-links a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.2em;
    color: #ff6b35;
    min-width: 25px;
    text-align: center;
    content: "\f0c1"; /* fa-link - ikona łańcucha */
}

.partners-links a:hover {
    color: #ff6b35;
}

.partners-links a:hover::before {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Sekcja usług na stronie głównej */
.services {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: transparent !important;
}

.services::before {
    display: none !important;
}

.services .container {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.services-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-content p {
    margin-bottom: 20px;
    line-height: 1.7 !important;
    color: #1a1a1a;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.contact-hours {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    margin-bottom: 40px;
}

.contact-hours p {
    margin: 0;
}

.contact-hours strong {
    color: #1a1a1a;
    font-size: 1.1em;
}

/* Style dla logo w nagłówku */
.logo-image {
    max-height: 100px;
    width: auto;
    display: block;
}

/* Style dla kontrolek zarządzania kolejnością */
.order-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.order-controls .btn {
    padding: 3px 8px;
    font-size: 0.85rem;
}

.order-controls input[type="number"] {
    width: 60px;
    height: 30px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.order-controls form {
    margin-bottom: 0;
}

.order-controls .fa-arrow-up,
.order-controls .fa-arrow-down {
    font-size: 0.8rem;
}

/* Dodatkowe styles dla panelu administracyjnego */
.dashboard-content .table td {
    vertical-align: middle;
}

/* Kolory ikon dla strony kontaktowej */
.contact-page .contact-info .contact-item:nth-child(1) i {
    color: #4CAF50; /* Zielony dla telefonu */
}

.contact-page .contact-info .contact-item:nth-child(2) i {
    color: #2196F3; /* Niebieski dla emaila */
}

.contact-page .contact-info .contact-item:nth-child(3) i {
    color: #F44336; /* Czerwony dla lokalizacji */
}

/* Efekt hover dla ikon */
.contact-page .contact-info .contact-item:hover i {
    opacity: 0.8;
}

/* Style dla ikon na stronie kontaktowej */
.contact-section .info-item:nth-of-type(1) i {
    color: #4CAF50; /* Zielony dla telefonu */
}

.contact-section .info-item:nth-of-type(2) i {
    color: #2196F3; /* Niebieski dla emaila */
}

.contact-section .info-item:nth-of-type(3) i {
    color: #F44336; /* Czerwony dla lokalizacji */
}

.contact-section .info-item i {
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.contact-section .info-item:hover i {
    opacity: 0.8;
}

/* Tło z wzorem kostki Baumana */
.projects {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: transparent !important;
}

.projects::before {
    display: none !important;
}

.projects .container {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
}

.page-projects {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.page-projects::before {
    content: none;
}

.page-projects .container {
    position: relative;
}

.page-header {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    padding: 40px 0;
}

.page-header::before {
    content: none;
}

.page-header .container {
    position: relative;
}

.contact-section {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.contact-section::before {
    content: none;
}

.contact-section .container {
    position: relative;
}

/* Naprawiam konflikt z różnymi tłami */
.services,
.partners-section,
.projects {
    background: transparent !important;
}

/* Project card - zwiększam kontrast */
.project-card {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* Partners links - poprawa czytelności */
.partners-links li {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Formularz kontaktowy - lepsze wyróżnienie */
.form-container {
    background-color: transparent;
    padding: 30px;
    border-radius: 8px;
    box-shadow: none;
    max-width: 500px;
    margin: 0 auto;
}

/* Usuwam niepotrzebne deklaracje z-index dla kontenerów */
.contact-preview .container,
.about-preview .container,
.projects .container,
.page-projects .container,
.page-header .container,
.contact-section .container,
.about-info .container, 
.team-section .container,
.about-info-section .container,
.project-details .container,
.partners-section .container {
    position: relative;
}

/* Poprawiamy czytelność tekstu na przezroczystym tle */
p, h1, h2, h3, h4, h5, h6, li, label, input, textarea, a {
    text-shadow: none;
	color: #1a1a1a;
}

.project-info h3,
.project-info p,
.contact-item p,
.contact-item a,
.partners-links a,
.contact-hours p,
.services-content p {
    text-shadow: none;
	color: #1a1a1a;
}

/* Poprawiamy kontrast tabel */
.table th {
    background-color: rgba(240, 242, 245, 0.3);
    font-weight: 600;
}

.table tr:hover {
    background-color: rgba(240, 242, 245, 0.3);
}

/* Nagłówki sekcji */
section h1,
section h2,
section h3 {
    color: #000;
    font-weight: 600;
}

/* Linki w nawigacji */
.main-nav a {
    color: #1a1a1a;
    font-weight: 600;
}

/* Stopka pozostaje jasna na ciemnym tle */
.site-footer {
    color: #fff;
}

.site-footer a,
.site-footer p,
.site-footer h3 {
    color: #fff;
}

p {
    margin-bottom: 1.1em;
    line-height: 1.7;
    font-size: 1rem;
}

/* Specyficzne elementy, które mogą potrzebować domyślnej wagi (jeśli nadpisane) */
.project-info p,
.services-content p,
.contact-hours p,
.about-info p,
.team-section p,
.project-description p,
.partners-section p {
    font-weight: 600;
}

/* Linki w nawigacji i partnerach dziedziczą teraz 500 z body */
.main-nav a,
.partners-links a {
    /* font-weight: 600; - Już niepotrzebne, dziedziczone */
}

.contact-item p {
    font-weight: 600; /* Upewnienie się, że jest 500 */
}

/* Zapewnienie spójnego rozmiaru i wagi dla podstawowego tekstu (bez !important) */
p,
li,
label,
.project-description p,
.form-group label,
.alert,
.table td /* Komórki tabeli */
{
    font-size: 1.1rem; /* Dziedziczy 18px z body */
    font-weight: 600; /* Dziedziczy 500 z body lub ustawione jawnie */
    line-height: 1.7; /* Spójna interlinia */
    color: #1a1a1a; /* Domyślnie czarny kolor */
}

/* Wyjątki dla elementów, które powinny pozostać inaczej stylizowane (z !important dla pewności) */
.site-footer p,
.site-footer li,
.site-footer label,
.hero p,
.hero li,
.btn, /* Tekst przycisków ma własne styles */
.dashboard-sidebar li,
.dashboard-sidebar a,
.table th /* Nagłówki tabeli */
{
    /* Resetowanie/nadpisanie */
    font-weight: normal !important; /* Domyślnie normalna waga */
    color: inherit !important; /* Domyślnie dziedziczy kolor */
    font-size: inherit !important; /* Domyślnie dziedziczy rozmiar */
    line-height: inherit !important; /* Domyślnie dziedziczy interlinię */
}

/* Specyficzne styles dla wyjątków - upewnienie się co do stopki */
.site-footer p, .site-footer li, .site-footer label, .site-footer a, .site-footer h3 {
    color: #fff !important; 
    font-weight: normal !important; 
    font-size: 1.1rem !important; /* Utrzymanie rozmiaru 18px */
}

.hero p, .hero li, .hero h1 {
    color: #fff !important; 
    font-weight: normal !important; 
}
.hero h1 {
    font-weight: bold !important; 
    font-size: 2.5rem !important;
}
.hero p {
    font-size: 1.2rem !important;
}

.dashboard-sidebar a {
     color: #fff !important; 
     font-weight: normal !important;
}

.table th {
    font-weight: 600 !important; 
    color: #1a1a1a !important; 
}

/* Przywracanie białego tekstu na przyciskach z tłem (z !important) */
.btn-primary,
.btn-secondary,
.btn-danger {
    color: #fff !important;
}

/* Upewnienie się, że przycisk outline ma czarny tekst (z !important) */
.btn-outline {
    color: #1a1a1a !important;
}
.btn-outline:hover {
     color: #fff !important;
}

/* Linki - domyślnie czarne i pogrubione (bez !important, polegamy na dziedziczeniu z body i specyficzności) */
a {
    color: #1a1a1a;
    /* font-weight: 600; - dziedziczone z body */
    text-decoration: none; /* Dodajemy dla spójności */
    transition: color 0.3s ease;
}
a:hover {
    color: #ff6b35; /* Domyślny hover dla linków */
}

/* Wyjątki dla linków (bez !important, polegamy na dziedziczeniu i specyficzności) */
.site-footer a,
.dashboard-sidebar a,
.auth-links a,
.project-info a.btn,
.btn /* Ogólna klasa przycisku powinna dziedziczyć */
{
    color: inherit;
    font-weight: inherit;
}
.site-footer a:hover {
    color: #ff6b35; /* Hover dla linków w stopce */
}

/* Nawigacja główna - zachowujemy specyficzne styles */
.main-nav a {
    color: #1a1a1a !important; /* Zachowujemy !important dla pewności */
    font-weight: 600 !important; 
}
.main-nav a:hover {
    color: #ff6b35 !important;
}

.about-preview p {
    font-size: 1.1rem !important; 
    font-weight: 600 !important; 
    line-height: 1.7 !important; 
    color: #1a1a1a; 
}

/* Style dla linku owijającego kartę projektu */
.project-card-link {
    display: block; /* Link zajmuje całą przestrzeń karty */
    text-decoration: none; /* Usuwa podkreślenie */
    color: inherit; /* Dziedziczy kolor tekstu z wnętrza karty */
}

.project-card-link:hover {
    text-decoration: none; /* Usuwa podkreślenie również przy najechaniu */
    color: inherit; /* Zachowuje dziedziczony kolor */
}

/* Zapewnienie, że stan hover karty jest nadal widoczny */
.project-card-link:hover .project-card {
    transform: translateY(-5px); /* Zachowanie efektu podniesienia karty */
} 