/*
Theme Name: RaumFokus3D
Theme URI: https://www.raumfokus3d.de
Author: RaumFokus3D
Description: Custom Ultra Premium Theme for RaumFokus3D
Version: 1.0
Text Domain: raumfokus3d
*/

/* ============================================================
   RAUMFOKUS3D – SUPER FINAL ULTRA CLEAN CSS 2025
   ZERO FEHLER – UNIVERSAL HERO + CTA 100K (OPTIMIZED)
=========================================================== */


/* ----------------------------------------------------------
   00 RESET – GLOBAL RESET & BASE VARIABLES
---------------------------------------------------------- */

:root {
    /* Colors */
    --rf-blue-dark: #1e4469;
    --rf-blue-mid: #2f6a98;
    --rf-blue-light: #eaf3ff;
    --rf-blue-accent: #0b76d1;

    --rf-bg-light: #f8faff;
    --rf-white: #ffffff;
    --rf-text-main: #0a3d61;
    --rf-text-muted: #4a5568;
    --rf-text-soft: #607089;
	--rf-hero-text-soft: #c8d8e8;

    --rf-border-soft: #e2e8f0;
    --rf-border-card: #e8eef4;

    /* Radius & Shadows */
    --rf-radius-sm: 8px;
    --rf-radius-md: 12px;
    --rf-radius-lg: 16px;
    --rf-radius-xl: 22px;
    --rf-radius-xxl: 32px;

    --rf-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.2);
    --rf-shadow-medium: 0 12px 35px rgba(0, 0, 0, 0.32);
    --rf-shadow-card: 0 8px 25px rgba(0, 0, 0, 0.04);
    --rf-shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.25);
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: var(--rf-bg-light);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none !important;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rf-radius-sm);
}

/* Gutenberg images – remove overlays from themes/builders */
.wp-block-image img,
figure img {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    background: none !important;
}

.wp-block-image:before,
.wp-block-image:after,
figure:before,
figure:after {
    display: none !important;
    background: none !important;
    content: none !important;
}

/* Gutenberg buttons & image alignment */
.wp-block-buttons,
.rf-actions {
    justify-content: center !important;
}

/* Spacing fixes for WP content */
.page .entry-content > *:first-child {
    margin-top: 0 !important;
}

#main,
.site-main,
.entry-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

main section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* --------------------------------------------------------------------------------------------------------------------01
   01 TYPOGRAPHY – HEADINGS, TEXT, LEAD
---------------------------------------------------------- */

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--rf-blue-dark);
    margin-bottom: 25px;
}

h2 {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #0a3d61;
}

h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.rf-lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    color: #24486d;
    margin-bottom: 30px;
}

/* LISTS / ZIELGRUPPEN – BASE */

.rf-list {
    margin-left: 0;
    padding-left: 20px;
}

.rf-list li {
    margin-bottom: 12px;
    font-size: 18px;
}

/* List animation */

.rf-list li {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.55s ease-out;
}

.rf-list li.rf-visible {
    opacity: 1;
    transform: translateY(0);
}

/* LIST STYLE – PORTFOLIO PREVIEW */

#portfolio-preview .rf-lead {
    font-size: 1.2rem;
    line-height: 1.75;
    max-width: 850px;
    margin: 0 auto 30px;
    color: #254a70;
}

#portfolio-preview .rf-list {
    margin-top: 25px;
    margin-bottom: 35px;
    padding-left: 22px;
}

#portfolio-preview .rf-list li {
    margin-bottom: 14px;
    font-size: 1.10rem;
    line-height: 1.65;
    color: #000000;
}

#portfolio-preview .rf-list li strong {
    color: var(--rf-blue-dark);
    font-weight: 700;
}

#portfolio-preview .rf-list li::marker {
    color: var(--rf-blue-dark);
    font-size: 1.2rem;
}

/* LIST STYLE – LEISTUNGEN */

