/* Idestrup Præsentationsskærm - Frontend Styles */
.ips-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #1e4d6b 100%);
    color: #ffffff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.ips-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    margin: 0;
    padding: 0;
}

.ips-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.ips-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.ips-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.ips-content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
}

.ips-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 180px;
    height: auto;
}

.ips-slogan {
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.4;
    opacity: 0.95;
}

.ips-slide h2 {
    font-size: 3.2rem;
    margin: 0 0 40px;
    font-weight: 600;
}

/* Times grid */
.ips-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.ips-time-block {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.15);
}

.ips-time-block h3 {
    margin: 0 0 16px;
    font-size: 1.4rem;
    color: #ffd166;
}

.ips-list, .ips-time-block div {
    font-size: 1.15rem;
    line-height: 1.6;
    white-space: pre-line;
}

.ips-phone {
    margin-top: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd166;
}

/* Staff grid */
.ips-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    text-align: left;
    justify-items: stretch;
    align-items: stretch;
}

.ips-staff-card {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
}

.ips-staff-card.ips-photo-top {
    flex-direction: column;
    text-align: center;
}

.ips-staff-card.ips-photo-right {
    flex-direction: row-reverse;
}

.ips-staff-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background-color: rgba(255,255,255,0.2);
    flex-shrink: 0;
    display: block;
}

.ips-shape-circle .ips-staff-photo {
    border-radius: 50%;
}

.ips-shape-rounded .ips-staff-photo {
    border-radius: 12px;
}

.ips-shape-square .ips-staff-photo {
    border-radius: 0;
}

.ips-staff-photo.ips-no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.ips-staff-info strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.ips-role {
    color: #ffd166;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.ips-contact {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Values */
.ips-value-title {
    font-size: 3.5rem;
    color: #ffd166;
    margin-bottom: 30px;
}

.ips-value-content {
    font-size: 1.5rem;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.ips-value-content p {
    margin: 0 0 20px;
}

/* Dots */
.ips-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.ips-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.ips-dot.active {
    background: #ffd166;
    transform: scale(1.3);
}

/* Clock */
.ips-clock {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.8;
    z-index: 10;
}

/* Weather widget (corner) */
.ips-weather {
    position: absolute;
    top: 20px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: 16px;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.15);
}

.ips-weather-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.ips-weather-temp {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.ips-weather-desc {
    font-size: 0.95rem;
    opacity: 0.9;
}

.ips-weather-range,
.ips-weather-loc {
    font-size: 0.8rem;
    opacity: 0.75;
}

/* Big weather slide */
.ips-weather-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ips-weather-icon-big {
    font-size: 6rem;
    line-height: 1;
}

.ips-weather-temp-big {
    font-size: 5rem;
    font-weight: 700;
}

.ips-weather-desc-big {
    font-size: 2rem;
    opacity: 0.95;
}

.ips-weather-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-size: 1.3rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .ips-title { font-size: 2.5rem; }
    .ips-slogan { font-size: 1.4rem; }
    .ips-slide h2 { font-size: 2rem; }
    .ips-value-title { font-size: 2.2rem; }
    .ips-value-content { font-size: 1.1rem; }
    .ips-times-grid { grid-template-columns: 1fr; }
    .ips-staff-grid { grid-template-columns: 1fr; }
}
