﻿/* Ogólne style */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: url('/obrazek/na stronę przed główną.webp') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

.container {
    display: flex;
    justify-content: flex-start; /* Przesunięcie zawartości do lewej */
    align-items: center;
    min-height: 100vh;
    padding-left: 50px;
}

.text-section {
    text-align: left;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.4); /* Półprzezroczysta warstwa */
    padding: 20px;
    border-radius: 10px;
}

    .text-section h1 {
        font-family: 'Playfair Display', serif;

        font-size: 48px;
        line-height: 1.2;
        color: #fff;
        margin-bottom: 30px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Lekki cień */
        animation: fadeInDown 1s ease-in-out;
    }

        .text-section h1 span {
            display: block; /* Każda linia w nowym wierszu */
        }

    .text-section p {
        font-style: italic;
        font-size: 20px;
        color: #f0f0f0;
        margin-top: 15px;
    }

/* Styl przycisków */
.call-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    /* Przycisk główny */
    /* Styl nowoczesnego przycisku */
    .call-button.primary {
        background: linear-gradient(135deg, #ff416c, #ff4b2b); /* Gradient kolorów */
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        font-weight: 700;
        padding: 15px 30px;
        border: none;
        border-radius: 50px;
        text-decoration: none;
        text-transform: uppercase;
        box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
        transition: all 0.3s ease-in-out;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

        .call-button.primary::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300%;
            height: 300%;
            background: rgba(255, 255, 255, 0.2);
            transition: all 0.5s ease;
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(0);
            z-index: 0;
        }

        .call-button.primary:hover::before {
            transform: translate(-50%, -50%) scale(1);
        }

        .call-button.primary:hover {
            transform: translateY(-3px); /* Lekki efekt podniesienia */
            box-shadow: 0 10px 20px rgba(255, 65, 108, 0.6);
        }


    /* Przycisk dodatkowy */
    .call-button.secondary {
        background: transparent;
        color: #e43a67;
        border: 2px solid #e43a67;
        border-radius: 50px; /* Zaokrąglone rogi */
        padding: 12px 25px;
        font-weight: 700;
        font-family: 'Montserrat', sans-serif;
        text-transform: uppercase;
        transition: all 0.3s ease-in-out;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

        .call-button.secondary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(135deg, #e43a67, #ff4b2b);
            transition: all 0.3s ease-in-out;
            z-index: -1;
        }

        .call-button.secondary:hover::before {
            width: 100%;
        }

        .call-button.secondary:hover {
            color: #fff; /* Kolor tekstu po najechaniu */
            transform: scale(1.05); /* Lekki efekt powiększenia */
        }



.quote {
     /* Duży rozmiar czcionki */
    color: #111; /* Głębszy czarny dla maksymalnego kontrastu */
    text-align: center; /* Wyśrodkowanie tekstu */
    margin-top: 50px; /* Przestrzeń nad cytatem */
    margin-bottom: 40px; /* Przestrzeń pod cytatem */
    line-height: 1.6; /* Optymalna odległość między liniami */
    font-weight: 700; /* Grubsza, żeby była czytelniejsza */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Delikatny cień dla głębi */
}



/* Efekty animacji */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries dla urządzeń mobilnych */
@media (max-width: 768px) {
    .text-section h1 {
        font-size: 36px;
    }

    .container {
        padding-left: 20px;
    }

    .call-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