#leistungen .rf-lead {
    font-size: 1.18rem;
    line-height: 1.75;
    max-width: 850px;
    margin: 0 auto 40px;
    color: #23496e;
}

#leistungen .rf-list {
    margin-top: 25px;
    margin-bottom: 35px;
    padding-left: 22px;
}

#leistungen .rf-list li {
    margin-bottom: 16px;
    font-size: 1.10rem;
    line-height: 1.65;
    color: #000000;
}

#leistungen .rf-list li strong {
    color: var(--rf-blue-dark);
    font-weight: 700;
}

#leistungen .rf-list li::marker {
    color: var(--rf-blue-dark);
    font-size: 1.2rem;
}


/* --------------------------------------------------------------------------------------------------------------------02
   02 HEADER – LAYOUT, LOGO, STICKY
---------------------------------------------------------- */

.rf-header {
    background: linear-gradient(110deg, var(--rf-blue-dark), var(--rf-blue-mid));
    border-bottom: none;
    box-shadow: none;

    padding: 8px 32px !important;   /* ✔️ HEADER I HOLLË */
    min-height: 60px !important;    /* ✔️ Lartësi elegante */
}


.rf-header-inner {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.rf-logo img {
    max-height: 60px !important;
    transform: translateY(2px);
}

.rf-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.rf-logo-text {
    font-size: 30px;
    font-weight: 1000;
    color: var(--rf-white);
}

/* LOGO – ANIMATION PREMIUM (Vetëm IKONA rrotullohet) */

/* Container */
.rf-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ikona e logos – vetëm kjo rrotullohet */
.rf-logo img {
    transition: transform 0.6s ease;
    transform-origin: center;
}

/* Teksti i logos – s'ka rrotullim, vetëm zoom */
.rf-logo-text {
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

/* Hover efekt – vetem ikona rrotullohet */
.rf-logo:hover img {
    transform: rotate(360deg);
}

/* Hover efekt – teksti vetëm zmadhohet pak */
.rf-logo:hover .rf-logo-text {
    transform: scale(1.08);
    letter-spacing: 0.6px;
}

/* Sticky header */

.rf-header--sticky {
    position: sticky;
    top: 0;
    z-index: 9999;
}


/* --------------------------------------------------------------------------------------------------------------------03
   03 NAVIGATION – DESKTOP & MOBILE (SUPER PREMIUM FINAL 2025)
---------------------------------------------------------- */

/* Desktop navigation */
.rf-nav {
    display: flex;
    align-items: center;
}

.rf-menu,
.rf-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rf-menu {
    display: flex;
    gap: 26px;
}

/* Top-level items */
.rf-menu > li {
    position: relative;
}

.rf-menu > li > a {
    font-weight: 600;
    color: var(--rf-white);
    font-size: 1.02rem;
    letter-spacing: 0.2px;
    text-decoration: none;
    padding: 8px 0;
    display: inline-block;
    position: relative;
}

/* underline */
.rf-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--rf-white);
    transition: width 0.25s ease;
    opacity: 0.9;
}

.rf-menu > li:hover > a::after {
    width: 100%;
}

/* Kontakt special */
.rf-menu > li > a[href*="kontakt"] {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}
.rf-menu > li > a[href*="kontakt"]:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   FIX: SHIGJETA MAJTAS — PREMIUM STYLE (2025)
============================================================ */

/* Vendos shigjetën majtas të tekstit */
.rf-menu > li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px; /* distanca mes shigjetës dhe tekstit */
}

/* SHIGJETA – kuti premium */
.rf-menu > li.menu-item-has-children > a::before {
    content: "";
    width: 7px;
    height: 7px;
    border: 2px solid var(--rf-white);
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    opacity: 0.9;
    transition: 0.25s ease;
    display: inline-block;
}

/* Hover animim */
.rf-menu > li.menu-item-has-children:hover > a::before {
    transform: rotate(225deg);
    opacity: 1;
}

