:root {
    --primary-color: #1a4b6b;
    --secondary-color: #ffd700;
    --accent-color: #2c9ab7;
    --text-color: #2c3e50;
    --background-color: #f0f4f8;
    --white: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --hover-color: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Header Styling */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 6px 12px var(--shadow-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.logo i {
    margin-right: 20px;
    color: var(--secondary-color);
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    color: white;
}

.logo-text h1 {
    font-size: 2.2rem;
    font-weight: bolder;
    margin-bottom: 0.3rem;
}

.logo-text p {
    font-weight: bold;
    font-size: 1.2rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.8rem;
    justify-content: space-between;
    align-items: center;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info .contact-item i {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.contact-info .contact-item span {
    font-weight: 600;
}
.phone-link {
    text-decoration: none;
    color: inherit; /* Zachowanie dziedziczenia koloru tekstu */
    font-weight: bolder;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Price Table and Map Section */
.price-table,
.map-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 12px var(--shadow-color);
}

.price-table h2,
.map-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.price-table th,
.price-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.price-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

.price-table td {
    background-color: #f9f9f9;
    font-weight: bolder;
}

.price-table tr:hover td {
    background-color: var(--hover-color);
}

.map-section iframe {
    width: 100%;
    height: 80%;
    min-height: 220px;
    border: none;
    border-radius: 12px;
}

/* FAQ Section */
.faq-section {
    margin-top: 2rem;
    justify-content: center;
}

.container.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie w poziomie */
    text-align: center; /* Wyśrodkowanie tekstu */
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Styl nagłówka FAQ */
.section-header {
    margin-bottom: 20px;
}

/* Wyśrodkowanie gridu FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
/* Styl dla elementów FAQ */
.faq-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header i {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-right: 1rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    justify-content: center;
}



.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 12px var(--shadow-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.faq-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item-header i {
    color: var(--accent-color);
    font-size: 2rem;
}

.faq-item-header h3 {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    /* Header Modifications */
    .header {
        padding: 1rem 0;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        align-items: center;
    }

    .logo i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .logo-text h1 {
        font-size: 1.8rem;
    }

    .logo-text p {
        font-size: 1rem;
    }

    /* Contact Info */
    .contact-info {
        flex-direction: column;
        gap: 15px;
        font-size: 1.6rem;
        margin-top: 0.4rem;
        align-items: flex-start; /* Wyrównanie do lewej */
    }

    .contact-info .contact-item {
        width: 100%; /* Pełna szerokość */
        text-align: left;
        display: flex;
        flex-direction: column; /* Każdy element w osobnej linii */
        gap: 5px;
    }

    .contact-info .contact-item i {
        display: none; /* Ukrycie ikon */
    }

    .phone-link {
        background-color: var(--accent-color); /* Dodaj akcentowy kolor jako tło */
        color: var(--white); /* Kolor tekstu biały, aby był czytelny */
        padding: 10px 15px; /* Dodanie przestrzeni wewnętrznej wokół numeru */
        border-radius: 8px; /* Zaokrąglenie rogów */
        display: inline-block; /* Umożliwienie lepszego kontrolowania wymiarów */
        text-align: center;
        font-weight: bold; /* Wyróżnienie tekstu */
    }

    /* Main Content Layout */
    .main-content {
        grid-template-columns: 1fr;
    }
    .price-table td{
        font-size: 0.9rem;
    }

    /* FAQ Section */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 15px;
    }
    .section-header i {
        display: none;
    }
}
