
/* gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-image {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-image:hover {
    opacity: 0.9;
}

.btn-group .btn {
    margin: 2px;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.card-header {
    background: linear-gradient(135deg, #B0C4DE 0%, #778899 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .btn-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* kontak */

.social-media-link {
    transition: all 0.3s ease;
}

.social-icon-wrapper {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.social-media-link:hover .social-icon-wrapper {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
    transform: translateY(-1px);
}

.contact-form .is-invalid {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-2px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(2px);
    }
}

.form-group.focused .form-label {
    color: #007bff;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.list-icons li {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
}

.list-icons li i {
    margin-right: 15px;
    margin-top: 2px;
    min-width: 20px;
}

.btn-modern {
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

/* Custom SweetAlert2 styling */
.swal2-popup {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.swal2-title {
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

.swal2-content {
    color: #34495e !important;
}

.swal2-confirm {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 10px 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.swal2-timer-progress-bar {
    background: #28a745 !important;
}

.swal2-footer {
    border-top: 1px solid #e9ecef !important;
    padding-top: 15px !important;
}

/* Success popup custom styling */
.success-popup {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.success-title {
    color: #28a745 !important;
    font-size: 1.5rem !important;
}

.success-content {
    color: #495057 !important;
    line-height: 1.6 !important;
}

/* Success icon animation */
.swal2-success .swal2-success-ring {
    border: 4px solid rgba(40, 167, 69, 0.3) !important;
}

.swal2-success .swal2-success-fix {
    background-color: #28a745 !important;
}

.swal2-success [class^='swal2-success-line'] {
    background-color: #28a745 !important;
}

/* Error popup styling */
.swal2-error .swal2-error-x .swal2-error-line {
    background-color: #dc3545 !important;
}

@media (max-width: 768px) {
    .social-media-links {
        display: flex;
        flex-wrap: wrap;
    }

    .social-media-link {
        flex: 1 1 calc(50% - 0.5rem);
        margin-right: 0.5rem;
    }

    .swal2-popup {
        margin: 10px !important;
        width: calc(100% - 20px) !important;
    }
}

/* footer */

.footer-social-icons .social-icons-facebook a:hover { color: #1877F2 !important; }
.footer-social-icons .social-icons-x a:hover { color: #1DA1F2 !important; }
.footer-social-icons .social-icons-instagram a:hover { color: #E4405F !important; }
.footer-social-icons .social-icons-tiktok a:hover { color: #000000 !important; background: white; border-radius: 50%; }
.footer-social-icons .social-icons-youtube a:hover { color: #FF0000 !important; }

.footer-social-icons li {
    margin-right: 15px;
    margin-bottom: 10px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    transform: translateY(-2px);
    opacity: 1 !important;
}