/* ----------------------------------------------------------
   SUBMENU LEVEL 1 – DEL POSHTË (NORMAL)
---------------------------------------------------------- */
.rf-menu li ul {
    position: absolute;
    top: 100%;        /* del POSHTË */
    left: 0;
    min-width: 240px;

    background: linear-gradient(145deg, #041d33, #062b4e);
    padding: 12px 0;
    border-radius: 14px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease-out;
    z-index: 999;
}

.rf-menu > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Items */
.rf-menu li ul li {
    white-space: nowrap;
}

.rf-menu li ul a {
    display: block;
    padding: 12px 20px;
    font-size: 0.97rem;
    text-decoration: none;
    color: #e8f3ff;
    border-radius: 10px;
    transition: 0.22s ease;
}

.rf-menu li ul a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding-left: 26px;
}

/* ----------------------------------------------------------
   SUBMENU LEVEL 2 – DEL MAJTAS
---------------------------------------------------------- */
.rf-menu li ul li ul {
    position: absolute;
    top: 0;
    left: -240px;     /* MAJTAS */
    min-width: 220px;

    background: linear-gradient(145deg, #031524, #062a45);
    padding: 12px 0;
    border-radius: 14px;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease-out;
}

.rf-menu li ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ----------------------------------------------------------
   MOBILE MENU
---------------------------------------------------------- */

.rf-menu-toggle {
    display: none;
}

@media (max-width: 900px) {

    .rf-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        width: 34px;
        height: 34px;
        padding: 0;
        position: relative;
        z-index: 99999;
    }

    .rf-menu-icon,
    .rf-menu-icon::before,
    .rf-menu-icon::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--rf-white);
        transition: 0.3s ease;
        border-radius: 3px;
    }

    .rf-menu-icon { top: 50%; transform: translateY(-50%); }
    .rf-menu-icon::before { top: -10px; }
    .rf-menu-icon::after { top: 10px; }

    .rf-menu-toggle.menu-open .rf-menu-icon { background: transparent; }
    .rf-menu-toggle.menu-open .rf-menu-icon::before {
        transform: translateY(10px) rotate(45deg);
    }
    .rf-menu-toggle.menu-open .rf-menu-icon::after {
        transform: translateY(-10px) rotate(-45deg);
    }

    .rf-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100%;
        background: linear-gradient(110deg, var(--rf-blue-dark), var(--rf-blue-mid));
        padding: 80px 30px;
        transition: right 0.35s ease;
        display: flex;
        flex-direction: column;
        z-index: 9999;
    }

    .rf-nav.menu-open { right: 0; }

    .rf-menu {
        flex-direction: column;
        gap: 24px;
    }

    .rf-menu > li > a {
        font-size: 1.3rem;
        padding: 10px 0;
    }

    .rf-header-cta { display: none; }
}


/* --------------------------------------------------------------------------------------------------------------------04
   04 BUTTONS – PRIMARY, GHOST, CTA 100K (SUPER FINAL 2025)
---------------------------------------------------------- */

/* UNIVERSAL BASE BUTTON (default WP + rf-btn) */
.rf-btn,
.wp-block-button__link,
a.wp-element-button {
    padding: 14px 34px;
    border-radius: var(--rf-radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--rf-white);
    background: var(--rf-white);
    color: #1c4c78;
    box-shadow: var(--rf-shadow-soft);
    transition: all 0.28s ease;
    display: inline-block;
}

.rf-btn:hover,
.wp-block-button__link:hover,
a.wp-element-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--rf-shadow-medium);
    background: #1c4c78;
    border-color: #1c4c78;
    color: var(--rf-white);
}

/* UNIVERSAL GHOST BUTTON */
.rf-btn-ghost {
    background: transparent;
    color: var(--rf-white);
    border-color: rgba(255, 255, 255, 0.7);
}

.rf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--rf-white);
}


/* ----------------------------------------------------------
   HERO BUTTONS – Homepage & Inner Hero Sections
---------------------------------------------------------- */

/* Align hero buttons */
.rf-section--hero .wp-block-buttons,
.rf-section--hero .rf-actions {
    display: flex !important;
    gap: 20px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-top: 25px !important;
}

