/* ===== Zaawansowane style dla Lucaria ===== */

/* ===== Hero Section Enhanced ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Optymalizacje dla lepszej wydajności animacji na mobilnych */
.hero-content {
    will-change: auto;
    transform: translateZ(0);
}

.hero-image {
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Wyłącz sprzętowe przyspieszenie na urządzeniach dotykowych dla hero elementów */
@media (hover: none) and (pointer: coarse) {
    .hero-content,
    .hero-image {
        will-change: auto;
        transform: none !important;
        animation: none !important;
    }
    
    .hero-image {
        animation: none !important;
    }
    
    /* Ustaw statyczną pozycję dla elementów hero na mobilnych */
    .hero-content * {
        transform: none !important;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-trust {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.trust-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-shape {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-peach));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    opacity: 0.08;
    animation: morphing 20s ease-in-out infinite;
    overflow: hidden;
}

@keyframes morphing {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* ===== Stats Section ===== */
.stats-section {
    background-color: var(--white);
    padding: 60px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== About Enhanced ===== */
.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(244, 200, 122, 0.25);
}

.lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-cta {
    margin-top: 30px;
}

/* ===== Why Me Section ===== */
.why-me {
    background: linear-gradient(135deg, var(--background-light), #FFF8FA);
    padding: 100px 0;
}

.why-me-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--accent-peach);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.why-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.trust-section {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.trust-text p {
    margin: 5px 0;
}

/* ===== Offer Enhanced ===== */
.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.offer-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.offer-price {
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.offer-price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.offer-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #FFF5F8, #FFF8F3, #FFFBF5);
    border-radius: 30px;
    border: 1px solid var(--accent-pink);
}

.offer-cta h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== Process Timeline ===== */
.process {
    background-color: var(--background-light);
    padding: 100px 0;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-peach);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 20px 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(244, 200, 122, 0.2);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.timeline-duration {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===== Testimonials ===== */
.testimonials {
    background-color: var(--white);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== FAQ Section ===== */
.faq {
    background-color: var(--background-light);
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* ===== Service Area ===== */
.service-area {
    background-color: var(--white);
    padding: 100px 0;
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.area-map {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-map img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: var(--background-light);
}

.area-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
}

/* Fallback dla AOS */
[data-aos="fade-right"] .area-map img {
    opacity: 1 !important;
    transform: none !important;
}

/* Dodatkowe style dla pewności */
.service-area .area-map img[src*="wroclaw-map"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 200px;
    object-fit: contain;
}

/* Modal dla powiększonej mapy */
.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.map-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.map-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.map-modal-close:hover {
    color: var(--secondary-color);
}

/* Kursor dla klikalnej mapy */
.area-map img {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-map img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Ikona lupy na mapie */
.area-map::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.area-map:hover::after {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.area-list {
    margin: 30px 0;
}

.area-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.area-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.area-cities {
    background: var(--background-light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #4A3A45, #3D3035);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    /* Naprawka problemów z przewijaniem na mobilnych */
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.cta-note {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.9;
}

.cta-note-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cta-note-item i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* ===== Contact Enhanced ===== */
.contact-benefits {
    background: var(--background-light);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.contact-benefits h4 {
    margin-bottom: 15px;
}

.contact-benefits ul {
    list-style: none;
}

.contact-benefits li {
    padding: 8px 0;
    color: var(--text-light);
}

.contact-benefits i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    margin-right: 5px !important;
    cursor: pointer;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.emergency-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--background-light);
    border-radius: 20px;
}

.emergency-cta h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* ===== Footer Enhanced ===== */
.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-info {
    font-size: 0.9rem;
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #E6B56C;
    transform: translateY(-3px);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-banner-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.cookie-btn-accept:hover {
    background: #E6B56C;
}

.cookie-btn-decline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-btn-decline:hover {
    background: var(--white);
    color: var(--text-dark);
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* ===== Responsive Updates ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-me-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .area-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-trust {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-number {
        left: 30px;
    }
    
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
    }
    
    /* Dodatkowe naprawki dla CTA section na mobilnych */
    .cta-section {
        padding: 60px 0;
        min-height: auto;
        transform: translateZ(0);
        will-change: auto;
    }
    
    .cta-content {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-text {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Poprawki dla mobilnego widoku - footer i cta */
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-note {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-note-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .why-me-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-price span {
        font-size: 1.2rem;
    }
    
    .area-cities {
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-cta {
        padding: 30px 20px;
    }
    
    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
    
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .area-map img {
        width: 100%;
        height: auto;
    }
    
    .trust-logos {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Dodatkowe poprawki dla bardzo małych ekranów */
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-note {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
    
    .cta-note-item {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    /* Naprawka problemu z przewijaniem między CTA a contact na małych ekranach */
    .cta-section {
        padding: 50px 0;
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .contact {
        margin-top: 0;
        padding-top: 80px;
    }
} 

