:root {
    --primary-green: #2d5a27;
    --earth-brown: #4b3621;
    --harvest-yellow: #d4af37;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-light: #ffffff;
    --text-dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    background: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.4), rgba(75, 54, 33, 0.4));
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1000px;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--harvest-yellow);
    margin-bottom: 0.5rem;
}

.location {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 2rem;
    margin-bottom: 2rem;
}

.main-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.current-temp {
    font-size: 5rem;
    font-weight: 500;
}

.current-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.detail-item span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.detail-item strong {
    font-size: 1.2rem;
}

.forecast-section h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.forecast-item {
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.forecast-item:hover {
    transform: translateY(-5px);
}

.forecast-day {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.forecast-icon {
    font-size: 2rem;
    margin: 1rem 0;
}

.forecast-temps {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.max-temp { font-weight: 500; }
.min-temp { opacity: 0.7; }

@media (max-width: 600px) {
    .brand { font-size: 2.5rem; }
    .current-temp { font-size: 4rem; }
    .forecast-grid { grid-template-columns: repeat(2, 1fr); }
}
