/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d32f2f;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    width: 100%;
}

.container-full {
    max-width: none;
    width: 100%;
    padding: 0;
}

/* Pasek kontaktowy */
.top-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 0;
    font-size: 0.9rem;
    overflow: hidden;
}

.contact-info-bar {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item span {
    color: var(--white);
}

/* Pasek promocyjny */
.promo-bar {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.8rem 0;
    font-weight: 600;
    font-size: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow);
}

/* Nawigacja */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    position: relative;
    z-index: 1001;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active-section {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active-page {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-wycena {
    background: var(--white);
    color: var(--secondary-color) !important;
    border-radius: 5px;
    padding: 0.7rem 1.5rem !important;
    border: 2px solid var(--secondary-color);
    font-weight: 600;
}

.btn-wycena:hover {
    background: var(--white);
    color: var(--secondary-color) !important;
}

.btn-wycena.active-page {
    background: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.3);
}

/* Rozwijane menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    list-style: none;
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
    z-index: 10000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-menu a.active-page {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 1.5rem;
    font-weight: 600;
}

.arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-toggle.active-page {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hamburger menu dla urządzeń mobilnych */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    position: relative;
    z-index: 1001;
    width: 30px;
    height: 24px;
    justify-content: center;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.hamburger.active {
    gap: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    margin-top: -1.5px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    margin-top: -1.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 0;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 300px;
    gap: 10rem;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 3rem;
}

.hero-content {
    text-align: left;
    padding-right: 0;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    height: 5.8rem;
    line-height: 1.15;
    overflow: hidden;
}

/* Efekt maszyny do pisania */
.typewriter-text {
    display: inline;
    border-right: 3px solid var(--white);
    padding-right: 5px;
}

.typewriter-text.typing {
    animation: blink-caret 0.75s step-end infinite;
}

.typewriter-text.finished {
    border-right: none;
    padding-right: 0;
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--white);
    }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Hero Images */
.hero-images {
    position: relative;
    height: 500px;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.4);
}

/* Przyciski */
.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Filtr sekcji */
.filter-section {
    padding: 3rem 0;
    background: var(--light-bg);
}

.filter-dropdown-wrapper {
    display: none;
    position: relative;
}

.filter-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d32f2f' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
}

.filter-dropdown:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
    transform: translateY(-1px);
}

.filter-dropdown:focus {
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.25);
    border-color: var(--secondary-color);
}

/* Custom dropdown options styling */
.custom-dropdown {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.custom-dropdown-selected {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-dropdown-selected:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
    transform: translateY(-1px);
}

.custom-dropdown-selected::after {
    content: '';
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d32f2f' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    transition: transform 0.3s;
}

.custom-dropdown-selected.active::after {
    transform: rotate(180deg);
}

.custom-dropdown-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.custom-dropdown-options.active {
    max-height: 300px;
    opacity: 1;
}

.custom-dropdown-option {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-dropdown-option:last-child {
    border-bottom: none;
}

.custom-dropdown-option:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 2rem;
}

.custom-dropdown-option.selected {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Elementy realizacji */
[data-category] {
    transition: opacity 0.3s ease;
    opacity: 1;
}

[data-category].is-hidden {
    display: none !important;
}

.realization-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: none;
}

.realization-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.realization-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.realization-image {
    width: 100%;
    height: 250px;
    background: var(--light-bg);
    overflow: hidden;
}

.realization-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.realization-card:hover .realization-image img {
    transform: scale(1.05);
}

.realization-content {
    padding: 1.5rem;
}

.realization-content h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.realization-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.realization-feature {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 2rem;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    min-height: 700px;
}

.realization-feature--image-left {
    grid-template-columns: 65% 35%;
}

.realization-feature__content h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 0.6rem 0 1rem;
}

.realization-feature__content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.realization-feature__content {
    padding: 2.5rem;
}

.realization-feature__thumb {
    width: 100%;
    height: 100%;
    max-height: 520px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--light-bg);
}

.realization-feature__action {
    display: none;
}

.realization-feature__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Sekcje */
.section {
    padding: 5rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.bg-light {
    background: var(--light-bg);
}

/* Oferta Section */
.oferta {
    padding: 6rem 0;
    background: var(--white);
}

.oferta h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    font-weight: 500;
}

.oferta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.oferta-card {
    background: #f9f9f9;
    padding: 3rem 2rem;
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.oferta-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.oferta-card:hover .card-icon {
    transform: scale(1.2);
}

.oferta-card:hover h3 {
    color: var(--white);
}

.oferta-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.oferta-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.oferta-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* O Nas Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Oferta Grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--primary-color);
}

.offer-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea,
.wycena-form input,
.wycena-form textarea,
.wycena-form select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.wycena-form input:focus,
.wycena-form textarea:focus,
.wycena-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Wycena */
.wycena-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.wycena-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.wycena-form {
    text-align: left;
}

/* Sekcja Kontakt */
.kontakt {
    padding: 4rem 0;
    background: #353535;
}

.kontakt h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.kontakt .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 500;
}

.kontakt-info-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.kontakt-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.kontakt-item img {
    width: 24px;
    height: 24px;
    filter: invert(1) brightness(2);
}

.kontakt-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.kontakt-item a:hover {
    color: var(--primary-color);
}

.kontakt-item span {
    color: var(--white);
    font-weight: 500;
}

/* Stopka */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-content p {
    margin: 0;
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
}

