
/*
Theme Name: Strona w Budowie
Theme URI: https://example.com
Author: Bartłomiej Solarz
Author URI: https://example.com
Description: Prosty motyw WordPress dla strony w budowie.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strona-w-budowie
*/

/* Resetowanie domyślnych stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0d1b2a; /* Ciemne, głębokie tło */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    text-align: center;
    overflow: hidden;
    width: 100vw; /* Pełna szerokość ekranu */
    position: relative;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/triangles.png'), linear-gradient(45deg, #000000, #232526);
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
    animation: backgroundAnimation 3s infinite ease-in-out;
}

@keyframes backgroundAnimation {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.construction-container {
    background-color: rgba(255, 255, 255, 0.1); /* Przezroczyste tło z lekka białym odcieniem */
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    margin: 0 20px;
    backdrop-filter: blur(10px); /* Efekt rozmycia tła */
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

h1 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: text-shadow 0.5s ease-in-out, transform 0.3s ease;
}

h1:hover {
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.7), 0 0 30px rgba(231, 76, 60, 0.6), 0 0 45px rgba(231, 76, 60, 0.5);
    transform: translateY(-5px); /* Subtelne wznoszenie nagłówka */
}

p {
    font-size: 20px;
    color: #bdc3c7;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInText 1.5s 1.5s forwards;
}

@keyframes fadeInText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.construction-icon {
    margin: 40px 0;
    position: relative;
}

.loader {
    border: 10px solid rgba(255, 255, 255, 0.1);
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInLoader 1.5s 2s forwards, spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInLoader {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

.contact-info {
    font-size: 18px;
    color: #95a5a6;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInText 2s 2.5s forwards;
}

.contact-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    border-radius: 50px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.contact-button:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
}

.contact-button:active {
    transform: translateY(2px);
}

.contact-button:focus {
    outline: none;
    box-shadow: 0 0 5px 2px rgba(52, 152, 219, 0.7);
}

@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    p {
        font-size: 18px;
    }

    .construction-container {
        padding: 30px 20px;
    }

    .loader {
        width: 70px;
        height: 70px;
    }

    .contact-button {
        font-size: 18px;
    }
}
