:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --background-color: #f8f9fa;
    --text-color: #333;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.calculator-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #388E3C;
    border-color: #388E3C;
}

.macro-slider {
    width: 100%;
}

.results-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.results-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.macro-chart-container {
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-container {
        padding: 1rem;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
