/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-accept-all {
    background: #38a169;
    color: white;
}

.btn-accept-all:hover {
    background: #2f855a;
}

.btn-necessary {
    background: #e53e3e;
    color: white;
}

.btn-necessary:hover {
    background: #c53030;
}

.btn-settings {
    background: #3182ce;
    color: white;
}

.btn-settings:hover {
    background: #2c5282;
}

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5282;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2c5282;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c5282;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffffff;
    color: #2c5282;
}

.btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5282;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.service-card p {
    color: #718096;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #2c5282;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #edf2f7;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #3182ce;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #4a5568;
    line-height: 1.7;
}

.testimonial-author strong {
    color: #2d3748;
}

.testimonial-author span {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    color: white;
}

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

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.btn-newsletter {
    padding: 12px 24px;
    background: #38a169;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-newsletter:hover {
    background: #2f855a;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-container input {
    width: auto;
}

.checkbox-container a {
    color: #bee3f8;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f7fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
}

.contact-item svg {
    color: #3182ce;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-hours h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.hours-list {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item.emergency {
    color: #e53e3e;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #2d3748;
    color: #cbd5e0;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.25rem;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #cbd5e0;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3182ce;
}

.footer-section h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3182ce;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Article Page Styles */
.article-header {
    padding: 120px 0 0;
    background: #f7fafc;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #718096;
}

.breadcrumb a {
    color: #3182ce;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 8px;
}

.article-hero {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.article-image {
    width: 100%;
    height: 300px;
}

.article-info {
    padding: 40px;
}

.article-category {
    background: #3182ce;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.article-info h1 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 30px;
    color: #718096;
    font-size: 14px;
}

.article-content {
    padding: 60px 0;
    background: #f7fafc;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-intro .lead {
    font-size: 1.25rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 1.75rem;
    color: #2d3748;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.content-section h3 {
    font-size: 1.25rem;
    color: #4a5568;
    margin: 30px 0 15px 0;
}

.content-section p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #4a5568;
}

.info-box, .warning-box, .cta-box {
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.info-box {
    background: #e6fffa;
    border-left: 4px solid #38a169;
}

.warning-box {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
}

.cta-box {
    background: #f0f8ff;
    border-left: 4px solid #3182ce;
    text-align: center;
}

.info-box h3, .warning-box h3, .cta-box h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

.checklist {
    margin: 20px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.equipment-item {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
}

.equipment-item h4 {
    color: #2d3748;
    margin-bottom: 8px;
}

.equipment-item p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.sidebar {
    background: white;
    border-radius: 12px;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sidebar-section {
    padding: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-article {
    display: block;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.related-article:hover {
    background: #e2e8f0;
}

.related-article h4 {
    color: #2d3748;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.related-date {
    color: #a0aec0;
    font-size: 12px;
}

.contact-info {
    text-align: left;
}

.contact-details {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    .article-info {
        padding: 30px 20px;
    }
    
    .article-info h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}