/* Remove WP wrapper padding */
.rf-section--hero .wp-block-button {
    margin: 0 !important;
    padding: 0 !important;
}

/* HERO BUTTON STYLE */
.rf-section--hero .wp-block-button__link,
.rf-section--hero a.wp-block-button__link,
.rf-section--hero a.wp-element-button,
.rf-section--hero a.rf-btn,
.rf-section--hero .wp-element-button {
    padding: 14px 34px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;

    background: var(--rf-white) !important;
    border: 2px solid var(--rf-white) !important;
    color: #1c4c78 !important;

    box-shadow: var(--rf-shadow-soft) !important;
    transition: all 0.25s ease !important;
}

/* HERO HOVER */
.rf-section--hero .wp-block-button__link:hover,
.rf-section--hero a.wp-block-button__link:hover,
.rf-section--hero a.wp-element-button:hover,
.rf-section--hero a.rf-btn:hover {
    background: #1c4c78 !important;
    border-color: #1c4c78 !important;
    color: var(--rf-white) !important;
    transform: translateY(-4px) !important;
    box-shadow: var(--rf-shadow-medium) !important;
}

/* HERO GHOST */
.rf-section--hero .wp-block-button.is-style-outline .wp-block-button__link,
.rf-section--hero .rf-btn-ghost {
    background: transparent !important;
    color: var(--rf-white) !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

/* HERO GHOST HOVER */
.rf-section--hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.rf-section--hero .rf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--rf-white) !important;
    transform: translateY(-4px) !important;
}


/* ----------------------------------------------------------
   UNIVERSAL BUTTONS – All sections EXCEPT HERO
---------------------------------------------------------- */

.rf-section:not(.rf-section--hero) .wp-block-button__link,
.rf-section:not(.rf-section--hero) a.wp-element-button {
    padding: 14px 34px !important;
    border-radius: var(--rf-radius-md) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;

    background: var(--rf-white) !important;
    border: 2px solid var(--rf-white) !important;
    color: #1c4c78 !important;

    box-shadow: var(--rf-shadow-soft) !important;
    transition: all 0.25s ease !important;
}

.rf-section:not(.rf-section--hero) .wp-block-button__link:hover,
.rf-section:not(.rf-section--hero) a.wp-element-button:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--rf-shadow-medium) !important;
    background: #1c4c78 !important;
    border-color: #1c4c78 !important;
    color: var(--rf-white) !important;
}

/* CTA 100K overrides = handled in section 15 */

/* ----------------------------------------------------------
   RAUMFOKUS3D – UNIVERSAL HERO BUTTON ANIMATION 2025
   (vlen për të gjithë HERO sections)
---------------------------------------------------------- */

.rf-hero .rf-btn-animate,
.rf-section--hero .rf-btn-animate {
    position: relative;
    overflow: hidden;
}

.rf-hero .rf-btn-animate span,
.rf-section--hero .rf-btn-animate span {
    display: inline-block;
    will-change: transform, opacity, text-shadow;
    transition: all 0.28s cubic-bezier(0.16, 0.8, 0.44, 1);
    color: inherit; /* siguron që teksti MOS të humbasë */
}

.rf-hero .rf-btn-animate:hover span,
.rf-section--hero .rf-btn-animate:hover span {
    animation: rfButtonSlide2025 0.55s cubic-bezier(0.16, 0.8, 0.44, 1) forwards;
}

@keyframes rfButtonSlide2025 {
    0% {
        transform: translateY(0);
        opacity: 1;
        text-shadow: none;
    }
    32% {
        transform: translateY(-8px);
        opacity: 0;
        text-shadow: 0 0 5px rgba(255,255,255,0.35);
    }
    33% {
        transform: translateY(10px);
        opacity: 0;
        text-shadow: none;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        text-shadow: 0 0 6px rgba(255,255,255,0.22);
    }
}


