﻿/* ==============================================
   infrabaldan.css
   Pagina: Slăbire și remodelare cu InfraBaldan 3.0
   ============================================== */

/* ========== PAGE VARIABLES ========== */
.sf-page {
    --accent: #6b0572;
    --accent-light: #9b3fa2;
    --accent-bright: #c06ec6;
    --accent-pale: #f3e4f4;
    --accent-glow: #8a2090;
    --red: #980000;
    --red-light: #b81c1c;
    --red-bright: #d43d3d;
    --red-pale: #fce8e8;
    --dark: #0e0e0e;
    --charcoal: #1a1a1a;
    --white: #ffffff;
    --muted: #777;
    --text: #444;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

.sf-page {
    font-family: var(--font-body);
    color: var(--text);
    overflow-x: hidden;
    background: #fff;
}

/* ========== RED ACCENT VARIANTS ========== */
.sf-section.sf-bg-warm {
    background: linear-gradient(135deg, #fdf6f6 0%, #faf3f8 100%);
}

.sf-section-label.sf-label-red {
    color: var(--red);
}

    .sf-section-label.sf-label-red::before {
        background: linear-gradient(90deg, transparent, var(--red));
    }

    .sf-section-label.sf-label-red::after {
        background: linear-gradient(90deg, var(--red), transparent);
    }

.sf-feature-icon.sf-icon-red {
    background: linear-gradient(135deg, var(--red), var(--red-light));
    box-shadow: 0 4px 15px rgba(152, 0, 0, 0.3);
}

.sf-callout.sf-callout-red {
    border-left-color: var(--red);
    background: linear-gradient(135deg, rgba(152, 0, 0, 0.06), rgba(184, 28, 28, 0.03));
}

.sf-stat-item.sf-stat-red {
    background: linear-gradient(135deg, rgba(152, 0, 0, 0.06), rgba(184, 28, 28, 0.03));
    border-color: rgba(152, 0, 0, 0.1);
}

    .sf-stat-item.sf-stat-red .sf-stat-num {
        background: linear-gradient(135deg, var(--red), var(--red-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.sf-alt-text h3 .red {
    color: var(--red);
}

.sf-cta-banner.sf-cta-mixed {
    background: linear-gradient(135deg, #980000, #6b0572, #980000);
    background-size: 200% 100%;
}

/* ========== HERO — INFRABALDAN ========== */
.sf-hero.sf-hero-infrabaldan {
    background: linear-gradient(160deg, #0e0e0e 0%, #1e0a0a 30%, #2d0b30 60%, #0e0e0e 100%);
}

    .sf-hero.sf-hero-infrabaldan::before {
        background: radial-gradient(ellipse, rgba(152, 0, 0, 0.15) 0%, transparent 70%);
    }

    .sf-hero.sf-hero-infrabaldan::after {
        background: radial-gradient(ellipse, rgba(107, 5, 114, 0.1) 0%, transparent 70%);
    }

.sf-hero-badge.sf-badge-red {
    background: rgba(152, 0, 0, 0.25);
    border-color: rgba(184, 28, 28, 0.3);
    color: var(--red-bright);
}

.sf-hero.sf-hero-infrabaldan h1 span {
    background: linear-gradient(135deg, var(--red-bright), var(--accent-bright), var(--red-pale));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sf-pill.sf-pill-red:hover {
    background: rgba(152, 0, 0, 0.2);
    border-color: rgba(152, 0, 0, 0.4);
}

.sf-pill.sf-pill-red i {
    color: var(--red-light);
}

.sf-price-header.sf-price-mixed {
    background: linear-gradient(135deg, #980000, #6b0572);
}

.sf-btn-red {
    background: linear-gradient(135deg, var(--red), var(--red-light)) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(152, 0, 0, 0.3);
}

    .sf-btn-red:hover {
        box-shadow: 0 8px 25px rgba(152, 0, 0, 0.4) !important;
        color: #fff !important;
    }

/* ========== ANIMATIONS ========== */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    [data-animate].sf-visible {
        opacity: 1;
        transform: none !important;
    }

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-down"] {
    transform: translateY(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(-50px);
}

[data-animate="fade-right"] {
    transform: translateX(50px);
}

[data-animate="fade-in"] {
    transform: scale(0.95);
}

.sf-delay-1 {
    transition-delay: 0.1s;
}

.sf-delay-2 {
    transition-delay: 0.2s;
}

.sf-delay-3 {
    transition-delay: 0.3s;
}

.sf-delay-4 {
    transition-delay: 0.4s;
}

/* ========== HERO ========== */
.sf-hero {
    position: relative;
    background: linear-gradient(160deg, #0e0e0e 0%, #1a0a1e 40%, #2d0b30 70%, #0e0e0e 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    text-align: center;
}

    .sf-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -20%;
        width: 70%;
        height: 200%;
        background: radial-gradient(ellipse, rgba(107,5,114,0.15) 0%, transparent 70%);
        pointer-events: none;
    }

    .sf-hero::after {
        content: '';
        position: absolute;
        bottom: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(ellipse, rgba(155,63,162,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.sf-hero-badge {
    display: inline-block;
    background: rgba(107,5,114,0.25);
    border: 1px solid rgba(155,63,162,0.3);
    color: var(--accent-bright);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sf-hero h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

    .sf-hero h1 span {
        background: linear-gradient(135deg, var(--accent-bright), var(--accent-pale));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.sf-hero p.lead {
    color: rgba(255,255,255,0.55);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 30px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.sf-hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}

    .sf-hero-scroll:hover {
        color: var(--accent-bright);
    }

    .sf-hero-scroll i {
        animation: sf-bounce-down 2s infinite;
    }

@keyframes sf-bounce-down {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ========== QUICK NAV ========== */
.sf-quick-nav {
    background: var(--dark);
    border-bottom: 1px solid rgba(107,5,114,0.15);
    padding: 16px 0;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.sf-quick-nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

    .sf-quick-nav-inner::-webkit-scrollbar {
        display: none;
    }

.sf-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none !important;
    transition: all 0.25s;
}

    .sf-pill:hover {
        background: rgba(107,5,114,0.2);
        border-color: rgba(107,5,114,0.4);
        color: #fff;
    }

    .sf-pill i {
        font-size: 0.77rem;
        color: var(--accent-light);
    }

/* ========== SECTIONS ========== */
.sf-section {
    padding: 70px 0;
}

    .sf-section.sf-bg-white {
        background: #fff;
    }

    .sf-section.sf-bg-soft {
        background: #f9f3fa;
    }

    .sf-section.sf-bg-dark {
        background: var(--dark);
        color: #fff;
    }

.sf-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sf-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

    .sf-section-label::before, .sf-section-label::after {
        content: '';
        width: 30px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent));
    }

    .sf-section-label::after {
        background: linear-gradient(90deg, var(--accent), transparent);
    }

.sf-section-label--left {
    text-align: left;
}

.sf-section-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sf-section-header p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== ALT ROWS ========== */
.sf-alt-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

    .sf-alt-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s;
    }

    .sf-alt-img:hover img {
        transform: scale(1.03);
    }

.sf-alt-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.25;
    color: var(--dark);
}

    .sf-alt-text h3 span {
        color: var(--accent);
    }

.sf-alt-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text);
}

/* ========== FEATURE CARDS ========== */
.sf-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(107,5,114,0.08);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .sf-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--accent-light), transparent);
    }

    .sf-feature-card:hover {
        box-shadow: 0 8px 35px rgba(107,5,114,0.12);
        transform: translateY(-4px);
    }

.sf-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(107,5,114,0.3);
}

.sf-feature-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.sf-feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ========== CALLOUT ========== */
.sf-callout {
    background: linear-gradient(135deg, rgba(107,5,114,0.06), rgba(155,63,162,0.03));
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 20px 0;
}

    .sf-callout p {
        margin: 0;
        font-size: 1.0rem;
        line-height: 1.7;
        color: var(--text);
    }

/* ========== STAT BADGES ========== */
.sf-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}

.sf-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(107,5,114,0.06), rgba(155,63,162,0.03));
    border: 1px solid rgba(107,5,114,0.1);
    border-radius: 14px;
    padding: 14px 20px;
    flex: 1;
    min-width: 140px;
}

.sf-stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.sf-stat-label {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.35;
}

/* ========== CUSTOM LIST ========== */
.sf-list {
    list-style: none;
    padding-left: 0;
}

    .sf-list li {
        padding: 8px 0 8px 22px;
        position: relative;
        font-size: 1.0rem;
        line-height: 1.7;
    }

        .sf-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 15px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
            opacity: 0.6;
        }

/* ========== BUTTONS ========== */
.sf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
}

