/*
Theme Name: Makoas Broker
Theme URI: https://www.makoas.mk
Author: Makoas Broker
Description: Official website theme for Makoas Broker AD Strumica
Version: 1.0
*/

:root {
  --primary: #1a66b5;
  --primary-dark: #1550a0;
  --primary-light: #e8f0fb;
  --secondary: #00af5e;
  --accent: #44a5af;
  --dark: #111827;
  --gray: #6b7280;
  --light-bg: #f9fafb;
}

* { font-family: 'Plus Jakarta Sans', sans-serif; }
body { color: var(--dark); overflow-x: hidden; }

/* ── NAVBAR ── */
.navbar { padding: 5px 0; background: rgba(255,255,255,0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 24px rgba(26,102,181,0.07); border-bottom: 1px solid rgba(255,255,255,0.6); }
.navbar-brand { font-weight: 800; font-size: 1.2rem; color: var(--dark) !important; }
.navbar-brand span { color: var(--primary); }
.nav-link { font-weight: 500; font-size: .92rem; color: var(--dark) !important; padding: 6px 14px !important; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.btn-primary-custom { background: var(--primary); color: #fff; border: none; border-radius: 8px; padding: 10px 22px; font-weight: 600; font-size: .9rem; transition: background .2s; }
.btn-primary-custom:hover { background: var(--primary-dark); color: #fff; }

/* ── SECTION LABELS ── */
.section-label { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: .78rem; font-weight: 600; border-radius: 20px; padding: 4px 14px; margin-bottom: 14px; }

/* ── HERO ── */
.hero { padding: 90px 0 80px; background: #fff; }
.hero-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: .78rem; font-weight: 600; border-radius: 20px; padding: 4px 14px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--gray); font-size: 1rem; line-height: 1.75; max-width: 480px; margin-bottom: 32px; }
.btn-outline-custom { border: 2px solid #d1d5db; color: var(--dark); background: transparent; border-radius: 8px; padding: 10px 22px; font-weight: 600; font-size: .9rem; transition: all .2s; }
.btn-outline-custom:hover { border-color: var(--primary); color: var(--primary); }
.hero-stat { position: absolute; bottom: 24px; left: 24px; background: var(--primary); color: #fff; border-radius: 14px; padding: 14px 20px; text-align: center; }
.hero-stat .number { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.hero-stat .label { font-size: .72rem; font-weight: 500; opacity: .9; }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; display: block; }

/* ── SERVICES ── */
.services { padding: 90px 0; background: var(--light-bg); }
.services h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.services .subtitle { color: var(--gray); max-width: 520px; margin: 0 auto 50px; }
.service-card { background: #fff; border-radius: 16px; padding: 32px 24px; height: 100%; border: 1px solid #f1f1f1; transition: box-shadow .25s, transform .25s; }
.service-card:hover { box-shadow: 0 12px 32px rgba(26,102,181,.1); transform: translateY(-4px); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-icon i { font-size: 1.4rem; color: var(--primary); }
.service-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: .875rem; line-height: 1.65; margin: 0; }

/* ── ABOUT ── */
.about { padding: 90px 0; background: #fff; }
.about-label { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: .78rem; font-weight: 600; border-radius: 20px; padding: 4px 14px; margin-bottom: 14px; }
.about h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 18px; }
.about p { color: var(--gray); line-height: 1.75; margin-bottom: 14px; }
.about-img { width: 100%; height: 380px; object-fit: cover; border-radius: 20px; }
.stat-item .stat-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-item .stat-desc { font-size: .82rem; color: var(--gray); font-weight: 500; }
.read-more { color: var(--primary); font-weight: 600; font-size: .9rem; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* ── CONTACT ── */
.contact { padding: 90px 0; background: var(--light-bg); }
.contact h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 14px; }
.contact .subtitle { color: var(--gray); line-height: 1.75; margin-bottom: 30px; font-size: .95rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-info-item .icon-wrap { width: 42px; height: 42px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon-wrap i { color: var(--primary); font-size: 1rem; }
.contact-info-item .info-text h6 { font-weight: 700; font-size: .85rem; margin-bottom: 2px; }
.contact-info-item .info-text p { color: var(--gray); font-size: .85rem; margin: 0; }
.form-control, .form-select { border-radius: 10px; border: 1.5px solid #e5e7eb; padding: 12px 16px; font-size: .9rem; color: var(--dark); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,102,181,.12); }
textarea.form-control { resize: none; height: 120px; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, #1a66b5 0%, #1550a0 100%); padding: 80px 0 70px; color: #fff; text-align: center; }
.page-hero .badge-label { display: inline-block; background: rgba(255,255,255,.18); border-radius: 20px; padding: 4px 16px; font-size: .8rem; font-weight: 600; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p { font-size: .97rem; opacity: .88; max-width: 540px; margin: 0 auto; line-height: 1.75; }

/* ── BREADCRUMB ── */
.breadcrumb-wrap { background: #fff; padding: 13px 0; border-bottom: 1px solid #e5e7eb; }
.breadcrumb { margin: 0; font-size: .85rem; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--gray); }

/* ── SERVICE DETAIL ── */
.service-detail { padding: 80px 0; }
.service-detail:nth-child(even) { background: var(--light-bg); }
.service-detail:nth-child(odd) { background: #fff; }
.service-icon-lg { width: 72px; height: 72px; border-radius: 18px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-icon-lg i { font-size: 2rem; color: var(--primary); }
.service-detail h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 16px; }
.service-detail p { color: var(--gray); line-height: 1.8; margin-bottom: 14px; font-size: .95rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--dark); margin-bottom: 12px; font-weight: 500; }
.check-list li i { color: var(--primary); font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }
.service-img { width: 100%; height: 380px; object-fit: cover; border-radius: 20px; display: block; }
.tag-pill { display: inline-block; background: var(--primary-light); color: var(--primary); border-radius: 20px; padding: 5px 14px; font-size: .78rem; font-weight: 600; margin: 4px 4px 4px 0; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg, #1a66b5 0%, #1550a0 100%); padding: 70px 0; text-align: center; color: #fff; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { opacity: .88; max-width: 500px; margin: 0 auto 32px; line-height: 1.75; font-size: .95rem; }
.btn-white { background: #fff; color: var(--primary); border: none; border-radius: 8px; padding: 13px 32px; font-weight: 700; font-size: .95rem; transition: box-shadow .2s; }
.btn-white:hover { box-shadow: 0 6px 24px rgba(0,0,0,.15); color: var(--primary-dark); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); border-radius: 8px; padding: 13px 32px; font-weight: 700; font-size: .95rem; transition: all .2s; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ── REGISTAR ── */
.main-content { padding: 56px 0 80px; }
.company-card { background: #fff; border-radius: 18px; border: 1px solid #e5e7eb; overflow: hidden; margin-bottom: 40px; }
.company-card-header { background: var(--primary-light); padding: 22px 30px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid #d1e8fb; }
.company-card-header .header-icon { width: 50px; height: 50px; background: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.company-card-header .header-icon i { color: #fff; font-size: 1.4rem; }
.company-card-header h5 { font-weight: 800; font-size: 1.05rem; margin: 0 0 3px; color: var(--dark); }
.company-card-header p { font-size: .82rem; color: var(--gray); margin: 0; }
.company-details { padding: 28px 30px; }
.detail-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f3f4f6; }
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-icon { width: 38px; height: 38px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-icon i { color: var(--primary); font-size: .95rem; }
.detail-label { font-size: .78rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.detail-value { font-size: .93rem; font-weight: 600; color: var(--dark); }
.detail-value a { color: var(--primary); text-decoration: none; }
.detail-value a:hover { text-decoration: underline; }
.table-card { background: #fff; border-radius: 18px; border: 1px solid #e5e7eb; overflow: hidden; }
.table-card-header { padding: 22px 28px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.table-card-header h5 { font-weight: 800; font-size: 1.05rem; margin: 0; }
.table-card-header .count-badge { background: var(--primary-light); color: var(--primary); font-size: .8rem; font-weight: 700; border-radius: 20px; padding: 4px 14px; }
.search-wrap { padding: 16px 28px; border-bottom: 1px solid #f3f4f6; background: var(--light-bg); }
.search-wrap .form-control { border-radius: 10px; border: 1.5px solid #e5e7eb; font-size: .88rem; padding: 10px 16px 10px 42px; }
.search-wrap .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,102,181,.1); }
.search-wrap .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: .95rem; pointer-events: none; }
.reg-table { margin: 0; font-size: .85rem; }
.reg-table thead th { background: var(--light-bg); color: var(--gray); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; padding: 13px 18px; border-bottom: 2px solid #e5e7eb; white-space: nowrap; }
.reg-table tbody td { padding: 14px 18px; vertical-align: middle; border-bottom: 1px solid #f3f4f6; }
.reg-table tbody tr:last-child td { border-bottom: none; }
.reg-table tbody tr:hover { background: #f0f6ff; }
.badge-aktiven { background: #d1fae5; color: #065f46; font-size: .75rem; font-weight: 700; border-radius: 20px; padding: 4px 12px; white-space: nowrap; }
.badge-prestanok { background: #fee2e2; color: #991b1b; font-size: .75rem; font-weight: 700; border-radius: 20px; padding: 4px 12px; white-space: nowrap; }
.name-cell { font-weight: 700; color: var(--dark); }
.rbs-cell { font-family: monospace; font-size: .82rem; color: var(--gray); font-weight: 600; }
.no-results { text-align: center; padding: 40px; color: var(--gray); font-size: .92rem; display: none; }

/* ── FOOTER ── */
footer { background: #111827; color: #9ca3af; padding: 60px 0 30px; }
footer .footer-logo { font-weight: 800; font-size: 1.1rem; color: #fff; }
footer .footer-logo span { color: var(--primary); }
footer p.footer-desc { font-size: .85rem; color: #9ca3af; max-width: 260px; line-height: 1.7; margin-top: 12px; }
footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: .9rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #9ca3af; text-decoration: none; font-size: .85rem; }
footer ul li a:hover { color: var(--primary); }
.footer-divider { border-color: #1f2937; margin: 30px 0 20px; }
.footer-bottom { font-size: .8rem; color: #6b7280; }
.social-icon { width: 36px; height: 36px; border: 1px solid #374151; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #9ca3af; text-decoration: none; transition: all .2s; margin-left: 8px; }
.social-icon:hover { border-color: var(--primary); color: var(--primary); }
