/* Ensure body and html have full height */
html, body {
    height: 100%;
}

/* General styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    background-color: #ffffff; /* Change header background to white */
    color: #333; /* Change text color to dark gray */
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo {
    height: 150px;
}

/* Title and subtitle container */
.title-container {
    text-align: center;
    margin: 0 20px;
}

/* Title styles */
.site-title {
    font-size: 1.8em; /* Adjusted the font size to be smaller */
    color: #333; /* Change title color to dark gray */
    margin: 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); /* Optional subtle white text shadow */
}

/* Subtitle styles */
.site-subtitle {
    font-size: 1.5em;
    color: #555; /* Change subtitle color to a medium gray */
    margin-top: 10px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); /* Optional subtle white text shadow */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .site-title {
        font-size: 1.2em; /* Adjusted the responsive font size */
    }

    .site-subtitle {
        font-size: 1.2em;
    }
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: center;
    background-color: #eee; /* Light gray background for nav */
    padding: 10px;
}

nav a {
    color: #333; /* Dark gray text color for nav links */
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

nav a:hover {
    background-color: #ddd; /* Slightly darker gray on hover */
}

/* Grid layout styles */
.business-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #f0f0f0;
    max-width: 1200px;
    margin: 0 auto;
}

.business-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.5s, box-shadow 0.3s;
}

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.business-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.business-item h2 {
    font-size: 18px;
    margin: 15px 0;
    color: #333;
}

.business-item p {
    font-size: 14px;
    color: #666;
}

/* Footer styles */
footer {
    background-color: #444;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

.lang-switch a {
    color: #333; /* Dark gray text color for language switch links */
    text-decoration: none;
    margin: 0 5px;
}

.lang-switch a:hover {
    text-decoration: underline;
}

/* Popup styles */
.popup {
    display: none;  /* Ensure the popup is hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;  /* Ensure the popup is on top of other elements */
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.popup-logo {
    width: 80px;  /* Adjust the logo size for the popup */
    height: auto;
}

.popup-content button {
    width: 100%;
    margin: 5px 0;
    padding: 10px 20px;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        height: 100px;
    }

    .lang-switch {
        margin-top: 10px;
    }

    nav {
        flex-direction: column;
        padding: 5px;
    }

    nav a {
        margin: 5px 0;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    footer p {
        font-size: 14px;
    }

    .popup {
        align-items: center;
        padding-top: 0;
    }

    .popup-content {
        width: 95%;
        margin: auto;
    }

    .business-line {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .business-item h2 {
        font-size: 16px;
    }

    .business-item p {
        font-size: 12px;
    }
}