.sf-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(107,5,114,0.3);
}

    .sf-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(107,5,114,0.4);
        color: #fff !important;
    }

.sf-btn-outline {
    background: transparent;
    color: var(--accent) !important;
    border: 2px solid rgba(107,5,114,0.25);
}

    .sf-btn-outline:hover {
        background: var(--accent);
        color: #fff !important;
        border-color: var(--accent);
    }

.sf-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.sf-btn-group--center {
    justify-content: center;
}

/* ========== CTA BANNER ========== */
.sf-cta-banner {
    background: linear-gradient(135deg, #6b0572, #9b3fa2, #6b0572);
    background-size: 200% 100%;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .sf-cta-banner::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 160px;
        height: 160px;
        background: #fff;
        opacity: 0.06;
        border-radius: 50%;
    }

    .sf-cta-banner h3 {
        font-family: var(--font-display);
        font-size: 1.9rem;
        font-weight: 700;
        margin-bottom: 12px;
        position: relative;
        z-index: 1;
    }

    .sf-cta-banner p {
        font-size: 1.05rem;
        opacity: 0.7;
        margin-bottom: 24px;
        position: relative;
        z-index: 1;
    }

    /* ========== CTA BUTTON OVERRIDES ========== */
    .sf-cta-banner .sf-btn-red-on-white {
        background: #fff !important;
        color: var(--red) !important;
    }

    .sf-cta-banner .sf-btn-outline-white {
        border-color: rgba(255,255,255,0.4);
        color: #fff !important;
    }

/* ========== GALLERY ========== */
.sf-gallery-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(107,5,114,0.08);
    cursor: pointer;
    transition: all 0.3s;
}

    .sf-gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(107,5,114,0.15);
    }

    .sf-gallery-item img {
        width: 100%;
        display: block;
        transition: transform 0.4s;
    }

    .sf-gallery-item:hover img {
        transform: scale(1.04);
    }

