* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    overflow: hidden;
}

.ipad-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}

/* iPad frame */
.ipad {
    width: calc(100vh * 0.68);
    max-width: 96vw;
    height: 96vh;
    margin-top: 2vh;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a, #2c2c2c);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    box-shadow:
        0 0 0 2px #444,
        inset 0 0 20px rgba(255, 255, 255, 0.03),
        0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

/* Top bezel */
.bezel-top {
    width: 100%;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.camera {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #1a1a3e, #0a0a1e);
    border-radius: 50%;
    border: 1px solid #333;
}

/* Bottom bezel */
.bezel-bottom {
    width: 100%;
    height: 12px;
    flex-shrink: 0;
}

/* Screen */
.screen {
    width: 100%;
    flex: 1;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Status bar */
.status-bar {
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    z-index: 10;
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.bar {
    width: 4px;
    background: white;
    border-radius: 1px;
}

.bar1 { height: 4px; }
.bar2 { height: 7px; }
.bar3 { height: 10px; }
.bar4 { height: 14px; }

.carrier-name {
    font-size: 16px;
    font-weight: 600;
}

.status-left, .status-right {
    width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-right {
    justify-content: flex-end;
}

.status-center {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.battery {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
}

/* Content area */
.content {
    flex: 1;
    overflow-y: auto;
    position: relative;
    background: #ffffff;
}

/* Web page */
.webpage {
    width: 100%;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Home indicator */
.home-indicator-area {
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.home-indicator {
    width: 140px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

/* ==================== HANS WEBSITE ==================== */

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    padding: 50px 30px;
    text-align: center;
    color: white;
}

.hero-logo {
    width: 180px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.hero h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.85;
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

/* Hero badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-green {
    background: rgba(52, 199, 89, 0.2);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.4);
}

.badge-roxtec {
    background: rgba(0, 40, 85, 0.25);
    color: #5ba3e6;
    border: 1px solid rgba(91, 163, 230, 0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    background: #f7941d;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}

.hero-btn:hover {
    background: #e8850f;
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
    padding: 40px 28px;
}

.section-dark {
    background: #f5f7fa;
}

.section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #f7941d;
    display: inline-block;
}

.section p {
    margin-bottom: 14px;
    color: #444;
}

/* Info grid (kerngegevens) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.info-card {
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.info-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.info-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Service blocks */
.service-block {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #f7941d;
}

.service-block h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.service-block ul {
    list-style: none;
    padding: 0;
}

.service-block li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: #444;
    font-size: 14px;
}

.service-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #f7941d;
    border-radius: 50%;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: white;
    color: #1a1a2e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
}

/* Steps (werkwijze) */
.steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f5f7fa;
    padding: 14px 18px;
    border-radius: 10px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: #f7941d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* USP grid */
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.usp {
    background: white;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Contact section */
.section-contact {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    text-align: center;
}

.section-contact h2 {
    color: white;
    border-bottom-color: #f7941d;
}

.section-contact p {
    color: rgba(255, 255, 255, 0.85);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
}

/* Project feed */
.project-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.project-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-placeholder {
    font-size: 60px;
    opacity: 0.6;
}

.project-body {
    padding: 18px;
}

.project-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.badge-small {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-small.badge-green {
    background: rgba(52, 199, 89, 0.15);
    color: #2da44e;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.badge-small.badge-roxtec {
    background: rgba(0, 40, 85, 0.12);
    color: #002855;
    border: 1px solid rgba(0, 40, 85, 0.25);
}

.project-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.project-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.project-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-delete {
    background: none;
    border: none;
    color: #ff3b30;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 6px;
}

.btn-delete:hover {
    background: rgba(255, 59, 48, 0.1);
}

.no-projects {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

/* Section header row */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.admin-toggle {
    background: #f7941d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.admin-toggle:hover {
    background: #e8850f;
}

/* Admin formulier */
.admin-form {
    background: white;
    border: 2px solid #f7941d;
    border-radius: 14px;
    padding: 20px;
    margin: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.admin-form h3 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 14px;
}

.admin-form input[type="text"],
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 10px;
    color: #333;
    background: #fafafa;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: 2px solid #f7941d;
    border-color: #f7941d;
    background: #fff;
}

.admin-form textarea {
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row select,
.form-row input {
    flex: 1;
}

.file-label {
    display: block;
    background: #f5f7fa;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.file-label:hover {
    border-color: #f7941d;
    color: #f7941d;
}

.photo-preview {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.form-buttons {
    display: flex;
    gap: 10px;
}

.btn-save {
    flex: 1;
    background: #f7941d;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-save:hover {
    background: #e8850f;
}

.btn-cancel {
    flex: 1;
    background: #f5f7fa;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}

.btn-cancel:hover {
    background: #eee;
}

/* Footer */
.footer {
    background: #0a0a1a;
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 10px;
    border-radius: 6px;
    opacity: 0.7;
}

.footer p {
    margin: 0;
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
    body {
        overflow: auto !important;
        overflow-y: auto !important;
        background: #ffffff;
        min-height: 100vh;
        display: block;
    }

    .ipad-container {
        height: auto;
        display: block;
    }

    .ipad {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
        border-radius: 0;
        padding: 0;
        background: none;
        box-shadow: none;
        display: block;
        overflow: visible;
    }

    .bezel-top,
    .bezel-bottom,
    .status-bar,
    .home-indicator-area {
        display: none !important;
    }

    .screen {
        border-radius: 0;
        background: #ffffff;
        display: block;
        overflow: visible;
        height: auto;
    }

    .content {
        overflow: visible;
        height: auto;
    }

    .webpage {
        min-height: 100vh;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-logo {
        width: 140px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .section {
        padding: 30px 18px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .status-left, .status-right {
        width: auto;
    }
}

