/* -------------------------
   Reset / Base
------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #001428, #002f5f);
    color: #ffffff;
    min-height: 100vh;
    transition: all 0.5s ease;
}

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


/* от тук (начало търси край на ред 42)*/
/* Ефектът на премигваща светкавица в червено при посочване */
header .logo:hover img {
    /* Основна червена сянка при посочване */
    filter: drop-shadow(0 0 10px #ff0000) drop-shadow(0 0 20px #fff);
    animation: flash 0.5s infinite;
}

@keyframes flash {
    0%, 100% { 
        opacity: 1; 
        filter: brightness(1) drop-shadow(0 0 5px #ff0000); 
    }
    50% { 
        opacity: 0.8; 
        filter: brightness(2) drop-shadow(0 0 25px #ff4d4d); /* По-светло червено за сияние */
    }
    70% { 
        opacity: 1; 
        filter: brightness(1.5) drop-shadow(0 0 15px #ff0000); 
    }
}

/*до тук мигащ ефект като застанеш върху логото)*/

/* -------------------------
   Header
------------------------- */
header {
    position: relative;
    padding: 15px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: top 0.3s ease;
    z-index: 1000;
}

header .logo {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

header .logo img {
    height: 130px;
    cursor: pointer;
}

#main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    z-index: 1000;
    pointer-events: auto;
}

#main-nav a {
    font-weight: bold;
    transition: 0.3s;
}

#main-nav a:hover {
    color: #00eaff;
}

.header-controls {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

#theme-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    background: #00eaff;
    color: #001428;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#theme-btn:hover {
    background: #007acc;
    color: #fff;
}

.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-dropdown {
    position: absolute;
    top: 35px;
    right: 0;
    background: #001428;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 120px;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.lang-item img {
    width: 22px;
    height: 16px;
}

.lang-item:hover {
    background: #00eaff;
    color: black;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

/* -------------------------
   Hero / premium
------------------------- */
.hero-premium {
    text-align: center;
    padding: 100px 20px 50px 20px;
    background: linear-gradient(135deg, #001428, #002f5f);
    color: #00eaff;
    background-attachment: fixed; /* parallax */
    background-size: cover;
    transition: background 0.8s ease, color 0.8s ease;
}

.hero-premium .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 13px;
}

.hero-premium .hero-content p {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* -------------------------
   Forms / Content
------------------------- */
.content, form {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea, select {
    padding: 10px 15px;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 10px #00eaff;
}

button.submit-btn, .cta-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #00eaff;
    color: #001428;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button.submit-btn:hover, .cta-btn:hover {
    background: #007acc;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* -------------------------
   Gallery
------------------------- */
.gallery-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #001428, #002f5f);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

body.light-mode .gallery-container {
    background: linear-gradient(135deg, #e0f0ff, #cce6ff);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,234,255,0.4);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    filter: brightness(0.95);
    transition: 0.3s;
}

.gallery-img:hover {
    filter: brightness(1);
}

/* -------------------------
   Footer
------------------------- */
.footer {
    text-align: center;
    padding: 25px 10px;
    background: rgba(0,0,0,0.7);
    color: #ffffff;
    margin-top: 50px;
}

body.light-mode .footer {
    background: rgba(255,255,255,0.7);
    color: #001428;
}

/* -------------------------
   Dark / Light mode
------------------------- */
body.light-mode {
    background: linear-gradient(135deg, #e6f6ff, #cce6ff);
    color: #001428;
}

body.light-mode #theme-btn {
    background: #007acc;
    color: #fff;
}

/* -------------------------
   Fade-in анимации
------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------
   CTA button gradient
------------------------- */
.cta-btn {
    display: inline-block;
    padding: 15px 38px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, #00eaff, #007acc, #00eaff, #007acc);
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.7s;
}

.cta-btn:hover::before {
    left: 100%;
}

/* -------------------------
   Responsive / Mobile
------------------------- */
@media (max-width: 768px) {
    header .logo img {
        height: 80px;
    }

    #main-nav {
        flex-direction: column;
        gap: 8px;
        margin-top: 100px;
        width: 100%;
    }

    #main-nav a {
        font-size: 0.9rem;
        padding-left: 10px;
    }
}

/* Фиксиран бутон Facebook горе вдясно */
.header-fb-btn {
    display: inline-block;
    margin-right: 10px; /* разстояние до бутона за темата */
    vertical-align: middle;
}

.header-fb-btn img {
    width: 32px;   /* размер на бутона */
    height: 32px;
    cursor: pointer;
    transition: transform 0.2s;
}

.header-fb-btn img:hover {
    transform: scale(1.1);
}


/* Services logo img */

/* =========================
   BRANDS RESPONSIVE CLEAN
========================= */

/* DESKTOP */
@media (min-width: 1101px) {

    .brands-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        max-width: 1000px;
        margin: 60px auto;
        justify-items: center;
    }

    .brands-left,
    .brands-right {
        display: contents;
    }

    .brands-left img,
    .brands-right img {
        width: 170px;
        height: 90px;
        object-fit: contain;
        background: rgba(255,255,255,0.05);
        padding: 12px;
        border-radius: 10px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .brands-left img:hover,
    .brands-right img:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 25px rgba(0,234,255,0.4);
    }
}


/* MOBILE */
@media (max-width: 1100px) {

    .brands-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin: 50px auto;
        padding: 0 20px;
        justify-items: center;
    }

    .brands-left,
    .brands-right {
        display: contents;
    }

    .brands-left img,
    .brands-right img {
        width: 140px;
        height: 75px;
        object-fit: contain;
        background: rgba(255,255,255,0.05);
        padding: 8px;
        border-radius: 8px;
    }
}
/* Пагинационни бутони - същите цветове като CTA бутоните */
.pagination a, .pagination b {
    display: inline-block;
    padding: 10px 18px;
    margin: 5px 3px;
    background: linear-gradient(90deg, #00eaff, #007acc, #00eaff, #007acc);
    background-size: 300% 300%;
    color: #fff;
    text-decoration: none;
    border-radius: 50px; /* за по-меки бутони, като CTA */
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    animation: gradientMove 6s ease infinite; /* същата анимация като CTA */
}

.pagination a:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.pagination b {
    background: #007acc; /* активна страница - по-тъмен син */
    color: #fff;
    animation: none; /* без градиент анимация за активната страница */
}

/* =========================
   2026 homepage visual refresh
   Layout-only styles. Existing logo and site logic are unchanged.
========================= */
:root {
    --ce-navy: #03182c;
    --ce-navy-deep: #010b18;
    --ce-cyan: #13d8ef;
    --ce-cyan-soft: #74efff;
    --ce-yellow: #ffc928;
    --ce-text: #f7fbff;
    --ce-muted: #b9c9d8;
    --ce-line: rgba(91, 218, 241, 0.25);
}

body {
    background: var(--ce-navy-deep);
    color: var(--ce-text);
}

header {
    min-height: 94px;
    padding: 18px 4.5%;
    flex-direction: row;
    justify-content: space-between;
    background: rgba(1, 11, 24, 0.96);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

header .logo {
    position: static;
    display: block;
    flex: 0 0 auto;
}

header .logo img {
    display: block;
    width: auto;
    height: 76px;
}

#main-nav {
    margin: 0 auto;
    gap: clamp(18px, 2.3vw, 38px);
}

#main-nav a {
    position: relative;
    padding: 12px 0;
    color: #eaf4fb;
    font-size: 0.98rem;
}

#main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 2px;
    background: var(--ce-cyan);
    transition: right .25s ease;
}

#main-nav a:hover::after { right: 0; }

.header-controls {
    position: static;
    flex: 0 0 auto;
}

.hero-premium {
    min-height: 590px;
    padding: 90px 5% 120px;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--ce-text);
    background:
        linear-gradient(90deg, rgba(1,11,24,.99) 0%, rgba(1,11,24,.93) 34%, rgba(1,11,24,.45) 61%, rgba(1,11,24,.10) 100%),
        url('../images/classic-el-hero.png') center/cover no-repeat;
    background-attachment: scroll;
}

