/* =========================================
   OSNOVNE NASTAVITVE
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #17202b;
    background: #f4f7fb;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   GLAVA
========================================= */

header {
    position: relative;
    z-index: 100;
    width: 100%;
    min-height: 112px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(18, 38, 60, 0.07);
}

header .container {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* =========================================
   GLAVNI LOGO
========================================= */

header .logo,
header .site-logo {
    display: flex;
    height: 94px;
    flex: 0 0 auto;
    align-items: center;
}

header .logo img,
header .site-logo img,
header a.logo img {
    width: auto !important;
    height: 94px !important;
    max-width: 280px !important;
    max-height: 94px !important;
    object-fit: contain;
}


/* =========================================
   NAVIGACIJA
========================================= */

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 42px;
}

nav a {
    position: relative;
    padding: 43px 0;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

nav a:hover,
nav a:focus {
    color: #0878d8;
}

nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 31px;
    left: 0;
    height: 2px;
    background: #0878d8;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

nav a:hover::after,
nav a:focus::after {
    transform: scaleX(1);
}


/* =========================================
   LANDING
========================================= */

#landing {
    min-height: calc(100vh - 112px);
    padding: 42px 0 75px;
    background: #f4f7fb;
}


/* =========================================
   STOLPCA
========================================= */

#landing .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

#landing .landing-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
}


/* =========================================
   NASLOVA NAD KARTICAMA
========================================= */

#landing .card-title {
    display: flex;
    width: 100%;
    min-height: 78px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 15px;
    text-align: center;
}

#landing .card-title h2 {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #17202b;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}


/* =========================================
   KARTICE
========================================= */

#landing .card {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(25, 48, 70, 0.04);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(27, 50, 75, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#landing .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(27, 50, 75, 0.13);
}


/* =========================================
   SMS PRO ENERGY
========================================= */

#landing .energy-brand {
    display: flex;
    width: 100%;
    min-height: 92px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 17px 24px;
    background: #fff;
}

#landing .energy-sms,
#landing .energy-pro {
    font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    font-size: 43px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
}

#landing .energy-sms {
    color: #00a9e0;
}

#landing .energy-pro {
    margin-left: 4px;
    color: #555d66;
}

#landing .energy-name {
    margin-left: 13px;
    color: #555d66;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    font-weight: 300;
    line-height: 1;
}


/* =========================================
   SLIKE KARTIC
========================================= */

#landing .card-image {
    display: block;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

#landing .card-image picture {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#landing .card-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}


/* =========================================
   SLIKA HOTELA
========================================= */

#landing #hospitality .card-image {
    width: 100%;
    aspect-ratio: 2.8 / 1;
    overflow: hidden;
}

#landing #hospitality .card-image picture {
    width: 100%;
    height: 100%;
}

#landing #hospitality .card-image img {
    width: 110%;
    max-width: none;
    height: auto;
}


/* =========================================
   VSEBINA KARTIC
========================================= */

#landing .card-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0;
    padding: 30px 34px 34px;
}

#landing .card-body h3 {
    margin: 0 0 9px;
    color: #17202b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

#landing .card-body p {
    margin: 0 0 23px;
    color: #25313d;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================
   SEZNAMI
========================================= */

#landing .card-body ul {
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

#landing .card-body li {
    position: relative;
    margin: 0;
    padding: 9px 0 9px 24px;
    color: #25313d;
    font-size: 16px;
    line-height: 1.45;
}

#landing .card-body li::before {
    content: "✓";
    position: absolute;
    top: 8px;
    left: 0;
    color: #0878d8;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}


/* =========================================
   HOTELSKA KARTICA
========================================= */

#landing .hospitality-body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 20px;
    align-items: stretch;
}

#landing .hospitality-text {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
}


/* =========================================
   UPRAVLJANJE SOBE S TELEFONOM
========================================= */

#landing .room-control-text {
    margin: 0 0 25px;
}

#landing .room-control-text h4 {
    margin: 0 0 7px;
    color: #17202b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

