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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
}

h1 {
    color: #2E7D32;
    margin-bottom: 10px;
}

.subtitle {
    color: #757575;
    font-style: italic;
}

/* Navigation styling - Improved */
.job-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.job-btn {
    padding: 12px 18px;
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.job-btn:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
    transform: translateY(-2px);
}

.job-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #388E3C;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.job-btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.job-btn:hover:before {
    width: 100%;
}

.job-btn.active:before {
    width: 100%;
    background-color: white;
}

/* Job section display - Fixed */
.job-section {
    /* Remove display:none from here as we'll control this with JavaScript */
    transition: opacity 0.3s ease;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #2E7D32;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E0E0E0;
}

h3 {
    color: #388E3C;
    margin: 15px 0 10px;
}

ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 5px;
}

p {
    margin-bottom: 15px;
}

/* Sample letter styling - common */
.letter {
    background-color: #FAFAFA;
    padding: 25px;
    border: 1px solid #E0E0E0;
    margin-top: 15px;
}

.sender-info {
    margin-bottom: 20px;
}

.date {
    margin-bottom: 20px;
}

.recipient-info {
    margin-bottom: 20px;
}

.salutation {
    margin-bottom: 20px;
}

.body p {
    text-align: justify;
}

.body ul {
    margin: 15px 0 15px 20px;
}

.closing {
    margin-top: 30px;
}

.signature {
    margin-top: 15px;
    font-style: italic;
}

/* Job-specific letter styling */
.gardener-letter {
    border-left: 5px solid #4CAF50;
}

.freight-letter {
    border-left: 5px solid #2196F3;
}

.programmer-letter {
    border-left: 5px solid #9C27B0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.plumber-letter {
    border-left: 5px solid #FF5722;
}

/* Guidelines styling */
.guideline {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #E0E0E0;
}

.guideline:last-child {
    border-bottom: none;
}

.guideline p {
    margin: 10px 0;
}

.guideline strong {
    color: #388E3C;
}

/* Responsive adjustments for navigation */
@media (max-width: 768px) {
    .job-nav {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    
    .job-btn {
        width: 100%;
        margin-bottom: 10px;
        padding: 14px 20px;
        text-align: center;
    }
    
    .job-btn:last-child {
        margin-bottom: 0;
    }
} 