:root {
    --primary-color: #e67e22;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #28a745;
    --error-color: #dc3545;
}

* {
    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);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Header */
header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 20px 0;
}

header .container {
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #fff;
}

.logo p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0;
}

.phone-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    background-color: #e74c3c;
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
}

.phone-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #c0392b;
}

.phone-container i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #fff;
}

.phone-number {
    font-weight: bold;
    font-size: 1.3rem;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact-btn {
    white-space: nowrap;
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Navigation */
nav {
    background-color: var(--primary-color);
}

nav .container {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
}

nav li {
    position: relative;
}

nav a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
}

.service-item h3 {
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
}

/* About Intro Section */
.about-intro {
    padding: 60px 0;
}

.about-intro h2 {
    margin-bottom: 20px;
}

.about-intro p {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    padding: 0 20px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

/* CTA Section */
.cta {
    background-image: url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.8);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta p {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Services Details */
.services-details {
    padding: 60px 0;
}

.services-details h2 {
    margin-bottom: 20px;
}

.services-details p {
    margin-bottom: 20px;
}

.check-list {
    margin-bottom: 20px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0;
}

.testimonial-content {
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content .lead {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.5s ease;
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item .overlay h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-item .overlay p {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact .section-header {
    margin-bottom: 40px;
    text-align: center;
}

.contact .section-header h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

@media (min-width: 992px) {
    .contact .row {
        flex-direction: row;
    }
    .contact .col-lg-6 {
        width: 48%;
        flex: 0 0 48%;
        max-width: 48%;
    }
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.form-control, .form-select {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 126, 36, 0.25);
}

.form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d06c1b;
    border-color: #d06c1b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 126, 36, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
}

.privacy-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.privacy-checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
}

.contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info .info-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    width: 100%;
}

.contact-info .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #fcfcfc;
}

.contact-info .info-item:hover i {
    background-color: #d06c1b;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    text-align: left;
}

.info-item p {
    margin-bottom: 5px;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: left;
}

.info-item p small {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.info-item div {
    flex-grow: 1;
    text-align: left;
    padding-left: 5px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 100%;
    margin-bottom: 30px;
}

.footer-logo h3 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-links,
.footer-contact {
    flex: 0 0 calc(50% - 20px);
    margin-bottom: 30px;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Sticky Phone Number */
.sticky-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

@media (max-width: 767px) {
    .sticky-phone {
        display: block;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        margin-bottom: 30px;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact {
        flex: 0 0 100%;
    }
}

@media (max-width: 767px) {
    /* Responsywne style dla sekcji kontaktowej */
    .contact-form {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .contact-info .info-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .contact-info .info-item i {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .contact-info .info-item h4 {
        font-size: 1rem;
    }
    
    .contact-info .info-item p {
        font-size: 0.9rem;
    }
    
    .form-control, .form-select {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .btn.w-100.py-3 {
        padding: 10px 0 !important;
    }
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
        width: 100%;
    }
    
    .phone-container {
        margin-right: 0;
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        width: auto;
        padding: 10px 25px;
    }
    
    .phone-number {
        font-size: 1.3rem;
        font-weight: 700;
    }
    
    .contact-btn {
        padding: 10px 20px;
        font-weight: 600;
    }
    
    nav .container {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .service-item {
        margin-bottom: 30px;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-form {
        margin-bottom: 30px;
    }
}

/* Animation Classes */
.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Error Message Styles */
.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Form Message Styles */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Bootstrap Overrides */
.bg-light {
    background-color: var(--light-color) !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

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

.rounded {
    border-radius: 0.25rem !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.w-100 {
    width: 100% !important;
}

.text-center {
    text-align: center !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-4, .col-md-6, .col-md-8, .col-lg-3, .col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.align-items-center {
    align-items: center !important;
}

.trust-points {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.trust-point {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.trust-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.trust-point i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-point h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.trust-point p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .trust-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .trust-point {
        padding: 1.2rem;
    }
    
    .trust-point h4 {
        font-size: 1.2rem;
    }
    
    .trust-point p {
        font-size: 0.95rem;
    }
}
