/* styles.css - Stylove Apartamenty - WCAG AA Compliant + Working Mobile Menu */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #212529;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 200px;
    display: block;
}

.logo:focus {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #8b6914;
    background-color: rgba(139, 105, 20, 0.1);
    outline: none;
}

/* MOBILE MENU - PODSTAWOWE STYLE */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
    border-radius: 4px;
}

.mobile-menu:focus {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
}

.hamburger {
    width: 25px;
    height: 2px;
    background: #212529;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    margin: auto;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: #212529;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Animacja hamburger -> X */
.mobile-menu.active .hamburger {
    background: transparent;
}

.mobile-menu.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 1024px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
        list-style: none;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 25px;
        border-radius: 8px;
        width: 200px;
        text-align: center;
        font-weight: 600;
        display: block;
    }

    .nav-links a:hover,
    .nav-links a:focus {
        background: #8b6914;
        color: #ffffff;
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .nav-links {
        width: 280px;
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 180px;
    }

    .mobile-menu {
        width: 35px;
        height: 35px;
    }

    .hamburger {
        width: 22px;
    }

    .hamburger::before,
    .hamburger::after {
        width: 22px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        right: -100%;
    }

    .nav-links a {
        width: 220px;
    }
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: url('img/kocierz_main.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #212529;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.2;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    line-height: 1.5;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #8b6914;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-transform: uppercase;
    border: 2px solid transparent;
}

.cta-button:hover,
.cta-button:focus {
    background: #212529;
    color: #ffffff;
    border-color: #8b6914;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 105, 20, 0.3);
    outline: none;
}

/* FEATURES */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: #212529;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.section-title p {
    font-size: 1.1rem;
    color: #495057;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
}

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

.feature-card {
    background: white;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: #8b6914;
    transition: left 0.5s;
}

.feature-card:hover::before,
.feature-card:focus-within::before {
    left: 0;
}

.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #8b6914;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #212529;
    font-weight: 600;
}

.feature-card p {
    color: #495057;
    line-height: 1.6;
    font-weight: 500;
}

/* APARTMENTS */
.apartments {
    padding: 100px 0;
    background: #ffffff;
}

.apartments .section-title h2 {
    color: #212529;
}

.apartments .section-title p {
    color: #495057;
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.apartment-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.apartment-card:hover,
.apartment-card:focus-within {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.apartment-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.apartment-card:nth-child(1) .apartment-image {
    background-image: url('/img/1/kocierz_09.jpeg');
}

.apartment-card:nth-child(2) .apartment-image {
    background-image: url('/img/2/kocierz_19.jpeg');
}

.price-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 105, 20, 0.95), rgba(139, 105, 20, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.apartment-image:hover .price-overlay,
.apartment-image:focus-within .price-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.overlay-period {
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
}

.overlay-cta {
    padding: 12px 25px;
    background: #212529;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #212529;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 4px;
}

.overlay-cta:hover,
.overlay-cta:focus {
    background: #ffffff;
    color: #212529;
    border-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.apartment-info {
    padding: 30px;
    color: #212529;
}

.apartment-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #8b6914;
    font-weight: 600;
}

.apartment-info p {
    margin-bottom: 20px;
    color: #495057;
    line-height: 1.6;
    font-weight: 500;
}

.apartment-features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.apartment-cta {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #8b6914;
    color: #8b6914;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 4px;
    font-weight: 600;
}

.apartment-cta:hover,
.apartment-cta:focus {
    background: #8b6914;
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(139, 105, 20, 0.3);
}

/* GALERIA ZDJĘĆ */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
}

.gallery-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gallery-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
}

.close-gallery {
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
}

.close-gallery:hover,
.close-gallery:focus {
    color: #8b6914;
    outline: 3px solid #8b6914;
    outline-offset: 2px;
}

.gallery-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 20px;
}

.gallery-thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, border-color 0.3s;
    border: 3px solid transparent;
    border-radius: 4px;
}

.gallery-thumbnail:hover,
.gallery-thumbnail:focus,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: #8b6914;
    outline: none;
}

