:root {
    --primary: #000000; /* Nobilia uses black as primary color */
    --secondary: #333333; /* Dark gray for secondary elements */
    --accent: #c8a45e; /* Gold accent color from Nobilia */
    --light: #f5f5f5;
    --dark: #333333;
    --text: #333333;
    --background: #ffffff;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Nobilia uses a clean sans-serif font */
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

header {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo-container img {
    max-width: 200px;
    height: auto;
}

nav {
    background-color: var(--secondary);
    padding: 0.5rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--accent);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    background-color: var(--primary);
    color: white;
    padding: 4rem 2rem;
    border-radius: 0;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: var(--accent);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #b08d4a;
}

section {
    margin-bottom: 4rem;
}

h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

h3 {
    color: var(--secondary);
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
}

.key-findings {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.finding {
    flex: 1;
    min-width: 300px;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 1.5rem;
    border-radius: 0;
    position: relative;
}

.finding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent);
}

.finding h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.nav-card {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 1.5rem;
    border-radius: 0;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--accent);
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.nav-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Enhanced list styling */
ul, ol {
    margin-left: 0;
    margin-bottom: 1.5rem;
    list-style-position: outside;
    padding-left: 1.2rem;
}

ul {
    list-style-type: none;
}

ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

ol li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

/* Feature list styling */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-list li {
    background-color: #f9f9f9;
    padding: 1rem;
    border-left: 3px solid var(--accent);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Page-specific styles */
.page-title {
    background-color: var(--primary);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: var(--accent);
}

.page-title h2 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.page-title h2::after {
    display: none;
}

.content-section {
    background-color: white;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.nav-button {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-button:hover {
    background-color: var(--primary);
}

/* Comparison Matrix Styling */
.comparison-matrix {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.comparison-matrix th,
.comparison-matrix td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #eee;
}

.comparison-matrix th {
    background-color: var(--primary);
    color: white;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.comparison-matrix tr:nth-child(even) {
    background-color: #f9f9f9;
}

.comparison-matrix tr:hover {
    background-color: #f5f5f5;
}

.comparison-matrix td:first-child {
    font-weight: 500;
    background-color: #f5f5f5;
    border-right: 2px solid var(--accent);
}

.comparison-matrix .highlight {
    background-color: rgba(200, 164, 94, 0.1);
    border-left: 3px solid var(--accent);
}

/* Rating indicators */
.rating {
    display: flex;
    align-items: center;
}

.rating-dots {
    display: flex;
    margin-right: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 3px;
    background-color: #ddd;
}

.dot.filled {
    background-color: var(--accent);
}

/* Pros and Cons styling */
.pros-cons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pros-box, .cons-box {
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pros-box {
    background-color: rgba(76, 175, 80, 0.05);
    border-left: 4px solid #4CAF50;
}

.cons-box {
    background-color: rgba(244, 67, 54, 0.05);
    border-left: 4px solid #F44336;
}

.pros-box h4, .cons-box h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pros-box h4::before {
    content: '✓';
    display: inline-block;
    margin-right: 0.5rem;
    color: #4CAF50;
    font-weight: bold;
}

.cons-box h4::before {
    content: '✗';
    display: inline-block;
    margin-right: 0.5rem;
    color: #F44336;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .key-findings {
        flex-direction: column;
    }
    
    .finding {
        margin-bottom: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .pros-cons-container {
        grid-template-columns: 1fr;
    }
    
    .comparison-matrix {
        font-size: 0.9rem;
    }
    
    .comparison-matrix th,
    .comparison-matrix td {
        padding: 0.7rem;
    }
    
    /* Make tables scrollable on mobile */
    .table-container {
        overflow-x: auto;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}