#landing .room-control-text p {
    margin: 0;
    color: #25313d;
    font-size: 14px;
    line-height: 1.55;
}


/* =========================================
   DESNI SLIKOVNI STOLPEC
========================================= */

#landing .hospitality-visuals {
    position: relative;
    z-index: 5;
    display: flex;
    width: 285px;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    overflow: visible;
}


/* =========================================
   KROG HIQ – 285 PX
========================================= */

#landing .components-image {
    position: relative;
    z-index: 10;
    display: block;
    width: 285px;
    margin-top: 105px;
    overflow: visible;
    background: #fff;
}

/* Prekritje modrega trikotnika */
#landing .components-image::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 32px;
    height: 65px;
    background: #fff;
    pointer-events: none;
}

#landing .components-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 285px;
    max-width: 285px;
    height: auto;
    margin: 0;
    transform: none;
    clip-path: none;
}


/* =========================================
   TELEFON – 225 PX
========================================= */

#landing .phone-image {
    display: flex;
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
}

#landing .phone-image img {
    display: block;
    width: 225px;
    max-width: 225px;
    height: auto;
    margin: 0;
    border-radius: 12px;
}


/* =========================================
   GUMBI
========================================= */

#landing .btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin: auto 0 0;
    padding: 13px 30px;
    color: #fff;
    background: #0878d8;
    border: 2px solid #0878d8;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#landing .btn:hover,
#landing .btn:focus {
    color: #0878d8;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 120, 216, 0.2);
}


/* =========================================
   MANJŠI NAMIZNI ZASLONI
========================================= */

@media (max-width: 1100px) {

    .container {
        width: min(960px, calc(100% - 32px));
    }

    header .container {
        gap: 25px;
    }

    nav {
        gap: 24px;
    }

    nav a {
        font-size: 14px;
    }

    #landing .cards {
        gap: 18px;
    }

    #landing .card-title h2 {
        font-size: 26px;
    }

    #landing .energy-brand {
        min-height: 84px;
        padding: 15px 22px;
    }

    #landing .energy-sms,
    #landing .energy-pro {
        font-size: 37px;
    }

    #landing .energy-name {
        font-size: 31px;
    }

    #landing .card-body {
        padding: 27px 24px 31px;
    }

    #landing .hospitality-body {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 17px;
    }

    #landing .hospitality-visuals {
        width: 180px;
    }

    #landing .components-image {
        width: 180px;
        margin-top: 105px;
    }

    #landing .components-image img {
        width: 180px;
        max-width: 180px;
    }

    #landing .components-image::before {
        width: 20px;
        height: 48px;
    }

    #landing .phone-image img {
        width: 180px;
        max-width: 180px;
    }
}


/* =========================================
   TABLICE IN MOBILNI PRIKAZ
========================================= */

@media (max-width: 800px) {

    header {
        min-height: auto;
    }

    header .container {
        min-height: auto;
        flex-direction: column;
        gap: 10px;
        padding: 12px 0 14px;
    }

    header .logo,
    header .site-logo {
        height: 76px;
    }

    header .logo img,
    header .site-logo img,
    header a.logo img {
        height: 76px !important;
        max-width: 225px !important;
        max-height: 76px !important;
    }

    nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 22px;
    }

    nav a {
        padding: 8px 0;
        font-size: 14px;
    }

    nav a::after {
        bottom: 2px;
    }

    #landing {
        min-height: 0;
        padding: 30px 0 60px;
    }

    #landing .cards {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    #landing .card-title {
        min-height: 68px;
    }

    #landing .card-title h2 {
        font-size: 24px;
    }

    #landing .energy-brand {
        min-height: 80px;
        padding: 15px 20px;
    }

    #landing .energy-sms,
    #landing .energy-pro {
        font-size: 35px;
    }

    #landing .energy-name {
        font-size: 29px;
    }

    #landing .hospitality-body {
        grid-template-columns: minmax(0, 1fr) 285px;
        gap: 22px;
    }

    #landing .hospitality-visuals,
    #landing .components-image {
        width: 285px;
    }

    #landing .components-image {
        margin-top: 20px;
    }

    #landing .components-image img {
        width: 285px;
        max-width: 285px;
    }

    #landing .phone-image img {
        width: 225px;
        max-width: 225px;
    }
}


