/*
 * NovelVision AI - Main CSS
 * Global styles for the entire site
 */

/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    line-height: 1.6;
}

/* Links */
a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #60a5fa;
}

/* Buttons */
button, .button {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:focus, .button:focus {
    outline: none;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1e40af; /* Darker blue for better contrast with white text */
    color: #ffffff;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s ease;
    font-weight: 600;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    top: 0;
}

/* Responsive utilities */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    section {
        padding: 2rem 0;
    }
}

/* Print styles */
@media print {
    body {
        background: #ffffff;
        color: #000000;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }

    .no-print {
        display: none;
    }
}
