/* === Animacje niestandardowe === */
@keyframes wiggle {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.animate-\[wiggle_3s_infinite\] {
    animation: wiggle 3s infinite;
}

/* Ukrycie przycisku scrolltotop na początku */
#scrollToTop.hidden {
display: none !important;
}


/* === Ogólne style wspólne dla wszystkich motywów === */

/* Karty */
.card {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card-border {
    border: 1px solid #e0e7ff;
}
.card-hover:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Ikony */
.icon-style {
    color: #4f46e5;
}

/* Formularze kontaktowe */
.bg-section {
    background-color: #fff;
}
.text-section {
    color: #1f2937;
}
.text-label {
    color: #4b5563;
}
.bg-form {
    background-color: #f9fafb;
}
.input {
    background-color: #ffffff;
    color: #1f2937;
    border-color: #e5e7eb;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}
.btn-primary:hover {
    background-color: #1e40af;
}

.text-primary {
    color: #2563eb;
}
.text-primary-dark {
    color: #1e40af;
}

/* Sekcje boxowe (np. postcard1.php, services.php) */
.bg-section {
    background-color: #f9f6ee;
}
.text-text {
    color: #1f2937;
}
.bg-form {
    background-color: #fdfdfd;
}
.border-box {
    border-color: #e0e0e0;
}
.box {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.theme-dark .text-text {
    color: var(--text-color);
}
