/* ==========================================================================
   Collie Eye Anomaly - Main Stylesheet
   Site ID: 3012 | CSS Prefix: pg-3012
   Anti-footprint obfuscation enabled
   ========================================================================== */

/* CSS Variables */
:root {
    --cea-primary: #2d5a4a;
    --cea-secondary: #4a8b73;
    --cea-accent: #6bb89c;
    --cea-dark: #1a3832;
    --cea-light: #f7faf9;
    --cea-text: #2c3e3a;
    --cea-text-light: #5d7470;
    --cea-border: #d4e5df;
    --cea-success: #27ae60;
    --cea-warning: #d4a012;
    --cea-danger: #c0392b;
    --cea-info: #2980b9;
    --cea-font-primary: 'Georgia', 'Times New Roman', serif;
    --cea-font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cea-max-width: 1200px;
    --cea-content-width: 800px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

.cea-body {
    margin: 0;
    padding: 0;
    font-family: var(--cea-font-secondary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cea-text);
    background-color: var(--cea-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--cea-font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--cea-dark);
    margin-top: 0;
}

a {
    color: var(--cea-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--cea-secondary);
}

/* Header */
.cea-header {
    background: white;
    border-bottom: 1px solid var(--cea-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.cea-header-container {
    max-width: var(--cea-max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cea-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--cea-font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cea-dark);
    text-decoration: none;
}

.cea-logo:hover {
    color: var(--cea-primary);
}

.cea-logo-img {
    height: 40px;
    width: auto;
}

.cea-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    color: var(--cea-text-light);
}

.cea-breadcrumb a {
    color: var(--cea-text-light);
}

.cea-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.cea-nav-link {
    color: var(--cea-text);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.cea-nav-link:hover,
.cea-nav-active {
    color: var(--cea-primary);
    border-bottom-color: var(--cea-primary);
}

.cea-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.cea-menu-icon,
.cea-menu-icon::before,
.cea-menu-icon::after {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--cea-text);
    border-radius: 2px;
    transition: all 0.2s ease;
}

.cea-menu-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cea-menu-icon::before,
.cea-menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.cea-menu-icon::before {
    top: -8px;
}

.cea-menu-icon::after {
    top: 8px;
}

/* Main Content */
.cea-main {
    min-height: calc(100vh - 200px);
}

.cea-container {
    max-width: var(--cea-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.cea-hero {
    background: linear-gradient(135deg, var(--cea-dark) 0%, var(--cea-primary) 100%);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.cea-hero-content {
    max-width: var(--cea-content-width);
    margin: 0 auto;
}

.cea-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cea-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0;
}

/* Sections */
.cea-intro,
.cea-featured,
.cea-about-preview {
    padding: 4rem 1.5rem;
}

.cea-intro {
    background: white;
}

.cea-featured {
    background: var(--cea-light);
}

.cea-about-preview {
    background: white;
}

.cea-section-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cea-text {
    max-width: var(--cea-content-width);
    margin: 0 auto 1.5rem;
    text-align: center;
}

/* Grid & Cards */
.cea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--cea-max-width);
    margin: 0 auto;
}

.cea-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cea-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cea-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.cea-card-text {
    color: var(--cea-text-light);
    margin-bottom: 1rem;
}

.cea-link {
    color: var(--cea-primary);
    font-weight: 500;
}

.cea-button {
    display: inline-block;
    background: var(--cea-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.cea-button:hover {
    background: var(--cea-secondary);
    color: white;
}

/* Article Styles */
.cea-article {
    padding: 3rem 1.5rem;
}

.cea-article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cea-border);
}

.cea-article-title {
    font-size: 2.25rem;
    max-width: var(--cea-content-width);
    margin: 0 auto 1rem;
}

.cea-article-meta {
    color: var(--cea-text-light);
}

.cea-author {
    margin-right: 1.5rem;
}

.cea-article-content {
    max-width: var(--cea-content-width);
    margin: 0 auto;
}

.cea-lead {
    font-size: 1.25rem;
    color: var(--cea-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cea-article-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cea-border);
}

.cea-article-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.cea-article-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Lists */
.cea-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.cea-list li {
    margin-bottom: 0.5rem;
}

.cea-numbered-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.cea-numbered-list li {
    margin-bottom: 0.75rem;
}

/* Tables */
.cea-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cea-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cea-table th,
.cea-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--cea-border);
}

.cea-table th {
    background: var(--cea-dark);
    color: white;
    font-weight: 600;
}

.cea-table tr:last-child td {
    border-bottom: none;
}

.cea-table tr:hover td {
    background: var(--cea-light);
}

