/* CSS Custom Properties */
:root {
    /* Colors - Construction Company Theme */
    --primary: 25 74% 48%; /* #2B7FCC - Professional Blue */
    --primary-dark: 25 84% 40%; /* #1A5A9F */
    --primary-light: 25 64% 68%; /* #5BA3E6 */
    --secondary: 35 85% 55%; /* #E67E00 - Construction Orange */
    --secondary-dark: 35 95% 45%; /* #CC6600 */
    --secondary-light: 35 75% 65%; /* #F29933 */
    
    /* Neutrals */
    --background: 210 11% 98%; /* #F5F7FA */
    --surface: 0 0% 100%; /* #FFFFFF */
    --surface-gray: 210 8% 96%; /* #F1F3F6 */
    --border: 220 9% 88%; /* #D9DDE3 */
    --text: 215 25% 17%; /* #1F2937 */
    --text-light: 215 13% 34%; /* #4B5563 */
    --text-muted: 215 10% 53%; /* #6B7280 */
    
    /* Status Colors */
    --success: 120 61% 46%; /* #22C55E */
    --warning: 43 96% 56%; /* #F59E0B */
    --danger: 0 84% 60%; /* #EF4444 */
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(var(--text));
    background-color: hsl(var(--background));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: hsl(var(--text));
    margin-bottom: var(--space-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-md);
    color: hsl(var(--text-light));
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: hsl(var(--text-light));
}

/* Links */
a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: hsl(var(--primary-dark));
}

/* Lists */
ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

li {
    margin-bottom: var(--space-xs);
    color: hsl(var(--text-light));
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: white;
    border-color: hsl(var(--primary));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: white;
    border-color: hsl(var(--secondary));
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary-dark));
    border-color: hsl(var(--secondary-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header and Navigation */
.header {
    background-color: hsl(var(--surface));
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--space-md) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 500;
    color: hsl(var(--text));
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: hsl(var(--primary));
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text));
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--surface-gray)) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-lg);
    color: hsl(var(--text));
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: hsl(var(--text-light));
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-xl));
}

/* Section Styles */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.125rem;
    color: hsl(var(--text-muted));
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: hsl(var(--surface));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    filter: hue-rotate(0deg);
    transition: filter var(--transition-normal);
}

.service-card:hover .service-icon {
    filter: hue-rotate(20deg) brightness(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: hsl(var(--text));
}

.service-card p {
    color: hsl(var(--text-light));
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: hsl(var(--surface-gray));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.about-features {
    list-style: none;
    padding: 0;
    margin-top: var(--space-lg);
}

.about-features li {
    padding: var(--space-sm) 0;
    color: hsl(var(--text-light));
    font-weight: 500;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    background-color: hsl(var(--surface));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: hsl(var(--text-light));
}

.testimonial-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    color: hsl(var(--text));
}

.testimonial-content span {
    color: hsl(var(--text-muted));
    font-size: 0.875rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-dark)) 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: grid;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    padding: var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    background-color: white;
    color: hsl(var(--text));
    transition: box-shadow var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    margin-top: var(--space-md);
    background-color: hsl(var(--secondary));
    border-color: hsl(var(--secondary));
}

.newsletter-form .btn:hover {
    background-color: hsl(var(--secondary-dark));
    border-color: hsl(var(--secondary-dark));
}

/* Contact Section */
.contact {
    background-color: hsl(var(--surface-gray));
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: hsl(var(--text));
}

.contact-item p {
    color: hsl(var(--text-light));
    margin: 0;
}

/* Footer */
.footer {
    background-color: hsl(var(--text));
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--space-lg);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-lg);
    /* filter: brightness(0) invert(1); */
}

.social-links {
    display: flex;
    gap: var(--space-lg);
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: hsl(var(--primary-light));
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--surface));
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
    z-index: 1000;
    border-top: 1px solid hsl(var(--border));
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.cookie-content p {
    margin: 0;
    color: hsl(var(--text-light));
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: var(--space-lg);
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-bottom: var(--space-lg);
    color: hsl(var(--text));
}

.cookie-category {
    margin-bottom: var(--space-lg);
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    cursor: pointer;
    font-weight: 500;
    color: hsl(var(--text));
}

.cookie-category input {
    margin-top: 2px;
}

.cookie-category span {
    font-weight: normal;
    color: hsl(var(--text-light));
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    display: block;
}

.cookie-modal-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
    margin-top: var(--space-xl);
}

/* Blog Styles */
.blog-header {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    background-color: hsl(var(--surface-gray));
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.blog-header p {
    font-size: 1.25rem;
    color: hsl(var(--text-muted));
    max-width: 600px;
    margin: 0 auto;
}

.blog-articles {
    padding: var(--space-3xl) 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.article-card {
    background-color: hsl(var(--surface));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: var(--space-xl);
}

.article-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
}

.article-meta span {
    color: hsl(var(--text-muted));
}

.article-meta .category {
    background-color: hsl(var(--primary));
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.article-content h2 a {
    color: hsl(var(--text));
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-content h2 a:hover {
    color: hsl(var(--primary));
}

.article-content p {
    color: hsl(var(--text-light));
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.read-more {
    color: hsl(var(--primary));
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.read-more:hover {
    color: hsl(var(--primary-dark));
}

/* Article Page */
.article-page {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-3xl);
}

.article-header {
    margin-bottom: var(--space-3xl);
}

.breadcrumbs {
    font-size: 0.875rem;
    color: hsl(var(--text-muted));
    margin-bottom: var(--space-lg);
}

.breadcrumbs a {
    color: hsl(var(--primary));
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-page .article-meta {
    justify-content: flex-start;
    margin-bottom: var(--space-lg);
}

.article-page .article-image {
    margin-top: var(--space-xl);
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-page .article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

.article-page .article-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    color: hsl(var(--text));
}

.article-page .article-content h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: hsl(var(--text));
}

.article-footer {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid hsl(var(--border));
}

.article-share {
    margin-bottom: var(--space-xl);
}

.article-share h4 {
    margin-bottom: var(--space-md);
    color: hsl(var(--text));
}

.share-buttons {
    display: flex;
    gap: var(--space-md);
}

.share-btn {
    padding: var(--space-sm) var(--space-lg);
    background-color: hsl(var(--surface-gray));
    color: hsl(var(--text));
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background-color var(--transition-fast);
}

.share-btn:hover {
    background-color: hsl(var(--border));
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
}

/* Related Articles */
.related-articles {
    background-color: hsl(var(--surface-gray));
    padding: var(--space-3xl) 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.related-articles .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Legal Pages */
.legal-content {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-3xl);
}

.legal-content h1 {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.legal-section {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.legal-section h2 {
    color: hsl(var(--text));
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.legal-section h3 {
    color: hsl(var(--text));
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* Thanks Page */
.thanks-section {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: var(--space-xl);
}

.thanks-content h1 {
    margin-bottom: var(--space-lg);
    color: hsl(var(--success));
}

.thanks-message {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
    color: hsl(var(--text-light));
}

.thanks-info {
    background-color: hsl(var(--surface));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.thanks-info h3 {
    margin-bottom: var(--space-md);
    color: hsl(var(--text));
}

.thanks-info ul {
    text-align: left;
    color: hsl(var(--text-light));
}

.thanks-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: hsl(var(--surface));
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        gap: var(--space-md);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Newsletter */
    .newsletter-form {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Articles */
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Smooth animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .article-page {
        padding: 0 !important;
    }
}
