/* ========================================
   BLYSKAVTO.COM.UA — Design Refresh v2
   Palette: Dark #1a1a2e, Accent #e63946,
   Light bg #f8f9fa, Card #fff, Text #333
   Font: Inter
   ======================================== */

/* === GLOBAL === */
body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 600;
}
p { line-height: 1.7; }
a { transition: color 0.2s ease; }
section { padding: 50px 0; }

/* === TOP BAR === */
#topBar,
#topBar.dark,
div#topBar.dark {
    background: #1a1a2e !important;
    background-color: #1a1a2e !important;
    border-bottom: none !important;
    padding: 6px 0;
}
#topBar,
#topBar a,
#topBar ul.top-links li {
    color: rgba(255,255,255,0.85) !important;
    font-size: 12.5px;
    letter-spacing: 0.3px;
}
#topBar a:hover {
    color: #fff !important;
}
#topBar .fa { color: #e63946 !important; }

/* === NAVIGATION === */
#header {
    background: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}
#header.fixed {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
#topNav a.logo img {
    max-height: 55px;
}
#topMain > li > a {
    font-weight: 500 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.5px;
    color: #333 !important;
    transition: color 0.2s ease;
}
#topMain > li > a:hover,
#topMain > li.active > a {
    color: #e63946 !important;
}
#topNav ul.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 8px 0;
}
#topNav ul.dropdown-menu > li > a {
    padding: 8px 20px;
    font-size: 13px;
    transition: all 0.2s ease;
}
#topNav ul.dropdown-menu > li > a:hover {
    background: #f8f9fa;
    color: #e63946 !important;
}

/* === SLIDER OVERLAY === */
.fullwidthbanner .overlay.dark-1 {
    background: rgba(0,0,0,0.35) !important;
}
.tp-caption.very_large_text,
.tp-caption.large_bold_white,
.tp-caption.large_text {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* === BUTTONS === */
.btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 6px !important;
    transition: all 0.25s ease;
}
.btn-custom1,
.ej-promo .btn-primary,
.callback-form .btn {
    background: #e63946 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 28px;
    font-weight: 500;
}
.btn-custom1:hover,
.ej-promo .btn-primary:hover,
.callback-form .btn:hover {
    background: #d32f3c !important;
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
    transform: translateY(-1px);
}
.btn-custom2 {
    background: transparent !important;
    color: #333 !important;
    border: 2px solid #333 !important;
    border-radius: 6px !important;
    padding: 10px 28px;
}
.btn-custom2:hover {
    background: #333 !important;
    color: #fff !important;
}
.tp-caption .btn-default {
    background: #e63946 !important;
    border: 2px solid #e63946 !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
}
.tp-caption .btn-default:hover {
    background: #fff !important;
    color: #e63946 !important;
    border-color: #fff !important;
}

/* === PROMO SECTION === */
.ej-promo {
    background: #f8f9fa !important;
    padding: 40px 0 !important;
    border: none;
}
.ej-promo blockquote {
    border-left: 4px solid #e63946;
    padding: 20px 25px;
    margin: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ej-promo .callback-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    height: auto;
    font-size: 14px;
    transition: border-color 0.2s ease;
}
.ej-promo .callback-form .form-control:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
    outline: none;
}

/* === SECTION HEADERS === */
.brown {
    background: #f0f2f5 !important;
}
.page-header.brown {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%) !important;
    padding: 25px 0;
    border: none;
}
.page-header.brown h1,
.page-header.brown h2 {
    color: #fff;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0.5px;
}
.page-header.brown .breadcrumb {
    background: transparent;
}
.page-header.brown .breadcrumb a,
.page-header.brown .breadcrumb li,
.page-header.brown .breadcrumb li.active {
    color: rgba(255,255,255,0.7);
}

/* === SERVICES === */
#services header {
    background: #f0f2f5 !important;
    padding: 20px !important;
    border-radius: 8px;
}
#services header h2 {
    font-weight: 700;
    font-size: 28px;
    color: #1a1a2e;
}
#services header .lead {
    color: #666;
    font-size: 15px;
}

/* === SERVICE CARDS === */
.item-box {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.item-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.item-box img {
    transition: transform 0.4s ease;
}
.item-box:hover img {
    transform: scale(1.05);
}
.item-box-desc {
    padding: 18px 22px 22px !important;
}
.item-box-desc h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 5px;
    letter-spacing: 0.5px;
}
.item-box-desc p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* === ADVANTAGES ICONS === */
.box-icon {
    padding: 25px 15px;
    transition: all 0.3s ease;
    border-radius: 8px;
}
.box-icon:hover {
    background: #f8f9fa;
}
.box-icon .icon {
    transition: all 0.3s ease;
}
.box-icon:hover .icon {
    transform: scale(1.1);
    border-color: #e63946 !important;
    color: #e63946 !important;
}
.box-icon h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 12px;
}
.box-icon p {
    font-size: 13px;
    color: #888;
}

/* === TESTIMONIALS === */
.testimonial-dotted > li {
    padding: 20px !important;
}
.testimonial {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}
.testimonial:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.testimonial-content {
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
    min-height: 120px;
}
.testimonial-dotted > li figure img {
    border-radius: 50%;
    border: 3px solid #f0f2f5;
}
ul.testimonial-dotted > li:after,
ul.testimonial-dotted > li:before {
    display: none !important;
}

