/* === HEADER === */
.main-header {
    background: #E04B18;
    color: #fff;
    padding: 32px 0 16px 0;
    margin-bottom: 0;
}
.main-header .container {
    display: flex;
    align-items: center;
}
.bbq-logo {
    height: 220px;
    width: auto;
    margin-right: 48px;
    background: none;
    border-radius: 12px;
    box-shadow: none;
}
.main-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.subtitle {
    font-size: 1.1rem;
    color: #FF7F2E;
    margin-bottom: 0;
}

/* === MAIN CONTENT === */
.main-content {
    background: #FF8C6B;
    min-height: 80vh;
    padding: 32px 0 0 0;
    flex: 1 0 auto;
}

/* === TODAY CARD === */
.today-weather-card {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 12px 32px 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(224,75,24,0.10);
    border: none;
    border-top: 3px solid #FF7F2E;
    margin-bottom: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.today-weather-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #232323;
}
.today-weather-card .bbq-status {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 18px 0 18px 0;
    color: #4CAF50;
}
.today-weather-card.bbq-maybe .bbq-status {
    color: #FFA500;
}
.today-weather-card.bbq-no .bbq-status {
    color: #f44336;
}
.today-weather-card .icon-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 24px 0 0 0;
    align-items: flex-end;
}
.today-weather-card .icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.1rem;
    color: #232323;
}
.today-weather-card .icon-block i {
    font-size: 1.7rem;
    margin-bottom: 4px;
    color: #232323;
}
.today-weather-card .icon-block .icon-label {
    font-size: 1rem;
    color: #888;
    margin-top: 2px;
}
.today-weather-card .icon-block .icon-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #232323;
}
.today-weather-card .icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    line-height: 1;
    height: 1.7rem;
    width: 1.7rem;
    margin-bottom: 10px;
    visibility: hidden;
}

.today-watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.08;
    font-size: 0;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    margin: 0;
    line-height: 0;
}
.today-watermark .bbq-grill {
    width: 110px;
    height: 110px;
    display: block;
    fill: #232323;
}

/* === FORECAST CARDS === */
.forecast-container {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 0;
    margin-bottom: 32px;
    flex-wrap: wrap;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.forecast-card {
    background: #fff;
    border-radius: 14px;
    border: none;
    border-top: 2px solid #FF7F2E;
    box-shadow: 0 2px 10px rgba(224,75,24,0.07);
    padding: 18px 12px 14px 12px;
    text-align: center;
    min-width: 150px;
    max-width: 180px;
    flex: 1 1 150px;
    margin-bottom: 0;
}
.forecast-date {
    font-size: 1.05rem;
    color: #232323;
    font-weight: 500;
    margin-bottom: 8px;
}
.forecast-status {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 8px 0 8px 0;
    color: #4CAF50;
}
.forecast-card.bbq-maybe .forecast-status {
    color: #FFA500;
}
.forecast-card.bbq-no .forecast-status {
    color: #f44336;
}
.forecast-score, .forecast-temp {
    font-size: 1.1rem;
    color: #232323;
    font-weight: 700;
    display: inline-block;
    margin: 0 6px;
}
.forecast-label {
    font-size: 0.95rem;
    color: #888;
    font-weight: 400;
    display: block;
    margin-top: 0px;
}

@media (min-width: 900px) {
    .forecast-card {
        min-width: 0;
        max-width: none;
        flex: 1 1 0;
        width: 25%;
    }
}

/* === FOOTER === */
.main-footer {
    background: #E04B18;
    color: #fff;
    padding: 38px 0 30px 0;
    font-size: 1.1rem;
    margin-top: 0;
    flex-shrink: 0;
}
.main-footer a {
    color: #FF7F2E;
    text-decoration: none;
    margin: 0 6px;
    font-weight: 500;
}
.main-footer a:hover {
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .today-weather-card {
        padding: 24px 8px 18px 8px;
    }
    .forecast-container {
        gap: 10px;
    }
}

/* iPhone and smaller devices */
@media screen and (max-width: 600px), 
       screen and (max-device-width: 600px) {
    .forecast-container {
        flex-direction: column;
        align-items: center;
    }
    .forecast-card {
        min-width: 90vw;
        max-width: 98vw;
        margin-bottom: 12px;
    }
    .bbq-logo {
        height: 220px !important;
        margin-right: 20px;
    }
    .main-header h1 {
        font-size: 1.8rem;
    }
    .weather-location h1.h2 {
        font-size: 1.5rem;
    }
}

html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #FFF3ED;
}

.main-header .container,
.main-content > .container,
.forecast-container,
.today-weather-card {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    box-sizing: border-box;
} 