/* === Ogólne style === */
:root {
    --primary-color: #4a3d31;
    --secondary-color: #e89544;
    --background-light: #f8f5f2;
    --background-dark: #332d29;
    --font-main: 'Roboto', sans-serif;
    --font-accent: 'Playfair Display', serif;
    /* Nowe zmienne dla nowoczesnego stylu */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

section[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--font-main);
    color: var(--primary-color);
    line-height: 1.6;
    margin: 0;
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

.section {
    padding: 80px 0;
    text-align: center;
}

.section-content {
    padding-top: 20px;
}

h1,
h2,
h3 {
    font-family: var(--font-accent);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #f5a855);
    border-radius: 4px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* === Buttons === */
.button {
    display: inline-block;
    background-color: #92400e; /* amber-800 */
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
    .button {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
}

.button:hover {
    background-color: #78350f; /* amber-900 */
    transform: scale(1.05);
}

/* Secondary button - transparent with border */
.button-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-xl);
}

.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: none;
}

/* Dark button - stone-900 */
.button-dark {
    background-color: #1c1917; /* stone-900 */
    box-shadow: none;
}

.button-dark:hover {
    background-color: #292524; /* stone-800 */
    transform: none;
}

/* Text link button - for "Zobacz więcej" */
.button-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    color: #92400e; /* amber-800 */
    padding: 0;
    box-shadow: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-link:hover {
    gap: 12px;
    background: none;
    transform: none;
}

.button-link span {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.button-link:hover span {
    transform: translateX(4px);
}

/* === Nawigacja === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.5s ease-in-out;
    padding: 10px 0;
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

/* Zmniejszony navbar przy scrollowaniu w dół (desktop) - 50% mniejszy */
.header.nav-shrunk {
    padding: 0;
}

.header.nav-shrunk .logo-link img {
    height: 38px;
}

.header.nav-shrunk .nav {
    padding: 2px 20px;
}

.header.scrolled .nav-links a {
    color: var(--primary-color);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
    color: var(--secondary-color);
}

.header.scrolled .logo-link img {
    filter: none;
}

/* Białe tło gdy menu mobilne jest otwarte */
.header.menu-open {
    background-color: #ffffff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header.menu-open .hamburger i {
    color: var(--primary-color);
}

.header.sticky-hidden {
    top: -100px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.logo-link img {
    height: 75px;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: white;
    padding: 8px;
    z-index: 1001;
}

/* Mobile Navigation Layout */
.mobile-nav {
    display: none;
}

.desktop-only {
    display: block;
}

.mobile-phone {
    font-size: 24px;
    color: white;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-phone:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header.menu-open .mobile-phone {
    color: var(--primary-color);
}

/* === Sekcja hero === */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: url('../img/hero.jpeg') no-repeat center center/cover;
    margin-top: -95px;
    padding-top: 95px;
    box-sizing: border-box;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-buttons .button {
    text-align: center;
}

.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
    animation: bounce-slow 2s infinite;
}

.scroll-down-btn:hover {
    color: white;
}

.scroll-down-btn svg {
    display: block;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

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

/* === Sekcja usługi === */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    padding: 48px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(74, 61, 49, 0.05);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(232, 149, 68, 0.1);
    border-radius: 50%;
}

.service-card:hover .service-icon {
    color: white;
    background: var(--secondary-color);
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.service-card .button-link {
    margin-top: 10px;
}

/* === Stylizacja modali === */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background-color: var(--background-light);
    color: var(--primary-color);
    margin: auto;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.close-modal {
    color: var(--primary-color);
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(74, 61, 49, 0.05);
}

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

.modal-text {
    text-align: left;
}

.modal-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.modal-text ul {
    text-align: left;
    margin-bottom: 20px;
    list-style: none;
    padding-left: 0;
}

.modal-text ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px;
}

.modal-text ul li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.modal-text h3 {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 10px;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 200px));
    gap: 10px;
    margin-top: 20px;
}

.modal-gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.video-thumbnail-container {
    position: relative;
    height: 150px;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.video-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm);
    transition: transform 0.3s;
}

.video-thumbnail-container .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    color: white;
    opacity: 0.9;
    transition: transform 0.3s, color 0.3s;
}