.sf-mini-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

/* ========== PRICE HEADER ========== */
.sf-price-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    padding: 20px 0;
    text-align: center;
}

    .sf-price-header h2 {
        font-family: var(--font-display);
        color: #fff;
        font-size: 1.6rem;
        font-weight: 700;
        margin: 0;
    }

/* ========== GALLERY MODAL ========== */
.sf-modal-gallery .modal-content {
    background: var(--dark);
    border: 1px solid rgba(107,5,114,0.2);
    border-radius: 18px;
    overflow: hidden;
}

.sf-modal-gallery .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 20px;
}

.sf-modal-gallery .modal-title {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
}

.sf-modal-gallery .modal-header .close {
    color: rgba(255,255,255,0.5);
    font-size: 1.4rem;
    text-shadow: none;
    opacity: 1;
}

.sf-modal-gallery .modal-body {
    padding: 0;
}

    .sf-modal-gallery .modal-body img {
        width: 100%;
        padding: 0 !important;
    }

.sf-modal-gallery .modal-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 20px;
}

.sf-modal-gallery .btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

    .sf-modal-gallery .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(107,5,114,0.4);
    }

/* ========== AUTOPLAY VIDEO ========== */
.sf-autoplay-video video {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* ========== UTILITY CLASSES ========== */
.sf-col-no-pad {
    padding: 0 !important;
}

.sf-icon-red-mr {
    color: var(--red);
    margin-right: 8px;
}

.sf-icon-accent-mr {
    color: var(--accent);
    margin-right: 8px;
}

.sf-mt-60 {
    margin-top: 60px;
}

.sf-mt-32 {
    margin-top: 32px !important;
}

.sf-video-full {
    width: 100%;
    border-radius: 16px;
}

.sf-video-controls {
    width: 100%;
    border-radius: 16px;
}

.sf-img-mb-20 {
    margin-bottom: 20px;
}

/* ========== ASPECT RATIOS ========== */
.sf-ar-1778 {
    aspect-ratio: 1.778;
}

.sf-ar-1481 {
    aspect-ratio: 1.481;
}

.sf-ar-1203 {
    aspect-ratio: 1.203;
}

.sf-ar-1074 {
    aspect-ratio: 1.074;
}

.sf-ar-1068 {
    aspect-ratio: 1.068;
}

.sf-ar-1059 {
    aspect-ratio: 1.059;
}

.sf-ar-1 {
    aspect-ratio: 1;
}

.sf-ar-0997 {
    aspect-ratio: 0.997;
}

.sf-ar-0502 {
    aspect-ratio: 0.502;
}

.sf-ar-1818 {
    aspect-ratio: 1.818;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .sf-hero h1 {
        font-size: 2rem;
    }

    .sf-section-header h2 {
        font-size: 1.7rem;
    }

    .sf-alt-text h3 {
        font-size: 1.3rem;
    }

    .sf-section {
        padding: 50px 0;
    }

    .sf-cta-banner {
        padding: 36px 24px;
    }

        .sf-cta-banner h3 {
            font-size: 1.4rem;
        }
}

@media (max-width: 767px) {
    .sf-hero {
        padding: 50px 0 40px;
    }

        .sf-hero h1 {
            font-size: 1.65rem;
        }

    .sf-btn-group {
        flex-direction: column;
    }

        .sf-btn-group .sf-btn {
            justify-content: center;
        }

    .sf-stat-row {
        gap: 8px;
        justify-content: center;
    }

    .sf-stat-item {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 12px 8px;
        min-width: 0;
        flex: 1 1 0;
        border-radius: 12px;
    }

    .sf-stat-num {
        font-size: 1.4rem;
    }

    .sf-stat-label {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .sf-mini-gallery {
        gap: 8px;
    }

    .sf-section {
        padding: 40px 0;
    }
}
