

:root {
    --primary: #1a1a1a;
    --secondary: #e52235;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --dinitrol-blue: #0066CB;
    --dinitrol-red: #E5233B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.article-gallery-cta {
    margin: 30px 0;
    text-align: center;
    background-color: #f5f8ff;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--dinitrol-blue);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.btn-gallery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 30px;
    background-color: var(--dinitrol-blue);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--dinitrol-blue);
}

.btn-gallery:hover {
    background-color: white;
    color: var(--dinitrol-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 203, 0.3);
}

.btn-gallery i {
    margin-right: 10px;
    font-size: 18px;
}

@media (max-width: 576px) {
    .article-gallery-cta {
        padding: 20px 15px;
    }
    
    .btn-gallery {
        padding: 10px 20px;
        font-size: 14px;
    }
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Blog Article Styles */
.article-header {
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../alblogok/szemcseszoras.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    text-align: center;
}

.article-header1 {
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../alblogok/so_miatti_rozsda.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    text-align: center;
}

.article-header2 {
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../alblogok/IMG_8490.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    text-align: center;
}

.article-header3 {
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../alblogok/alvazvedelem_felmeres.png');
    background-size: cover;
    background-position: center;
    color: var(--light);
    text-align: center;
}

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
}

.article-meta-item i {
    margin-right: 0.5rem;
    color: var(--dinitrol-red);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.back-link i {
    margin-right: 0.5rem;
}

.back-link:hover {
    color: var(--dinitrol-red);
}

.article-content {
    padding: 4rem 0;
    background-color: #fff;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-main-img {
    margin-bottom: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-main-img img {
    width: 100%;
    height: auto;
    display: block;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 500;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dinitrol-blue);
    position: relative;
    padding-bottom: 0.8rem;
}

.article-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--dinitrol-red);
}

.article-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.article-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--gray);
}

.article-section ul, .article-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: var(--gray);
}

.article-img {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-img img {
    width: 100%;
    height: auto;
    display: block;
}

.article-img figcaption {
    text-align: center;
    padding: 0.8rem;
    font-size: 0.9rem;
    color: var(--gray);
    background-color: #f8f9fa;
}

.article-highlight {
    background-color: rgba(0, 102, 203, 0.05);
    border-left: 4px solid var(--dinitrol-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.article-highlight p:last-child {
    margin-bottom: 0;
}

.article-call-to-action {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}

.article-call-to-action h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dinitrol-blue);
}

.article-call-to-action p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--dinitrol-red);
    color: var(--light);
    border: 2px solid var(--dinitrol-red);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--dinitrol-red);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dinitrol-blue);
    border: 2px solid var(--dinitrol-blue);
}

.btn-secondary:hover {
    background-color: var(--dinitrol-blue);
    color: var(--light);
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.article-share {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.article-share span {
    margin-right: 1rem;
    font-weight: 600;
}

.social-share-links {
    display: flex;
}

.social-share-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-facebook {
    background-color: #3b5998;
}

.share-twitter {
    background-color: #1da1f2;
}

.share-linkedin {
    background-color: #0077b5;
}

.share-email {
    background-color: #555;
}

.social-share-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.article-tag {
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    border-radius: 30px;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background-color: var(--dinitrol-blue);
    color: var(--light);
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.article-prev, .article-next {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-prev:hover, .article-next:hover {
    background-color: #eaeaea;
}

.article-prev span, .article-next span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.article-prev p, .article-next p {
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.article-prev {
    text-align: left;
}

.article-next {
    text-align: right;
}

.article-back-to-list {
    text-align: center;
    margin: 3rem 0;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--dinitrol-blue);
    padding: 5rem 0;
    color: var(--light);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background-color: var(--dinitrol-red);
    color: var(--light);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #c41e30;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-text {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--secondary);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-link {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-link i {
    color: var(--secondary);
    margin-right: 1rem;
    margin-top: 5px;
}

.contact-link span {
    color: #aaa;
}

.contact-link a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    color: #aaa;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.back-to-top.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 992px) {
    .article-header h1 {
        font-size: 2.4rem;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .article-next {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        gap: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .newsletter-input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }
    
    .newsletter-btn {
        border-radius: 4px;
        width: 100%;
    }
    
    .article-section h2 {
        font-size: 1.8rem;
    }
    
    .article-section h3 {
        font-size: 1.4rem;
    }
    
    .article-call-to-action {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-content {
        padding: 2.5rem 0;
    }
    
    .article-container {
        padding: 0 1rem;
    }
    
    .article-intro {
        font-size: 1.1rem;
    }
}

.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 képarány */
height: 0;
overflow: hidden;
max-width: 100%;
margin-bottom: 1.5rem;
}

.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
}