/* --------------------------------------------------------------------------------------------------------------------05
   05 SECTIONS – UNIVERSAL LAYOUT & CONTAINER
---------------------------------------------------------- */

.rf-section {
    padding: 80px 20px;
    position: relative;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.rf-section.rf-visible {
    opacity: 1;
    transform: translateY(0);
}

.rf-container {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;
}

/* Inner page hero base */

.rf-section--hero {
    padding: 120px 0;
    background: linear-gradient(110deg, var(--rf-blue-dark), var(--rf-blue-mid));
    color: var(--rf-white);
}

/* Fix hero text color on all inner pages */

.rf-section--hero h1,
.rf-section--hero h2,
.rf-section--hero h3,
.rf-section--hero p,
.rf-section--hero li,
.rf-section--hero strong {
    color: var(--rf-hero-text-soft) !important;
}

/* Meta tek-poshtë h1 tek herot e brendshme */
.rf-section--hero .rf-hero-meta span {
    color: #e7f1ff !important;
    opacity: 0.9;
}
/* Make subtitle-style paragraphs lighter */

.rf-section--hero p {
    color: #e7f1ff !important;
}


/* --------------------------------------------------------------------------------------------------------------------06
   06 HERO – HOMEPAGE & LAYOUT
---------------------------------------------------------- */

.rf-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    left: 50%;
    margin-left: -50vw;

    height: 100vh;             /* FIX: Hero gjithë ekranin */
    min-height: 100vh;         /* backup */

    padding: 0 !important;     /* FIX: Hiq padding lart/poshtë */
    display: flex;
    justify-content: center;   /* qendra horizontale */
    align-items: center;       /* qendra vertikale */
    text-align: center;
    overflow: hidden;

    background: linear-gradient(110deg, var(--rf-blue-dark), var(--rf-blue-mid));
    color: var(--rf-white);
}

.rf-hero:before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 70%);
    filter: blur(60px);
    opacity: 0.9;
    pointer-events: none;
}

.rf-hero__content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    transform: translateY(0) !important; /* Fiksim */
}


.rf-hero__title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--rf-hero-text-soft);
    text-shadow: 0 6px 26px rgba(0, 0, 0, 0.55);
    margin-bottom: 20px;
}

.rf-hero__subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--rf-hero-text-soft);
    margin-bottom: 20px;
}

.rf-hero__text {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1.15rem;
    line-height: 1.75;
    color: #dce8f7;
}

.rf-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .rf-hero {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        overflow-x: hidden !important;
    }

    html, body {
        overflow-x: hidden !important;
    }
}


/* Animations for HERO elements */

.rf-hero__title,
.rf-hero__subtitle,
.rf-hero__text,
.rf-hero .rf-actions {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.rf-hero--visible .rf-hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.rf-hero--visible .rf-hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.rf-hero--visible .rf-hero__text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.rf-hero--visible .rf-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

/* HERO layout for inner pages (Leistungen, Portfolio, etc.) */

.rf-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.rf-hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
}

.rf-hero-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Hero meta info */

.rf-hero-meta {
    margin-top: 25px;
}

.rf-hero-meta span {
    display: inline-block;
    margin-right: 20px;
    opacity: 0.9;
    font-size: 15px;
}

/* Placeholder box for hero media */

.rf-hero-placeholder {
    background: rgba(255, 255, 255, 0.08);
    border: 2px dashed rgba(255, 255, 255, 0.35);
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 18px;
    letter-spacing: 0.5px;
}


/* --------------------------------------------------------------------------------------------------------------------07
   07 GRID SYSTEM – CARDS, STEPS, STATS, VALUES
---------------------------------------------------------- */

/* CARD GRID (SERVICES / USP) */

.rf-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rf-card {
    padding: 30px;
    border-radius: var(--rf-radius-lg);
    background: var(--rf-white);
    border: 1px solid var(--rf-border-card);
    box-shadow: var(--rf-shadow-card);
    transition: 0.3s ease;
}