/* === CONTACT SECTION === */
#contact {
    padding: 40px 0 !important;
    background: #f8f9fa;
}
#contact h2 {
    font-weight: 700;
    color: #1a1a2e;
}
#contact .toggle-content span.block {
    display: block;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* === FOOTER === */
#footer {
    background: #1a1a2e !important;
    color: rgba(255,255,255,0.8);
    padding: 50px 0 30px;
}
#footer h4 {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 22px;
}
#footer p,
#footer li,
#footer address,
#footer .footer-sprite {
    color: rgba(255,255,255,0.65) !important;
    font-size: 13.5px;
    line-height: 1.8;
}
#footer a {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.2s ease;
}
#footer a:hover {
    color: #e63946 !important;
    text-decoration: none;
}
#footer .footer-links li {
    padding: 3px 0;
}
#footer .social-icon.social-icon-border {
    border-color: rgba(255,255,255,0.3) !important;
    color: rgba(255,255,255,0.7) !important;
}
#footer .social-icon.social-icon-border:hover {
    background: #e63946 !important;
    border-color: #e63946 !important;
}
#footer .btn-custom1,
#footer .margin-button__footer {
    background: #e63946 !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    padding: 10px 18px !important;
    margin-top: 15px !important;
    white-space: normal !important;
    max-width: 100%;
    text-align: center;
    display: inline-block;
    word-wrap: break-word;
}
/* Footer right column fix */
#footer .col-md-2 {
    overflow: hidden;
}

/* === LUCIDE ICONS === */
.lucide {
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    stroke-width: 2;
    display: inline-block;
}
#topBar .lucide {
    color: #e63946;
    width: 14px;
    height: 14px;
    margin-right: 4px;
}
#footer .lucide {
    width: 18px;
    height: 18px;
    vertical-align: -4px;
    color: rgba(255,255,255,0.5);
    margin-right: 6px;
}

/* === COPYRIGHT === */
#footer > .copyright {
    background: rgba(0,0,0,0.25) !important;
    padding: 18px 0;
    margin-top: 30px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
#footer > .copyright,
#footer .copyright span {
    color: rgba(255,255,255,0.5) !important;
}
.copyright a {
    color: rgba(255,255,255,0.5) !important;
    margin-left: 15px;
    text-decoration: none !important;
}
.copyright a:hover {
    color: #e63946 !important;
}

/* === MODAL === */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}
.modal-header {
    background: #1a1a2e;
    border: none;
    padding: 20px 25px;
}
.modal-header .modal-title {
    color: #fff;
    font-weight: 600;
}
.modal-header .close {
    color: #fff;
    opacity: 0.7;
}
.modal-header .close:hover {
    opacity: 1;
}
.modal-body {
    padding: 30px 25px;
}
.modal-body .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    height: auto;
    font-size: 14px;
}
.modal-body .form-control:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.modal-footer {
    border-top: 1px solid #eee;
    padding: 15px 25px;
}

/* === PHONE MOBILE BAR === */
.phone-mobile {
    background: #1a1a2e !important;
    padding: 10px 15px;
}
.phone-mobile a {
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
}
.phone-mobile .lucide,
.phone-mobile .fa {
    color: #e63946 !important;
}

/* === PRIVACY & INNER PAGES === */
.page-header + section {
    padding: 45px 0 55px;
}
.page-header + section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #1a1a2e;
}
.page-header + section p,
.page-header + section li {
    line-height: 1.8;
    color: #555;
    font-size: 14.5px;
}
.page-header + section ul {
    padding-left: 25px;
    margin-bottom: 15px;
}
.page-header + section ul li {
    margin-bottom: 6px;
}
section > .container > .row > .col-md-12 > p {
    font-size: 14.5px;
    line-height: 1.8;
    color: #444;
}
section > .container > .row > .col-md-12 > h3 {
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    section { padding: 35px 0; }
}
@media (max-width: 768px) {
    .ej-promo blockquote { margin-bottom: 20px; }
    .testimonial-content { min-height: auto; }
    .item-box { margin-bottom: 20px; }
    #footer { padding: 35px 0 20px; }
    .page-header.brown h1 { font-size: 20px; }
    /* Fix CTA button overflow on mobile */
    .callback-trigger.btn-custom1,
    .btn-custom1.btn-lg {
        white-space: normal !important;
        word-wrap: break-word;
        max-width: 100%;
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
}
@media (max-width: 480px) {
    .tp-caption .btn-default { padding: 10px 20px; font-size: 12px; }
    .btn-custom1 { padding: 10px 20px !important; }
    .callback-trigger.btn-custom1,
    .btn-custom1.btn-lg {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}

/* Fix callback CTA button overflow on mobile */
@media (max-width: 767px) {
    .btn-reveal.btn-xlg.callback-trigger {
        white-space: normal !important;
        overflow: visible !important;
        font-size: 16px !important;
        padding: 16px 24px !important;
        max-width: 100%;
    }
    .callout-theme-color .col-md-4 {
        text-align: center !important;
    }
}
