/* =========================
   DSEG FONT
========================= */

@font-face {
    font-family: 'DSEG7 Modern';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src:
        url(https://cdn.jsdelivr.net/fontsource/fonts/dseg7-modern@latest/latin-400-normal.woff2) format('woff2'),
        url(https://cdn.jsdelivr.net/fontsource/fonts/dseg7-modern@latest/latin-400-normal.woff) format('woff');
}

/* =========================
   SECTION
========================= */

.fuel-hero {
    position: relative;

    background: #cc0000;

    padding:
        0px
        60px
        40px;

    display: flex;
    gap: 50px;

    align-items: flex-end;

    overflow: visible;

    font-family:
        'Montserrat',
        sans-serif;
}

.fuel-prices {
    padding-top: 10px;
}

/* =========================
   TOTEM
========================= */

.fuel-totem {

	border: 5px solid black;
    border-radius: 50px;

    position: relative;

    width: 20%;
    min-width: 280px;

    margin-top: -70px;

    padding-top: 20px;

    background: #cc0000;

    -webkit-filter: drop-shadow(0 0 20px rgba(50,50,0,.3));
    filter: drop-shadow(0 0 20px rgba(50,50,0,.3));

    z-index: 200;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow:
        -8px 0 20px rgba(0,0,0,.4),
        12px 0 35px rgba(0,0,0,.4),
        0 30px 60px rgba(0,0,0,.4);
}

/* TOP */

.totem-top {

    position: relative;

    height: 180px;

    background:
        rgba(255,255,255,0.03);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   PRICES
========================= */

.fuel-prices {
    padding: 25px;
}

.fuel-item {

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 72px;

    margin-bottom: 12px;

    overflow: hidden;
}

.fuel-item:last-child {
    margin-bottom: 0;
}

/* BARVY PALIV */

.fuel-item.diesel .fuel-name {
    background: #000;
    color: #fff;
}

.fuel-item.n95 .fuel-name {
    background: #00a63e;
    color: #fff;
}

.fuel-item.n98 .fuel-name {
    background: #00a63e;
    color: #fff;
}

/* NÁZEV PALIVA */

.fuel-name {

    width: 55%;

    height: 100%;

    display: flex;
    align-items: center;

    padding-left: 18px;

    font-size: 20px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}

/* CENA */

.fuel-price {

    width: 45%;

    height: 100%;

    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #f55151;

    font-family:
        'DSEG7 Modern',
        monospace;

    font-size: 32px;

    letter-spacing: 2px;

    border-radius: 0;

    box-shadow: none;

    text-shadow:
        0 0 4px rgba(255,50,50,.8),
        0 0 8px rgba(255,0,0,.6);
}

/* LOGO */

.totem-logo {

    display: flex;
    align-items: center;
    justify-content: center;
    background: #cc0000;
    margin: 0 30px;

    padding:
        45px
        30px;
}

.totem-logo img {

    width: 180px;
    height: auto;

    display: block;
}

/* =========================
   SERVICE CARDS
========================= */

.fuel-hero{
    display:flex;
    gap:2%;
    align-items:stretch;
}

.fuel-cards{
    width:78%;
    
    padding-top: 100px;

    display:flex;
    gap:2%;

    margin-left:0;
}

.fuel-card{
    width:32%;
    flex:none;
}

/* CARD */

.fuel-card {

    position: relative;

    height: 720px;

    flex: 1;

    border-radius: 38px;

    overflow: hidden;

    background-size: cover;
    background-position: center;

    box-shadow:
        0 25px 50px rgba(0,0,0,0.25);

    transition:
        transform 0.35s ease;
}

.fuel-card:hover {
    transform: translateY(-12px);
}

/* BACKGROUNDS */

.fuel-card.station {
    background-image:
        url('/wp-content/uploads/2026/05/ChatGPT-Image-10.-5.-2026-21_08_13.png');
}

.fuel-card.canteen {
    background-image:
        url('/wp-content/uploads/2026/04/WhatsApp-Image-2026-03-06-at-14.29.03.jpeg');
}

.fuel-card.cafe {
    background-image:
        url('/wp-content/uploads/2026/05/ChatGPT-Image-10.-5.-2026-21_10_36.png');
}

/* OVERLAY */

.fuel-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.12),
            rgba(0,0,0,0.65)
        );
}