.gallery-info {
    background: rgba(33, 37, 41, 0.9);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.gallery-info h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-info p {
    color: #f8f9fa;
    line-height: 1.6;
    font-weight: 500;
}

.gallery-navigation {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(33, 37, 41, 0.8);
    color: #ffffff;
    border: 2px solid transparent;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.gallery-navigation:hover,
.gallery-navigation:focus {
    background: rgba(139, 105, 20, 0.9);
    border-color: #8b6914;
    outline: none;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* CONTACT */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact .section-title h2 {
    color: #212529;
}

.contact .section-title p {
    color: #495057;
}

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

.contact-info {
    color: #212529;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #8b6914;
    font-weight: 600;
}

.contact-info h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #8b6914;
    margin-top: 30px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-item i {
    color: #8b6914;
    font-size: 1.2rem;
    width: 20px;
}

.contact-item span {
    color: #212529;
    font-weight: 500;
}

.contact-info .highlight {
    background: #ffffff;
    padding: 20px;
    border-left: 4px solid #8b6914;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 8px 8px 0;
}

.contact-info .highlight p {
    margin: 0;
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    font-weight: 500;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
}

.contact-map {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
    background: #ffffff;
    padding: 30px 0;
    text-align: center;
    color: #495057;
    border-top: 2px solid #e9ecef;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #495057;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
    padding: 8px;
    border-radius: 4px;
}

.social-links a:hover,
.social-links a:focus {
    color: #8b6914;
    transform: translateY(-2px);
    outline: 3px solid #8b6914;
    outline-offset: 2px;
}

/* RESPONSIVE DESIGN - TABLET AND MOBILE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        color: white;
        background: rgba(0, 0, 0, 0.3);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    .hero-content p {
        font-size: 1.1rem;
        color: white;
        line-height: 1.5;
        font-weight: 500;
        background: rgba(0, 0, 0, 0.2);
        padding: 0.5rem 1rem;
        border-radius: 6px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-map {
        height: 300px;
    }

    .map-container {
        height: 300px;
    }

    .apartments-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .gallery-content {
        width: 95%;
    }

    .gallery-main-image {
        height: 300px;
    }

    .gallery-thumbnail {
        width: 80px;
        height: 60px;
    }

    .gallery-navigation {
        font-size: 1.5rem;
        padding: 8px 12px;
    }

    .features {
        padding: 60px 0;
    }

    .apartments {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .apartment-info {
        padding: 20px;
    }
}

/* SEKCJA OKOLICA */
.okolica {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.okolica .section-title h2 {
    color: #212529;
}

.okolica .section-title p {
    color: #495057;
}

.okolica-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #8b6914;
}

.okolica-intro p {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.okolica-attractions {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.attraction-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 280px;
    width: 100%;
    max-width: 500px;
}

.attraction-card:hover,
.attraction-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.attraction-image {
    background-image: url('/img/okolica/kocierz_24.jpeg');
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.attraction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg, 
        rgba(139, 105, 20, 0.9) 0%, 
        rgba(139, 105, 20, 0.7) 50%, 
        rgba(33, 37, 41, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.attraction-image:hover .attraction-overlay,
.attraction-image:focus-within .attraction-overlay {
    opacity: 1;
    transform: translateY(0);
}

.attraction-overlay h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.attraction-overlay p {
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 500;
}

.distance {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.attraction-cta {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.95);
    color: #212529;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.attraction-cta:hover,
.attraction-cta:focus {
    background: #212529;
    color: white;
    border-color: #8b6914;
    transform: translateY(-2px);
    outline: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.okolica-summary {
    text-align: center;
    max-width: 900px;
    margin: 60px auto 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.okolica-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b6914, #212529, #8b6914);
}

.okolica-summary h3 {
    color: #8b6914;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.okolica-summary p {
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* RESPONSYWNOŚĆ DLA SEKCJI OKOLICA */
@media (max-width: 768px) {
    .okolica {
        padding: 60px 0;
    }

    .okolica-attractions {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }

    .attraction-card {
        height: 250px;
    }

    .attraction-overlay h3 {
        font-size: 1.5rem;
    }

    .attraction-overlay p {
        font-size: 0.9rem;
    }

    .attraction-cta {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .okolica-intro {
        margin-bottom: 40px;
        padding: 20px;
    }

    .okolica-intro p {
        font-size: 1rem;
    }

    .okolica-summary {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .okolica-summary h3 {
        font-size: 1.5rem;
    }

    .okolica-summary p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .okolica-attractions {
        grid-template-columns: 1fr;
    }

    .attraction-card {
        height: 220px;
        margin: 0 10px;
    }

    .attraction-overlay {
        padding: 15px;
    }

    .attraction-overlay h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .attraction-overlay p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .distance {
        font-size: 0.8rem;
        padding: 4px 12px;
        margin-bottom: 15px;
    }

    .attraction-cta {
        padding: 8px 15px;
        font-size: 0.75rem;
    }

    .okolica-intro,
    .okolica-summary {
        margin-left: 10px;
        margin-right: 10px;
        padding: 20px 15px;
    }
}

/* ACCESSIBILITY */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
}

*:focus {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
}

button:focus,
.cta-button:focus,
.apartment-cta:focus,
.overlay-cta:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-contrast: high) {
    .feature-card,
    .apartment-card {
        border: 2px solid #212529;
    }
    
    .cta-button,
    .apartment-cta {
        border: 3px solid currentColor;
    }
}