/*
Theme Name: Data Broker Removal
Theme URI: https://databrokerremovalservices.com
Author: Data Broker Removal
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive, blog
Text Domain: databroker-removal
*/

/* Global styles */
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #0e2147;
    background-color: #f5f7fa;
    font-size: 16px;
}

a {
    color: #1f235c;
    text-decoration: none;
}

a:hover {
    color: #f68b35;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background-color: #0e2147;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-height: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    font-weight: 500;
}

nav ul li a {
    color: #ffffff;
    text-transform: capitalize;
    font-size: 0.95rem;
}

nav ul li a:hover,
nav ul li.current-menu-item a {
    color: #00aaff;
}

/* Hero section */
.hero {
    padding: 100px 20px 60px;
    text-align: center;
    background: linear-gradient(145deg, #0e2147 0%, #1d3a70 100%);
    color: #ffffff;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #dbe2f0;
    margin-bottom: 40px;
}

/* Stats section beneath hero */
.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: -40px auto 60px;
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.stat-item {
    flex: 1 1 180px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: #0e2147;
    margin-bottom: 4px;
}

.stat-item .label {
    font-size: 0.9rem;
    color: #58657e;
}

/* Comparison cards */
.comparison {
    padding: 40px 20px;
    background-color: #ffffff;
}

.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e0e6f1;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.comparison-card .tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0069ff;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-card h3 {
    margin-top: 40px;
    margin-bottom: 8px;
    font-size: 1.4rem;
    text-align: center;
    color: #0e2147;
}

/* Rating container for comparison cards */
.rating {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}
.rating .stars {
    color: #fbbc05;
    font-size: 1.2rem;
    line-height: 1;
}
.rating .score {
    font-weight: 600;
    font-size: 0.95rem;
    color: #0e2147;
}

.stars {
    color: #fbbc05;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 12px;
}

.comparison-card .features {
    flex-grow: 1;
    margin-top: 8px;
}

.comparison-card .features p {
    /* Remove styling for paragraphs; list items will handle it */
}

/* Feature list styling for comparison cards */
.comparison-card .features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}
.comparison-card .features li {
    margin: 6px 0;
    font-size: 0.95rem;
    color: #42526e;
    padding-left: 22px;
    position: relative;
}
.comparison-card .features li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    color: #0069ff;
    font-size: 1rem;
}

/* Brand logos inside comparison cards */
.brand-logo {
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
}

.cta {
    align-self: center;
    margin-top: 20px;
    padding: 10px 24px;
    background-color: #0069ff;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.cta:hover {
    background-color: #004fa6;
    color: #ffffff;
}

/* Add arrow to CTA buttons */
.cta::after {
    content: '\2192'; /* right arrow */
    margin-left: 6px;
    transition: transform 0.2s ease;
}
.cta:hover::after {
    transform: translateX(4px);
}

.comparison-note {
    text-align: center;
    max-width: 900px;
    margin: 24px auto 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* Full comparison table styles */
.table-section {
    padding-top: 40px;
}
.table-section h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
    color: #0e2147;
}
.table-wrap {
    overflow-x: auto;
}
.comparison-full {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
.comparison-full th,
.comparison-full td {
    border: 1px solid #e0e6f1;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #0e2147;
}
.comparison-full thead th {
    background-color: #f5f7fa;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0e2147;
}
.comparison-full thead th .service-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #58657e;
    margin-top: 4px;
}
.comparison-full thead th.highlight {
    border-top: 4px solid #0069ff;
    background-color: #e7f3ff;
}
.comparison-full tbody th {
    text-align: left;
    background-color: #f5f7fa;
    font-weight: 600;
}
.comparison-full .rating {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}
.comparison-full .rating .stars {
    color: #fbbc05;
    font-size: 1.1rem;
    line-height: 1;
}
.comparison-full .rating .score {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0e2147;
}
.cta-small {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0069ff;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.cta-small:hover {
    background-color: #004fa6;
    color: #ffffff;
}

/* Section layout */
/* Section layout */
.section {
    /* Reduce vertical padding to tighten spacing between sections */
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
    color: #0e2147;
    line-height: 1.3;
}

.section h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 12px;
    color: #0e2147;
}

.section p {
    /* Tighter spacing between paragraphs */
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.section ul {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
    color: #475569;
    padding-left: 0;
    list-style: none;
}

.section li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 24px;
}

.section li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    top: 0;
    color: #0069ff;
    font-size: 1.1rem;
    line-height: 1.1;
}

/* Alternate background colors for sections to improve readability */
.section:nth-of-type(even) {
    background-color: #f9fbfd;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* Callout box used within content to highlight important information */
.callout {
    background-color: #edf2f8;
    border-left: 4px solid #0069ff;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 6px;
    color: #334155;
}
.callout h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #0e2147;
    margin-bottom: 8px;
}

/* About and contact */
.about-details,
    .contact-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border: 1px solid #e0e6f1;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.about-details h2,
.contact-details h2 {
    margin-top: 0;
}

.contact-details address {
    font-style: normal;
    line-height: 1.6;
}

.contact-details .social {
    margin-top: 10px;
}

.contact-details .social a {
    margin-right: 10px;
    color: #1f235c;
    text-decoration: none;
}

.contact-details .social a:hover {
    text-decoration: underline;
}

/* Social links color */
.contact-details .social a {
    color: #0069ff;
    margin-right: 15px;
    font-weight: 500;
}
.contact-details .social a:hover {
    color: #004fa6;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1f235c;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

footer nav ul {
    justify-content: center;
}

footer nav ul li a {
    color: #ffffff;
    font-size: 0.9rem;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

/* Form inputs */
.contact-details input[type="text"],
.contact-details input[type="email"],
.contact-details textarea {
    width: 100%;
    padding: 12px;
    margin-top: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-details textarea {
    resize: vertical;
}

.contact-details input:focus,
.contact-details textarea:focus {
    outline: none;
    border-color: #0069ff;
    box-shadow: 0 0 0 2px rgba(0, 105, 255, 0.2);
}

/*
 * Collapsible Table of Contents styles
 * Styles for the <details> element used in the TOC section.
 * These rules hide the default marker, add a custom icon, and style the summary and list.
 */
.toc details {
    background: #f7f9fc;
    border: 1px solid #e0e5eb;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin: 0 auto 2rem auto;
    max-width: 800px;
}

.toc summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    position: relative;
}

/* Hide default disclosure triangle */
.toc summary::-webkit-details-marker {
    display: none;
}
.toc summary::after {
    content: '+';
    font-size: 1.3rem;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s;
}
.toc details[open] summary::after {
    content: '–';
}

.toc ul {
    margin: 0 0 0.5rem 0;
    padding-left: 1rem;
}
.toc li {
    margin: 0.25rem 0;
}