.video-thumbnail-container:hover .video-play-icon {
    color: var(--secondary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Sekcja o mnie === */
.about-section {
    background-color: #f5f5f4; /* stone-100 */
    overflow: hidden;
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

@media (min-width: 1024px) {
    .about-grid {
        flex-direction: row;
        gap: 80px;
    }
}

/* Zdjęcie */
.about-image-wrapper {
    position: relative;
    flex: 1;
    max-width: 450px;
}

.about-blob {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.about-blob-1 {
    top: -40px;
    left: -40px;
    background-color: rgba(251, 191, 36, 0.3); /* amber-200/30 */
}

.about-blob-2 {
    bottom: -40px;
    right: -40px;
    background-color: rgba(146, 64, 14, 0.1); /* amber-800/10 */
}

.about-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.about-photo:hover {
    filter: grayscale(0%);
}

/* Treść */
.about-content {
    flex: 1;
}

.about-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.about-title::after {
    display: none;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 3rem;
    }
}

.about-text {
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    color: #57534e; /* stone-600 */
    line-height: 1.8;
    margin-bottom: 24px;
}

/* CTA Box */
.cta-about {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    margin-top: 48px;
    border-left: 4px solid var(--secondary-color);
    text-align: left;
}

.cta-about h3 {
    margin-bottom: 8px;
    text-align: left;
    font-size: 1.3rem;
}

.cta-about p {
    margin-bottom: 24px;
    color: #57534e; /* stone-600 */
}

.button-dark {
    background-color: #1c1917; /* stone-900 */
    box-shadow: none;
}

.button-dark:hover {
    background-color: #292524; /* stone-800 */
}

/* === Sekcja Galeria === */

/* Filtry kategorii */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 40px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    background-color: white;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    background-color: #f5f5f5;
}

.filter-btn.active {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(232, 149, 68, 0.4);
    transform: scale(1.05);
}

/* Masonry Gallery */
.gallery-masonry {
    column-count: 3;
    column-gap: 20px;
    margin-top: 20px;
}

.gallery-item-wrapper {
    break-inside: avoid;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.gallery-item-wrapper.hidden {
    display: none;
}

.gallery-item-wrapper.fade-in {
    animation: galleryFadeIn 0.5s ease-out forwards;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    display: block;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.gallery-item.video-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item-wrapper:hover {
    box-shadow: var(--shadow-xl);
}

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

.gallery-item-wrapper:hover .video-play-icon {
    color: var(--secondary-color);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(51, 45, 41, 0.7);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    pointer-events: none;
}

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

.gallery-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: fit-content;
    transform: translateY(10px);
    transition: transform 0.5s ease;
}

.gallery-item-wrapper:hover .gallery-badge {
    transform: translateY(0);
}

.gallery-caption {
    color: white;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 16px;
    transform: translateY(10px);
    transition: transform 0.5s ease 0.05s;
}

.gallery-item-wrapper:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-expand {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transform: translateY(10px);
    transition: transform 0.5s ease 0.1s;
}

.gallery-item-wrapper:hover .gallery-expand {
    transform: translateY(0);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4em;
    color: white;
    opacity: 0.9;
    transition: transform 0.3s, color 0.3s;
    z-index: 5;
}

.gallery-count {
    text-align: center;
    color: #999;
    margin-top: 30px;
    font-size: 0.95rem;
}

/* Responsive masonry */
@media (max-width: 1024px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 1;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* === Kontakt === */
.contact-section {
    background-color: #1c1917; /* stone-900 */
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-section h2::after {
    background: var(--secondary-color);
}

.contact-header {
    margin-bottom: 40px;
}

.contact-description {
    font-size: 1.2rem;
    color: #a8a29e; /* stone-400 */
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .contact-cards {
        flex-direction: row;
        justify-content: center;
    }
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(41, 37, 36, 0.5); /* stone-800/50 */
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    background-color: #292524; /* stone-800 */
}

a.contact-card {
    cursor: pointer;
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--secondary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #78716c; /* stone-500 */
    margin-bottom: 4px;
}

.contact-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* === Stopka === */
.footer {
    background-color: var(--background-dark);
    color: #bbb;
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

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

/* === Sticky Widgets Container === */
.sticky-widgets {
    position: fixed;
    bottom: 40px;
    right: 16px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .sticky-widgets {
        right: 40px;
    }
}

/* === Przycisk "Powrót na górę" === */
#back-to-top-btn {
    display: none;
    width: 56px;
    height: 56px;
    border: none;
    outline: none;
    background-color: white;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    font-size: 1.5em;
}

#back-to-top-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

#back-to-top-btn:hover i {
    color: var(--secondary-color);
}

#back-to-top-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Przycisk WhatsApp === */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #22c55e;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8em;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-8px);
    background-color: #16a34a;
    box-shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.4);
}

/* === Responsywność === */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .fancybox__content video {
        max-width: 95vw;
        max-height: 50vh;
        width: auto !important;
        height: auto !important;
    }

    .header {
        position: fixed;
        background-color: transparent;
        top: 0;
        padding: 2px 0;
    }

    .header.scrolled {
        background-color: #ffffff;
        padding: 2px 0;
    }

    .header.menu-open {
        background-color: #ffffff;
        padding: 2px 0;
    }

    .nav {
        padding: 1px 1px;
    }

    /* Ukryj desktop layout na mobile */
    .desktop-only {
        display: none !important;
    }

    /* Pokaż mobile layout */
    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
    }

    .mobile-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-logo img {
        height: 50px;
        transition: all 0.3s ease;
    }

    .hamburger {
        display: block;
        color: white; /* Biała ikona domyślnie */
    }

    .header.scrolled .hamburger i {
        color: var(--primary-color); /* Ciemna ikona po scroll */
    }

    .mobile-phone {
        color: white; /* Biała ikona telefonu domyślnie */
    }

    .header.scrolled .mobile-phone {
        color: var(--primary-color); /* Ciemna ikona po scroll */
    }

    /* Gdy menu jest otwarte */
    .header.menu-open .hamburger i {
        color: var(--primary-color);
    }

    .header.menu-open .mobile-phone {
        color: var(--primary-color);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        height: auto;
        padding: 24px 0;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease-in-out;
    }

    .nav-links a {
        color: var(--primary-color);
        font-size: 1.1rem;
        font-weight: 600;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--secondary-color);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 20px;
    }

    #hero {
        padding-top: 80px;
        margin-top: -80px;
    }
}
