/* Mobile-first responsive design with soft pastel colors */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Verdana", "Arial", "Trebuchet MS", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    background: #fef7f0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #e8dcc6 0%, #f0e6d6 100%);
    min-height: 175px;
    position: relative;
    padding: 20px 0;
    box-shadow: 0 2px 12px rgba(212, 165, 116, 0.15);
}

.language-switcher {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.language-switcher a {
    display: inline-block;
    background: #d4b5a0;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    margin-right: 8px;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 181, 160, 0.3);
}

.language-switcher a:hover {
    background: #c19a7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 181, 160, 0.4);
}

.language-switcher img {
    width: 16px;
    height: 12px;
    margin-right: 4px;
    vertical-align: middle;
}

.site-title {
    text-align: center;
    padding-top: 60px;
}

.site-title h1 {
    font-size: 24px;
    color: #8b5a3c;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(139, 90, 60, 0.1);
}

.site-title h2 {
    font-size: 16px;
    color: #a0785d;
    font-weight: normal;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: #f0e6d6;
    border: none;
    padding: 12px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-weight: bold;
    color: #7c9885;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(124, 152, 133, 0.1);
}

.nav-toggle:hover {
    background: #e8dcc6;
    transform: translateY(-1px);
}

.main-nav {
    background: linear-gradient(135deg, #faf7f2 0%, #f0e6d6 100%);
    min-height: 500px;
    box-shadow: 0 2px 12px rgba(212, 165, 116, 0.1);
}

.nav-container {
    display: flex;
    gap: 0;
}

.sidebar {
    width: 250px;
    background: transparent;
    padding: 20px 0 20px 30px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-bottom: 4px;
}

.nav-menu a {
    display: block;
    padding: 12px 18px;
    background: #f0e6d6;
    color: #7c9885;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(124, 152, 133, 0.1);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #d4a574;
    background: linear-gradient(135deg, #e8dcc6 0%, #f0e6d6 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

/* Main content */
.main-content {
    flex: 1;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fef7f0 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.1);
    margin: 20px;
}

.main-content h1 {
    font-size: 28px;
    color: #8b5a3c;
    margin-bottom: 24px;
    text-shadow: 0 1px 3px rgba(139, 90, 60, 0.1);
}

.main-content h2 {
    font-size: 20px;
    color: #7c9885;
    margin: 24px 0 16px 0;
    text-shadow: 0 1px 2px rgba(124, 152, 133, 0.1);
}

.main-content h3 {
    font-size: 18px;
    color: #a0785d;
    margin: 20px 0 12px 0;
}

.main-content ul {
    margin: 16px 0 24px 0;
    padding-left: 0;
    list-style: none;
}

.main-content li {
    margin-bottom: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #faf7f2 0%, #f0e6d6 100%);
    border-radius: 8px;
    border-left: 4px solid #d4a574;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 40px;
}

.main-content li:before {
    content: "✓";
    color: #7c9885;
    font-weight: bold;
    position: absolute;
    left: 16px;
    top: 12px;
}

.main-content li:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.15);
}

.main-content a {
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.main-content a:hover {
    color: #c19a7e;
    text-decoration: underline;
}

.main-content p {
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #e8dcc6 0%, #d4b5a0 100%);
    color: #8b7355;
    min-height: 58px;
    padding: 20px 40px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #c19a7e;
    box-shadow: 0 -2px 12px rgba(212, 165, 116, 0.1);
}

.footer a {
    color: #7c9885;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #6b8574;
    text-decoration: underline;
}

/* Pregnancy Calendar */
.calendar-container {
    max-width: 800px;
    margin: 20px auto;
}

.week-selector {
    margin-bottom: 24px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #faf7f2 0%, #f0e6d6 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(212, 165, 116, 0.1);
}

.week-selector label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    color: #8b5a3c;
}

.week-selector select {
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e8dcc6;
    border-radius: 8px;
    background: white;
    color: #6b7280;
    transition: all 0.3s ease;
    min-width: 200px;
}

.week-selector select:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.week-info {
    background: linear-gradient(135deg, #faf7f2 0%, #f0e6d6 100%);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #e8dcc6;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.15);
}

.week-info h3 {
    color: #7c9885;
    margin-bottom: 20px;
    font-size: 22px;
}

.week-info h4 {
    color: #8b5a3c;
    margin: 16px 0 8px 0;
    font-size: 16px;
}

/* CMS Admin Styles */
.admin-panel {
    background: linear-gradient(135deg, #faf7f2 0%, #f0e6d6 100%);
    padding: 24px;
    margin: 24px 0;
    border-radius: 16px;
    border: 1px solid #e8dcc6;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.15);
}

.admin-translation-item {
    margin-bottom: 20px;
    border: 1px solid #e8dcc6;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fef7f0 100%);
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.1);
}

.admin-form {
    max-width: 600px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8dcc6;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #6b7280;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    background: linear-gradient(135deg, #7c9885 0%, #6b8574 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(124, 152, 133, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #6b8574 0%, #5a7263 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 152, 133, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #d4a574 0%, #c19a7e 100%);
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #c19a7e 0%, #b08968 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.4);
}

/* Contact page styles */
.contact-info {
    background: linear-gradient(135deg, #faf7f2 0%, #f0e6d6 100%);
    padding: 24px;
    border-radius: 16px;
    margin: 20px 0;
    border: 1px solid #e8dcc6;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.15);
}

.contact-info h3 {
    color: #7c9885;
    margin-bottom: 12px;
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        min-height: 140px;
    }
    
    .site-title {
        padding-top: 40px;
    }
    
    .site-title h1 {
        font-size: 20px;
    }
    
    .site-title h2 {
        font-size: 14px;
    }
    
    .language-switcher {
        position: static;
        text-align: center;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .main-content {
        padding: 20px;
        margin: 10px;
        border-radius: 12px;
    }
    
    .main-content h1 {
        font-size: 24px;
    }
    
    .main-content h2 {
        font-size: 18px;
    }
    
    .footer {
        padding: 20px 15px;
        font-size: 11px;
    }
    
    .week-selector {
        padding: 16px;
    }
    
    .week-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .site-title h1 {
        font-size: 18px;
    }
    
    .site-title h2 {
        font-size: 12px;
    }
    
    .main-content {
        padding: 16px;
        margin: 8px;
    }
    
    .main-content h1 {
        font-size: 20px;
    }
    
    .main-content h2 {
        font-size: 16px;
    }
    
    .language-switcher a {
        padding: 4px 8px;
        font-size: 11px;
        margin-right: 4px;
    }
    
    .nav-menu a {
        padding: 10px 14px;
    }
    
    .week-selector {
        padding: 12px;
    }
    
    .week-info {
        padding: 16px;
    }
    
    .admin-panel {
        padding: 16px;
        margin: 16px 0;
    }
}