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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.3);
}

main {
    padding: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.weather-desc {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 5px;
}

.content-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.content-section h2 {
    color: #333;
    margin-bottom: 15px;
}

.content-section p {
    color: #6c757d;
    line-height: 1.6;
}

.clothing-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.clothing-list li {
    color: #333;
    font-size: 1.1rem;
    padding: 12px 20px;
    margin-bottom: 10px;
    background: white;
    border-left: 4px solid #667eea;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-section h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section ul {
    color: #6c757d;
    line-height: 1.8;
    margin-left: 20px;
}

.content-section ul li {
    margin-bottom: 8px;
}

/* Contact Form Styles */
.contact-form {
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    color: #6c757d;
    margin-bottom: 10px;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.half-width {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quote-header h2 {
    margin-bottom: 0;
    flex-grow: 1;
}

.next-quote-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid #667eea;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.next-quote-btn:hover {
    background: #667eea;
    color: white;
}

#quote-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    padding: 20px 0;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.quote-author {
    text-align: right;
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
}

/* Forecast Sections */
.forecast-section {
    padding: 40px 30px;
    border-top: 1px solid #e0e0e0;
}

.forecast-section h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Daily Forecast Grid */
.forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.daily-card {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.daily-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.daily-card h3 {
    color: #667eea;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.daily-card .weather-icon {
    font-size: 2.5rem;
    margin: 10px 0;
}

.daily-card .temp-range {
    margin: 8px 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.daily-card .temp-range .high {
    color: #d32f2f;
    font-weight: 700;
}

.daily-card .temp-range .low {
    color: #1976d2;
    font-weight: 700;
}

.daily-card .temp-range-celsius {
    font-size: 0.85rem;
    color: #999;
    margin: 3px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.daily-card .precip {
    margin-top: 8px;
    color: #999;
    font-size: 0.85rem;
}

/* Hourly Forecast Grid */
.hourly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.hourly-card {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.hourly-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.15);
}

.hourly-card .hour {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.hourly-card .weather-icon {
    font-size: 2rem;
    margin: 8px 0;
}

.hourly-card .temp {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 5px 0;
}

.hourly-card .temp-celsius {
    font-size: 0.85rem;
    color: #666;
    margin: 3px 0;
}

.hourly-card .precip {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 20px;
    }
    
    .two-column-section {
        grid-template-columns: 1fr;
    }
    
    .forecast-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .daily-card {
        padding: 12px 6px;
    }
    
    .daily-card h3 {
        font-size: 0.9rem;
    }
    
    .daily-card .weather-icon {
        font-size: 2rem;
    }
    
    .daily-card .temp-range {
        font-size: 1rem;
    }
    
    .hourly-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
}
