/* Custom styles for the application */

body {
    font-family: "Faustina", serif;
    line-height: 1.6;
    color: #000000;
    background-color: #e0e0db;
}

img {
    max-width: 100%;
}

.logo {
    margin-top: 20px;
    width: 250px;
}

.cennik-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 25px;
    color: #000000;
    text-align: center;
}

/* Kontakt Section Specific Styles */
.kontakt-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.kontakt-left {
    flex: 1;
}

.kontakt-right {
    flex: 1;
}

.kontakt-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 25px;
    color: #000000;
}

.kontakt-info {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
}

.kontakt-info p {
    margin-bottom: 15px;
}

.kontakt-info strong {
    font-weight: bold;
}

.kontakt-map {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 5px;
}

/* Footer Styles */
.footer {
    background-color: #2a2829;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: white;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-column p {
    color: white;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

.footer-column a:hover {
    color: #ccc;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: #666;
}

.footer-logo {
    max-width: 120px;
    height: auto;
}

/* Navigation Styles */
.navigation-container {
    margin-top: 30px;
    margin-bottom: 40px;
}

.desktop-menu {
    text-align: center;
}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.desktop-menu li {
    display: inline-block;
}

.desktop-menu a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

.desktop-menu a:hover {
    color: #666666;
    text-decoration: none;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    text-align: center;
    width: 100%;
}

.mobile-menu {
    display: none;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    color: #000000;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
}

.mobile-menu a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

/* Section Styles */
.hero-section {
    background-image: url('img/areal-zdravia-fly.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #000000;
    font-size: 2.5em;
}

.section-content {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}

/* O nás Section Specific Styles */
.o-nas-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.o-nas-left {
    flex: 1;
}

.o-nas-right {
    flex: 1;
}

.o-nas-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 25px;
    color: #000000;
}

.o-nas-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.o-nas-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.o-nas-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.contact-button {
    background-color: #243551;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.contact-button:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

.o-nas-image {
    width: 100%;
    height: auto;
}

/* Cenník Section Specific Styles */
.cennik-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.cennik-left {
    flex: 1;
}

.cennik-right {
    flex: 1;
}

.cennik-image {
    width: 100%;
    height: auto;
}

.cennik-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 25px;
    color: #000000;
    text-align: center;
}

/* Gallery Styles */
#galeria {
    padding: 0 20px;
}
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    margin-left: -10px;
    margin-right: -10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 10px;
    margin-bottom: 20px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item.vertical {
    max-width: 200px;
}

.gallery-item.horizontal {
    max-width: 300px;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: #ccc;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-prev {
    left: -60px;
}

.modal-next {
    right: -60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo {
        width: 200px;
    }
    
    .section h2 {
        font-size: 2em;
    }
    
    .navigation-container {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.4em;
    }
    
    .hero-description {
        font-size: 1em;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .o-nas-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .o-nas-title {
        font-size: 1.5em;
    }

    .o-nas-right {
        display: none;
    }
    
    .o-nas-list li {
        text-align: left;
    }
    #o-nas {
        margin: 0;
        padding-top: 0;
    }

        
    #galeria {
        padding: 0;
    }
    
    .gallery-grid {
        margin-left: -5px;
        margin-right: -5px;
        margin-top: 0;
    }
    
    .gallery-item {
        margin: 5px;
        margin-bottom: 15px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .gallery-item.vertical {
        max-width: 150px;
    }
    
    .gallery-item.horizontal {
        max-width: 100%;
    }

    #cennik {
        padding: 0;
        margin: 0;
    }
    
    .cennik-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .cennik-left {
        display: none;
    }
    
    .cennik-title {
        font-size: 2em;
    }
    
    .kontakt-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .kontakt-title {
        font-size: 2em;
    }
    
    .kontakt-map {
        height: 300px;
    }

    .kontakt-right {
        width: 100%;
    }

    #kontakt {
        padding-bottom: 0;
        margin-bottom: 0;
    }   
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-column {
        min-width: auto;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .modal-nav {
        font-size: 18px;
        padding: 8px 12px;
    }
    
    .modal-prev {
        left: -50px;
    }
    
    .modal-next {
        right: -50px;
    }
}