/* Base styles and resets */
:root {
    --primary-color: #004080;
    --secondary-color: #32a852;
    --text-color: #333;
    --white: #fff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition-default: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 18px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout & Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: 100;
    transition: var(--transition-default);
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Loading States */
.loading {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Header and Navigation - Now in components/components.css */

/* Main Content */
main {
    padding: 5rem 1rem 2rem;
    min-height: 80vh;
    background: url('/images/mhk_2.jpg') no-repeat center/cover;
    position: relative;
    margin-top: 90px;
}

.text {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.text h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
    font-weight: 700;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: #666;
}

/* Progress Indicator */
/* .progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--secondary-color);
    width: 0;
    transition: width 0.3s ease;
    z-index: 101;
} */

/* Info Section */
.info-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin: 2rem auto;
    max-width: 1000px;
}

.info-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 700;
}

.rgpl-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.rgpl-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    font-weight: 600;
}

.rgpl-info p,
.rgpl-info li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.rgpl-info ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.rgpl-info ul li {
    position: relative;
    padding-left: 1.5rem;
}

.rgpl-info ul li::before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.4em;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

/* Note importante */
.important-note {
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.important-note p {
    margin: 0;
    color: #856404;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
}

/* Cards Grid */
.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-default);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.card:hover,
.card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 600;
}

.card ul {
    list-style-type: none;
}

.card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.card li::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
/* Footer - Now in components/components.css */

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation {
    animation: fadeIn 1s ease-out;
}

/* Print Styles */
@media print {
    .nav-menu,
    .hamburger,
    .progress-bar,
    .animation {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    main {
        padding: 1cm;
    }
}
