/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header and Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Calculator Card */
.calculator-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: #333;
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.calculator-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.calculate-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.result-display {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

.result-date {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.result-details {
    color: #666;
    font-size: 1.1rem;
}

/* Article Content */
.article-content {
    padding: 60px 0;
    background: #fff;
}

.article-content article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 300;
}

.article-content h3 {
    color: #34495e;
    margin: 40px 0 20px 0;
    font-size: 1.8rem;
    font-weight: 400;
}

.article-content h4 {
    color: #34495e;
    margin: 30px 0 15px 0;
    font-size: 1.4rem;
}

.article-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #3498db;
}

.article-content p {
    margin-bottom: 20px;
    color: #444;
}

.article-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.article-content a:hover {
    border-bottom: 1px solid #3498db;
}

.highlight-quote {
    background: #ecf0f1;
    border-left: 5px solid #e74c3c;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #2c3e50;
}

.highlight-box {
    background: #e8f5e8;
    border: 1px solid #27ae60;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: #27ae60;
    margin-bottom: 15px;
}

.info-table {
    margin: 30px 0;
    overflow-x: auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.info-table th {
    background: #34495e;
    color: white;
    font-weight: 600;
}

.info-table tr:hover {
    background: #f8f9fa;
}

.styled-list {
    margin: 20px 0;
    padding-left: 0;
}

.styled-list li {
    list-style: none;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.styled-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.article-conclusion {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 5px solid #3498db;
}

.sources {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.sources h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.sources ol {
    padding-left: 20px;
}

.sources li {
    margin-bottom: 10px;
    color: #666;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px 0;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3498db;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

.back-to-top.show {
    display: block;
}

/* GDPR Banner */
.gdpr-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1001;
    display: none;
}

.gdpr-banner.show {
    display: block;
}

.gdpr-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.gdpr-buttons {
    display: flex;
    gap: 10px;
}

.gdpr-accept,
.gdpr-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.gdpr-accept {
    background: #27ae60;
    color: white;
}

.gdpr-accept:hover {
    background: #229954;
}

.gdpr-decline {
    background: #95a5a6;
    color: white;
}

.gdpr-decline:hover {
    background: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .calculator-card {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .article-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gdpr-banner {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .calculator-card {
        padding: 20px 15px;
    }
    
    .result-date {
        font-size: 1.5rem;
    }
    
    .info-table {
        font-size: 14px;
    }
    
    .info-table th,
    .info-table td {
        padding: 10px 8px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .gdpr-banner {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        background: none;
        color: #333;
    }
    
    .calculator-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}