.rf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.rf-card-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--rf-blue-accent);
    text-decoration: none;
}

.rf-card-link:hover {
    text-decoration: underline;
}

/* WORKFLOW STEPS */

.rf-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.rf-step {
    padding: 30px;
    border-radius: var(--rf-radius-lg);
    background: #f5f8fc;
    border-left: 5px solid var(--rf-blue-accent);
    transition: 0.25s ease;
}

.rf-step:hover {
    background: #edf4fb;
}

.rf-step-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--rf-blue-accent);
    display: block;
    margin-bottom: 10px;
}

/* STATS GRID */

.rf-stats-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-top: 40px;
}

.rf-stat-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    background: linear-gradient(135deg, #1f4d77, #2e7ecf);
    border-radius: 22px;
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--rf-white);
    box-shadow: var(--rf-shadow-strong);
    transition: 0.35s ease;
}

.rf-stat-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

.rf-stat-number {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.rf-stat-number--percent::after {
    content: "";
    margin-left: 2px;
}

.rf-stat-text {
    font-size: 17px;
    line-height: 1.55;
    opacity: 0.95;
}

/* Responsive – 2x2 & 1x1 */

@media (max-width: 900px) {
    .rf-stats-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .rf-stat-card {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 520px) {
    .rf-stat-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* VALUES / WHY US */

.rf-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.rf-value-box {
    background: var(--rf-white);
    padding: 32px 28px;
    border-radius: var(--rf-radius-lg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: 0.35s ease;
    border-left: 5px solid var(--rf-blue-dark);
}

.rf-value-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.rf-value-icon {
    width: 12px;
    height: 12px;
    background: var(--rf-blue-dark);
    border-radius: 50%;
    margin-bottom: 12px;
}

.rf-value-box h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--rf-blue-dark);
    margin-bottom: 10px;
}

.rf-value-box p {
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* FAQ */

.rf-faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eef4;
}

.rf-faq-item h3 {
    font-size: 20px;
}


/* --------------------------------------------------------------------------------------------------------------------08
   08 FOOTER – LAYOUT & MENU
---------------------------------------------------------- */

.rf-footer {
    background: linear-gradient(110deg, var(--rf-blue-dark), var(--rf-blue-mid));
    
    padding: 25px 20px !important;   /* ✔_footer më i hollë */
    min-height: 60px !important;     /* ✔ lartësi e ulët, premium */

    color: var(--rf-white);
    margin-top: 40px;
}

.rf-footer-inner {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.rf-footer-logo img {
    max-height: 60px;
    transition: 0.3s ease;
}

.rf-footer-logo:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}
.rf-footer-copy {
    font-size: 15px;
    opacity: 0.8;
    margin: 0;
}

.rf-footer-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.rf-footer-menu a {
    color: var(--rf-white);
    font-size: 15px;
    opacity: 0.9;
    text-decoration: none;
    transition: 0.25s ease;
}

.rf-footer-menu a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* --------------------------------------------------------------------------------------------------------------------09
   09 RESPONSIVE – GLOBAL BREAKPOINTS
---------------------------------------------------------- */

@media (max-width: 900px) {

    .rf-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .primary-navigation .menu {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .rf-hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rf-hero-placeholder {
        height: 260px;
    }

    .rf-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {

    .rf-hero {
        padding: 130px 16px 90px;
    }

    .rf-hero__title {
        font-size: 2.3rem;
    }

    .rf-hero__subtitle {
        font-size: 1.2rem;
    }

    .rf-actions {
        flex-direction: column;
    }
}


/* --------------------------------------------------------------------------------------------------------------------10
   10 ANIMATIONS – UNIVERSAL REVEAL
---------------------------------------------------------- */

.rf-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 0.8, 0.44, 1);
}

.rf-animate.rf-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================================
   PREMIUM COUNT-UP – SPRING 2025 (Glow + Spring Bounce)
============================================================ */

.rf-stat-number {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    opacity: 0;
    transform: translateY(18px) scale(0.9);
}

/* fillimi – kur hyn në animim */
.rf-stat-number.rf-anim-start {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* keyframes për spring-bounce në fund */
@keyframes rf-spring-bounce {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.12); }
    60%  { transform: scale(0.96); }
    85%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* fundi – kur mbaron numërimi */
.rf-stat-number.rf-anim-end {
    color: #ffffff;
    animation:
        rf-spring-bounce 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        rf-glow-fade 1.1s ease-out forwards;
}
@keyframes rf-glow-fade {
    0% {
        text-shadow:
            0 0 14px rgba(255, 255, 255, 0.9),
            0 0 32px rgba(11, 118, 209, 0.9);
    }
    50% {
        text-shadow:
            0 0 18px rgba(255, 255, 255, 1),
            0 0 40px rgba(11, 118, 209, 1);
    }
    100% {
        text-shadow: none;
    }
}

/* --------------------------------------------------------------------------------------------------------------------11
   11 BLOG – SINGLE POST & COMMENTS
---------------------------------------------------------- */

.rf-single {
    padding-top: 80px;
    padding-bottom: 80px;
}

.rf-single-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0a3d61;
    margin-bottom: 10px;
}

.rf-single-meta {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #607089;
    opacity: 0.9;
}

.rf-single-meta .rf-meta-date {
    margin-right: 12px;
}

/* Përmbajtja e postit */

.rf-single-content {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #243547;
}

.rf-single-content p {
    margin-bottom: 1.2em;
}

.rf-single-content h2,
.rf-single-content h3,
.rf-single-content h4 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    color: #0a3d61;
}