/* =========================================
   TELEFONI
========================================= */

@media (max-width: 600px) {

    #landing .hospitality-body {
        grid-template-columns: 1fr;
    }

    #landing .hospitality-visuals {
        width: 100%;
        margin-top: 15px;
        gap: 25px;
    }

    #landing .components-image {
        width: 285px;
        margin-top: 0;
    }

    #landing .components-image img {
        width: 285px;
        max-width: 285px;
    }

    #landing .phone-image {
        margin-top: 20px;
    }

    #landing .phone-image img {
        width: 225px;
        max-width: 225px;
    }
}


/* =========================================
   MANJŠI TELEFONI
========================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }

    header .logo,
    header .site-logo {
        height: 66px;
    }

    header .logo img,
    header .site-logo img,
    header a.logo img {
        height: 66px !important;
        max-width: 200px !important;
        max-height: 66px !important;
    }

    nav {
        gap: 4px 15px;
    }

    nav a {
        font-size: 13px;
    }

    #landing {
        padding-top: 24px;
    }

    #landing .card-title {
        min-height: 62px;
        padding: 0 5px;
    }

    #landing .card-title h2 {
        font-size: 21px;
    }

    #landing .energy-brand {
        min-height: 72px;
        padding: 14px 18px;
    }

    #landing .energy-sms,
    #landing .energy-pro {
        font-size: 30px;
    }

    #landing .energy-name {
        margin-left: 9px;
        font-size: 25px;
    }

    #landing .card {
        border-radius: 16px;
    }

    #landing .card-body {
        padding: 24px 20px 27px;
    }

    #landing .card-body h3 {
        font-size: 17px;
    }

    #landing .card-body p,
    #landing .card-body li {
        font-size: 15px;
    }

    #landing .room-control-text h4 {
        font-size: 15px;
    }

    #landing .room-control-text p {
        font-size: 14px;
    }

    #landing .btn {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* Vrnitev desnega slikovnega dela na prejšnje mesto */
#landing .hospitality-body {
    grid-template-columns: minmax(0, 1fr) 225px !important;
    gap: 20px !important;
}

#landing .hospitality-visuals {
    width: 225px !important;
}

#landing .components-image {
    width: 285px !important;
}

#landing .components-image img {
    width: 285px !important;
    max-width: 285px !important;
}

#landing .phone-image img {
    width: 225px !important;
    max-width: 225px !important;
}

/* Naslov in uvodno besedilo čez celotno širino hospitality kartice */
#landing .hospitality-body {
    grid-template-rows: auto auto auto auto 1fr;
}

#landing .hospitality-text {
    display: contents;
}

#landing .hospitality-text > h3 {
    grid-column: 1 / -1;
    grid-row: 1;
}

#landing .hospitality-text > p {
    grid-column: 1 / -1;
    grid-row: 2;
}

#landing .hospitality-text > .components-image {
    grid-column: 1;
    grid-row: 3;
}

#landing .hospitality-text > .room-control-text {
    grid-column: 1;
    grid-row: 4;
}

#landing .hospitality-text > .btn {
    grid-column: 1;
    grid-row: 5;
}

#landing .hospitality-visuals {
    grid-column: 2;
    grid-row: 4 / 6;
}

#landing .hospitality-text > .components-image {
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0 auto 24px;
}

/* Na telefonu ostaneta elementa drug pod drugim */
@media (max-width: 600px) {

    #landing .hospitality-body {
        grid-template-columns: 1fr !important;
    }

    #landing .hospitality-visuals {
        width: 100% !important;
        grid-column: 1;
        grid-row: auto;
    }

    #landing .hospitality-text {
        display: flex;
    }

    #landing .components-image {
        margin-top: 0;
    }
}
