/*
 Theme Name:   GeneratePress Child
 Description:  Tema copil pentru myolsx.com - Personalizari Frontpage si Securitate
 Author:       Alex Stancu
 Template:     generatepress
 Version:      1.0.0
*/

/* --- Aici adauga CSS-ul pentru Frontpage v1.0 --- */

/* ==========================================================================
   FRONTPAGE V1.1 - OPTIMIZED
   ========================================================================== */

.home .hp-wrapper { line-height: 1.6; overflow: hidden; }
.home .hp-container { max-width: 1200px; margin: 0 auto;}
.home .brand-style { color: #00a651; font-weight: 800; }

/* HERO SECTION */
.home .hp-hero { 
    background: #1a1a1a; 
    padding: 100px 0 140px; 
    color: #fff; 
    text-align: center; 
    border-radius: 0 0 50px 50px; 
    position: relative;
}

.home .hp-badge { 
    background: #00a651; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-weight: 800; 
    text-transform: uppercase; 
    display: inline-block;
    margin-bottom: 25px;
    
}

.hp-hero p {max-width: 650px; margin: 0 auto 45px; opacity: 0.9; font-weight: 300; }

.home .hp-hero-desc {  margin: 0 auto 45px; opacity: 0.9; }

/* BUTOANE - Folosim variabile pentru culori pentru mentenanță ușoară */
.home .hp-btn-primary, 
.home .hp-btn-secondary { 
    padding: 18px 40px; 
    border-radius: 12px; 
    text-decoration: none !important; 
    font-weight: 700; 
    text-transform: uppercase; 
    transition: 0.3s all ease; 
    display: inline-block;
}

.home .hp-btn-primary { background: #00a651; color: #fff !important; box-shadow: 0 10px 20px rgba(0, 166, 81, 0.2); }
.home .hp-btn-secondary { background: #ffffff; color: #1a1a1a !important; }
.home .hp-btn-primary:hover { background: #008540; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 166, 81, 0.3); }
.home .hp-btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.home .hp-cta-group { display: inline-flex; justify-content: center; gap: 15px; }

/* TRUST BAR */
.home .hp-trust-bar-section { margin-top: -50px; position: relative; z-index: 10; padding-bottom: 60px; }
.home .hp-trust-floating-card { 
    background: #ffffff; 
    padding: 20px; 
    border-radius: 65px; 
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.home .stat-item { display: flex; align-items: center; gap: 15px; }
.home .stat-text { color: #666; }
.home .stat-divider { width: 1px; height: 40px; background: #eee; }

/* SERVICES */
.home .hp-services { padding: 40px 0; text-align: center; }
.home .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; }
.home .s-card { 
    background: #fff; 
    padding: 50px 35px; 
    border-radius: 20px; 
    border: 1px solid #eef0f2; 
    transition: 0.3s; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-bottom: 4px solid #eee;
}
.home .s-card:hover { transform: translateY(-10px); border-bottom-color: #00a651; box-shadow: 0 15px 35px rgba(0,0,0,0.07); }
.home .s-icon { font-size: 45px; background: #f8f9fa; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 25px; }

/* FINAL CTA CU GRID PATTERN */
.home .hp-final-cta.has-grid-pattern {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #f4fdf6;
    padding: 60px 0 60px 0;
    text-align: center;
    border-radius: 40px;
}
.home .hp-final-cta.has-grid-pattern::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 166, 81, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 166, 81, 0.07) 1px, transparent 1px);
    background-size: 45px 45px;
    z-index: -1;
}


/* Styling for Support Guide Boxes */
.support-instruction-box {
    background-color: #e9f7ef;
    border-left: 5px solid #00a651; /* Albastru standard WordPress sau culoarea brandului tău */
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.support-instruction-box h4 {
    margin-top: 0;
    color: #00a651;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.support-step-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.support-step-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

/* Bulinuțe numerotate personalizate */
.support-step-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 2px;
    background: #00a651;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
}

.support-instruction-box {
    counter-reset: step-counter;
}

/* Product Cards for Mappack Blog Posts */
.mappack-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.mappack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: #0073aa;
}

.mappack-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.mappack-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.mappack-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #28a745; /* Verde pentru preț */
    background: #e9f7ef;
    padding: 5px 12px;
    border-radius: 20px;
}

.mappack-details {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.mappack-details strong {
    color: #333;
}

.mappack-cta-container {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.mappack-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 14px;
    transition: opacity 0.2s;
}

.mappack-btn-buy {
    background-color: #00a651;
    color: #ffffff !important;
}

.mappack-btn-info {
    background-color: #f8f9fa;
    color: #333 ;
    border: 1px solid #ddd;
}

.mappack-btn:hover {
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .home .hp-cta-group { flex-direction: column; }
    .home .hp-trust-floating-card { flex-direction: column; border-radius: 30px; gap: 20px; }
    .home .stat-divider { display: none; }
    .home .hp-hero { border-radius: 0 0 30px 30px; }
    

  
    