.scroll-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.scroll-to-top:hover {
    background: #b71c1c;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsywność - tablet i mobile dla top-bar */
@media (max-width: 992px) {
    .top-bar .container {
        padding: 0;
    }
    
    .contact-info-bar {
        display: flex;
        gap: 1.5rem;
        flex-wrap: nowrap;
        font-size: 0.85rem;
        justify-content: center;
        transition: all 1s ease;
    }
    
    .contact-item {
        white-space: nowrap;
        flex-shrink: 0;
        transition: opacity 0.3s ease;
    }
}

/* Animacja taśmy tylko na małych ekranach (≤500px) */
@media (max-width: 500px) {
    .top-bar {
        overflow: hidden;
        position: relative;
    }
    
    .top-bar .container {
        overflow: hidden;
    }
    
    /* Animacja taśmy - płynne zapętlenie */
    @keyframes marquee {
        0% {
            transform: translate3d(0, 0, 0);
        }
        100% {
            transform: translate3d(-50%, 0, 0);
        }
    }
    
    .contact-info-bar.marquee-active {
        animation: marquee 30s linear infinite;
        will-change: transform;
    }
    
    .contact-info-bar.marquee-active:hover {
        animation-play-state: paused;
    }
}

/* Responsywność - mobile */
@media (max-width: 768px) {
    .contact-icon {
        width: 18px;
        height: 18px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding-top: 80px;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        padding: 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-wycena {
        border: none !important;
        background: transparent !important;
        padding: 1rem 2rem !important;
    }
    
    .btn-wycena:hover {
        background: var(--light-bg) !important;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        border-radius: 0;
        background: var(--light-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-menu a {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
    
    .dropdown-menu a:hover {
        padding-left: 2.5rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        height: 700px;
    }
    
    .hero-images {
        height: 300px;
        order: -1;
    }
    
    .hero-img {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        height: 4.5rem;
        line-height: 1.2;
        overflow: hidden;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .oferta h2 {
        font-size: 2rem;
    }
    
    .oferta-grid {
        grid-template-columns: 1fr;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
    }
    
    .kontakt-info-bar {
        gap: 2rem;
        flex-direction: column;
    }
    
    .kontakt h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .content-wrapper h2 {
        font-size: 1.8rem;
    }
}

/* Style dla podstron */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.page-header .section-subtitle {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.2rem;
    text-align: center;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-wrapper p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-wrapper ul {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* Layout kontaktu - 2 kolumny */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: invert(0.2) brightness(0.8);
}

.contact-info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    margin-top: 0;
}

.contact-info-text p {
    margin: 0;
    color: var(--text-color);
}

.contact-info-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-text a:hover {
    text-decoration: underline;
}

.contact-form-column {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

/* Formularz kontaktowy */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.portfolio-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ===== Domain Checker ===== */
.domain-checker {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.domain-search {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.domain-input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.domain-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.domain-result {
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
}

.domain-result.available {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.domain-result.unavailable {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.domain-result.error {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid #ff9800;
}

.domain-loading {
    text-align: center;
    color: #666;
    padding: 1rem;
}

@media (max-width: 768px) {
    .domain-search {
        flex-direction: column;
    }
    
    .domain-input {
        min-width: 100%;
    }
}

/* ===== Hosting Slider ===== */
.hosting-slider {
    position: relative;
    margin: 2rem 0;
    padding: 2rem 0;
}

.slider-container {
    overflow: hidden;
    border-radius: 8px;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hosting-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: center;
    width: 100%;
    cursor: pointer;
}

.hosting-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    max-width: 400px;
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hosting-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.15);
    transform: translateY(-5px);
}

.hosting-link:hover .hosting-card {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.15);
    transform: translateY(-5px);
}

.hosting-logo {
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hosting-logo img {
    max-width: 200px;
    max-height: 100%;
    object-fit: contain;
}

.hosting-card h4 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.4rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: #b71c1c;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .slide {
        padding: 0 0.5rem;
    }
    
    .hosting-card {
        padding: 1.5rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
    
    /* Na mobile ukryj przyciski, pokaż dropdown */
    .filter-buttons {
        display: none;
    }
    
    .filter-dropdown-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .realization-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .realization-image {
        height: 200px;
    }

    .realization-feature {
        display: flex;
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1.5rem;
        min-height: auto;
        margin: 0 auto;
        max-width: 100%;
        text-align: center;
    }
    
    .realization-feature__content {
        order: 1;
        padding: 0;
        text-align: center;
    }
    
    .realization-feature__content h3 {
        text-align: center;
    }
    
    .realization-feature__content p {
        text-align: center;
    }
    
    .realization-feature__thumb {
        order: 2;
        max-height: 300px;
    }
    
    .realization-feature__action {
        order: 3;
        display: block;
        text-align: center;
    }
    
    /* Ukryj przyciski w content na mobile */
    .realization-feature__content .btn {
        display: none;
    }
    
    /* Wyśrodkuj sekcję "Chcesz zobaczyć więcej" na mobile */
    .content-wrapper {
        text-align: center;
    }
    
    .content-wrapper p {
        text-align: center;
    }
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.toast.success {
    border-left-color: #4caf50;
}

.toast.error {
    border-left-color: #f44336;
}

.toast.info {
    border-left-color: #2196f3;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #4caf50;
}

.toast.error .toast-icon {
    color: #f44336;
}

.toast.info .toast-icon {
    color: #2196f3;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1.2rem;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.toast-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.removing {
    animation: slideOut 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
        bottom: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

