﻿/* ----------------------------------------------------
   GLOBAL – Modern Gradient Theme
---------------------------------------------------- */
.loading {
    filter: blur(10px);
    opacity: 0.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.25s ease all;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #e7f1ff, #f7f9fc 50%, #dfe9ff);
    color: #002c45;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Headings */
h1, h2 {
    color: #003a60;
    text-align: center;
}

.bpv-button i,
.topnav a i {
    margin-right: 6px;
}

.nav-logo img {
    height: 36px;
    width: auto;
    margin-right: 12px;
    vertical-align: middle;
}

/* Better spacing */
.bpv-button i,
.topnav a i {
    margin-right: 6px;
}

/* ----------------------------------------------------
   DESKTOP NAVBAR – Gradient Bar
---------------------------------------------------- */
.topnavLarge {
    background: linear-gradient(90deg, #3FA9F5 0%, #0057C2 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.15);    
    padding: 16px 30px;
    box-shadow: 0 6px 18px rgba(0, 87, 194, 0.25);
    position: sticky;
    top: 0;
    z-index: 20;
}

.bpv-bar {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.bpv-button {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.05rem;
    border-radius: 14px;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    transition: 0.2s ease;
}

    .bpv-button:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

/* Language selector */
.largeScreenNav select {
    padding: 10px 14px;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ----------------------------------------------------
   MOBILE NAVBAR – Animated Dropdown
---------------------------------------------------- */
.topnav {
    display: none;
    background: linear-gradient(90deg, #3FA9F5 0%, #0057C2 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

    .topnav a {
        color: #fff;
        text-decoration: none;
        padding: 12px;
        display: block;
        font-weight: 500;
    }

        .topnav a:hover {
            background: rgba(255,255,255,0.18);
        }

    .topnav .icon {
        align-self: flex-end;
        font-size: 26px;
        color: #fff;
    }

/* --- Mobile Navigation Improved Layout --- */
.smallScreenNav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 6px;
}

    .smallScreenNav a {
        font-size: 1.1rem;
        padding: 10px 0;
    }

.languageSelector {
    display: flex;
    align-items: center;
}

    .languageSelector select {
        padding: 6px 10px;
        border-radius: 8px;
        border: none;
        background: #ffffff;
        font-size: 0.95rem;
    }

/* Dropdown container */
#MenuButton {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    gap: 8px;
    animation: slideDown 0.3s ease forwards;
}

    #MenuButton a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: #fff;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------
   FIRST PAGE CONTENT
---------------------------------------------------- */
.productsPage a,
.products a {
    text-decoration: none !important;
    color: inherit !important;
}

.productsPage,
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    /* 🔵 Rounded corners */
    border-radius: 20px;
    /* Optional, but recommended for visual clarity */
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.productPage,
.product {
    background: #ffffff;
    border-radius: 16px; /* smoother, more premium */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); /* softer modern shadow */
    overflow: hidden;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    /* subtle outline for sharp detail */
    border: 1px solid rgba(0, 60, 100, 0.08);
    margin-bottom: 24px;
}

    .productPage:hover,
    .product:hover {
        transform: translateY(-6px); /* elegant lift */
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        border-color: rgba(0, 60, 100, 0.18);
    }

.productPage img,
.product img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    object-position: center;
    display: block;
    /* maximális kompatibilitás */
    background-color: #f8f8f8;
    padding: 10px;
    /* fallback régi böngészőkre */
    max-width: 100%;
}

    .productPage h2 {
        background: linear-gradient(180deg, silver 0%, #c9c9c9 100%);
        color: #0057C2;
        padding: 14px 16px;
        font-size: 1.25rem;
        font-weight: 600;
        text-align: center;
        border-radius: 10px;
        margin: 12px;
        display: block;
        letter-spacing: 0.5px;
        /* remove link look */
        text-decoration: none !important;
        cursor: default !important;
        text-decoration: none !important;       
    }      

    .productPage:hover h2 {
        background: linear-gradient(90deg, #3FA9F5 0%, #0057C2 100%);
        color: #ffffff;    
    }


.bpv-firstpage-content {
    text-align: center;
}

    .bpv-firstpage-content h2 {
        font-family: 'Inter', Arial, sans-serif;
        font-size: 1.5rem; /* Desktop size */
        font-weight: 700;
        text-align: center;
        letter-spacing: 2px;
        margin: 20px 0 30px 0;
        color: #003a60; /* Accent color consistent with branding */
        line-height: 1.3; /* Improves readability */
    }

.bpv-firstpage-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #003048;
    margin: 14px 0;
    padding: 14px 18px;
    /* Modern redesign */
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    font-weight: 400;
}

/* ----------------------------------------------------
   FULLSCREEN VIEWER (X + -)
---------------------------------------------------- */
#fullscreenViewer.fs-viewer {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: azure; /* dark overlay */
    z-index: 99999;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 1vmin;
}

    #fullscreenViewer.fs-viewer.active {
        display: flex;
    }

.fs-content {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .fs-content img,
    .fs-content video {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        cursor: grab;
        touch-action: pan-x pan-y;
        transition: transform 0.3s ease;
    }

/* Buttons */
.fs-close,
.fs-zoom-in,
.fs-zoom-out,
.fs-prev,
.fs-next {
    position: absolute;
    width: 5vmin;
    height: 5vmin;
    line-height: 5vmin;
    text-align: center;
    font-size: 3vmin;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease-in-out;
    z-index: 100000;
}

    /* Hover effect */
    .fs-close:hover,
    .fs-zoom-in:hover,
    .fs-zoom-out:hover,
    .fs-prev:hover,
    .fs-next:hover {
        transform: scale(1.2);
        background: rgba(255,255,255,0.15);
        box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 8px rgba(255,255,255,0.3);
        text-shadow: 1px 1px 5px rgba(255,255,255,0.9);
    }

/* Button positions */
.fs-close {
    top: 2vmin;
    right: 20%;
}

.fs-zoom-in {
    top: 2vmin;
    left: 20%;
}

.fs-zoom-out {
    top: 2vmin;
    left: 30%;
}

.fs-prev {
    top: 50%;
    left: 2vmin;
    transform: translateY(-50%);
}

.fs-next {
    top: 50%;
    right: 2vmin;
    transform: translateY(-50%);
}


/* ----------------------------------------------------
   OPEN HOURS SECTION
---------------------------------------------------- */
.open-hours {
    background: #fff;
    padding: 20px;
    margin: 30px auto;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.contacts-details {
    background: #fff;
    padding: 20px;
    margin: 30px auto;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.open-hours h2 {
    font-size: 1.8rem;
    color: #003a60;
    margin-bottom: 15px;
}

    .open-hours table {
        width: 100%;
        border-collapse: collapse;
    }

        .open-hours table tr td {
            padding: 8px 12px;
            font-size: 1rem;
            color: #222;
        }

            .open-hours table tr td:first-child {
                font-weight: bold;
                text-align: left;
            }

            .open-hours table tr td:last-child {
                text-align: right;
            }

.open-hours:hover {
    box-shadow: 0 10px 25px rgba(0, 100, 200, 0.25);
    background: azure;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* ----------------------------------------------------
   Mapp
---------------------------------------------------- */
#map {
    width: 100%;
    max-width: 650px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f1ff, #f6faff);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    margin: 0 auto;
}
    /* map iframe */
    .map-iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

    /* ----------------------------------------------------
   PARAGRAPHS
---------------------------------------------------- */
    p {
        font-size: 1rem;
        line-height: 1.6;
        color: #222;
        margin: 8px 0;
        text-align: left;
    }

    .open-hours p {
        font-size: 1rem;
        color: #222;
        margin: 4px 0;
        line-height: 1.5;
    }

/* ----------------------------------------------------
   SERVICES DESCRIPTION PARAGRAPHS
---------------------------------------------------- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 30px;
    background-color: #f5f5f5;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.service-card {
   
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 60, 100, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
}

    .service-card:hover {
        box-shadow: 0 10px 25px rgba(0, 100, 200, 0.25);
        background: azure;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        transform: translateY(-2px);       
    }

    .service-card h2 {
        text-align: center;
        font-size: 1.5rem;
        color: #003a60;
        margin-bottom: 18px;
    }

    .service-card p {
        font-size: 1.05rem;
        line-height: 1.65;
        color: #003048;
        margin-bottom: 14px;
    }

    .service-card strong {
        color: #003a60;
        font-weight: 600;
    }

/* Services Page H1 - Navbar Gradient with Cyan Highlight */

.services-page h1 {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 40px 0 60px 0;
    /* Fallback color */
    color: #0057C2;
    /* Background gradient for browsers that support it */
    background: linear-gradient( 90deg, #3FA9F5 0%, /* Light Blue */
    #00bfff 50%, /* Cyan highlight */
    #0057C2 100% /* Dark Blue */
    );
    background-size: 200% 200%; /* Allows smooth animation */
}

@supports (-webkit-background-clip: text) {
    .services-page h1 {
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: navbarGradientShift 12s ease infinite;
    }
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


    /* ----------------------------------------------------
   PRODUCT DESCRIPTION PARAGRAPHS
---------------------------------------------------- */
    .productDescription p {
        font-size: 2rem;
        line-height: 1.6;
        color: #222;
        margin: 10px 0;
        text-align: left;
        font-weight: 400;
    }

        .productDescription p strong {
            color: #003a60;
            font-weight: 600;
        }

        .productDescription p em {
            font-style: italic;
            color: #005387;
        }

    .productDescription {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin: 20px 0;
    }
    /* ----------------------------------------------------
  Social-icon
---------------------------------------------------- */

    .bpv-firstpage-content .social-icon {
        font-size: 2rem;
        color: #003048;
        margin-top: 12px;
        display: inline-block;
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        padding: 10px 16px;
        border-radius: 12px;
        text-decoration: none;
        transition: 0.3s ease;
    }

        .bpv-firstpage-content .social-icon:hover {
            background: azure;
            box-shadow: 0 6px 18px rgba(0,0,0,0.12);
            transform: translateY(-2px);
        }
   
    /* Slide Show container */
    .hero-wrapper {
        width: 100%;
        padding: 20px 0;
        /* Modern look */
        background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255,255,255,0.5);
        border-bottom: 1px solid rgba(255,255,255,0.3);
        /* Soft shadows */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10), inset 0 2px 6px rgba(255,255,255,0.4);
        /* Smooth "lift" animation on scroll */
        animation: heroFadeIn 0.8s ease;
    }
    /* Fade-in animation */
    @keyframes heroFadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .hero-slider {
        width: 100%;
        height: 40vh; /* 50% of viewport height */
        min-height: 260px; /* avoid tiny size on mobile */
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #e8f1ff, #f6faff);
        border-radius: 16px;
        overflow: hidden;
    }

    .hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        display: flex !important; /* critical */
        justify-content: center !important;
        align-items: center !important;
    }

        .hero-slide.active {
            opacity: 1;
        }

        .hero-slide img {
            max-width: 100% !important;
            max-height: 100% !important;
            width: auto !important;
            height: auto !important;
            object-fit: contain !important; /* show full image */
            object-position: center;
            flex: 0 0 auto !important; /* prevent forced stretching from flex parents */
            display: block;
            pointer-events: none;
        }

    .description-title {
        font-size: 2rem;
        font-weight: 700;
        color: #003a60;
        margin: 20px 0 10px;
        text-align: center;
    }

.description-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003a60;
    margin: 20px 0 10px;
    text-align: center;
}

        .description-title:hover {            
            box-shadow: 0 10px 25px rgba(0, 100, 200, 0.25);
            background: azure;
            box-shadow: 0 6px 18px rgba(0,0,0,0.12);
            transform: translateY(-2px);
        }

.description-subtitle:hover {
    box-shadow: 0 10px 25px rgba(0, 100, 200, 0.25);
    background: azure;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.description-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2d3e50;
    margin: 10px 0;
    text-align: left;
}

        .description-text:hover {
            box-shadow: 0 10px 25px rgba(0, 100, 200, 0.25);
            background: azure;
            box-shadow: 0 6px 18px rgba(0,0,0,0.12);
            transform: translateY(-2px);            
        }
    /* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
    margin-top: auto;
    bottom: 3%;
    display: table-row;
    font-size: 0.9rem;
    width: 100%;
    height: 5%;
    text-align: center;   
}

        footer p {
            text-align: center;
        }

/* Visitor counter */
#visitor-counter {
    margin-top: 10px;
}

    #visitor-counter img {
        padding: 0 !important;
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        display: inline-block !important;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
        .fs-close, .fs-zoom-in, .fs-zoom-out {
            width: 8vmin;
            height: 8vmin;
            font-size: 3vmin;
            line-height: 8vmin;
        }

        .fs-prev, .fs-next {
            font-size: 4vmin;
        }

        .productPage img {
            height: 280px;
        }
    }

