/* ============================================================
   primcredit-common.css — v1.0 — 2026
   Stiluri comune pentru toate paginile AEÎ PRIMCREDIT
   Culori brand: Verde #3ad88f | Albastru #0056b3 | Text #333
   ============================================================ */

/* --- RESET & GLOBAL --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* --- CONTAINER --- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* --- HEADER (aliniat cu index.html) --- */
header {
    background: linear-gradient(135deg, rgba(15, 45, 75, 0.97) 0%, rgba(30, 77, 122, 0.95) 100%);
    color: white;
    padding: 10px 0 0;
    text-align: center;
    border-bottom: none;
}

.header-top {
    padding-bottom: 8px;
}

.header-top .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.header-hours {
    background: rgba(0, 0, 0, 0.22);
    font-size: 12.5px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.header-hours .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.header-hours a {
    color: #3ad88f;
    font-weight: 600;
    text-decoration: none;
}

.header-hours a:hover {
    color: #fff;
}

.header-hours i {
    color: #3ad88f;
    margin-right: 4px;
}

.header-hours-sep {
    opacity: 0.5;
}

/* --- NAVIGATIE --- */
nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    padding: 4px 8px;
    display: block;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #3ad88f;
}

.nav-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
    padding-left: 15px;
}

.nav-cta a:not(.cta-button) {
    padding: 4px 8px;
}

.cta-button {
    background: #3ad88f;
    color: white !important;
    padding: 7px 14px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 13px;
    display: inline-block;
    transition: background 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background: #2bb879;
}

/* --- BANNER ALERTA FRAUDA BNM (integrat in header) --- */
.bnm-alert-banner {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 7px 16px;
    font-size: 12.5px;
    line-height: 1.4;
    border-top: 1px solid rgba(58, 216, 143, 0.35);
    border-bottom: 2px solid #3ad88f;
    box-shadow: none;
    margin-bottom: 0;
}

.bnm-alert-banner .container {
    padding-top: 0;
    padding-bottom: 0;
}

.bnm-alert-banner strong {
    color: #ffb74d;
    font-weight: 700;
}

.bnm-alert-banner a {
    color: #3ad88f;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
    margin-left: 4px;
    white-space: nowrap;
}

.bnm-alert-banner a:hover {
    color: #fff;
}

.bnm-alert-icon {
    color: #ffb74d;
    font-size: 14px;
    margin-right: 5px;
}

/* --- LAYOUT PE 2 COLOANE --- */
.page-title {
    text-align: center;
    color: #0056b3;
    margin: 20px 0 40px 0;
    font-size: 36px;
    width: 100%;
}

.layout-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.sidebar-left {
    flex: 1.2;
    min-width: 300px;
    max-width: 520px;
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-right {
    flex: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- CARUSEL PROMO --- */
.promo-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    width: 100%;
    aspect-ratio: 16/9;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.promo-container picture.slide-img {
    display: block;
}

.promo-container picture.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-carousel-slide picture,
.promo-carousel-slide picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.slide-img.active {
    opacity: 1;
}

/* --- SECTIUNI CARDURI --- */
.section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section h2 {
    color: #0056b3;
    border-bottom: 2px solid #3ad88f;
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

/* --- INFO CONTACTE SIDEBAR --- */
.contact-info,
.contact-info-box {
    text-align: left;
    font-size: 15px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info p,
.contact-info-box p {
    margin: 8px 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i,
.contact-info-box i {
    color: #3ad88f;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* --- BUTON FLOTANT CERERE ONLINE --- */
.floating-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #3ad88f;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background-color 0.3s;
}

.floating-btn:hover {
    background-color: #2bb879;
    transform: translateY(-5px);
}

/* --- FOOTER --- */
footer {
    background: #333;
    color: #e8e8e8;
    padding: 40px 0 20px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 50px;
}

footer a,
footer .footer-nav-links a {
    color: #3ad88f;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

footer a:hover,
footer .footer-nav-links a:hover {
    color: #5eeaa6;
}

footer a:visited,
footer .footer-nav-links a:visited {
    color: #3ad88f;
}

footer .rss-link {
    color: #3ad88f;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
    .layout-container {
        flex-direction: column;
    }

    .sidebar-left {
        max-width: 100%;
        position: relative;
        top: 0;
        min-width: unset;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    nav ul li a {
        padding: 6px 12px;
    }

    .nav-cta {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        padding-left: 0;
        padding-top: 8px;
    }

    .page-title {
        font-size: 26px;
        margin: 10px 0 20px 0;
    }

    .section {
        padding: 20px;
    }

    .logo {
        font-size: 20px;
    }

    .bnm-alert-banner {
        font-size: 12px;
        padding: 8px 10px;
        line-height: 1.35;
    }

    .bnm-alert-banner a {
        white-space: normal;
        margin-left: 0;
        display: inline;
    }
}

/* --- PAGINI PRODUS --- */
.product-page-hero {
    background: linear-gradient(160deg, #1e4d7a 0%, #2a5f8f 100%);
    color: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    margin-bottom: 28px;
}

.product-page-hero h1 {
    margin: 0 0 8px;
    font-size: 2rem;
    color: #3ad88f;
}

.product-page-hero .product-tagline {
    opacity: 0.92;
    margin: 0 0 16px;
    font-size: 1.05rem;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.product-meta-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.product-meta-item strong {
    display: block;
    color: #3ad88f;
    font-size: 1.1rem;
}

.product-meta-item span {
    font-size: 0.82rem;
    opacity: 0.9;
}

.product-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.product-cta-primary {
    background: #3ad88f;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-cta-primary:hover {
    background: #2bb879;
}

.product-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.product-content-block {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.product-content-block h2 {
    color: #1e4d7a;
    font-size: 1.2rem;
    margin: 0 0 12px;
    border-bottom: 2px solid #3ad88f;
    padding-bottom: 8px;
}

.product-content-block ul,
.product-content-block ol {
    padding-left: 20px;
    margin: 0;
}

.product-content-block li {
    margin-bottom: 8px;
}

.product-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: #666;
}

.product-breadcrumb a {
    color: #0056b3;
    text-decoration: none;
}

/* FIN primcredit-common.css — v1.2 — 2026 */
