/**
 * hogyantesztelunk.css
 * Stílusok a "Hogyan teszteltünk" oldalhoz - egyszerűsített verzió
 */

:root {
    --page-primary: #5c6bc0;
    --page-secondary: #26a69a;
    --page-accent: #ff6d00;
    --page-light: #e8eaf6;
    --page-dark: #1a1a2e;
    --page-muted: #6c757d;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --primary-dark: #3949ab;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--gray-100);
    padding: 1rem 0;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--page-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-item a:hover {
    color: var(--page-primary);
}

.breadcrumb-item.active {
    color: var(--page-dark);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--page-muted);
    font-weight: bold;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--page-primary) 0%, #3949ab 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom / cover;
}

.page-banner h1 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
}

/* Product Info Section */
.product-info {
    padding: 4rem 0 2rem;
}

.title {
    margin-bottom: 2rem;
}

.title h2 {
    color: var(--page-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-primary);
    border-radius: 2px;
}

/* Criteria List */
.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 1rem;
    color: var(--page-dark);
    position: relative;
    padding-left: 2rem;
}

.criteria-list li:last-child {
    border-bottom: none;
}

.criteria-list li::before {
    content: '♥';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    color: #e91e63;
}

/* Info Sections */
.info-section {
    padding: 3rem 0;
}

.info-section.bg-light {
    background-color: var(--gray-100);
}

.content-block {
    padding: 1rem 0;
}

.content-block h3 {
    color: var(--page-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.content-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--page-primary);
    border-radius: 2px;
}

.content-block p {
    color: var(--page-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Images */
.info-section img {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
}

.info-section img:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);
}

/* Call to Action Button */
.btn-primary {
    background-color: var(--page-primary);
    border-color: var(--page-primary);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(92, 107, 192, 0.3);
}

.btn-primary:hover {
    background-color: #3949ab;
    border-color: #3949ab;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 107, 192, 0.4);
    text-decoration: none;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .title h2 {
        font-size: 1.75rem;
    }
    
    .content-block h3 {
        font-size: 1.3rem;
    }
    
    .product-info {
        padding: 3rem 0 1rem;
    }
    
    .info-section {
        padding: 2rem 0;
    }
    
    /* Mobilon a képek és szövegek egymás alatt */
    .row.align-items-center .col-md-5,
    .row.align-items-center .col-md-7 {
        margin-bottom: 2rem;
    }
    
    .row.align-items-center .col-md-5:last-child,
    .row.align-items-center .col-md-7:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .page-banner {
        padding: 3rem 0;
    }
    
    .page-banner h1 {
        font-size: 1.75rem;
    }
    
    .title h2 {
        font-size: 1.5rem;
    }
    
    .content-block h3 {
        font-size: 1.2rem;
    }
    
    .content-block p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .criteria-list li {
        font-size: 0.95rem;
        padding-left: 2.5rem;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .product-info {
        padding: 2rem 0 1rem;
    }
    
    .info-section {
        padding: 1.5rem 0;
    }
}

@media (max-width: 575.98px) {
    .page-banner h1 {
        font-size: 1.5rem;
    }
    
    .title h2 {
        font-size: 1.3rem;
    }
    
    .content-block h3 {
        font-size: 1.1rem;
    }
    
    .criteria-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 2rem;
    }
    
    .criteria-list li::before {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .page-banner,
    .back-to-top {
        display: none !important;
    }
    
    .info-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .info-section img {
        box-shadow: none !important;
        border: 1px solid var(--gray-300);
    }
    
    .content-block {
        margin-bottom: 2rem;
    }
}

/* Accessibility */
.btn-primary:focus {
    outline: 2px solid var(--page-primary);
    outline-offset: 2px;
}

/* Smooth animations */
.content-block,
.info-section img {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.content-block.animate,
.info-section img.animate {
    opacity: 1;
    transform: translateY(0);
}

/* BANNER LETILTÁS - FONTOS! */
.floating-banner,
.floating-banner-left,
.floating-banner-right,
#left-floating-banner,
#right-floating-banner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--page-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3949ab;
}