/* Styl dla ETIM */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    scroll-behavior: smooth;
}

/* Header */
header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 95px;
    width: auto;
}

nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #0D4561;
}

.nav-buttons {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary-nav,
.btn-outline-nav {
    padding: 0.5rem 1.25rem;
    border-radius: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-nav {
    background: #0D4561;
    color: white;
    box-shadow: 0 2px 8px rgba(13, 69, 97, 0.2);
}

.btn-primary-nav:hover {
    background: #0A3A50;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 69, 97, 0.3);
}

.btn-outline-nav {
    background: white;
    color: #0D4561;
    border: 2px solid #0D4561;
    box-shadow: 0 2px 6px rgba(13, 69, 97, 0.15);
}

.btn-outline-nav:hover {
    background: #0D4561;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13, 69, 97, 0.25);
}

.btn-outline-nav svg {
    width: 16px;
    height: 16px;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.5rem;
    transition: color 0.2s;
}

.email-link:hover {
    color: #0D4561;
}

.email-link svg {
    width: 16px;
    height: 16px;
}

/* Menu Mobilne */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #374151;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a,
.mobile-menu button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
    color: #0D4561;
    background: #f9fafb;
}

/* Tailwind */
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 1280px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 4rem; }
.gap-6 { gap: 1.5rem; }
.gap-12 { gap: 3rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Sekcja Glowna */
#hero {
    position: relative;
    background: linear-gradient(to bottom right, #f9fafb, white);
    padding: 5rem 0;
}

#hero .max-w-7xl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.3;
    color: #111827;
}

#hero h1 .highlight {
    color: #0D4561;
    display: block;
}

#hero h1 .gradient-text {
    background: linear-gradient(90deg, #0B3D57 0%, #1A7FBD 50%, #4FB3E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    display: block;
}

#hero p {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
}

#hero .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#hero .feature-item svg {
    color: #10b981;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

#hero .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#hero .hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #0D4561;
    color: white;
    box-shadow: 0 4px 10px rgba(13, 69, 97, 0.3);
}

.btn-primary:hover {
    background: #0A3A50;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 69, 97, 0.4);
}

.btn-outline {
    background: white;
    color: #0D4561;
    border: 2px solid #0D4561;
    box-shadow: 0 2px 8px rgba(13, 69, 97, 0.2);
}

.btn-outline:hover {
    background: #0D4561;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 69, 97, 0.3);
}

/* Sekcja uslug */
.services-section {
    padding: 3rem 0;
    background: url('img/tlo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-section .section-header h2,
.services-section .section-header p {
    color: white;
}

.services-section .section-header .highlight {
 color: #bfdbfe;
}

.gradient-text {
    background: linear-gradient(90deg, #0B3D57 0%, #1A7FBD 50%, #4FB3E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    display: block;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-section h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.services-section .section-header p {
    font-size: 1.25rem;
    color: white;
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
    border: 0;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
}

.service-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 9999px;
    background: rgba(13, 69, 97, 0.1);
    color: #0D4561;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

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

.service-card:hover .service-icon {
    background: #0D4561;
    color: white;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: #0D4561;
}

.service-card p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Sekcja Czemu ETIM? */
.why-choose-section {
    padding: 2rem 0;
    background: white;
}

.services-cta {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.services-cta img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.services-cta h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #111827;
}

.services-cta p {
	font-size: 1.1rem;
    color: #4b5563;
    max-width: 55rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* Sekcja Kontakt */
#contact {
    padding: 3rem 0;
    background: white;
}

#contact .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

#contact h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #111827;
}

#contact h2 .highlight {
    color: #0D4561;
}

#contact .section-header p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

#contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

#contact .contact-info img {
    width: 100%;
    height: 356px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

#contact .contact-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #111827;
}

#contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#contact .contact-icon {
    padding: 0.75rem;
    background: rgba(13, 69, 97, 0.1);
    border-radius: 9999px;
    color: #0D4561;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

#contact .contact-item div p:first-child {
    font-weight: 500;
    color: #111827;
}

#contact .contact-item div p:last-child {
    color: #4b5563;
}

#contact .contact-form {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#contact .contact-form h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #111827;
}

#contact .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#contact label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
}

#contact input,
#contact select,
#contact textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: transparent;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
    outline: none;
    border-color: #0D4561;
    box-shadow: 0 0 0 3px rgba(13, 69, 97, 0.1);
}

#contact textarea {
    resize: vertical;
}

#contact button[type="submit"] {
    width: 100%;
}

#contact img[alt="Kod captcha"] {
    display: block;
}

#contact button[type="button"] {
    white-space: nowrap;
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: #0D4561;
    color: white;
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-header {
    background: linear-gradient(135deg, #0D4561 0%, #0A3A50 100%);
    color: white;
    padding: 2.5rem 2rem 2rem;
    border-radius: 1rem 1rem 0 0;
    text-align: center;
}

.modal-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.modal-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.modal-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin: 0;
}

.modal-body {
    padding: 2rem;
}

.modal-body #modal-description {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-body #modal-description p {
    margin-bottom: 1rem;
}

.modal-body h3 {
    color: #0D4561;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.modal-body ul {
    list-style: none;
    padding: 0;
}

.modal-body ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.modal-body ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    text-align: center;
}

.modal-cta p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.modal-cta .btn {
    display: inline-flex;
}

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

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

/* Kursor */
.service-card {
    cursor: pointer;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 69, 97, 0.98);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.5s ease;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text p {
    margin: 0;
    line-height: 1.6;
}

.cookie-text p:first-child {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-text p:last-child {
    font-size: 0.875rem;
    color: #bfdbfe;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-link {
    color: #bfdbfe;
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.cookie-link:hover {
    color: white;
}

.cookie-btn {
    background: white;
    color: #0D4561;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #f0f9ff;
    transform: scale(1.05);
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Stopka */
footer {
    background: #0D4561;
    color: white;
    padding: 4rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #bfdbfe;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #bfdbfe;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
}

footer h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a,
footer ul li button {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    padding: 0;
}

footer ul li a:hover,
footer ul li button:hover {
    color: white;
}

.footer-cta {
   
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.footer-cta p {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #0D4561;
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #1A7FBD;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(13, 69, 97, 0.3);
}

.social-icons a svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    border-top: 1px solid white;
    padding-top: 2rem;
    text-align: right;
}

.footer-bottom p {
    color: #bfdbfe;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsywność */
@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    nav {
        display: flex !important;
    }

    .nav-buttons {
        display: flex !important;
    }

    #hero .max-w-7xl {
        grid-template-columns: 1fr 1fr;
    }

    #hero h1 {
        font-size: 3.75rem;
    }

    #hero .hero-image img {
        height: 500px;
        object-position: center 20%;
    }

    #contact .form-row {
        grid-template-columns: 1fr 1fr;
    }

    #contact .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-cta img {
        height: 256px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 640px) {
    .px-4 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .px-4 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .py-20 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}