/* 
 * EYZOP - Style dodatkowe
 * Kolory: Czerwony #E31E24 (serwis), Zielony #228B22 (usługi), Żółty #F5B800 (akcent)
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* Zmienne CSS */
:root {
    --color-red: #E31E24;
    --color-red-dark: #B91C1C;
    --color-green: #228B22;
    --color-green-dark: #1B6B1B;
    --color-yellow: #F5B800;
    --color-dark: #1a1a1a;
    --color-gray: #333333;
    --color-light-gray: #f5f5f5;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Globalne style */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Strona wyboru profilu */
.profile-choice {
    min-height: 100vh;
    display: flex;
}

.profile-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.profile-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.profile-panel:hover::before {
    background: rgba(0,0,0,0.1);
}

.profile-panel:hover {
    flex: 1.2;
}

.profile-panel.serwis {
    background: linear-gradient(135deg, #E31E24 0%, #B91C1C 100%);
}

.profile-panel.uslugi {
    background: linear-gradient(135deg, #228B22 0%, #1B6B1B 100%);
}

.profile-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.profile-logo {
    max-width: 300px;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.profile-panel:hover .profile-logo {
    transform: scale(1.05);
}

.profile-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.profile-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

.profile-arrow {
    margin-top: 30px;
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Nagłówek */
.uk-navbar-container {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.uk-navbar-nav > li > a {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Sekcje */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

.section-title.serwis-title {
    color: var(--color-red);
}

.section-title.serwis-title::after {
    background: var(--color-red);
}

.section-title.uslugi-title {
    color: var(--color-green);
}

.section-title.uslugi-title::after {
    background: var(--color-green);
}

/* Karty usług */
.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 25px;
}

.service-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.service-card.serwis-card .service-card-title {
    color: var(--color-red);
}

.service-card.uslugi-card .service-card-title {
    color: var(--color-green);
}

.service-card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Galeria */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 2rem;
}

/* Kontakt */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-icon.serwis-icon {
    background: rgba(227, 30, 36, 0.1);
    color: var(--color-red);
}

.contact-info-icon.uslugi-icon {
    background: rgba(34, 139, 34, 0.1);
    color: var(--color-green);
}

.contact-info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-info-content p {
    color: #666;
    margin: 0;
}

/* Formularz */
.uk-input:focus, .uk-textarea:focus {
    border-color: var(--color-yellow);
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.2);
}

.btn-serwis {
    background: var(--color-red);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-serwis:hover {
    background: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
}

.btn-uslugi {
    background: var(--color-green);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-uslugi:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.4);
}

/* Mapa */
.map-container {
    width: 100%;
    height: 300px;
    border: none;
}

/* Stopka */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 20px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Animacje */
.uk-scrollspy-inview {
    animation-duration: 0.8s;
}

/* Responsywność */
@media (max-width: 959px) {
    .profile-choice {
        flex-direction: column;
    }
    
    .profile-panel {
        min-height: 50vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .profile-logo {
        max-width: 200px;
    }
    
    .profile-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 639px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card-image {
        height: 150px;
    }
}

/* Lightbox */
.uk-lightbox {
    background: rgba(0,0,0,0.95);
}

/* O firmie */
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Przycisk powrotu */
.back-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.back-button.serwis-back {
    background: var(--color-red);
}

.back-button.uslugi-back {
    background: var(--color-green);
}

.back-button:hover {
    transform: scale(1.1);
}

/* Alert */
.uk-alert {
    border-radius: 8px;
}