@media (max-width: 1024px) and (min-width: 769px) {
    .services {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
        padding: 32px 16px;
    }

    .service-card {
        padding: 22px 18px;
    }

    .bpv-firstpage-content h2 {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
        margin: 18px 0 28px 0;
    }
}

@media (max-width: 768px) {
    .topnavLarge {
        display: none;
    }

    .topnav {
        display: flex;
        flex-direction: column;
    }

    .fs-close, .fs-zoom-in, .fs-zoom-out, .fs-prev, .fs-next {
        width: 6vmin;
        height: 6vmin;
        font-size: 4vmin;
        line-height: 6vmin;
    }

    .fs-zoom-out {
        left: 50%;
    }

    footer {
        font-size: 0.85rem;
        padding: 10px 15px;
        border-radius: 0;
        box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
    }

    .hero-slider {
        height: 40vh;
        min-height: 260px;
    }

    .hero-arrow {
        font-size: 2.2rem;
        padding: 6px 10px;
    }

    .services {
        padding: 24px 14px;
    }

    .service-card {
        padding: 22px 18px;
    }
    .services,
    .servicesPage {
        grid-template-columns: 1fr !important;
    }

    .bpv-firstpage-content h2 {
        font-size: 1.3rem;
        letter-spacing: 1px;
        margin: 16px 0 25px 0;
    }
}

    @media (max-width: 480px) {
        .fs-close, .fs-zoom-in, .fs-zoom-out, .fs-prev, .fs-next {
            width: 8vmin;
            height: 8vmin;
            line-height: 8vmin;
            font-size: 5vmin;
        }

        .fs-zoom-out {
            left: 50%;
        }

        .productPage img {
            height: 180px;
        }

        .productPage h2,
        .product h2 {
            font-size: 1.18rem;
            padding: 14px;
        }

        .bpv-firstpage-content h2 {
            font-size: 1.18rem; /* matches your existing product h2 rule */
            letter-spacing: 0.8px;
            margin: 14px 0 20px 0;
            padding: 0 10px; /* optional padding for narrow screens */
        }
    }