/* Specifické styly pro nakupy-za-bitcoin.php */

/* Page header s ikonou */
.page-header {
    margin-bottom: 2rem;
}

.page-title-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.page-title-container h1 {
    margin-bottom: 0;
    flex: 1;
    z-index: 1;
}

.page-icon {
    position: absolute;
    right: -20px;
    top: -10px;
    flex-shrink: 0;
    opacity: 0.9;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(225, 29, 72, 0.15));
    z-index: 2;
}

.page-icon:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(225, 29, 72, 0.25));
}

.page-icon svg {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(1deg); }
    50% { transform: translateY(-6px) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(-1deg); }
}

.page-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Osnova stránky */
.page-outline {
    background: rgba(225, 29, 72, 0.05);
    border-left: 4px solid #e11d48;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0 3rem 0;
}

.page-outline h3 {
    color: #e11d48;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.outline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.outline-list li {
    margin-bottom: 0.5rem;
}

.outline-list a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.outline-list a:hover {
    color: #e11d48;
    text-decoration: underline;
}

/* Content subsections */
.content-subsection {
    margin-top: 3rem;
    scroll-margin-top: 120px; /* Pro správné zarovnání při skoku na kotvu */
}

.content-subsection:first-child {
    margin-top: 2rem;
}

/* Subsections */
.subsection {
    margin-bottom: 3rem;
}

.subsection h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Placeholders */
.companies-list-placeholder {
    background: rgba(225, 29, 72, 0.1);
    border: 2px dashed #e11d48;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #e11d48;
    font-weight: 600;
}

/* Payment Systems Section */
.payment-systems-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.payment-systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.payment-system-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.15);
}

.system-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.system-logo img {
    max-height: 100%;
    max-width: 180px;
    object-fit: contain;
}

.payment-system-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.payment-system-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.payment-system-card strong {
    color: #1a1a1a;
}

.system-link {
    color: #e11d48;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.system-link:hover {
    color: #be185d;
    text-decoration: underline;
}

.payment-systems-cta {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(225, 29, 72, 0.1);
}

.payment-systems-cta .cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.payment-systems-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.payment-systems-cta p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* BTC Map preview */
.btcmap-preview {
    margin: 2rem 0;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btcmap-image {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.map-overlay .btn {
    box-shadow: 0 8px 32px rgba(225, 29, 72, 0.3);
}

.map-overlay .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(225, 29, 72, 0.6);
}

.map-placeholder {
    background: rgba(0, 0, 0, 0.05);
    border: 2px dashed #64748b;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    color: #64748b;
    font-weight: 600;
}

.map-placeholder p {
    margin-bottom: 1.5rem;
}

/* Tip box */
.tip-box {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: #1a1a1a;
}

.tip-box a {
    color: #22c55e;
    font-weight: 600;
    text-decoration: none;
}

.tip-box a:hover {
    text-decoration: underline;
}

/* Bitrefill logo */
.bitrefill-logo {
    text-align: center;
    margin: 2rem 0;
}

/* Informační boxy pro sekci 4 */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-box h4 {
    color: #e11d48;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.info-box .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        align-items: center;
    }
    
    .page-icon {
        position: static;
        transform: scale(0.8);
        right: auto;
        top: auto;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-outline {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .subsection h3 {
        font-size: 1.3rem;
    }
    
    .map-placeholder {
        padding: 2rem;
    }
    
    .page-intro {
        font-size: 1rem;
    }
}
