/* Import fontów */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&display=swap');

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-image: url('IMG_0405.JPG');
    background-size: cover;
    background-position: center 66%;
    /* Wyświetla od 2/3 wysokości */
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Warstwa z kolorem przezroczystym */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(54, 70, 59, 0.3);
    /* #424C59 z 80% przezroczystością */
    z-index: 1;
}

/* Kontener główny */
.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    text-align: center;
}

/* Logo */
.logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in;
}

/* Główny tekst */
.main-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    /* Medium */
    font-size: 3rem;
    color: rgb(255, 202, 193);
    /* #FFB2A4 */
    margin-bottom: 50px;
    animation: fadeIn 1.5s ease-in;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Sekcja kontaktowa */
.contact {
    animation: fadeIn 2s ease-in;
}

.contact-item {
    font-size: 1.2rem;
    margin: 15px 0;
    color: rgb(255, 202, 193);
    /* #FFB2A4 */
}

.contact-item:first-child {
    font-weight: 500;
    /* Medium dla e-maila */
}

.contact-item:last-child {
    font-weight: 300;
    /* Light dla telefonu */
}

.contact-value {
    font-weight: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-value:hover {
    opacity: 0.8;
}

/* Wyłączenie automatycznego formatowania linków (Safari iOS) */
.contact a,
.contact-value a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}

.contact a:link,
.contact a:visited,
.contact a:hover,
.contact a:active {
    color: rgb(255, 202, 193);
    text-decoration: none;
}

/* Animacja wejścia */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsywność */
@media (max-width: 768px) {
    .logo {
        max-width: 300px;
        margin-bottom: 30px;
    }

    .main-text {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .contact-item {
        font-size: 1rem;
        margin: 12px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 250px;
        margin-bottom: 25px;
    }

    .main-text {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .contact-item {
        font-size: 0.9rem;
        margin: 10px 0;
    }
}