@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --cte-orange: #f57c00;
    --cte-amber: #ffb300;
    --cte-blue: #2f5aa8;
    --cte-blue-dark: #1f3f7a;
    --cte-light: #f7f8fb;
    --cte-text: #24324a;
}

body {
    background-color: #ffffff;
    color: var(--cte-text);
    font-family: "Inter", sans-serif;
}

.site-logo {
    height: 90px;
    width: auto;
}

.text-indent {
    text-indent: 2rem;
}

.text-primary-custom {
    color: var(--cte-blue) !important;
}

.text-orange{ color: var(--cte-orange) !important;}
.text-blue{ color: var(--cte-blue);}
.text-blue-dark{ color: var(--cte-blue-dark);}

.fs-sm {font-size: 0.9em;}
.fs-xs {font-size: 0.8em;}
.fs-xxs {font-size: 0.7em;}

.btn-primary-custom {
    background: linear-gradient(90deg, var(--cte-orange), var(--cte-amber));
    border: 0;
    color: #fff;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    color: #fff;
    opacity: 0.92;
}

.btn-outline-primary-custom {
    border: 2px solid var(--cte-blue);
    color: var(--cte-blue);
    background: transparent;
}

.btn-outline-primary-custom:hover {
    background: var(--cte-blue);
    color: #fff;
}

.hero {
    background: linear-gradient(135deg, rgba(245,124,0,0.10), rgba(47,90,168,0.10));
    padding: 4rem 0;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.section-title {
    color: var(--cte-blue-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--cte-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
}

.info-card,
.content-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(20, 45, 90, 0.05);
    height: 100%;
}

.highlight-box {
    background: var(--cte-light);
    border-left: 5px solid var(--cte-orange);
    padding: 1rem 1.25rem;
    border-radius: 8px;
}

.site-footer {
    background: var(--cte-blue-dark);
}

.footer-link {
    color: #fff;
    text-decoration: none;
    margin-left: 1rem;
}

.footer-link:hover {
    color: var(--cte-amber);
}

.page-header {
    background: linear-gradient(135deg, rgba(47,90,168,0.08), rgba(255,179,0,0.10));
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
}

.navbar .nav-link {
    font-weight: 500;
}

.navbar .nav-link.active {
    color: var(--cte-orange) !important;
}

.sponsor-box,
.partner-box {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d7dfec;
    border-radius: 12px;
    background: #fff;
    color: var(--cte-blue);
    font-weight: 700;
}

.program-time {
    color: var(--cte-orange);
    font-weight: 700;
    min-width: 95px;
    display: inline-block;
}

.table-program td,
.table-program th {
    vertical-align: middle;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cte-blue);
    box-shadow: 0 0 0 0.2rem rgba(47, 90, 168, 0.15);
}


/* PROGRAM */
.table-semihead {
    background-color: var(--cte-blue-dark) !important;
}

.table-semihead-10 {
    background-color: rgba(31, 63, 122, 0.1) !important; /* 70% opacity */
}

/* PRELEGENCI */
.lecturer-card {
    height: 100%;
}

.lecturer-photo-wrap {
    width: 140px;
    height: 170px;
    flex: 0 0 140px;
}

.lecturer-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0px;
    border: none;
    background: #f8f9fa;
}

.lecturer-name {
    color: var(--cte-blue-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.lecturer-affiliation {
    color: var(--cte-orange);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@media (max-width: 575.98px) {
    .lecturer-layout {
        text-align: center;
    }

    .lecturer-photo-wrap {
        margin: 0 auto 1rem auto;
    }
}



/* =========================
   FOOTER
========================= */

.footer-logos {
    background: #ffffff;
    border-top: 4px solid var(--cte-orange);
    border-bottom: 1px solid #e6ecf5;
}

.logo-box {
    
    padding: 15px;

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

    background: #ffffff;
    border-radius: 10px;

    border: 1px solid #e6ecf5;

    transition: all 0.25s ease;
}

.logo-box img {
    max-height: 250px;
    max-width: 100%;
    object-fit: contain;
}

.logo-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.logo-box.patron {
    border: 2px solid rgba(31, 63, 122, 0.15);
}

.footer-main {
    background: var(--cte-blue-dark);
}

.footer-link {
    color: #fff;
    text-decoration: none;
    margin-left: 1rem;
}

.footer-link:hover {
    color: var(--cte-amber);
}

.chart-container {
    min-height: 300px;
    position: relative;
}

.hero {
    position: relative;
    background: url('../img/home_bck.png') center center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* regulujesz zaciemnienie */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}


.guest-mini-card {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.guest-mini-photo-wrap {
    width: 30%;
    aspect-ratio: 4 / 5; 
    margin: 0 auto 1rem auto;
    overflow: hidden;
    background: #e9ecef;
    /* border-radius: 12px; */
}

.guest-mini-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}