/* 
* Main CSS file for Maďarská diaľničná známka website
* Theme colors: Primary - #028349 (green), Secondary - #f8f9fa (light gray)
* Font: Poppins
*/

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: #028349;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #025e34;
    text-decoration: underline;
}

.btn-primary {
    background-color: #028349;
    border-color: #028349;
}

.btn-primary:hover {
    background-color: #025e34;
    border-color: #025e34;
}

.btn-outline-primary {
    color: #028349;
    border-color: #028349;
}

.btn-outline-primary:hover {
    background-color: #028349;
    color: #fff;
}

/* Top Bar */
.top-bar {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    max-height: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.contact-info p {
    margin-bottom: 5px;
}

.contact-info i {
    color: #028349;
    margin-right: 8px;
}

/* Navigation Menu */
.navbar {
    background-color: #028349;
    padding: 0;
}

.navbar-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.nav-link {
    color: #fff !important;
    padding: 15px !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-link:hover, .nav-link.active {
    background-color: #025e34;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 10px 0;
    margin-bottom: 30px;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-item a {
    color: #028349;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    position: relative;
    margin-bottom: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Parallax Section */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    margin: 50px 0;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.parallax-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.parallax-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Content Sections */
.section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: #028349;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #028349;
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3em;
    color: #028349;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Info Cards */
.info-card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.info-card-header {
    background-color: #028349;
    color: #fff;
    padding: 15px 20px;
}

.info-card-body {
    padding: 20px;
}

/* Tables */
.table-custom {
    width: 100%;
    margin-bottom: 30px;
}

.table-custom th {
    background-color: #028349;
    color: #fff;
    font-weight: 500;
}

.table-custom th, .table-custom td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
}

.table-custom tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* FAQ Accordion */
.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #028349;
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.accordion-body {
    padding: 20px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #028349;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
    border: 2px solid #028349;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background-color: #025e34;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 131, 73, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(2, 131, 73, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 131, 73, 0);
    }
}

/* Footer */
.footer {
    background-color: #028349;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
    padding-left: 5px;
}

.cookie-notice {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.disclaimer {
    font-style: italic;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
    }
    
    .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .parallax {
        padding: 70px 0;
        background-attachment: scroll;
    }
    
    .parallax-content h2 {
        font-size: 1.8rem;
    }
    
    .parallax-content p {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-primary {
    color: #028349 !important;
}

.bg-primary {
    background-color: #028349 !important;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.rounded-custom {
    border-radius: 10px;
}

.shadow-custom {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mark {
    background-color: rgba(2, 131, 73, 0.2);
    padding: 2px 5px;
    border-radius: 3px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}