.rf-single-content ul,
.rf-single-content ol {
    margin: 0 0 1.4em 1.4em;
}

.rf-single-content img {
    max-width: 100%;
    border-radius: 14px;
    margin: 28px auto;
    display: block;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}

/* Navigimi midis postimeve */

.rf-single-navigation {
    max-width: 800px;
    margin: 0 auto 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    font-size: 0.95rem;
}

.rf-single-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.rf-single-navigation a {
    color: var(--rf-blue-accent);
    text-decoration: none;
}

.rf-single-navigation a:hover {
    text-decoration: underline;
}

/* Komentet */

.rf-single-comments {
    max-width: 800px;
    margin: 0 auto 60px;
}

/* COMMENTS STYLE */

.rf-comments-area {
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.rf-comments-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0a3d61;
}

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

.rf-comment-list > li {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
}

.rf-no-comments {
    font-size: 0.95rem;
    color: #718096;
}

.rf-comment-form-wrapper {
    margin-top: 25px;
}


/* --------------------------------------------------------------------------------------------------------------------12
   12 ARCHIVE – GRID & PAGINATION
---------------------------------------------------------- */

.rf-archive {
    padding-top: 80px;
    padding-bottom: 80px;
}

.rf-archive-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0a3d61;
    margin-bottom: 10px;
}

.rf-archive-description {
    font-size: 1.05rem;
    color: #4a5568;
    max-width: 720px;
    margin-bottom: 30px;
}

.rf-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    margin-top: 25px;
}

/* Karta e postit në archive */

.rf-archive-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rf-archive-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.rf-archive-thumb {
    width: 100%;
    height: auto;
    display: block;
}

/* Link + titulli */

.rf-archive-link {
    display: block;
    padding: 18px 20px 16px;
    text-decoration: none;
    color: inherit;
}

.rf-archive-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a3d61;
    margin-bottom: 8px;
}

.rf-archive-meta {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: #718096;
}

.rf-meta-date {
    font-weight: 500;
}

/* Kur s’ka rezultate */

.rf-no-results {
    font-size: 1rem;
    color: #4a5568;
    margin-top: 20px;
}

/* Pagination e blogut / archive */

.rf-pagination {
    margin-top: 35px;
    text-align: center;
}

.rf-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid #d2d6e0;
    font-size: 0.95rem;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.2s ease;
}