/* Warning & Note Boxes */
.cea-warning {
    background: #fef3cd;
    border-left: 4px solid var(--cea-warning);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.cea-warning h4 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.cea-warning p {
    margin: 0;
    color: #856404;
}

.cea-note {
    background: #d1ecf1;
    border-left: 4px solid var(--cea-info);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.cea-note h4 {
    color: #0c5460;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.cea-note p {
    margin: 0;
    color: #0c5460;
}

.cea-clinical {
    background: #e8f4f8;
    border-left: 4px solid var(--cea-primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.cea-clinical h4 {
    color: var(--cea-dark);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.cea-clinical p {
    margin: 0;
    color: var(--cea-text);
}

/* Grade Cards */
.cea-grade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.cea-grade-card {
    background: white;
    border: 1px solid var(--cea-border);
    border-radius: 8px;
    padding: 1.5rem;
}

.cea-grade-card h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--cea-primary);
}

.cea-grade-card p {
    margin: 0;
    font-size: 0.95rem;
}

.cea-grade-mild {
    border-color: var(--cea-success);
    background: #f0f9f4;
}

.cea-grade-mild h4 {
    color: #155724;
}

.cea-grade-moderate {
    border-color: var(--cea-warning);
    background: #fef9e7;
}

.cea-grade-moderate h4 {
    color: #856404;
}

.cea-grade-severe {
    border-color: var(--cea-danger);
    background: #fdf2f2;
}

.cea-grade-severe h4 {
    color: #721c24;
}

/* Result Cards */
.cea-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.cea-result-card {
    padding: 1.5rem;
    border-radius: 8px;
}

.cea-result-card h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.cea-result-card p {
    margin: 0;
    font-size: 0.95rem;
}

.cea-clear {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.cea-clear h4 {
    color: #155724;
}

.cea-carrier {
    background: #fff3cd;
    border: 1px solid #ffeeba;
}

.cea-carrier h4 {
    color: #856404;
}

.cea-affected {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.cea-affected h4 {
    color: #721c24;
}

/* Lab Cards */
.cea-lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.cea-lab-card {
    background: white;
    border: 1px solid var(--cea-border);
    border-radius: 8px;
    padding: 1.5rem;
}

.cea-lab-card h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--cea-primary);
    font-size: 1.1rem;
}

.cea-lab-card p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cea-lab-card p:last-child {
    margin-bottom: 0;
}

/* Case Study Box */
.cea-case-study {
    background: #f8f9fa;
    border: 1px solid var(--cea-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.cea-case-study h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--cea-primary);
    font-style: italic;
}

.cea-case-study p {
    margin-bottom: 0.75rem;
}

.cea-case-study p:last-child {
    margin-bottom: 0;
}

/* Breeding Guide */
.cea-breeding-guide {
    background: var(--cea-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.cea-breeding-guide h3 {
    margin-top: 0;
}

/* Page Styles */
.cea-page-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cea-date {
    color: var(--cea-text-light);
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}

/* About Page */
.cea-about {
    padding: 3rem 1.5rem;
}

.cea-credentials {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cea-border);
}

.cea-role {
    font-size: 1.25rem;
    color: var(--cea-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cea-specialty {
    color: var(--cea-text-light);
    margin-bottom: 0.25rem;
}

.cea-location {
    color: var(--cea-text-light);
}

.cea-bio-full {
    max-width: var(--cea-content-width);
    margin: 0 auto;
}

.cea-expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.cea-expertise-item {
    background: var(--cea-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.cea-expertise-item h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--cea-primary);
}

.cea-expertise-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--cea-text-light);
}

/* Contact Page */
.cea-contact {
    padding: 3rem 1.5rem;
}

.cea-contact-intro {
    max-width: var(--cea-content-width);
    margin: 0 auto 2rem;
    text-align: center;
}

.cea-contact-info {
    max-width: var(--cea-content-width);
    margin: 0 auto 2rem;
}

.cea-contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cea-contact-item {
    background: var(--cea-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.cea-contact-item h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--cea-primary);
}

.cea-contact-item p {
    margin: 0;
    font-size: 0.95rem;
}

.cea-email {
    color: var(--cea-primary);
    font-weight: 500;
}

.cea-contact-note {
    max-width: var(--cea-content-width);
    margin: 0 auto;
    padding: 2rem;
    background: var(--cea-light);
    border-radius: 8px;
}

/* Legal Pages */
.cea-legal {
    padding: 3rem 1.5rem;
}

.cea-legal-content {
    max-width: var(--cea-content-width);
    margin: 0 auto;
}

.cea-legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--cea-dark);
}

.cea-legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.cea-legal-content p {
    margin-bottom: 1rem;
}

.cea-legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.cea-legal-content li {
    margin-bottom: 0.5rem;
}

/* Articles List */
.cea-list {
    padding: 3rem 1.5rem;
}

.cea-articles-index {
    padding: 3rem 1.5rem;
}

.cea-intro-text {
    max-width: var(--cea-content-width);
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--cea-text-light);
}

.cea-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cea-article-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cea-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cea-card-link {
    color: var(--cea-dark);
}

.cea-card-link:hover {
    color: var(--cea-primary);
}

.cea-card-description {
    color: var(--cea-text-light);
    margin-bottom: 1rem;
}

.cea-card-meta {
    font-size: 0.875rem;
    color: var(--cea-text-light);
}

/* Footer */
.cea-footer {
    background: var(--cea-dark);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 4rem;
}

.cea-footer-container {
    max-width: var(--cea-max-width);
    margin: 0 auto;
}

.cea-footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cea-footer-logo {
    font-family: var(--cea-font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cea-footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.cea-footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.cea-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cea-footer-links li {
    margin-bottom: 0.5rem;
}

.cea-footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cea-footer-link:hover {
    color: white;
}

.cea-footer-address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cea-footer-bottom {
    text-align: center;
}

.cea-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.cea-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .cea-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--cea-border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 1.5rem;
    }

    .cea-nav.cea-nav-open {
        display: block;
    }

    .cea-nav-list {
        flex-direction: column;
        gap: 0;
    }

    .cea-nav-link {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--cea-border);
    }

    .cea-nav-item:last-child .cea-nav-link {
        border-bottom: none;
    }

    .cea-breadcrumb {
        display: none;
    }

    .cea-menu-toggle {
        display: block;
    }

    .cea-title {
        font-size: 1.75rem;
    }

    .cea-article-title {
        font-size: 1.75rem;
    }

    .cea-hero {
        padding: 3rem 1.5rem;
    }

    .cea-footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
