:root {
    --primary-color: #1a365d;
    --secondary-color: #2b4d7a;
    --accent-color: #e9b949;
    --text-color: #333333;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-light: #e2e8f0;
    --dark-blue: #0a2240;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    padding-top: 80px;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--dark-blue);
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-blue);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #d4a53c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 0;
}

.logo h1 span {
    color: var(--accent-color);
    font-weight: 400;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.phone a {
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.phone a:hover {
    background-color: var(--accent-color);
    color: var(--dark-blue);
}

.phone i {
    margin-right: 8px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--dark-blue);
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: var(--white);
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu ul li a.mobile-call {
    background-color: var(--accent-color);
    color: var(--dark-blue);
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
    border: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), 
                url('hero-background.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* 20% przyciemnienia */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    color: var(--accent-color); /* Złoty kolor dla nagłówka */
}

.hero p {
    font-size: clamp(18px, 2.5vw, 20px);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    color: var(--white); /* Biały kolor dla tekstu */
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 0;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 10px 20px;
    border-radius: 5px;
    width: calc(50% - 10px);
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Sectors Section */
.sectors {
    padding: 100px 0;
    background-color: var(--light-color);
}

.sectors h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.sectors h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sector-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.sector-item:hover {
    transform: translateY(-5px);
}

.sector-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 20px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 24px;
}

.footer-logo p {
    color: var(--accent-color);
    opacity: 1;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p {
    color: var(--accent-color);
}

.footer-contact p .fa-map-marker-alt {
    color: var(--accent-color);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom p {
    color: var(--accent-color);
    opacity: 1;
}

/* Fixed Contact Button */
.fixed-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--dark-blue);
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.phone-btn:hover {
    background-color: #d4a53c;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 185, 73, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(233, 185, 73, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 185, 73, 0);
    }
}

/* Responsywność */
@media (max-width: 992px) {
    .about .container {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .feature {
        width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    header {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    nav ul {
        display: none;
    }
    
    .phone {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px;
    }
    
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        width: 100%;
    }
}