/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo {
    display: flex;
    align-items: center;
}

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

.logo-img {
    height: 130px;
    width: auto;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 130px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
}

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

.mobile-nav a {
    display: block;
    padding: 1rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: #f5f5f5;
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    margin-top: 116px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

.desktop-cta {
    display: inline-block;
}

.mobile-cta {
    display: none;
}

/* Services Section */
.services {
    padding: 2rem 5%;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #3498db;
    border-radius: 2px;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 2rem 5%;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #3498db;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    width: 100%;
}

.about-text p {
    text-align: justify;
    max-width: 100%;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

/* Realizacje Section */
.realizacje {
    padding: 2rem 5%;
    background-color: #fff;
}

.realizacje h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
}

.realizacje h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #3498db;
    border-radius: 2px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.company-logo {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 5px;
    background-color: #fff;
    padding: 0.5rem;
}

.company-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.company-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 2rem 5%;
    background-color: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #3498db;
    border-radius: 2px;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.phone-link:hover {
    background-color: #f5f9ff;
}

.phone-link:active {
    background-color: #e9f3ff;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.info-icon i {
    font-size: 2rem;
    color: #fff;
}

.info-content {
    text-align: center;
}

.info-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: #666;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid, 
    .companies-grid, 
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .navbar {
        padding: 0.5rem 5%;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-nav {
        top: 60px;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    .desktop-cta {
        display: none;
    }
    
    .mobile-cta {
        display: inline-block;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 2rem 3%;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid, 
    .companies-grid, 
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    .services-grid, 
    .companies-grid, 
    .contact-info,
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .logo-img {
        height: 90px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero {
        margin-top: 86px;
        height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        margin-top: -10px;
    }
    
    /* Ensure mobile CTA is displayed */
    .desktop-cta {
        display: none;
    }
    
    .mobile-cta {
        display: inline-block;
    }
    
    .service-card, 
    .company-card, 
    .info-item {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-icon i {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .navbar {
        padding: 0.1rem 2%;
    }
    
    .logo-img {
        height: 80px;
    }
    
    .mobile-nav {
        top: 80px;
    }
    
    .hero {
        margin-top: 76px;
        height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Ensure mobile CTA is displayed */
    .desktop-cta {
        display: none;
    }
    
    .mobile-cta {
        display: inline-block;
    }
    
    section {
        padding: 1.5rem 2%;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card, 
    .company-card, 
    .info-item {
        padding: 1.2rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .cta-button {
        margin-top: -15px;
    }
} 