.rf-pagination .page-numbers.current,
.rf-pagination .page-numbers:hover {
    background: #0b76d1;
    border-color: #0b76d1;
    color: #ffffff;
}


/* --------------------------------------------------------------------------------------------------------------------13
   13 SEARCH – SEARCH PAGE & RESULTS
---------------------------------------------------------- */

.rf-search-results {
    padding-top: 80px;
    padding-bottom: 80px;
}

.rf-search-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.rf-search-item {
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rf-search-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.rf-search-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.rf-search-item-title a {
    color: #0a3d61;
    text-decoration: none;
}

.rf-search-item-title a:hover {
    text-decoration: underline;
}

.rf-search-excerpt {
    font-size: 0.98rem;
    color: #4a5568;
}


/* --------------------------------------------------------------------------------------------------------------------14
   14 SPECIAL PAGES – 404, 500, LANDING
---------------------------------------------------------- */

/* 404 */

.rf-404-page {
    padding: 120px 20px;
    text-align: center;
}

.rf-404-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--rf-blue-dark);
    margin-bottom: 20px;
}

.rf-404-text {
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 40px;
    color: #334455;
}

.rf-404-section .rf-actions {
    margin-top: 20px;
}

/* 500 */

.rf-500-page {
    padding: 120px 20px;
    text-align: center;
}

.rf-500-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--rf-blue-dark);
    margin-bottom: 20px;
}

.rf-500-text {
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 40px;
    color: #334455;
}

.rf-500-section .rf-actions {
    margin-top: 20px;
}

/* LANDING PAGE TEMPLATE – PREMIUM FULL WIDTH */

.rf-landing-page {
    background: #ffffff;
}

.rf-landing-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

.rf-landing-main > * {
    margin-top: 0 !important;
}

/* Optional: remove max widths for full-bleed blocks */
.rf-landing-page .wp-block {
    max-width: 100% !important;
}


/* --------------------------------------------------------------------------------------------------------------------15
   15 CTA SPECIAL – CTA 100K ULTRA PREMIUM
---------------------------------------------------------- */

.rf-section--cta {
    background: #ffffff !important;
    padding-top: 180px !important;
    padding-bottom: 200px !important;
    margin-bottom: 150px !important;
    text-align: center;
}

/* CTA 100K ULTRA PREMIUM – BLUE CARD */

.rf-cta-card-100k {
    background: linear-gradient(145deg, #0a3d61 0%, #052d4a 60%, #001a30 100%) !important;
    padding: 80px 70px !important;
    border-radius: 32px !important;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.15) !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

/* Soft cinematic glow */

.rf-cta-card-100k::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    filter: blur(70px);
}

/* CTA Title & Text */

.rf-cta-title-100k {
    color: #ffffff !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.rf-cta-text-100k {
    color: #e6edf4 !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
    margin-bottom: 45px !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons layout */

.rf-cta-buttons-100k {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 45px !important;
}

/* CTA button base */

.rf-btn-100k {
    padding: 16px 40px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 230px !important;
    text-align: center !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    transition: 0.3s ease !important;
}

/* Primary CTA button */

.rf-btn-primary-100k {
    background: #ffffff !important;
    color: #0a3d61 !important;
    border: none !important;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2) !important;
}

.rf-btn-primary-100k:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35) !important;
}

/* Ghost CTA button – global style */

.rf-btn-ghost-100k {
    border: 2px solid #ffffff !important;
    background: transparent !important;
    color: #0a3d61 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Hover ghost – default */

.rf-btn-ghost-100k:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-3px) !important;
    color: #ffffff !important;
}

/* Meta text under buttons */

.rf-cta-meta-100k {
    margin-top: 20px;
    font-size: 16px;
    color: #c4d3df !important;
    opacity: 0.9;
}

/* Final CTA ghost override inside CTA section */

.rf-section--cta .rf-btn-ghost-100k {
    color: #0a3d61 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.rf-section--cta .rf-btn-ghost-100k:hover {
    color: #ffffff !important;
}
