
/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Lato', sans-serif; font-size: 13px; line-height: 23px; color: #242424; background: #fff; position: relative; }
a { color: #242424; text-decoration: none; transition: all 0.2s ease-in; }
a:focus, a:active, a:hover { color: #da404b; text-decoration: none; }
:focus-visible {
    outline: 2px solid #da404b;
    outline-offset: 2px;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #da404b;
    outline-offset: 2px;
}
img { max-width: 100%; height: auto; }
hr { margin: 0 0 35px; border: 0; border-top: 1px solid #d5d5d5; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 400; text-transform: uppercase; color: #353535; }
h1 { font-size: 20px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4, h5, h6 { font-size: 14px; }

/* === Container === */
.container { max-width: 1070px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 1300px) { .container { width: 1230px; max-width: 1230px; } .hero-image { max-width: 1230px; margin-left: auto; margin-right: auto; } }

/* === Header === */
.header { border-bottom: 1px solid #d5d5d5; margin-bottom: 0; position: relative; }
.header-row-2 { padding: 35px 0 20px; }
.header-row-2 .container { display: flex; align-items: center; justify-content: space-between; }
.header-row-2-left { flex-shrink: 0; }
.header-row-2-right { flex-shrink: 0; }

/* === Logo === */
.logo { display: inline-block; text-decoration: none; line-height: 70px; height: 70px; }
.logo:hover { text-decoration: none; }
.logo img { height: 70px; width: auto; display: block; }

/* === Navigation === */
.navbar { border: 0; margin: 0; background-color: transparent; }
.nav-list { list-style: none; display: flex; gap: 0; align-items: center; }
.nav-list li a { font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: #000; padding: 10px 20px; display: block; }
.nav-list li:last-child a { padding-right: 0; }
.nav-list li a:hover,
.nav-list li a.active { color: #da404b; text-decoration: none; background-color: transparent; }

.nav-toggle { display: none; background: none; border: none; color: #000; font-size: 24px; cursor: pointer; padding: 10px; line-height: 1; }

@media (max-width: 767px) {
    .header-row-2 { padding: 10px 0; }
    .header-row-2-left { flex: 1; }
    .nav-toggle { display: block; }
    .header-row-2-right { display: none; }
    .header-row-2-right.open { display: block; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; z-index: 999; border-bottom: 1px solid #d5d5d5; }
    .nav-list { flex-direction: column; width: 100%; }
    .navbar { width: 100%; }
    .nav-list li { width: 100%; }
    .nav-list li a { padding: 12px 15px; border-top: 1px solid #d5d5d5; color: #da404b; text-align: left; }
    .nav-list li:last-child a { border-bottom: 1px solid #d5d5d5; }
    .logo { line-height: 65px; height: 65px; }
    .logo img { height: 65px; }
}

/* === Hero Image === */
.hero-image { margin-bottom: 0; }
.hero-image img { display: block; width: 100%; height: auto; }

/* === Sidebar === */
.page-sidebar { width: 300px; flex-shrink: 0; padding-top: 10px; }
.page-sidebar h3 { font-family: 'Montserrat', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #353535; margin: 0 0 25px; font-weight: 400; }
.page-sidebar h4 { font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700; color: #242424; margin: 0 0 3px; text-transform: none; }
.page-sidebar p { margin: 0 0 15px; line-height: 20px; }
.page-sidebar .contact-links { margin-top: 25px; }
.page-sidebar .contact-links a { display: block; padding: 12px 0; border-top: 1px solid #d5d5d5; font-family: 'Montserrat', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #242424; }
.page-sidebar .contact-links a:hover { color: #da404b; }

/* === Homepage Content === */
.home-content { padding: 50px 0 40px; }
.home-content .container { display: flex; gap: 40px; }
.home-main { flex: 1; }
.home-main h2 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-size: 18px; font-weight: 400; letter-spacing: 0.5px; margin: 0 0 25px; text-align: center; color: #353535; }
.home-main p { margin-bottom: 20px; text-align: center; line-height: 23px; }

/* === Page Layout (with sidebar) === */
.page-layout { display: flex; gap: 40px; padding-top: 30px; padding-bottom: 40px; }
.page-layout .page-content { flex: 1; padding: 0; }

@media (max-width: 767px) {
    .home-content .container,
    .page-layout { flex-direction: column; gap: 30px; }
    .page-sidebar { width: 100%; }
}

/* === Page Content === */
.page-content { padding: 30px 0 40px; }
.page-content h1 { color: #353535; font-size: 28px; margin-bottom: 25px; }
.page-content h2 { color: #353535; margin-top: 30px; margin-bottom: 15px; }
.page-content p { margin-bottom: 20px; }
.page-content ul, .page-content ol { margin: 0 0 20px 1.5rem; }

/* === Price Table === */
.price-category { margin-bottom: 30px; }
.price-table { width: 100%; border-collapse: collapse; line-height: 30px; }
.price-table tr { border-bottom: 1px solid #d5d5d5; }
.price-table th { text-align: left; padding: 8px; padding-right: 25px; border-bottom: 2px solid #d5d5d5; color: #353535; font-family: 'Montserrat', sans-serif; font-size: 11px; text-transform: uppercase; }
.price-table th:last-child { text-align: right; padding-right: 0; }
.price-table td { padding: 8px; padding-right: 25px; border-bottom: 1px solid #d5d5d5; }
.price-table td.price { text-align: right; font-weight: 700; white-space: nowrap; padding-right: 0; }
.price-table small { display: block; color: #666; font-size: 12px; }

/* === Team Section (O nama) === */
.team-section { margin-bottom: 10px; }
.team-section > h2 { font-size: 11px; letter-spacing: 1px; color: #767676; margin-bottom: 20px; }

.team-member { display: flex; gap: 25px; align-items: flex-start; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #d5d5d5; }
.team-member:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.team-member-photo { flex-shrink: 0; width: 150px; }
.team-member-photo img { display: block; width: 150px; height: 150px; object-fit: cover; object-position: top; }

.team-member-info { flex: 1; }
.team-member-info h2 { font-size: 15px; margin-top: 0; margin-bottom: 5px; }
.team-member-spec { display: block; font-size: 12px; color: #666; margin-bottom: 10px; font-style: italic; }
.team-member-info p { margin-bottom: 0; }

/* === Office Section (O nama) === */
.office-section h2 { margin-top: 0; margin-bottom: 15px; }
.office-section > p { margin-bottom: 20px; }

.office-photos { display: flex; gap: 15px; margin-bottom: 15px; }
.office-photos img { flex: 1; min-width: 0; display: block; width: 50%; height: auto; object-fit: cover; }

.office-map img { display: block; width: 100%; height: auto; }

@media (max-width: 767px) {
    .team-member { flex-direction: column; gap: 15px; }
    .team-member-photo { width: 100%; }
    .team-member-photo img { width: 150px; height: 150px; }
    .office-photos { flex-direction: column; gap: 10px; }
    .office-photos img { width: 100%; }
}

/* === Gallery === */
.gallery-section { margin-bottom: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-grid a { display: block; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Lightbox === */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 1000; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; display: block; box-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.lightbox-close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; padding: 0; opacity: 0.8; }
.lightbox-close:hover { opacity: 1; }

/* === Footer === */
.site-footer { border-top: 1px solid #d5d5d5; padding: 55px 0 45px; text-align: center; margin-top: 40px; }
.footer-copyright { margin: 0 0 5px; font-size: 11px; color: #242424; }
.footer-credit { font-size: 11px; color: #767676; }
.footer-credit a { color: #767676; }
.footer-credit a:hover { color: #da404b; }

/* === Buttons === */
.btn { display: inline-block; padding: 10px 28px; font-size: 11px; font-weight: 300; border-radius: 0; text-transform: uppercase; border: none; cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; }
.btn-primary { background: #2d2d2d; border-color: #2d2d2d; color: #fff; }
.btn-primary:hover { background: #000; border-color: #000; color: #fff; }
.btn-secondary { background: #64748b; color: #fff; }
.btn-secondary:hover { background: #475569; color: #fff; }
.btn-google { background: #fff; color: #333; border: 1px solid #ddd; display: inline-flex; align-items: center; border-radius: 0.5rem; padding: 0.75rem 1.5rem; font-size: 14px; }
.btn-google:hover { background: #f8f8f8; }

/* === Login === */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #f1f5f9; }
.login-card { background: #fff; padding: 3rem; border-radius: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); text-align: center; max-width: 400px; }
.login-card h1 { color: #1e3a5f; margin-bottom: 0.25rem; }
.login-card p { color: #64748b; margin-bottom: 2rem; }

/* === Dev Warning === */
.dev-warning { background: #fff3cd; border-bottom: 2px solid #f59e0b; color: #92400e; padding: 10px 16px; font-size: 12px; }
.dev-warning code { background: rgba(0,0,0,0.08); padding: 1px 4px; border-radius: 3px; font-size: 11px; }

/* === Admin Layout === */
.admin-body { display: flex; min-height: 100vh; background: #f1f5f9; }
.admin-sidebar { width: 220px; background: #1e293b; color: #fff; padding: 1.5rem 1rem; flex-shrink: 0; display: flex; flex-direction: column; }
.admin-logo a { color: #fff; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.admin-nav { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.admin-nav a { color: #94a3b8; padding: 0.5rem 0.75rem; border-radius: 0.375rem; }
.admin-nav a:hover, .admin-nav a.active { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.admin-user { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.85rem; }
.admin-user span { display: block; color: #94a3b8; margin-bottom: 0.5rem; }
.admin-user a { color: #93c5fd; }
.admin-main { flex: 1; padding: 2rem; overflow-y: auto; }
.admin-header h1 { color: #1e3a5f; margin-bottom: 1.5rem; }

/* === Admin Components === */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.dash-card { background: #fff; padding: 1.5rem; border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.dash-card h3 { color: #64748b; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-number { font-size: 2.5rem; font-weight: 700; color: #1e3a5f; margin: 0.5rem 0; }
.dash-card a { font-size: 0.875rem; color: #3b82f6; text-decoration: none; }
.dash-card a:hover { color: #1d4ed8; text-decoration: underline; }
.dash-card p { color: #64748b; margin: 0.5rem 0; font-size: 0.875rem; }

.card { background: #fff; padding: 1.5rem; border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 1.5rem; }
.card h2 { color: #1e3a5f; margin-bottom: 1rem; }
.hidden { display: none; }
.admin-actions { margin-bottom: 1rem; display: flex; gap: 8px; flex-wrap: wrap; }
.section-empty { color: #94a3b8; font-size: 13px; padding: 8px; }
.inline-form { display: inline; margin-left: 8px; }
.modal-actions { display: flex; gap: 8px; margin-top: 12px; }

/* === Forms === */
.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.form-row label { flex: 1; min-width: 200px; display: flex; flex-direction: column; font-size: 0.875rem; font-weight: 500; color: #475569; }
.form-row input[type="text"],
.form-row input[type="number"],
.form-row select,
.form-row input[type="file"] { padding: 0.5rem; border: 1px solid #d1d5db; border-radius: 0.375rem; font-size: 1rem; margin-top: 0.25rem; font-family: inherit; }
.checkbox-label { flex-direction: row !important; align-items: center; gap: 0.5rem; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 0.5rem; font-size: 0.8rem; text-transform: uppercase; color: #64748b; border-bottom: 2px solid #e2e8f0; }
.admin-table td { padding: 0.5rem; border-bottom: 1px solid #f1f5f9; }
.admin-table small { color: #64748b; }
.drag-handle { cursor: grab; color: #aaa; text-align: center; user-select: none; width: 32px; }
.section-drag-handle { cursor: grab; color: #94a3b8; user-select: none; margin-right: 6px; }
.section-drag-handle:active { cursor: grabbing; }
.section-card.drag-over-section { outline: 2px dashed #2d2d2d; }
.drag-handle:active { cursor: grabbing; }
.row-actions { white-space: nowrap; text-align: right; width: 72px; }
.btn-icon { background: none; border: none; cursor: pointer; font-size: 15px; padding: 2px 4px; opacity: 0.6; }
.btn-icon:hover { opacity: 1; }
.admin-table tr.drag-over { outline: 2px dashed #2d2d2d; }
.admin-table tr.editing { background: #f8fafc; }
.ie-input { width: 100%; padding: 3px 6px; border: 1px solid #cbd5e1; border-radius: 3px; font-size: 13px; font-family: inherit; box-sizing: border-box; }
.ie-small { margin-top: 3px; font-size: 11px; color: #64748b; }
.ie-input[type="number"] { width: 80px; }

/* === Backup === */
.restore-warning { color: #da404b; font-weight: 700; margin-top: 0.5rem; }

/* === Flash Messages === */
.flash { padding: 10px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 14px; }
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* === Gallery Admin === */
.gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    padding: 8px 0;
}
.gallery-admin-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: grab;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.gallery-admin-item.drag-over {
    border-color: #da404b;
}
.gallery-admin-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.gallery-admin-overlay {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-admin-item:hover .gallery-admin-overlay {
    opacity: 1;
}
.gallery-admin-overlay .btn-icon {
    background: rgba(255,255,255,0.85);
    border-radius: 4px;
    padding: 4px 6px;
    opacity: 1;
    font-size: 14px;
    cursor: pointer;
    border: none;
}
.gallery-admin-info {
    padding: 4px 6px;
    background: #f8fafc;
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal.hidden { display: none; }
.modal-content {
    max-width: 500px;
    width: 90%;
}
