
/* 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;
}

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

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

.nav-logo h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #E3867D;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #CEE6F2 0%, #E3867D 100%);
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    color: #962E2A;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
}

.cta-button {
    background: #962E2A;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(150, 46, 42, 0.3);
}

.cta-button:hover {
    background: #7a2420;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(150, 46, 42, 0.4);
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.calculator-section h2 {
    text-align: center;
    color: #962E2A;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.calculator-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #962E2A;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #CEE6F2;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #E3867D;
}

.calc-button {
    width: 100%;
    background: #962E2A;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-button:hover {
    background: #7a2420;
    transform: translateY(-2px);
}

.result-container {
    margin-top: 2rem;
    padding: 2rem;
    background: #CEE6F2;
    border-radius: 10px;
}

.result-container h3 {
    color: #962E2A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E3867D;
}

.result-label {
    font-weight: bold;
    color: #333;
}

.result-value {
    color: #962E2A;
    font-weight: bold;
}

/* Article Section */
.article-section {
    padding: 80px 0;
}

.main-article {
    max-width: 800px;
    margin: 0 auto;
}

.main-article header h2 {
    color: #962E2A;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.article-content h3 {
    color: #962E2A;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.article-content a {
    color: #962E2A;
    text-decoration: none;
    border-bottom: 1px solid #E3867D;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #7a2420;
    border-bottom-color: #962E2A;
}

blockquote {
    background: #CEE6F2;
    padding: 1.5rem;
    border-left: 5px solid #962E2A;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.info-table th {
    background: #962E2A;
    color: white;
    font-weight: bold;
}

.info-table tr:nth-child(even) {
    background: #f8f9fa;
}

.highlight-box {
    background: #E3867D;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.highlight-box h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.highlight-box ul {
    list-style-position: inside;
}

.highlight-box li {
    margin-bottom: 0.5rem;
}

.sources {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.sources h4 {
    color: #962E2A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sources ol {
    padding-left: 1.5rem;
}

.sources li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #962E2A;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #CEE6F2;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #CEE6F2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E3867D;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #962E2A;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #7a2420;
}

/* GDPR Notice */
.gdpr-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #333;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 300px;
    font-size: 0.9rem;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gdpr-notice a {
    color: #CEE6F2;
    text-decoration: none;
}

.gdpr-notice button {
    background: #962E2A;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 0.9rem;
}

.gdpr-notice button:hover {
    background: #7a2420;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #962E2A;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .calculator-container {
        padding: 2rem 1rem;
    }
    
    .main-article header h2 {
        font-size: 2rem;
    }
    
    .article-content h3 {
        font-size: 1.5rem;
    }
    
    .info-table {
        font-size: 0.9rem;
    }
    
    .gdpr-notice {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .calculator-section,
    .article-section {
        padding: 60px 0;
    }
    
    .calculator-section h2 {
        font-size: 2rem;
    }
    
    .result-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}
