/*
Theme Name: NexoraGroup
Theme URI: https://www.nexoragroup.cz
Author: NexoraGroup
Description: Minimalistická firemní šablona pro skupinu NexoraGroup.
Version: 1.0
Text Domain: nexoragroup
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: #ffffff;
}

/* Layout */
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Footer */
.site-header,
.site-footer {
    padding: 20px 40px;
    background: #000;
    color: #fff;
}

.site-header a,
.site-footer a {
    color: #fff;
    text-decoration: none;
    
}

.site-branding {
    font-weight: bold;
    font-size: 20px;
}

/* Simple nav */
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.site-nav li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section.light {
    background: #f6f6f6;
}

.section.center {
    text-align: center;
}

.section h1,
.section h2,
.section h3 {
    margin-top: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

/* --- Rozšíření card o podporu pozadí --- */

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* VERTIKÁLNÍ vycentrování obsahu */
    align-items: center;       /* HORIZONTÁLNÍ vycentrování */
    text-align: center;

    padding: 40px 30px;        /* větší rovnoměrný padding pro kompaktnější vzhled */
    height: 350px;             /* pevná výška pro perfektní střed  */
    
    border-radius: 10px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Overlay */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.80); /* lehčí overlay */
    z-index: 1;
}

.card * {
    position: relative;
    z-index: 2;
}

/* Jednotlivá pozadí */
.card-kutils {
    background-image: url('/wp-content/themes/nexoragroup/assets/kutils-bg.jpg');
}

.card-interierauto {
    background-image: url('/wp-content/themes/nexoragroup/assets/interierauto-bg.jpg');
}

.card-web1klik {
    background-image: url('/wp-content/themes/nexoragroup/assets/web1klik-bg.jpg');
}

@media (max-width: 768px) {

     .card {
        margin-left: -20px;         /* jemný posun doleva */
        margin-right: 0;
        width: 60%;
        max-width: 250px;

        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;      
        text-align: center;

        padding: 30px 20px;
        min-height: 260px;
    }

    .card h3,
    .card p,
    .card a.btn {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .card h3 {
        margin-bottom: 8px;
        font-size: 20px;
    }

    .card p {
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 1.4;
    }

    .card a.btn {
        display: inline-block;
        margin-top: 10px;
        padding: 10px 16px;
        font-size: 14px;
    }
}


/* Founders */
.founders {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.founder {
    width: 250px;
    text-align: center;
}

.founder-photo {
    width: 100%;
    height: 250px;
    background: #ccc;
    border-radius: 10px;
}

footer {
    text-align: center;
}



/* ============================================
   LUXUSNÍ HERO SEKCE – PREMIUM CORPORATE STYLE
============================================ */

.hero-lux-section {
    position: relative;
    padding: 140px 20px;
    text-align: center;
    color: #fff;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

/* Temnější vrstva */
.hero-lux-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.70),
        rgba(0,0,0,0.50)
    );
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* Glass panel efekt */
.hero-lux-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 20px;

    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);

    animation: heroFadeIn 1.3s ease-out forwards;
    opacity: 0;
}

/* Luxusní nadpis */
.hero-lux-content h1 {
    font-size: 46px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* Popis */
.hero-lux-desc {
    max-width: 750px;
    margin: 0 auto 25px;
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Citáty */
.hero-lux-brand {
    max-width: 800px;
    margin: 25px auto;
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.80;
    font-style: italic;
}

/* Tlačítko */
.hero-lux-btn {
    margin-top: 25px;
    background: linear-gradient(90deg, #000, #222);
    padding: 14px 34px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

.hero-lux-btn:hover {
    background: linear-gradient(90deg, #111, #333);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.6);
}

/* Animace */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

    .hero-lux-section {
        padding: 100px 15px;
    }

    .hero-lux-content {
        padding: 30px 20px;
    }

    .hero-lux-content h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-lux-desc {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-lux-brand {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-lux-btn {
        font-size: 15px;
        padding: 12px 26px;
    }
}




/* Responsive */
@media (max-width: 768px) {
    .site-header,
    .site-footer {
        padding: 15px 20px;
    }

    .site-nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .card,
    .founder {
        width: 100%;
        max-width: 320px;
    }
}


/* ================================
   INDUSTRIAL Kontakt sekce
================================ */

.contact-industrial {
    padding: 100px 20px;
    text-align: center;
    color: #e3e3e3;
    background: url('/wp-content/themes/nexoragroup/assets/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.contact-industrial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
}

.contact-industrial h2 {
    position: relative;
    z-index: 2;
    color: #dcdcdc;
    font-size: 42px;
    letter-spacing: 4px;
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: uppercase;
}

/* === 3 Sloupcové rozložení === */
.contact-3col-layout {
    position: relative;
    z-index: 3;

    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 280px; /* stejná šířka */
}

/* === Box item – světlejší industrial + stejná výška === */
.contact-industrial-item {
    display: flex;
    align-items: center;
    gap: 20px;

    background: rgba(255,255,255,0.10);  /* světlejší kovový efekt */
    border-radius: 14px;
    padding: 22px 28px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);

    font-size: 18px;
    line-height: 1.4;

    min-height: 120px;
    height: 120px;                 /* stejné výšky všech boxů */
    box-sizing: border-box;

    transition: 0.25s ease;
}

.contact-industrial-item:hover {
    background: rgba(255,255,255,0.16); /* světlejší hover efekt */
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* Ikona */
.contact-industrial-icon {
    font-size: 34px;
    color: #ffffff;
    opacity: 0.9;
}

/* === Logo sloupec === */
.contact-col-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-col-logo img {
    width: 260px;
    max-width: 100%;
    opacity: 0.95;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.4));
    transition: 0.3s ease;
}

.contact-col-logo img:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* Zrušení modrých odkazů */
.contact-industrial a {
    color: #e3e3e3 !important;
    text-decoration: none !important;
    font-weight: 500;
}

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

    .contact-industrial {
        padding: 70px 15px;
    }

    .contact-industrial h2 {
        font-size: 34px;
        margin-bottom: 35px;
    }

    .contact-3col-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contact-col {
        width: 100%;
        max-width: 350px;
        align-items: center;
    }

    /* --- PERFEKTNÍ CENTROVÁNÍ BOXŮ --- */
    .contact-industrial-item {
        width: 100%;
        padding: 20px 25px;
        font-size: 16px;
        min-height: 140px;   /* jednotná výška pro perfektní balanc */
        height: auto;

        display: flex;
        flex-direction: column;       /* ikonka NAD textem */
        justify-content: center;      /* vertikální střed */
        align-items: center;          /* horizontální střed */
        text-align: center;           /* text doprostřed */
        gap: 10px;                    /* mezera ikonka ↔ text */
    }

    .contact-industrial-icon {
        font-size: 36px;
        margin: 0 auto;
        display: block;
    }

    .contact-industrial-item div {
        text-align: center;
        width: auto;
        display: block;
    }

    /* Logo */
    .contact-col-logo img {
        width: 180px;
        margin-top: 10px;
    }
}