.hero-premium .hero-content {
    width: min(680px, 52%);
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--ce-cyan-soft);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-premium .hero-content h1 {
    margin: 0 0 24px;
    max-width: 680px;
    font-size: clamp(2.8rem, 5.2vw, 5.35rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.hero-premium .hero-content h1 span { color: var(--ce-cyan); }

.hero-lead {
    max-width: 610px;
    margin-bottom: 34px;
    color: var(--ce-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.28rem) !important;
    line-height: 1.65;
    opacity: 1 !important;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-actions .cta-btn {
    padding: 17px 25px;
    border: 1px solid var(--ce-cyan);
    border-radius: 10px;
    background: var(--ce-cyan);
    color: #001321;
    animation: none;
    box-shadow: 0 14px 34px rgba(0, 207, 232, .17);
}

.hero-actions .cta-secondary {
    background: rgba(1, 11, 24, .62);
    color: #fff;
    box-shadow: none;
}

.trust-strip {
    position: relative;
    z-index: 4;
    width: min(91%, 1380px);
    min-height: 106px;
    margin: -53px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--ce-line);
    border-radius: 15px;
    background: rgba(4, 28, 50, .96);
    box-shadow: 0 25px 65px rgba(0,0,0,.34);
    overflow: hidden;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 25px 16px;
    border-right: 1px solid var(--ce-line);
}

.trust-item:last-child { border-right: 0; }
.trust-item span { color: var(--ce-cyan); font-size: 1.8rem; }
.trust-item strong { font-size: 1rem; }

.home-services {
    padding: 90px 5% 85px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #062848 0%, var(--ce-navy-deep) 52%);
}

.section-heading span {
    color: var(--ce-cyan);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 8px 0 40px;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
}

.service-cards {
    width: min(100%, 1380px);
    margin: 0 auto 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-cards article {
    min-height: 205px;
    padding: 31px 24px;
    text-align: left;
    border: 1px solid var(--ce-line);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(12,49,78,.85), rgba(2,18,33,.88));
    transition: transform .25s ease, border-color .25s ease;
}

.service-cards article:hover { transform: translateY(-6px); border-color: var(--ce-cyan); }
.service-cards b { color: var(--ce-cyan); font-size: 2rem; }
.service-cards h3 { margin: 20px 0 8px; font-size: 1.18rem; }
.service-cards p { color: var(--ce-muted); line-height: 1.5; }

.services-link { color: var(--ce-cyan); font-weight: 800; }
.footer { margin: 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-privacy-link { color: var(--ce-cyan, #00cfe8); text-decoration: none; }
.footer-privacy-link:hover { text-decoration: underline; }
.privacy-check {
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center !important;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 14px 0 !important;
    padding: 13px 15px;
    box-sizing: border-box;
    border: 1px solid var(--ce-line, rgba(0,207,232,.25));
    border-radius: 10px;
    background: rgba(1, 17, 32, .58);
    color: var(--ce-muted, #b7c9d9);
    font-size: .9rem;
    line-height: 1.45;
}
.privacy-check span { flex: 1 1 auto; min-width: 0; text-align: left; }
.privacy-check input {
    display: block !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 4px !important;
    accent-color: var(--ce-cyan, #00cfe8);
}
.privacy-check a { color: var(--ce-cyan, #00cfe8); font-weight: 700; }
body.light-mode .privacy-check { color: #34495e; background: #f4f9fc; border-color: #c5dce8; }

body.light-mode .hero-premium,
body.light-mode .home-services { color: #fff; }
body.light-mode .trust-strip { color: #fff; }

@media (max-width: 1050px) {
    header { flex-wrap: wrap; }
    #main-nav { order: 3; width: 100%; padding-top: 10px; }
    .hero-premium .hero-content { width: min(650px, 64%); }
    .service-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    header { min-height: 82px; padding: 10px 16px; }
    header .logo img { height: 62px; }
    .header-controls { margin-left: auto; }
    .header-fb-btn { display: inline-flex; margin-right: 2px; } .header-fb-btn img { width: 26px; height: 26px; }
    #theme-btn { padding: 7px 9px; font-size: .75rem; }
    #main-nav { display: none; margin: 0; padding: 18px 0; }
    #main-nav.active { display: flex; }
    .mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; margin-left: 12px; }
    .mobile-menu-btn span { display: block; width: 26px; height: 2px; background: #fff; }
    .hero-premium {
        min-height: 680px;
        padding: 85px 22px 120px;
        align-items: flex-end;
        background:
            linear-gradient(180deg, rgba(1,11,24,.18), rgba(1,11,24,.65) 42%, rgba(1,11,24,.99) 72%),
            url('../images/classic-el-hero.png') 67% center/cover no-repeat;
    }
    .hero-premium .hero-content { width: 100%; }
    .hero-premium .hero-content h1 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .cta-btn { text-align: center; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); margin-top: -35px; }
    .trust-item { justify-content: flex-start; border-bottom: 1px solid var(--ce-line); }
    .trust-item:nth-child(2) { border-right: 0; }
    .service-cards { grid-template-columns: 1fr; }
}


/* === Light theme header only === */
body.light-mode header{
    background:rgba(248,252,255,.97);
    border-bottom-color:rgba(16,34,53,.12);
    color:#102235;
}

body.light-mode #main-nav a{
    color:#102235;
}

body.light-mode #main-nav a:hover{
    color:var(--ce-cyan,#13d8ef);
}

body.light-mode .mobile-menu-btn span{
    background:#102235;
}


/* CLASSIC-EL CALCULATOR CTA 20260919 */
.classic-quote-actions{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(190px,1fr)!important;gap:12px!important;max-width:620px;width:100%;align-items:stretch}
.classic-quote-actions a{display:flex!important;align-items:center;justify-content:center;min-height:48px;text-align:center;text-decoration:none!important}
.classic-quote-actions .classic-phone{font-weight:800;letter-spacing:.03em}
.classic-quote-actions .classic-calculator{background:#20cbe2;color:#001722}
@media(max-width:640px){.classic-quote-actions{grid-template-columns:minmax(125px,.9fr) minmax(155px,1.1fr)!important;gap:9px!important}.classic-quote-actions a{min-height:46px;padding:9px 10px!important;font-size:.92rem!important}}
