/* Hide mobile logo and contact button for desktop version */
@media only screen and (min-width: 769px) {
    .mobile-logo-contact-wrapper {
        display: none;
    }
}

/* Hide original logo and contact button for mobile version */
@media only screen and (max-width: 768px) {
    .navbar .logo,
    .navbar .contact-button {
        display: none;
    }

    /* Center logo and contact button for mobile version */
    .mobile-logo-contact-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
        padding-top: 20px; /* Ensure there is space above the logo */
    }

    .mobile-logo-contact-wrapper .logo {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .mobile-logo-contact-wrapper .contact-button {
        margin-top: 10px;
    }

    /* Hide desktop navigation links */
    .nav-links {
        display: none !important;
    }

    /* Ensure map is below contact details */
    .contact-section {
        display: flex;
        flex-direction: column;
    }

    .contact-details {
        margin-bottom: 20px;
    }

    .contact-map {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
}

/* Ensure services section and general layout is displayed in a single column on mobile */
@media only screen and (max-width: 768px) {
    .single-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 20px;
    }

    .oferta-section,
    .gallery-wrapper,
    .header-content {
        width: 100%;
        margin: 0 auto;
    }
}

/* Fix button text wrapping for call and offer links */
button, .contact-button a, .offer-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

