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

/* Reset i podstawowe style */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Kolory firmowe */
:root {
    --primary-blue: #0088cc;
    --primary-green: #5cb85c;
    --primary-orange: #f5a623;
    --dark-blue: #1a3a5c;
    --footer-bg: #2c3e50;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    font-size: 0.85rem;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left a {
    color: var(--text-white);
    font-weight: 500;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    opacity: 0.8;
}

.top-bar-right {
    display: flex;
    gap: 25px;
}

.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar svg {
    flex-shrink: 0;
}

/* Header */
.header {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px;
}

.logo {
    position: relative;
}

.logo img {
    /* bez zmiany rozmiaru - naturalny rozmiar obrazka */
}

/* Mikołaj na logo */
.logo::after {
    content: '🎅';
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 1.8rem;
    transform: rotate(15deg);
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.service-icons {
    display: flex;
    gap: 40px;
}

.service-icon {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon:hover {
    color: var(--primary-blue);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon-circle svg {
    width: 24px;
    height: 24px;
}

.icon-circle.blue {
    background: var(--primary-blue);
}

.icon-circle.green {
    background: var(--primary-green);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.social-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    border-bottom: none !important;
}

.social-icon:hover {
    background: var(--dark-blue);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 480px;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 50%, var(--primary-orange) 100%);
    z-index: 10;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide 1 - Przyłącz się */
.slide[data-slide="0"] {
    background: linear-gradient(135deg, rgba(240,245,250,0.72) 0%, rgba(220,230,240,0.75) 100%),
                url('../img/unnamed (2).jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
}

/* Slide 2 - MAXX 4K */
.slide-maxx4k-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.slide-maxx4k {
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.slide-maxx4k img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--primary-blue);
    border-color: white;
}

.slider-pause {
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background 0.2s;
}

.slider-pause:hover {
    background: rgba(0,0,0,0.5);
}

/* Hero content (dla slide 1) */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--dark-blue);
}

.hero-content h1 .italic {
    font-style: italic;
    font-weight: 400;
    color: var(--primary-blue);
    font-size: 0.85em;
}

.hero-content h1 .highlight {
    color: var(--primary-blue);
    font-size: 1.15em;
    display: block;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}

.hero-form .form-row {
    display: flex;
    gap: 15px;
}

.hero-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.hero-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-blue);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

/* Form Messages */
.hero-form .form-message {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.hero-form .form-message:empty {
    display: none;
}

.hero-form .form-message.success {
    background: rgba(92, 184, 92, 0.2);
    color: #2d5a2d;
    border: 1px solid rgba(92, 184, 92, 0.4);
}

.hero-form .form-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #8b1c28;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

/* Kreator Box (slide 1) */
.hero-kreator {
    flex: 0 0 280px;
}

.kreator-box {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    text-align: center;
    border: 1px solid rgba(0,136,204,0.1);
}

.kreator-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,136,204,0.3);
}

.kreator-icon svg {
    width: 32px;
    height: 32px;
}

.kreator-box h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.kreator-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.kreator-box .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* Contact Bar */
.contact-bar {
    background: var(--primary-blue);
    padding: 20px 0;
}

.contact-bar-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.95rem;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item strong {
    font-weight: 700;
}

/* Main Content Section */
.main-content {
    padding: 80px 0;
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.content-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
}

.card-icon.blue {
    background: var(--primary-blue);
}

.card-icon.green {
    background: var(--primary-green);
}

.card-icon.orange {
    background: var(--primary-orange);
}

.content-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.content-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #2c5282 100%);
    padding: 60px 0;
    color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.2s, background 0.2s;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.feature-icon {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.feature-text {
    font-size: 1rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.8);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: #adb5bd;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.footer-column h4::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: #adb5bd;
    font-size: 0.9rem;
    padding-left: 15px;
    position: relative;
    transition: color 0.2s;
}

.footer-column a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.footer-column a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact-item svg {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #3d4f5f;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

/* Responsywność */
@media (max-width: 1000px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .header-right {
        align-items: center;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-form {
        margin: 0 auto;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Slider responsywność */
    .hero-slider,
    .slide,
    .slide-maxx4k {
        height: 400px;
    }

    .hero-kreator {
        display: none;
    }
}

/* Hero Mobile Menu - hidden on desktop */
.hero-mobile-menu {
    display: none !important;
}

@media (max-width: 600px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }

    .top-bar-right {
        flex-wrap: wrap;
        gap: 10px;
    }

    .service-icons {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .header-container {
        height: auto;
        padding: 15px 0;
    }

    .logo img {
        max-height: 80px;
    }

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

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

    /* Hide entire slider on mobile */
    .hero-slider {
        display: none !important;
    }

    /* Show mobile menu section */
    .hero-mobile-menu {
        display: block !important;
        background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
        padding: 25px 0;
    }

    .hero-mobile-menu .container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 18px 24px;
        background: white;
        border-radius: 12px;
        color: var(--dark-blue);
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.2s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border-left: 4px solid transparent;
    }

    .mobile-menu-item:active {
        transform: scale(0.98);
    }

    .mobile-menu-item svg {
        flex-shrink: 0;
        width: 28px;
        height: 28px;
    }

    .mobile-menu-item.blue {
        border-left-color: var(--primary-blue);
    }

    .mobile-menu-item.blue svg {
        color: var(--primary-blue);
    }

    .mobile-menu-item.green {
        border-left-color: var(--primary-green);
    }

    .mobile-menu-item.green svg {
        color: var(--primary-green);
    }

    .mobile-menu-item.orange {
        border-left-color: var(--primary-orange);
    }

    .mobile-menu-item.orange svg {
        color: var(--primary-orange);
    }

    .contact-bar-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .feature-number {
        font-size: 2.2rem;
    }

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

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

    /* Slider mobile */
    .hero-slider,
    .slide,
    .slide-maxx4k {
        height: 320px;
    }
}
