/* ==========================================
   BV TRIP / TRAVEL DESIGN
========================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f2eb;
    font-family: Arial, Helvetica, sans-serif;
    color: #071b3a;
}

.trip-travel {
    max-width: 1260px;
    margin: 0 auto;
    padding-bottom: 42px;
}


/* ===========================
   NAZAJ
=========================== */

.trip-back{

    max-width:1200px;

    margin:24px auto 12px;

    padding:0 8px;

}

.trip-back a{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 16px;

    border-radius:999px;

    text-decoration:none;

    font-size:14px;

    font-weight:700;

    color:#0b3d91;

    background:#ffffff;

    border:1px solid #d9e3f2;

    box-shadow:0 4px 14px rgba(0,0,0,.08);

    transition:.2s;

}

.trip-back a:hover{

    color:#ffffff;

    background:#0b3d91;

    border-color:#0b3d91;

    transform:translateX(-3px);

    box-shadow:0 8px 20px rgba(11,61,145,.25);

}

/* HERO */

.trip-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #071b3a;
    border-radius: 0 0 34px 34px;
    box-shadow: 0 18px 42px rgba(7, 27, 58, 0.28);
}

.trip-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("/bv/grafika/foto/karlovac.jpg");
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.trip-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 16, 38, 0.96) 0%, rgba(3, 16, 38, 0.72) 42%, rgba(3, 16, 38, 0.20) 100%),
        linear-gradient(180deg, rgba(3, 16, 38, 0.18), rgba(3, 16, 38, 0.72));
}

.trip-hero-content {
    position: relative;
    z-index: 2;
    width: 62%;
    padding: 64px 70px 58px;
    color: #ffffff;
}

.trip-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 18px;
    background: #e31e24;
    border-radius: 0 18px 18px 0;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trip-hero h1 {
    margin: 0;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 1px;
}

.trip-hero h1 span,
.trip-hero h1 strong,
.trip-hero h1 em {
    display: block;
    font-style: normal;
    font-weight: 950;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
}

.trip-hero h1 span {
    font-size: 76px;
}

.trip-hero h1 strong {
    font-size: 88px;
    color: #f5c24b;
}

.trip-hero h1 em {
    font-size: 68px;
}

.trip-lead {
    max-width: 680px;
    margin: 26px 0 0;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
}

.trip-hero-logo {
    position: absolute;
    z-index: 3;
    right: 42px;
    bottom: 32px;
    width: 120px;
    opacity: 0.94;
}

.trip-hero-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* TOP CARDS */

.trip-cards {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: -46px 42px 24px;
}

.trip-card {
    position: relative;
    min-height: 214px;
    padding: 28px 26px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(7, 27, 58, 0.08);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(7, 27, 58, 0.16);
}

.trip-card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -36px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(7, 27, 58, 0.06);
}

.trip-card-dark {
    background: linear-gradient(135deg, #061831, #0b376c);
    color: #ffffff;
}

.trip-card-gold {
    background: linear-gradient(135deg, #f6c24e, #ffe7a5);
}

.trip-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    color: #ffffff;
    background: #071b3a;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}

.trip-card-icon.red {
    background: #d61f26;
}

.trip-card-icon.green {
    background: #178447;
}

.trip-card h2 {
    margin: 0 0 15px;
    font-size: 21px;
    line-height: 1.15;
    text-transform: uppercase;
}

.trip-card p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.5;
}

.trip-card strong {
    color: #d61f26;
}

.trip-card-dark strong,
.trip-card-dark h2,
.trip-card-dark p {
    color: #ffffff;
}

.trip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 12px 18px;
    background: #f5c24b;
    color: #071b3a;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

/* MAIN */

.trip-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 22px;
    margin: 0 42px;
}

.trip-panel {
    position: relative;
    overflow: hidden;
    padding: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(7, 27, 58, 0.09);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(7, 27, 58, 0.10);
}

.trip-panel::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(7, 27, 58, 0.045);
}

.trip-panel h2 {
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(7, 27, 58, 0.13);
    font-size: 25px;
    font-weight: 950;
    text-transform: uppercase;
}

/* TABLE */

.trip-table {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    font-size: 17px;
}

.trip-table th {
    padding: 13px 18px;
    background: #071b3a;
    color: #ffffff;
    text-align: left;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trip-table td {
    padding: 18px;
    border-bottom: 1px solid rgba(7, 27, 58, 0.09);
    background: #ffffff;
}

.trip-table tbody tr:nth-child(even) td {
    background: #f5f7fb;
}

.trip-table tr:last-child td {
    border-bottom: none;
}

.trip-day-row td{

    padding:12px 18px;

    background:#eef4ff;

    border-top:2px solid #1f5fae;

    font-size:15px;

    font-weight:900;

    text-transform:uppercase;

    letter-spacing:.5px;

    color:#1f5fae;

}

.trip-time {
    display: inline-block;
    padding: 6px 12px;
    color: #d61f26;
    background: #fff0f1;
    border-radius: 999px;
    font-weight: 950;
}

.trip-table-partnerji strong {
    color: #d61f26;
}

/* LOGISTIKA / PRIJAVA */

.trip-log-item {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(7, 27, 58, 0.10);
}

.trip-log-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.trip-log-item span {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px;
    background: #e8f0fb;
    color: #0b4f96;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.trip-log-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 20px;
}

.trip-log-item p {
    margin: 0;
    color: #24354d;
}

.trip-prijava h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.trip-phone {
    display: inline-block;
    margin-bottom: 14px;
    color: #d61f26;
    font-size: 26px;
    font-weight: 950;
    text-decoration: none;
}

.trip-prijava p {
    margin: 0 0 8px;
    font-weight: 700;
}

.trip-prijava ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.7;
}

/* FINAL */

.trip-info-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin: 26px 42px 0;
    padding: 30px 42px;
    color: #ffffff;
    background:
        linear-gradient(90deg, #061831, #08264d 72%, #061831),
        #071b3a;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(7, 27, 58, 0.22);
}

.trip-info-final strong {
    display: block;
    margin-bottom: 8px;
    color: #f5c24b;
    font-size: 24px;
    font-style: italic;
}

.trip-info-final p {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.trip-info-final img {
    width: 110px;
    height: auto;
    flex: none;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .trip-hero-content {
        width: 75%;
        padding: 52px 42px;
    }

    .trip-hero h1 span {
        font-size: 58px;
    }

    .trip-hero h1 strong {
        font-size: 68px;
    }

    .trip-hero h1 em {
        font-size: 52px;
    }

    .trip-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .trip-hero {
        min-height: 380px;
        border-radius: 0 0 24px 24px;
    }

    .trip-hero-content {
        width: 100%;
        padding: 42px 24px;
    }

    .trip-hero h1 span {
        font-size: 42px;
    }

    .trip-hero h1 strong {
        font-size: 50px;
    }

    .trip-hero h1 em {
        font-size: 38px;
    }

    .trip-lead {
        font-size: 19px;
    }

    .trip-hero-logo {
        display: none;
    }

    .trip-cards,
    .trip-main-grid,
    .trip-info-final {
        margin-left: 16px;
        margin-right: 16px;
    }

    .trip-cards,
    .trip-main-grid {
        grid-template-columns: 1fr;
    }

    .trip-card {
        min-height: auto;
    }

    .trip-panel {
        padding: 20px;
    }

    .trip-table {
        font-size: 15px;
    }

    .trip-table th,
    .trip-table td {
        padding: 12px;
    }

    .trip-info-final {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}
