/* ============================================================
   PUBLIC.CSS - Stilet per faqet publike
   Paleta: i zi + portokall + bardhe (stili Fiverr)
   ============================================================ */

:root {
    --black:        #1a1a1a;
    --black-soft:   #2d2d2d;
    --orange:       #ff6b35;
    --orange-dark:  #e55a2b;
    --orange-light: #fff4ef;
    --white:        #ffffff;
    --gray-50:      #fafafa;
    --gray-100:     #f5f5f5;
    --gray-200:     #e5e5e5;
    --gray-300:     #d4d4d4;
    --gray-500:     #737373;
    --gray-700:     #404040;
    --gray-900:     #171717;
    --green:        #10b981;
    --shadow-sm:    0 1px 2px rgba(0,0,0,.05);
    --shadow-md:    0 4px 12px rgba(0,0,0,.08);
    --shadow-lg:    0 10px 30px rgba(0,0,0,.1);
    --radius:       8px;
    --radius-lg:    16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--black); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.pub-navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.pub-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.pub-navbar .brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.5px;
}
.pub-navbar .brand span { color: var(--orange); }
.pub-navbar .nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.pub-navbar .nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
}
.pub-navbar .nav-links a:hover { color: var(--orange); }
.pub-navbar .nav-actions { display: flex; gap: 10px; align-items: center; }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--black);
    cursor: pointer;
}

@media (max-width: 900px) {
    .pub-navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }
    .pub-navbar .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .pub-navbar .nav-actions .btn-text { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
    background: var(--orange);
    color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-dark {
    background: var(--black);
    color: var(--white);
}
.btn-dark:hover { background: var(--black-soft); color: var(--white); }
.btn-outline {
    background: transparent;
    color: var(--black);
    border-color: var(--gray-300);
}
.btn-outline:hover { border-color: var(--black); color: var(--black); }
.btn-outline-orange {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }
.btn-white {
    background: var(--white);
    color: var(--black);
}
.btn-white:hover { background: var(--gray-100); color: var(--black); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,53,.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,53,.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,107,53,.15);
    color: var(--orange);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    max-width: 850px;
}
.hero h1 .highlight {
    background: linear-gradient(120deg, var(--orange) 0%, #ffaa6c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-lead {
    font-size: 19px;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
    max-width: 640px;
}

/* Search box - hero */
.hero-search {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 10px;
    display: flex;
    gap: 8px;
    max-width: 720px;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    flex-wrap: wrap;
}
.hero-search-field {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    position: relative;
}
.hero-search-field i { color: var(--orange); font-size: 18px; }
.hero-search-field + .hero-search-field {
    border-left: 1px solid var(--gray-200);
}
.hero-search-field select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.hero-search .btn {
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.hero-stat .num {
    font-size: 32px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}
.hero-stat .lbl {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-lead { font-size: 16px; }
    .hero-search-field + .hero-search-field { border-left: none; border-top: 1px solid var(--gray-200); }
    .hero-search .btn { width: 100%; }
    .hero-stats { gap: 25px; }
    .hero-stat .num { font-size: 24px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--black); color: var(--white); }

.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow {
    color: var(--orange);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-head h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 14px;
}
.section-head p {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-head h2 { font-size: 28px; }
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}
.cat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all .2s;
    text-decoration: none;
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.cat-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--black);
    text-decoration: none;
}
.cat-card .cat-icon {
    width: 56px;
    height: 56px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 24px;
    transition: all .2s;
}
.cat-card:hover .cat-icon {
    background: var(--orange);
    color: var(--white);
}
.cat-card h3 { font-size: 16px; font-weight: 600; }
.cat-card .cnt { color: var(--gray-500); font-size: 13px; }

/* ============================================================
   HOW IT WORKS - 3 steps
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.step-card {
    text-align: center;
    position: relative;
}
.step-num {
    width: 70px;
    height: 70px;
    background: var(--black);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 28px;
    font-weight: 800;
    position: relative;
}
.step-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px dashed var(--orange);
    border-radius: 50%;
    opacity: .3;
}
.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--gray-500); }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all .2s;
}
.feature:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .icon {
    width: 52px;
    height: 52px;
    background: var(--orange-light);
    color: var(--orange);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--gray-500); font-size: 15px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-box {
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c5e 100%);
    color: var(--white);
    padding: 60px 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 250px; height: 250px;
    background: rgba(0,0,0,.08);
    border-radius: 50%;
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
.cta-box p { font-size: 17px; margin-bottom: 28px; opacity: .95; }

/* ============================================================
   BUSINESS CARDS (directory)
   ============================================================ */
.biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.biz-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .2s;
    display: flex;
    flex-direction: column;
}
.biz-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.biz-card .top {
    padding: 24px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}
.biz-card .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--black);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
}
.biz-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.biz-card .sub {
    color: var(--gray-500);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.biz-card .plan-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ribbon-featured { background: var(--orange); color: var(--white); }
.ribbon-premium { background: var(--black); color: var(--white); }
.ribbon-basic { background: var(--gray-200); color: var(--gray-700); }

.biz-card .body {
    padding: 20px 24px;
    flex: 1;
}
.biz-card .chip-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.chip {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}
.biz-card .rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-700);
}
.biz-card .rating .stars { color: var(--orange); }
.biz-card .footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.form-card .form-sub { color: var(--gray-500); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--white);
    color: var(--black);
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,107,53,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.alert-info    { background: var(--orange-light); color: var(--orange-dark); border-color: #fed7aa; }

/* ============================================================
   DIRECTORY FILTERS
   ============================================================ */
.filter-bar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}
.filter-bar select, .filter-bar input {
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 14px;
    color: var(--black);
}
.filter-bar select:focus, .filter-bar input:focus {
    outline: none;
    border-color: var(--orange);
}
@media (max-width: 768px) {
    .filter-bar { grid-template-columns: 1fr; }
}

/* ============================================================
   BUSINESS PROFILE PAGE
   ============================================================ */
.profile-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
    color: var(--white);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.profile-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,107,53,.2) 0%, transparent 70%);
    border-radius: 50%;
}
.profile-header .container { position: relative; z-index: 2; }
.profile-head-main {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    flex-shrink: 0;
    border: 4px solid var(--white);
}
.profile-head-main h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}
.profile-head-meta {
    display: flex;
    gap: 18px;
    color: rgba(255,255,255,.75);
    font-size: 15px;
    flex-wrap: wrap;
}
.profile-head-meta span { display: flex; align-items: center; gap: 6px; }

.profile-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 900px) {
    .profile-body { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] { border-color: var(--orange); }
.faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\2b';
    color: var(--orange);
    font-size: 22px;
    font-weight: 300;
    transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
    padding: 0 22px 20px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.pub-footer {
    background: var(--black);
    color: rgba(255,255,255,.7);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
.footer-col .brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    display: block;
}
.footer-col .brand span { color: var(--orange); }
.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col ul a:hover { color: var(--orange); }
.footer-col .about { font-size: 14px; line-height: 1.7; }
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: var(--black-soft);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .15s;
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}
.no-results i { font-size: 60px; color: var(--gray-300); margin-bottom: 20px; display: block; }
