/* Custom Styles for Wasz Informatyk */

/* Add some padding to the body to account for the fixed navbar */
body {
    padding-top: 56px;
    background-color: #F8F9FA; /* The soft grey background color */
    color: #212529; /* The dark grey text color */

    /* THE SVG PATTERN CODE */
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%23a6caff' fill-opacity='0.12'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

/*    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EConnections%3C/title%3E%3Cpath d='M8.525 12.003c.25.04.5.08.75.12a5.45 5.45 0 0 1 .5-.02c.25-.02.5-.04.75-.06a4.5 4.5 0 0 0 2.22-1.63 4.5 4.5 0 0 0 1.25-2.95c-.02-.25-.04-.5-.06-.75a5.45 5.45 0 0 1-.02-.5c.04-.25.08-.5.12-.75a4.5 4.5 0 0 0-1.63-2.22 4.5 4.5 0 0 0-2.95-1.25c-.25.02-.5.04-.75.06a5.45 5.45 0 0 1-.5.02c-.25.02-.5.04-.75.06a4.5 4.5 0 0 0-2.22 1.63 4.5 4.5 0 0 0-1.25 2.95c.02.25.04.5.06.75a5.45 5.45 0 0 1 .02.5c-.04.25-.08.5-.12.75a4.5 4.5 0 0 0 1.63 2.22 4.5 4.5 0 0 0 2.95 1.25zm5.959 1.481a5.45 5.45 0 0 1-.5.02c-.25.02-.5.04-.75.06a4.5 4.5 0 0 0-2.22 1.63 4.5 4.5 0 0 0-1.25 2.95c.02.25.04.5.06.75a5.45 5.45 0 0 1 .02.5c-.04.25-.08.5-.12.75a4.5 4.5 0 0 0 1.63 2.22 4.5 4.5 0 0 0 2.95 1.25c.25-.02.5-.04.75-.06a5.45 5.45 0 0 1 .5-.02c.25-.02.5-.04.75-.06a4.5 4.5 0 0 0 2.22-1.63 4.5 4.5 0 0 0 1.25-2.95c-.02-.25-.04-.5-.06-.75a5.45 5.45 0 0 1-.02-.5c.04-.25.08-.5.12-.75a4.5 4.5 0 0 0-1.63-2.22 4.5 4.5 0 0 0-2.95-1.25c-.25.02-.5.04-.75.06zm-7.44 0c.25.04.5.08.75.12a5.45 5.45 0 0 1 .5-.02c.25-.02.5-.04.75-.06a4.5 4.5 0 0 0 2.22-1.63 4.5 4.5 0 0 0 1.25-2.95c-.02-.25-.04-.5-.06-.75a5.45 5.45 0 0 1-.02-.5c.04-.25.08-.5.12-.75a4.5 4.5 0 0 0-1.63-2.22A4.5 4.5 0 0 0 8.41 2.019c-.25.02-.5.04-.75.06a5.45 5.45 0 0 1-.5.02c-.25.02-.5.04-.75.06a4.5 4.5 0 0 0-2.22 1.63 4.5 4.5 0 0 0-1.25 2.95c.02.25.04.5.06.75a5.45 5.45 0 0 1 .02.5c-.04.25-.08.5-.12.75a4.5 4.5 0 0 0 1.63 2.22 4.5 4.5 0 0 0 2.95 1.25z' fill='%23e9ecef' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
*/
}

/* Hero Section Styles */
    /* Define the animation keyframes */
@keyframes slow-pulsate {
    0% {
        background-color: #2b445e; /* Start with the dark, moody blue */
    }
    33% {
        background-color: #0d6efd; /* Transition to the vibrant primary blue */
    }
    66% {
        background-color: #617493; /* Transition to the lighter, softer blue/grey */
    }
    100% {
        background-color: #2b445e; /* Return to the start color for a seamless loop */
    }
}

/* Apply the animation to the Hero section */
#hero {
    height: 75vh;
    color: white;
    
    /* Set the initial background color */
    background-color: #2b445e; 
    
    /* The Animation */
    animation: slow-pulsate 30s ease-in-out infinite;
}

/* Make sections have a consistent vertical padding */
section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Style the links in the contact section */
#kontakt a {
    text-decoration: none;
    color: #212529;
}

#kontakt a:hover {
    color: #0d6efd; /* Bootstrap primary color */
}

/*  subtle "lift" effect to service cards */
.row .col-lg-6 > div { /* Target the direct div inside the column */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.row .col-lg-6 > div:hover {
    transform: translateY(-5px); /* Lifts the card up slightly */
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; /* Adds a deeper shadow */
}
