:root {
    --primary-color: #4CAF50;
    --secondary-color: #FFA000;
    --danger-color: #F44336;
    --closed-hours-color: #000000;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --header-color: #2c4155;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: var(--header-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 0.5em;
    padding-left: 1em;
    text-align: left;
}

.header-content h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 2px;
    color: white;
}

.header-content p {
    margin-top: 0.3em;
    font-size: 1.1em;
    opacity: 0.8;
    color: #f6fafb;
}

.image-strip {
    box-sizing: border-box;
    width: 100%;
    height: 350px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 0 2em 0;
}

.image-container {
    width: 100%;
    height: 100%;
    background: url('https://majkowska.github.io/header.jpg') center/cover no-repeat;
    overflow: hidden;
}

/* Apply rounded corners only at full width */
@media (min-width: 1300px) {
    .image-container {
        border-radius: 15px;
    }
}

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1em;
}

#colorStatus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.status-wrapper {
    position: relative;
}

.status {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 150px; 
    overflow: hidden;
    transition: height 0.3s ease;
}

.status.open {
    border-top: 5px solid var(--primary-color);
}

.status.restricted {
    border-top: 5px solid var(--secondary-color);
}

.status.closed {
    border-top: 5px solid var(--danger-color);
}

.status.closed-hours {
    border-top: 5px solid var(--closed-hours-color);
}

.status.expanded {
    height: auto;
    max-height: 400px;
    overflow-y: auto;
}

.status-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.status-div-name {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    display: block;
}

.status-div-value {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9em;
}

.status-div-value.open {
    color: var(--primary-color);
}

.status-div-value.restricted {
    color: var(--secondary-color);
}

.status-div-value.closed {
    color: var(--danger-color);
}

.status-div-value.closed-hours {
    color: var(--closed-hours-color);
}

.hours {
    display: none;
    padding: 0.5em;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    margin-top: 0.5em;
}

.hours p {
    margin: 0.3em 0;
    font-size: 0.9em;
    color: #555;
}

.toggle {
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.5em;
    display: inline-block;
    text-decoration: underline;
}

.hours-container {
    font-size: 0.9em;
    border-top: 1px solid #eee;
    padding-top: 1em;
    margin-top: 1em;
}

.today-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-hours {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.toggle-hours.active .toggle-icon {
    transform: rotate(180deg);
}

.all-hours {
    display: none;
    padding-top: 0.5em;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3em 0;
}

.day {
    font-weight: bold;
    color: #555;
}

.time {
    color: #777;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .header-content h1 {
        font-size: 2em;
    }

    #colorStatus {
        grid-template-columns: 1fr;
    }
}