/* ========================================
   SUBPAGE.CSS - Aloldalak egyedi stílusai
   ======================================== */

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    background: #f9f7f4;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #d4a574;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb span[itemprop="name"] {
    color: #333;
}

/* ========================================
   SUBPAGE HERO
   ======================================== */
.subpage-hero {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(212, 165, 116, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}

.subpage-hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.subpage-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Price Highlights */
.price-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.price-box {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.price-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.price-from {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #d4a574;
    margin-bottom: 5px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: 60px 0;
    background: #fff;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.info-card {
    background: #faf8f5;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #d4a574;
    margin-bottom: 15px;
}

.info-card strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ========================================
   PRODUCTS SECTION - ENHANCED
   ======================================== */
.products-section {
    background: #f9f7f4;
    padding: 80px 0;
}

/* Filter Bar */
.filter-bar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:hover,
.filter-group select:focus {
    border-color: #d4a574;
    outline: none;
}

/* Enhanced Product Cards */
.product-card.featured {
    position: relative;
}

.product-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #d4a574, #e8c4a0);
    border-radius: 10px;
    z-index: -1;
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.badge-discount {
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.badge-highlight {
    background: #d4a574;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.savings {
    display: block;
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.stars {
    color: #f39c12;
    font-size: 1.1rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #d4a574;
    border: 2px solid #d4a574;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #d4a574;
    color: #fff;
}

.products-count {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   GUIDE SECTION
   ======================================== */
.guide-section {
    background: #fff;
    padding: 80px 0;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.guide-intro p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.guide-steps {
    display: grid;
    gap: 30px;
}

.guide-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 25px;
    background: #faf8f5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.guide-step:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #d4a574;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
}

.guide-step h3 {
    margin-bottom: 10px;
    color: #333;
}

.guide-step p {
    color: #666;
    line-height: 1.7;
}

/* ========================================
   COMPARISON SECTION
   ======================================== */
.comparison-section {
    background: #f9f7f4;
    padding: 80px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.comparison-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.comparison-table thead {
    background: #d4a574;
    color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

.comparison-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.comparison-table tbody tr:hover {
    background: #faf8f5;
}

.comparison-table .highlight {
    color: #d4a574;
    font-weight: 600;
}

.comparison-table .savings {
    color: #27ae60;
    font-weight: 600;
}

.comparison-summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.comparison-summary p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* ========================================
   TIPS SECTION
   ======================================== */
.tips-section {
    background: #fff;
    padding: 80px 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.tip-card {
    background: #faf8f5;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d4a574;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tip-card:hover::before {
    transform: scaleX(1);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.tip-card h3 {
    color: #d4a574;
    margin-bottom: 15px;
}

.tip-card p {
    color: #666;
    line-height: 1.7;
}

/* ========================================
   CTA SECTION - SUBPAGE VERSION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #d4a574 0%, #b8935f 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-content h2::after {
    background-color: #fff;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #d4a574;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #b8935f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.back-to-top span {
    font-size: 1.5rem;
    line-height: 1;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   RESPONSIVE DESIGN - SUBPAGE
   ======================================== */
@media (max-width: 1024px) {
    .subpage-hero h1 {
        font-size: 2rem;
    }
    
    .price-highlights {
        gap: 20px;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 60px 0;
    }
    
    .subpage-hero h1 {
        font-size: 1.75rem;
    }
    
    .subpage-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .price-box {
        padding: 15px 20px;
    }
    
    .price-from {
        font-size: 1.5rem;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .guide-step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .subpage-hero h1 {
        font-size: 1.5rem;
    }
    
    .price-highlights {
        flex-direction: column;
    }
    
    .price-box {
        width: 100%;
        max-width: 300px;
    }
    
    .info-grid {
        gap: 20px;
    }
    
    .product-badges {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .badge-discount,
    .badge-highlight {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}

/* ========================================
   PRINT STYLES - SUBPAGE
   ======================================== */
@media print {
    .filter-bar,
    .load-more-section,
    .cta-section,
    .back-to-top {
        display: none;
    }
    
    .product-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    .comparison-table {
        page-break-inside: avoid;
    }
    
    .guide-step {
        page-break-inside: avoid;
    }
}