/* CONTENT */

.fuel-card-content {

    position: absolute;

    inset: 0;

    z-index: 2;

    padding: 55px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* TITLE */

.fuel-card-content h2 {

    color: white;

    font-size: 54px;
    font-weight: 800;

    margin-bottom: 14px;
}

/* TEXT */

.fuel-card-content p {

    color: white;

    font-size: 18px;

    line-height: 1.45;

    max-width: 320px;

    margin-bottom: 45px;
}

/* BUTTON */

.fuel-button{

    width:54px;
    height:54px;

    border:2px solid #fff;

    display:flex;

    align-items:center;
    justify-content:center;
}

.fuel-button::before{

    content:"›";

    color:#fff;

    font-size:42px;

    line-height:1;

    margin-top:-4px;
}

/* TOTEM */
.totem-services{

    display:flex;

    border-top:1px solid rgba(255,255,255,.3);
    border-bottom:1px solid rgba(255,255,255,.3);
}

.totem-service{

    flex:1;

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

    padding:25px 10px;

    color:#fff;
}

.totem-service i{

    font-size:38px;

    margin-bottom:10px;
}

.totem-service span{

    font-weight:700;

    letter-spacing:1px;
}

.totem-payments{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:8px;

    padding:0 20px 20px 20px;
}

/* poslední 3 ikony do druhé řady */

.totem-payments .payment-icon:nth-child(5){
    grid-column:1;
}

.totem-payments .payment-icon:nth-child(6){
    grid-column:2;
}

.totem-payments .payment-icon:nth-child(7){
    grid-column:3;
}

.payment-icon{

    height:64px;

    border:2px solid rgba(255,255,255,.9);

    background:transparent;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:8px;

    box-sizing:border-box;
}

.payment-icon img{

    width:100%;

    height:100%;

    object-fit:contain;

    display:block;
    
    max-height: 90%;
}

.payment-icon{

    height:58px;

    border:2px solid rgba(255,255,255,.30);

    background: #fff;

    backdrop-filter:blur(2px);
    
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.fuel-card{

    text-decoration:none;

    position:relative;

    border-radius:28px;

    overflow:hidden;
}

.fuel-card-content{

    z-index:2;
}

.fuel-card::after{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.80),
            rgba(0,0,0,.10)
        );
}

.fuel-card-content{

    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:50px;
}

.totem-open{

    color:#fff;

    text-align:center;

    padding:15px;

    font-size:22px;
    font-weight:800;

    letter-spacing:2px;
    margin: 5px;
}

/* ==========================
   ≤ 1920 px
   ========================== */
@media (max-width: 1920px) {
    .fuel-price {
        font-size: 28px;
    }

    .fuel-totem {
        width: 24%;
    }

    .fuel-cards {
        width: 74%;
    }
}

/* ==========================
   ≤ 1600 px
   ========================== */
@media (max-width: 1600px) {
    .fuel-card-content {
        padding: 30px;
    }

    .fuel-totem {
        width: 30%;
    }

    .fuel-cards {
        width: 68%;
    }
}

/* ==========================
   Tablet + Mobil (≤ 1024 px)
   ========================== */
@media (max-width: 1024px) {

	.fuel-totem {
		box-shadow: none;
	}

    .fuel-cards {
        width: 100%;
        margin: 0;
        padding: 20px 0;
        display: block;
    }

    .fuel-card {
        display: block;
        width: 100%;
        height: 400px;
        margin-bottom: 20px;
    }
}

/* ==========================
   ≤ 767 px (Mobil)
   ========================== */
@media (max-width: 767px) {

    .totem-logo {
        display: none;
    }

    .fuel-totem {
        width: 100%;
        display: block;
        position: relative;
        margin: 0 auto;
        z-index: 50;
    }

    .fuel-hero {
        display: block;
        padding: 20px;
    }

    .fuel-price {
        font-size: 24px;
    }

    .fuel-name {
        font-size: 18px;
    }
}